主题优化,全屏桌面,性能及体验再此提升。
This commit is contained in:
@@ -45,7 +45,7 @@ a, a:hover, a:active, a:focus, .form-unit, th[aria-selected=true] .ui-jqgrid-sor
|
||||
}
|
||||
}
|
||||
.main-header .logo {
|
||||
background-color: #1890ff;
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
border-bottom: 0 solid transparent;
|
||||
}
|
||||
|
||||
@@ -5,7 +5,12 @@ a, a:hover, a:active, a:focus, .form-unit, th[aria-selected=true] .ui-jqgrid-sor
|
||||
color:#1e5edb;
|
||||
}
|
||||
.main-header .navbar {
|
||||
background-color: #1951be;
|
||||
background: #1951be;
|
||||
background: -webkit-gradient(linear, left bottom, right top, color-stop(0, #1951be), color-stop(1, #2780ec));
|
||||
background: -ms-linear-gradient(left, #1951be, #2780ec);
|
||||
background: -moz-linear-gradient(left top, #1951be 0%, #2780ec 100%);
|
||||
background: -o-linear-gradient(#2780ec, #1951be);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(GradientType = 1,startColorstr='#2780ec', endColorstr='#1951be');
|
||||
}
|
||||
.main-header .navbar .nav > li > a {
|
||||
color: #ffffff;
|
||||
@@ -45,7 +50,7 @@ a, a:hover, a:active, a:focus, .form-unit, th[aria-selected=true] .ui-jqgrid-sor
|
||||
}
|
||||
}
|
||||
.main-header .logo {
|
||||
background-color: #1951be;
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
border-bottom: 0 solid transparent;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<nav class="navbar navbar-static-top">
|
||||
<div class="logo" data-toggle="push-menu">
|
||||
<b>${@Global.getConfig('productName')}</b>
|
||||
<small> <i class="fa fa-bars"></i></small>
|
||||
<small title="${text('点击缩小侧边栏,右键隐藏侧边栏')}"> <i class="fa fa-bars"></i></small>
|
||||
</div>
|
||||
<%/*<!--%><a href="javascript:" class="sidebar-toggle" data-toggle="push-menu" role="button">
|
||||
<span class="sr-only">菜单切换</span><span class="icon-bar"></span>
|
||||
@@ -58,13 +58,13 @@
|
||||
});
|
||||
var refreshSidebar = function(code){
|
||||
if(js.trim($("#leftMenu-" + code).text()) == ''){
|
||||
$('.main-sidebar').hide();
|
||||
$('.main-sidebar,.logo small,.tabpanel_tab_content').hide();
|
||||
$('.content-wrapper').css("cssText","margin-left:0!important;");
|
||||
if (window.initMenu && $(window).width() <= 767 && $('body').hasClass('sidebar-open')){
|
||||
$('[data-toggle="push-menu"]').click();
|
||||
}
|
||||
}else{
|
||||
$('.main-sidebar').show();
|
||||
$('.main-sidebar,.logo small,.tabpanel_tab_content').show();
|
||||
$('.content-wrapper').css('margin-left', '');
|
||||
if (window.initMenu && $(window).width() <= 767 && !$('body').hasClass('sidebar-open')){
|
||||
$('[data-toggle="push-menu"]').click();
|
||||
@@ -78,9 +78,7 @@
|
||||
}
|
||||
}
|
||||
window.initMenu = true;
|
||||
setTimeout(function(){
|
||||
$(window).resize();
|
||||
},200);
|
||||
$(window).resize();
|
||||
}
|
||||
// 激活存储的顶部当前菜单项
|
||||
var currentMenuCode = js.cookie('currentMenuCode'), currentMenu;
|
||||
|
||||
Reference in New Issue
Block a user