后台菜单优化

This commit is contained in:
devil_gong 2019-03-01 11:34:43 +08:00
parent 75146c1d74
commit 9c60b55815
2 changed files with 8 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<h2>ShopXO<span class="admin-site-vice-name m-l-5">后台管理系统</span></h2>
</a>
</div>
<button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only am-radius header-nav-submit" data-am-collapse="{target: '#topbar-collapse'}">
<button class="am-topbar-btn am-topbar-toggle am-btn am-btn-xs am-btn-success am-show-sm-only am-radius header-nav-submit" data-am-collapse="{target: '#topbar-collapse'}">
<span class="am-sr-only">导航切换</span>
<i class="am-icon-bars"></i>
</button>

View File

@ -364,8 +364,13 @@ a:focus {outline:0;text-decoration:none;}
@media only screen and (max-width:641px) {.am-dropdown-content {border:0px;}
header .tpl-header-list-user-nick {color:#fff;}
}
header {min-height:51px;background-color:#4386fb !important; border-color:#4386fb; color:#fff;}
header { background-color:#4386fb !important; border-color:#4386fb; color:#fff;}
header, header.am-topbar { min-height:35px; }
header .am-topbar-brand { height:35px; }
header .am-dropdown-content {border-radius:2px;}
header .am-topbar-brand, .am-topbar-nav > li > a { line-height: 35px; }
header .am-topbar-brand h2 { margin: 0; }
header .header-nav-submit { margin: 4px 10px 0 0; }
ul {margin-top:0;}
.admin-header {position:fixed;top:0;left:0;right:0;z-index:1000;font-size:1.4rem;margin-bottom:0;}
.admin-sidebar {width:260px;min-height:100%;float:left;border-right:1px solid #cecece;}
@ -391,7 +396,7 @@ ul {margin-top:0;}
.admin-sidebar .am-offcanvas-bar { width: 70%; }
}
.common-nav-bar {position:fixed;z-index:10;bottom:30px;right:20px;}
.admin {width:100%;height:100%;display:flex;display:-webkit-flex;padding-top:51px;background:#fff;}
.admin {width:100%;height:100%;display:flex;display:-webkit-flex;padding-top:35px;background:#fff;}
.admin .am-g {padding-left:0;padding-right:0;}
/*---right Content---*/
.content-right {overflow:auto;flex:1;-webkit-flex:1;}