| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- /* 头部导航 */
- @font-face {
- font-family: 'xioawei';
- src : url("../lib/font/xiaowei.otf");
- }
- .header{
- height: 62px;
- line-height: 62px;
- background: #22a3ed;
- }
- .header .logo{
- float: left;
- margin-left: 14px;
- font-family: xioawei;
- font-size: 26px;
- color: #fff;
- }
- .header .logo img{
- cursor: pointer;
- margin-top: -10px;
- }
- .header .navigation{
- float: right;
- }
- .layui-bg-blue {
- background-color: #22a3ed!important;
- }
- .currUser{
- vertical-align: middle;
- display: inline-block;
- max-width: 92px;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- /* 左侧菜单 */
- body{
- position: relative;
- }
- .main-container::before{
- display: block;
- content: "";
- position: absolute;
- z-index: -2;
- width: 100%;
- max-width: inherit;
- bottom: 0;
- top: 0;
- left: 0;
- right: 0;
- background-color: #FFF;
- }
- .sidebar *{
- font-size: 16px;
- box-sizing: border-box;
- }
- .sidebar{
- box-sizing: border-box;
- border-right: 2px solid #dbdbdb;
- float: left;
- }
- .sidebar::before{
- display: block;
- width: inherit;
- position: absolute;
- content: '';
- width: 250px;
- top: 0;
- bottom: 0;
- z-index: -1;
- background-color: inherit;
- border-style: inherit;
- border-color: inherit;
- border-width: inherit;
- }
- .sidebar .leftNav{
- position: relative;
- width: 250px;
- border-radius: 2px;
- font-size: 0;
- box-sizing: border-box;
- }
- .sidebar .leftNav >.nav-item{
- display: block;
- width: 100%;
- line-height: 45px;
- border-bottom: 1px solid #dbdbdb;
- position: relative;
- }
- .sidebar .leftNav >.active.nav-item::before{
- display: block;
- }
- .sidebar .leftNav >.nav-item a >.downIcon{
- display: block;
- width: 14px!important;
- height: 14px;
- line-height: 12px;
- text-shadow: none;
- font-size: 12px;
- position: absolute;
- right: 17px;
- top: 17px;
- padding: 0;
- text-align: center;
- font-weight: 100;
- }
- .sidebar .leftNav >.nav-item::before{
- display: none;
- position: absolute;
- content: '';
- top: -1px;
- left: 0;
- z-index: 1;
- height: 45px;
- width: 3px;
- max-width: 3px;
- overflow: hidden;
- background-color: #1e87f0;
- }
- .sidebar .leftNav >.nav-item:hover >a{
- background: #f6f6f6;
- color: #266cad;
- }
- .sidebar .leftNav >.nav-item:hover::before{
- display: block;
- }
- .sidebar .leftNav >.nav-item >a{
- padding-left: 30px;
- display: block;
- }
- .sidebar .leftNav >.nav-item >a >i{
- min-width: 22px;
- color: #1e87f0;
- }
- /* 二级菜单 */
- .nav-child{
- display: none;
- }
- .sidebar .leftNav >.nav-item >dl dd a{
- display: block;
- padding-left: 60px;
- border-top: 1px solid #dbdbdb;
- position: relative;
- }
- .sidebar .leftNav >.nav-item >dl dd a::before{
- position: absolute;
- content: '';
- top: 18px;
- left: 33px;
- width: 10px;
- height: 10px;
- border-radius: 50%;
- background: #faa05a;
- }
- .sidebar .leftNav >.nav-item >dl dd a:hover{
- background-color: #F1F5F9;
- }
- /* .sidebar .leftNav >.nav-item >dl dd a:hover:before{
- background: blue;
- } */
- .sidebar .leftNav >.nav-item >dl .active{
- background-color: #F1F5F9;
- }
- .sidebar .leftNav >.nav-item >dl .active a:before{
- background: #5acfe8;
- }
- /* 主体 */
- .main-content{
- margin-left: 252px;
- }
- /* 返回顶部 */
- .btn-scroll-up{
- position: fixed;
- right: 3px;
- bottom: 6px;
- padding: 3px 9px;
- background: #555;
- color: #fff;
- opacity: .7;
- }
- .btn-scroll-up:hover{
- background: #000;
- color: #fff;
- }
- /* 版权 */
- .copyrightBox{
- text-align: center;
- line-height: 36px;
- margin-left: 250px;
- border-top: 3px double #E5E5E5;
- padding: 15px 0;
- font-size: 16px;
- }
|