@charset "utf-8"; /* 1.登录 2.主体框架 3.侧栏主菜单 4.内容区 */ /*1.登录*/ body{ background:#ededed } .loginItem { padding:5px 20px 25px; margin-bottom:20px; background: #fff; border-radius: 3px; box-shadow: 0 2px 6px 0 rgba(0,0,0,.15) } .wraplogin { width:690px; margin:5% auto 0px; } .wraplogin .loginItem{ padding:0; width:400px; position: relative; z-index: 1 } .wraplogin .loginTop { text-align: center; color:#428BCA; padding:30px 0; } .wraplogin .loginTop a{ font-size:30px } .wraplogin .loginTop a:hover{ text-decoration: none; } .wraplogin .loginForm{ padding: 20px 20px 10px } .wraplogin .loginBottom{ padding: 10px 20px 25px; color: #ccc } /*2.主体框架*/ .header { background:#f4f5f5; position: fixed; z-index: 10; width: 100%; height: 50px; top: 0; left: 0; border-bottom: 1px solid #ddd } .main{ position: relative; z-index: 4; } .main-nav { position: fixed; z-index: 99; width:124px; left: 0; top: 0; height: 100%; background: #f4f5f5; border-right:1px solid #ddd; box-shadow: 3px 0 10px 2px #e3e3e3 } .main-panel{ padding-left:124px; box-sizing: border-box; } .panel-sidebar{ box-sizing: border-box; background: #fbfcfd; position: fixed; height: 100%; z-index: 4; left:124px; padding-top: 100px; border-right: 1px solid #ddd; width: 200px } .panel-content{ padding:115px 0 0; position: relative; z-index: 3; box-sizing: border-box; overflow-y: auto; height: 100vh; } .panel-content .content-wrap{ margin:0 15px 15px; } .panel-sidebar+.panel-content{ padding: 115px 0 0 200px; } .panel-title, .panel-title>.title-bar { height:50px; line-height: 50px } .panel-title{ position: fixed; top: 50px; z-index: 98; width: 100%; box-sizing: border-box; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.05) } .panel-sidebar .panel-title{ width:200px; border-right: 1px solid #ddd; box-shadow: 0 1px 3px rgba(0,0,0,.1); } .panel-content .panel-title{ left: 0; padding-left: 324px; padding-right: 20px; } .panel-content .panel-title.fluid{ padding-left:124px } .panel-title>.title-bar{ padding-left: 20px } .panel-title>.title-bar>h2,.panel-title>.title-main>h2{ font-size: 16px; margin:0; height: 50px; line-height: 50px; display:block } .panel-title>.title-bar>h2 .btn{ margin-right:15px } .panel-title>.title-main .btn { margin:0 0 0 20px } .panel-title>.title-main .btn.pull-right { margin:10px 0 0 10px } .panel-title>.title-main{ padding-left: 15px } /*滚动*/ .scrollbar-auto { overflow-y: auto; position: absolute; bottom: 0; left: 0; top: 0; right: 0; } .panel-sidebar .scrollbar-auto{ padding-top: 20px; box-sizing: border-box; } .panel-sidebar .scrollbar-auto { height: 100%; width: 100%; overflow-y: auto; position: static; } /*头部*/ .header .logo { float: left; margin-right: 20px; margin:0 } .header .logo>a{ height:50px; line-height: 50px; display: inline-block; color:#337ab7; font-size:20px; padding:0 10px; text-align: center } .header .logo>a:hover{ text-decoration: none; } .header-user > div { float:left } .avatar .pic { height: 35px; width: 35px; border-radius: 100%; display: inline-block; float:left; margin:7px 7px 0 0 } .avatar .pic img{ display: block; width: 100%; height: 100%; border-radius: 100%; } .avatar > a{ display: block; height:50px; line-height: 50px; color:#666; padding:0 15px; cursor: pointer; } .avatar > a:hover{ text-decoration: none; box-shadow: inset 0 3px 5px rgba(0,0,0,.125) } .header .poj-name { float:left; height:50px; line-height:50px; padding:0 0 0 15px; font-size:18px } .header .poj-name a{ color:#666 } /*侧栏主菜单*/ .nav-top{ padding-top: 50px } .bg-nav a{ color:#999; } .bg-nav > li.active > a{ border-radius: 0; background: #666 } .bg-nav > li > a:hover,.bg-nav > li.active > a:hover{ background: #999; color:#f2f2f2; border-radius: 0 } .bg-nav > li + li { margin-top:0; } .nav-box h3{ font-size: 14px; font-weight: 700; padding-bottom: 4px; border-bottom: 1px solid #e2eaec; padding-right: 15px; margin-bottom: 10px; margin-left: 20px } .nav-list li a{ color: #333; display: block; height: 35px; line-height: 35px; box-sizing: border-box; padding-left: 17px; padding-right: 45px; text-overflow: ellipsis; position: relative; } .nav-list li a:hover{ text-decoration: none; background:#efefef; cursor: pointer; } .nav-list li a .badge{ position: absolute; right:17px; top:9px } .nav-list li.active a{ background:#e1e1e1 } .nav-list li.active .badge{ background:#207fd1 } /*内容区*/ .c-header { padding:0 0 5px } .c-body{ padding:15px; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.05) } .form-group .necessary{ font-size:18px; color:#f90000 } .mb-30 { margin-bottom:30px }