Updated
This commit is contained in:
parent
47f7f9057c
commit
1f093726d9
|
@ -600,19 +600,12 @@ extendPanelWidget();
|
||||||
function headerH() {
|
function headerH() {
|
||||||
if ($(window).width() < 769) {
|
if ($(window).width() < 769) {
|
||||||
const navH = $('.layout-header .navbar-header').outerHeight();
|
const navH = $('.layout-header .navbar-header').outerHeight();
|
||||||
$('.bottom').after($('.leftbanner'));
|
|
||||||
}else{
|
}else{
|
||||||
$('.top').before($('.leftbanner'));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
headerH();
|
headerH();
|
||||||
$(window).resize(function() {
|
$(window).resize(function() {
|
||||||
headerH();
|
headerH();
|
||||||
if ($(window).width() < 769) {
|
|
||||||
$('.bottom').after($('.leftbanner'));
|
|
||||||
}else{
|
|
||||||
$('.top').before($('.leftbanner'));
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
init();
|
init();
|
||||||
|
|
|
@ -10,12 +10,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.leftbanner{
|
.leftbanner{
|
||||||
@media(min-width: 769px){
|
clear: both;
|
||||||
position: absolute!important;
|
|
||||||
width: 20%;
|
|
||||||
padding: 0 1em;
|
|
||||||
margin-top: 20.5em;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.layout-content-box2 {
|
.layout-content-box2 {
|
||||||
padding-bottom: 0.5em;
|
padding-bottom: 0.5em;
|
||||||
|
|
|
@ -93,6 +93,9 @@
|
||||||
display: block;
|
display: block;
|
||||||
padding: 1.125em 0;
|
padding: 1.125em 0;
|
||||||
font-family: $main-font;
|
font-family: $main-font;
|
||||||
|
width: 100%;
|
||||||
|
word-break: normal;
|
||||||
|
white-space: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
@ -125,7 +128,6 @@
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
|
|
||||||
.modules-menu-level-1 {
|
.modules-menu-level-1 {
|
||||||
left: auto;
|
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
right: 0.625em;
|
right: 0.625em;
|
||||||
|
@ -166,6 +168,8 @@
|
||||||
.modules-menu-level-1 {
|
.modules-menu-level-1 {
|
||||||
display: none;
|
display: none;
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
|
left: 100%;
|
||||||
|
top: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background-color: #144f4f;
|
background-color: #144f4f;
|
||||||
|
|
|
@ -107,7 +107,10 @@ ul.tab_nav {
|
||||||
-moz-transition: all 0.5s;
|
-moz-transition: all 0.5s;
|
||||||
-webkit-transition: all 0.5s;
|
-webkit-transition: all 0.5s;
|
||||||
-o-transition: all 0.5s;
|
-o-transition: all 0.5s;
|
||||||
|
color: #fff;
|
||||||
|
&:hover{
|
||||||
|
background: #19524b;
|
||||||
|
}
|
||||||
&.active {
|
&.active {
|
||||||
background: #19524b;
|
background: #19524b;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
<div class="collapse navbar-collapse modules-menu" id="layout-navigation">
|
<div class="collapse navbar-collapse modules-menu" id="layout-navigation">
|
||||||
<a id="accesskey_menu" title="accesskey menu" accesskey="M" href="#" title="Main menu">:::</a>
|
<a id="accesskey_menu" title="accesskey menu" accesskey="M" href="#" title="Main menu">:::</a>
|
||||||
<%= render_menu %>
|
<%= render_menu %>
|
||||||
|
<div class="leftbanner" data-pp="23"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
<div class="layout-content">
|
<div class="layout-content">
|
||||||
<a id="accesskey_content" accesskey="C" href="/<%= "#{locale.to_s}" %>/accesskey" title="Content">:::</a>
|
<a id="accesskey_content" accesskey="C" href="/<%= "#{locale.to_s}" %>/accesskey" title="Content">:::</a>
|
||||||
<div class="layout-content-inner container">
|
<div class="layout-content-inner container">
|
||||||
<div class="leftbanner" data-pp="23"></div>
|
|
||||||
<div class="top contentwrap">
|
<div class="top contentwrap">
|
||||||
<section class="body-banner" data-pp="6"></section>
|
<section class="body-banner" data-pp="6"></section>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
{"key":"asia_kstyle5","title":"asia_Kstyle5","author":"kenlee","thumbnail":"assets/images/design_thumb.png"}
|
{"key":"asia_Kstyle5","title":"asia_Kstyle5","author":"kenlee","thumbnail":"assets/images/design_thumb.png"}
|
Loading…
Reference in New Issue