This commit is contained in:
rulingcom 2021-09-17 16:05:27 +08:00
parent 20882e3389
commit 316fbc19ca
7 changed files with 17 additions and 12 deletions

View File

@ -600,16 +600,20 @@ extendPanelWidget();
if ($(window).width() < 768) { if ($(window).width() < 768) {
const navH = $('.layout-header .navbar-header').outerHeight(); const navH = $('.layout-header .navbar-header').outerHeight();
$('.header-nav').after($('.navbar-header')); $('.header-nav').after($('.navbar-header'));
$('.layout-footer').before($('.box'));
}else{ }else{
$('.modules-menu-level-0').before($('.navbar-header')); $('.modules-menu-level-0').before($('.navbar-header'));
$('.modules-menu-level-0').after($('.box'));
} }
} }
headerH(); headerH();
$(window).resize(function() { $(window).resize(function() {
if ($(window).width() < 768) { if ($(window).width() < 768) {
$('.header-nav').after($('.navbar-header')); $('.header-nav').after($('.navbar-header'));
$('.layout-footer').before($('.box'));
}else{ }else{
$('.modules-menu-level-0').before($('.navbar-header')); $('.modules-menu-level-0').before($('.navbar-header'));
$('.modules-menu-level-0').after($('.box'));
} }
headerH(); headerH();
}) })

View File

@ -15,3 +15,6 @@
.layout-content-box2{ .layout-content-box2{
background-color: #72bcad; background-color: #72bcad;
} }
section.box{
clear: both;
}

View File

@ -12,7 +12,8 @@
@media (min-width: 480px){ @media (min-width: 480px){
font-size: 0.9em!important; font-size: 0.9em!important;
.site-logo{ .site-logo{
width: 100px!important; width: 120px!important;
margin-bottom: 0.5em;
} }
} }
@media (max-width: 480px){ @media (max-width: 480px){
@ -107,7 +108,6 @@
font-family: $main-font; font-family: $main-font;
@media (min-width: $screen-sm) { @media (min-width: $screen-sm) {
width: 150px;
height: unset; height: unset;
margin: 0.5rem 0 0; margin: 0.5rem 0 0;
padding-left: 0; padding-left: 0;

View File

@ -123,7 +123,7 @@
margin-right: 0; margin-right: 0;
.modules-menu-level-1 { .modules-menu-level-1 {
left: auto;
&:before { &:before {
right: 0.625em; right: 0.625em;
@ -171,7 +171,8 @@
background-color: #477b70; background-color: #477b70;
list-style: none; list-style: none;
z-index: 1; z-index: 1;
left: 100%;
top:0;
& > li { & > li {
position: relative; position: relative;
& + li { & + li {
@ -184,6 +185,8 @@
font-family: $main-font; font-family: $main-font;
font-size: 0.938em; font-size: 0.938em;
color: #fff; color: #fff;
word-break: normal;
white-space: normal;
} }
&:hover { &:hover {

View File

@ -23,12 +23,7 @@
//RWD //RWD
@import "RWD"; @import "RWD";
.navbar-brand .default_site_h1{
height: auto;
}
section.box {
clear: both;
}
.dropdown-toggle:focus { .dropdown-toggle:focus {
// outline: 2px solid #43B5FC; // outline: 2px solid #43B5FC;
outline: transparent; outline: transparent;

View File

@ -36,7 +36,7 @@
</div> </div>
<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 %>
<section class="box" data-pp="30"></section> <section class="box" data-pp="30"></div>
</div> </div>
</div> </div>
</header> </header>

View File

@ -1 +1 @@
{"key":"asia_kstyle3","title":"asia_Kstyle3","author":"kenlee","thumbnail":"assets/images/design_thumb.png"} {"key":"asia_Kstyle3","title":"asia_Kstyle3","author":"kenlee","thumbnail":"assets/images/design_thumb.png"}