//我们引入公共样式 @import "common.less"; /*@import "../iconfont/iconfont.less";*/ /*::-webkit-scrollbar { width: 7px; position: absolute; top: 0; } ::-webkit-scrollbar-track { opacity: 0; } ::-webkit-scrollbar-thumb { background-color: #dee2e5; } ::-webkit-scrollbar-thumb:hover { background-color: #dee2e5; } ::-webkit-scrollbar-thumb:active { background-color: rgba(0, 0, 0, 0.1); }*/ html, body { //height:100%; } html { *overflow: hidden; } a { color: #222222; } /*.icon2{ .icon(); font-size:14px; font-weight:400 !important; }*/ .pos100() { position: absolute; left: 0; right: 0; top: 0; bottom: 0; } i, b { font-family: FontAwesome; /*margin-right: 5px;*/ } //头部样式 主页的logo背景色 .header { height: 50px; background-color: #3189d3;/*3aabe3 0099cc 438eb9*/ position: relative; &.fix { position: fixed; z-index: 2; left: 0; top: 0; width: 100%; } //底背景 .tleft, .tright { position: absolute; height: 100%; } .tleft { left: 0; width: 290px; } .tright { right: 0; width: 168px; } //logo展示 .logo { position: relative; line-height: 50px; display: inline-block; margin-left: 10px; font-size: 20px; color: #fff; font-family: 'Microsoft YaHei'; img { vertical-align: middle; } } #rightDiv { position: absolute; right: 0; top: 0; margin-right: 15px; line-height: 50px; height: 50px; text-align: right; font-size: 14px; margin-right: 40px; .SimpleIcons { font-family: Simple-Line-Icons !important; z-index: 1; color: #fff; } /****下拉菜单***/ .menuUl { margin: 0; list-style: none; width: 100%; height: 100%; font-family: "Segoe UI",Helvetica, Arial, sans-serif; } .menuUl li { float: left; position: relative; font-weight: bold; margin-right: 20px; line-height: 49px; span { font-family: FontAwesome; } .tit { font-size: 20px; } .topbadge { height: 10px !important; line-height: 10px !important; right: 10px !important; } .badge { position: absolute; margin-top: 1px; top: 5px; right: 3px; display: inline; font-size: 11px; /* font-weight: 300; */ text-shadow: none; height: 12px; padding: 3px 6px 3px 5px; text-align: center; vertical-align: middle; -webkit-border-radius: 12px !important; -moz-border-radius: 12px !important; border-radius: 12px !important; line-height: 12px; color: white; padding-right: 10px; } .badge-danger { background-color: #ed4e2a !important; background-image: none !important; } .badge-success { background-color: #3cc051 !important; background-image: none !important; } } .menuUl:last-child { line-height: 50px !important; } .menuUl li[class='menuUlLi'] { width: 130px; padding-right: 22px; margin-right: 10px; } .menuUl li[class='menuUlLi']:hover { background-color: #3774aa; } .menuUl li[class='menuUlLi'] span { padding-left: 10px; } .dropdownmeunUl { position: absolute; right: 0; /*left: 0;*/ top: 56px; text-shadow: none; padding: 0px; margin: 0px; background-color: #ffffff; -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); font-size: 14px; font-family: "Segoe UI",Helvetica, Arial, sans-serif; border: 1px solid #ddd; list-style: none; z-index: 1; min-width: 130px; display: none; } .dropdownmeunUl li { color: #3d3d3d; float: none; text-align: center; line-height: 30px; margin-right: 0; a { color: #333; text-decoration: none; display: block; clear: both; font-weight: normal; white-space: nowrap; &:hover { background-color: #eee; } } i { margin-right: 5px; color: #333; position: absolute; left: 10px; top: 7px; } } .dropdownmeunUl li[class='divider'] { height: 1px; margin: 5px 0; overflow: hidden; background-color: #e5e5e5; } .dropdownmeunUl::before { position: absolute; top: -7px; right: 8px; display: inline-block !important; border-right: 7px solid transparent; border-bottom: 7px solid #c3ced5; border-left: 7px solid transparent; border-bottom-color: rgba(0, 0, 0, 0.2); content: ''; } .dropdownmeunUl::after { position: absolute; top: -6px; right: 9px; display: inline-block !important; border-right: 6px solid transparent; border-bottom: 6px solid #fff; border-left: 6px solid transparent; content: ''; } .menuimg { position: absolute; left: 10px; top: 6px; } } /*ul { position: relative; *margin-top: -70px; li { margin: 3px 12px 0px 0px; float: left; a { display: block; width: 56px; height: 20px; padding: 5px 7px 0; text-align: center; text-decoration: none; color: #fff; text-shadow: 0px -1px rgba(0,0,0,0.2); border: 1px solid transparent; border-radius: 3px; overflow: hidden; &.act, &:hover { border: 1px solid #0f4e7f; background-color: #105488; } } span { display: block; margin: 0 auto 2px; width: 32px; height: 30px; overflow: hidden; &.n1 { background: url(../img/n1.png) no-repeat; } &.n2 { background: url(../img/n2.png) no-repeat; } &.n3 { background: url(../img/n3.png) no-repeat; } &.n4 { background: url(../img/n4.png) no-repeat; } } } }*/ } //中间内容样式 .wrapper { /*position:absolute; left:0; right:0; top:70px; bottom:0; overflow:hidden;*/ position: relative; overflow: hidden; border-bottom: 1px solid #cccccc; /*c3ced5*/ //菜单左右切换的时候用 &.right { .sidebar { border-right: none; border-left: solid 1px #b7d5df; float: right; overflow: hidden; &.fix { left: auto; right: 0; } &.side_fold .side_item div ul { left: auto; right: 100%; } } .main_content { margin-left: 0; margin-right: 200px; &.fold { margin-right: 40px; } } } } //菜单样式 .sidebar { @br: #b7d5df; @bcolor: #f0f9fd; @bbc: #c9c9c9; /*选项卡边框颜色*/ background-color: #f7f7f7;/*模块模块*/ /*background: -webkit-gradient(linear, left top, left bottom, from(#f7f7f7), to(#f2f2f2)); background: -webkit-linear-gradient(top, #f7f7f7, #f2f2f2); background: -moz-linear-gradient(top, #f7f7f7, #f2f2f2); background: -ms-linear-gradient(top, #f7f7f7, #f2f2f2); background: -o-linear-gradient(top, #f7f7f7, #f2f2f2); background: linear-gradient(top, #f7f7f7, #f2f2f2);*/ position: static; float: left; width: 200px; overflow: hidden; color: #222222; &:before { content: ""; display: block; width: inherit; position: absolute; top: 0; bottom: 0; z-index: -1; background-color: inherit; border-style: inherit; border-color: inherit; border-width: inherit; } //菜单介绍 .side_tip { height: 36px; font-size: 14px; line-height: 35px; border-bottom: 1px solid @bbc; border-right: solid 1px @bbc; height: 35px; font-weight: bold; font-size: 14px; i { margin-left: 8px; margin-top: 10px; margin-right: 8px; width: 20px; height: 21px; float: left; } .foldup { float: right; *margin-top: -40px; margin-right: 10px; font-size: 18px; font-family: SimSun; font-weight: bold; text-indent: 0; &.fold { transition: .3s ease; transform: rotate(180deg); } } } //菜单容器 .side_menu { position: relative; background-color: #f5f5f5; // eeefef z-index: 2; overflow: hidden; width: 200px; } //菜单容器 .side_item { min-height: 100%; background-color: #f5f5f5; // eeefef border-right: solid 1px @bbc; .icon { margin-right: 5px; &:empty { margin-right: 0; } } > a { line-height: 35px; /*font-weight: bold;*/ font-size: 13px; cursor: pointer; display: block; border-bottom: 1px solid #e7e7e7; /*模块底线边框色 备份 灰色 e7eaec 绿色b9ddfa*/ border-top: 1px solid #f8f8f8; /*模块底线边框色 备份灰色 fafafa 绿色f6f9fc 暂时注释*/ padding-left: 20px; > i { margin-right: 5px; display:inline-block; width:20px; } } > div { border-bottom: 1px solid #e7e7e7; /*模块底线边框色*/ border-top: 1px solid #f8f8f8; /*模块底线边框色 暂时注释*/ > h4 { line-height: 35px; /*font-weight: bold;*/ font-size: 13px; cursor: pointer; display: block; padding-left: 20px; font-family: 'Microsoft YaHei UI','宋体',arial,verdana,sans-serif; /*background-color:#cedee9;*/ /*添加一级模块背景色*/ > i { /*margin-right: 5px;*/ display:inline-block; width:20px; } } } > div:last-of-type { /*border-bottom-width: 0px;*/ } ul { display: none; background-color: #fcfcfc; /*展开的背景色ecf5fb f3f3f4 eaedf4*/ } li { font-size: 12px; a { display: block; padding-left: 36px; height: 30px; line-height: 30px; position: relative; .txtell(); border-left: 3px solid transparent; /*display: table;*/ &:hover { color: #70a6ce; background-color: #edeeee; } &.act { background-color: #1b75bb; border-left-color: #d51c1c; color: #fff; overflow: inherit; &:after { /*content:""; position:absolute; right:0; top:50%; width:0; height:0; line-height:0; border:14px solid transparent; border-right-color:#b7d5df; margin-top:-14px;*/ content: ""; position: absolute; right: -1px; top: 50%; width: 0; height: 0; line-height: 0; border: 8px solid transparent; border-right-color: #fff; margin-top: -8px; } } span { /*text-align: left;*/ /*position: absolute; top: 0; left: 80px;*/ /*display: table-cell;*/ } i { display:inline-block; width:20px; } } h4 { height: 30px; line-height: 30px; padding-left: 36px; /*font-weight: bold;*/ font-family: 'Microsoft YaHei','宋体',arial,verdana,sans-serif; i { display:inline-block; width:20px; } } li { a, h4 { padding-left: 52px; } li { a, h4 { padding-left: 68px; } li { a, h4 { padding-left: 84px; } } } } } h4 { position: relative; padding-right: 22px; font-weight: 400; cursor: pointer; &:hover { color: #70a6ce; background-color: #fff; } &.open { background-color: #e0e0e2; /*模块选中后的背景色e5f2fa*/ border-bottom: 1px solid #dddddd; font-weight: bold; /**模块选中字体加粗**/ color: #454241; /*选中后的样式*/ &:after { font-weight: 400 !important; content: "\f104"; font-size: 18px; margin: -3px -3px 0 0; } } &:after { /*.icon2();*/ content: "\f107"; position: absolute; right: 8px; font-weight: 700 !important; font-size: 12px; font-family: FontAwesome !important; } } } //菜单收起样式 &.side_fold { width: 40px; transition: .5s; overflow: initial; .side_tip { i, span { display: none; } } .side_menu { transition: .5s; width: 40px; overflow: initial; } .side_item { > a, > div > h4 { padding-left: 0; text-align: center; span { display: none; } i { margin-right: 0; } } > div { > h4 { padding-right: 0; &:after { display: none; } &.open { background-color: #373d41; border-left: 5px solid #d51c1c; > i { color: white; } } } } div { position: relative; h4 { //overflow:hidden; //text-indent:-999px; //line-height:inherit; &:hover { background-color: #bcd4e0; } } ul { position: absolute; left: 100%; top: 0; background-color: #fff; white-space: nowrap; border: 1px solid #cccccc; /*c3ced5*/ min-width: 120px; box-shadow: 2px 2px 3px rgba(0,0,0,.4); li { &:hover { background-color: #b7d5df; } a { padding-left: 20px; padding-right: 6px; background-position: 4px 8px; border-left: none; &.act { &:after { display: none; } } } h4 { padding-left: 20px; } } } div { background-color: #fff; h4 { text-indent: 0; line-height: 35px; img { margin: 0; float: none; } } } } } } //固定菜单 &.fix { position: fixed; top: 70px; left: 0; } } //主要内容样式 .main_content { position: relative; margin-left: 200px; //z-index:-1; //收起样式 &.fold { margin-left: 40px; transition: .5s; } //顶部打开的菜单 .main_menuwrapper { position: relative; height: 36px; overflow: hidden; &.item { padding: 0 25px; .menu_prev, .menu_next { position: absolute; height: 36px; line-height: 50px; width: 24px; text-align: center; color: #333; z-index: 2; font-family: SimSun; background-color: #cccedb; font-size: 20px; font-weight: 700; display: block; } .menu_prev { left: 0; /*border: 1px solid #b7d5df;*/ /*border-radius: 15px 0 0 15px;*/ } .menu_next { right: 0; /*border: 1px solid #b7d5df; border-radius: 0 15px 15px 0;*/ } } .menu_prev, .menu_next { display: none; } .main_menulist { position: relative; width: 100%; overflow: hidden; height: 100%; } } //打开菜单的容器 .main_menu { position: absolute; left: 0; min-width: 100%; background-color: #f7f7f7; /*选项卡 备份e5f1f8 dbecfa d6e5f0 d7ebf9*/ /*background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f2f2f2)); background: -webkit-linear-gradient(top, #f8f8f8, #f2f2f2); background: -moz-linear-gradient(top, #f8f8f8, #f2f2f2); background: -ms-linear-gradient(top, #f8f8f8, #f2f2f2); background: -o-linear-gradient(top, #f8f8f8, #f2f2f2); background: linear-gradient(top, #f8f8f8, #f2f2f2);*/ height: 35px; border-bottom: 1px solid #cccccc; //padding-left:10px; aed0ea label { display: inline-block; vertical-align: middle; padding: 6px 10px; font-size: 14px; height: 18px; margin-top: 3px; border: 1px solid #f7f7f7; /*选项卡 备份e5f1f8 d6e5f0 */ border-bottom: none; border-radius: 3px 3px 0 0; margin-left: 5px; /*选项卡之间的距离*/ cursor: pointer; padding-right: 6px; &.act, &:hover { position: relative; color: #077d83; background-color: #fff; border-color: #cccccc; /*c3ced5*/ top: 2px; line-height: 17px; } &.act { cursor: default; } i { margin-right: 5px; } b.close { /*position:absolute; right:4px; top:4px;*/ margin-left: 6px; text-shadow: 0 0 3px rgba(3,3,3,.4); font-size: 16px; font-family: 'Microsoft YaHei'; &:hover { cursor: pointer; color: #d51c1c; text-shadow: 0 0 2px rgba(234, 53, 53, 0.60); } } } } //装载iframe的菜单 .main_wrapper { /*position:absolute; top:40px; left:0; right:0; bottom:0;*/ //overflow:auto; //padding:10px; overflow: hidden; min-height: 500px; position: relative; iframe { border: none; width: 100%; height: 100%; overflow: auto; position: absolute; top: 0; left: 3px; right: 0; bottom: 0; padding-top: 0px; padding-left: 1px; } } } //右键菜单样式 .contextmenu { position: fixed; background-color: #fff; border: 1px solid #dedede; border-radius: 3px; box-shadow: 2px 2px 5px rgba(0,0,0,.3); overflow: hidden; z-index: 555; ul { min-width: 80px; padding: 2px 0; //padding-left:30px; position: relative; &:after { content: ""; position: absolute; left: 29px; top: 0; bottom: 0; width: 1px; background-color: #dedede; } li { padding: 4px 15px; cursor: pointer; padding-left: 36px; position: relative; &.br { &:after { content: ""; position: absolute; left: 29px; right: 0; bottom: 0; height: 1px; background-color: #dedede; } } } li:hover { color: #fff; background-color: #00A4AC; z-index: 2; overflow: hidden; &:after { background-color: inherit; } } } } //弹出的配置样式 .Dconfig { display: none; background-color: rgba(0,0,0,.6); min-width: 260px; min-height: 100px; position: absolute; z-index: 999; right: 30px; top: -200px; border-radius: 4px; box-shadow: 0 0 4px rgba(0,0,0,.3); color: #fff; .full { cursor: pointer; padding: 5px 0; padding-left: 24px; background: url(../img/Fullscreen.png) no-repeat 2px center; } .theme { span { cursor: pointer; display: inline-block; vertical-align: middle; height: 30px; width: 30px; margin-right: 8px; background-color: red; border: 1px solid #888; &:hover, &.act { border-color: #fff; } &.red { background-color: red; } &.blue { background-color: blue; } &.green { background-color: green; } } } .close { position: absolute; color: #fff; right: -10px; top: -13px; line-height: 24px; i { font-size: 20px; } &:hover { color: #f00; } } > div { padding: 10px 20px 10px 10px; border-top: 1px solid #a3a3a3; width: auto; &:first-child { border-top: none; } h3 { margin-bottom: 5px; } span { width: 60px; display: inline-block; font-size: 15px; } select { font-family: 'Microsoft YaHei'; width: 120px; font-size: 14px; font-weight: normal; color: #333333; background-color: white; border: 1px solid #e5e5e5; padding: 6px 10px; } } } //底部样式 .footer { height: 30px; line-height: 30px; background-color: #f5f5f5; color: #444; text-align: left; padding-left: 20px; .spanCopyright { float: right; margin-right: 20px; } &.fix { position: fixed; z-index: 2; left: 0; bottom: 0; width: 100%; } } //遮罩 .mask { background-color: #000; .pos100(); opacity: .5; filter: alpha(opacity=50); z-index: 5; display: none; } //引导内容 .guide { position: absolute; top: 70px; left: 200px; z-index: 6; background-color: #fff; padding: 10px; display: none; .guide_list { > div { display: none; } .guide_1 { img { width: 80%; } } } b { border: 10px solid transparent; border-right-color: #fff; position: absolute; left: -20px; } } //任务样式 .task { margin-bottom: 5px; border-radius: 0 !important; box-sizing: border-box; font-weight: 300; line-height: 20px; white-space: normal; font-size: 13px; padding: 10px; background-color: #ffffff; padding: 7px 10px 5px 10px; border-bottom: 1px solid #f4f4f4 !important; text-shadow: none; color: #222222; .desc { font-size: 13px; font-weight: 300; border-radius: 0 !important; box-sizing: border-box; display: block; clear: both; font-weight: 300; line-height: 20px; white-space: normal; font-size: 13px; padding: 10px; background-color: #ffffff; border-bottom: 1px solid #f4f4f4 !important; text-shadow: none; color: #222222; } .percent { font-size: 14px; font-weight: 600; font-family: 'Open Sans', sans-serif; float: right; display: inline-block; } } .progress { display: block; height: 11px; margin: 0px; border: 0; background-image: none; filter: none; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; overflow: hidden; .progress-bar-danger { background-color: #f3565d; } } .progress-bar { float: left; width: 0; height: 100%; font-size: 12px; line-height: 20px; color: #fff; text-align: center; background-color: #428bca; -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15); box-shadow: inset 0 -1px 0 rgba(0,0,0,.15); -webkit-transition: width .6s ease; transition: width .6s ease; background-size: 40px 40px; } .progress-striped { .progress-bar-danger { background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent); background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent); } }