*, *:before, *:after{ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } html, body { margin: 0; height: 100%; overflow: hidden; font-family: 微软雅黑,"Helvetica Neue","HelveticaNeue",Helvetica,Arial,sans-serif; font-size: 14px; } a { text-decoration: none; } /* layout */ .navbar { height: 60px; background: #E3EAF4; border-bottom: 0; font-size: 14px; } .sidebar { position: absolute; width: 225px; top: 60px; left: 0; bottom: 0; /*background: #42485b;*/ background: #28333E; } .main { position:absolute; top:60px; left:225px; right:0; bottom:0; background:#ffffff; } /* header */ .navbar-brand { width: 225px; /*background:#367ea8;*/ background-color: #fff; cursor: default; font-size: 20px; font-weight: bold; } .navbar-brand, .navbar-brand:hover, .navbar-brand:focus { color:#879098; } .navbar, .navbar-nav > li > a { color: #879098; } .navbar-nav > li > a { padding-top:20px; } .navbar-nav > li > a:hover, .navbar-nav > li > a:focus, .navbar-nav > li.active > a, .navbar-nav li.open a.dropdown-toggle { /*background:#367fa9;*/ color:#0C0F13; } .navbar-nav > li > a.userinfo { /*padding-top:10px;*/ } .userinfo > img { height: 35px; width: 35px; vertical-align: middle; border-radius: 50%; margin-right:4px; } .dropdown-menu { font-size:13px; } .dropdown-menu i { min-width:18px; margin-right:2px; } /* compact */ .compact .sidebar, .compact .navbar-brand { width:55px; } .compact .main { left:55px; } .navbar-brand-compact, .compact .navbar-brand { display:none; } .compact .navbar-brand-compact { display:block; } .compact .menu-text, .compact .menu-arrow { display:none; } .compact .menu-title { padding-left:0px !important; text-align:center; } /*.compact .has-children > a > .menu-icon:before { font-size:16px; content: "\f0d7"; } .compact .open > a > .menu-icon:before { content: "\f0d8"; }*/ /* icontop */ .navbar-nav > li.icontop > a{ padding:0 15px; } .icontop i { padding-top: 4px; text-align: center; display: block; font-size: 25px; line-height: 25px; width: 100%; margin: 0; } .icontop span { text-align: center; display: block; line-height: 21px; width: 100%; margin: 0; } /* sidebar-toggle */ .sidebar-toggle { height: 30px; line-height: 30px; color: #aeb9c2; background-color: #0C0F13; font-size: 14px; text-align: center; cursor: pointer; } .sidebar-toggle .fa { margin-top: 10px; } .sidebar-toggle:hover .fa { color: #fff; } .menutip { z-index:100; }