@import './reset.less'; .container{ height: 100%; } .header{ /*position: fixed;*/ width: 100%; height:@headerHt; line-height: @headerHt; font-size: 16px; border-bottom: 1px #E2E5EF solid; /*top:0; background:linear-gradient(123deg,#00A1FF 0%,rgba(126,171,255,1) 100%);; text-indent: 20px; color: #fff;*/ .login{ margin-right: 20px; height: @headerHt; line-height: @headerHt; position: relative; &:after{ content: " "; display: inline-block; cursor: pointer; position: absolute; right: 0; top:22px; width: 10px; height: 6px; background: url("../images/icon_down.png") no-repeat; } //设置 .userAction { background-color: #fff; border-radius: 2px; display: none; text-indent: 0; width: 100px; position: absolute; right: -15px; top:42px; box-shadow:0px 4px 20px -3px rgba(59,89,126,0.3); li { line-height: 36px; text-align: center; cursor: pointer; color: #777777; a{ color: #777777; } &:hover,a:hover{ color: @activeColor; } } } } .setting{ display: inline-block; height:26px; line-height: 26px; margin: 12px 0 0 0; background: url("../images/head.png") no-repeat; padding:0 22px 0 35px; /*color: #fff;*/ text-decoration: none; } img{ vertical-align: middle; margin-right: 10px; } .title span{ display: inline-block; height: 20px; line-height: 20px; color: #333; font-weight: bold; font-size: 15px; text-indent: 20px; } } .console-cont { .header { background: @themeColor; border-bottom: 1px @themeBorderClr solid; .title span, .login a { color: #fff; } } .main-body { background: @activeBg; } } .main-body{ height: 100%; /*margin-top:@headerHt;*/ } .menu{ width: @menuWt; height: 100%; background: @themeColor; border-right: 1px @themeBorderClr solid; box-sizing: border-box; overflow-y: auto; padding-top: 15px; position: relative; .logo{ margin-bottom: 44px; text-indent: 22px; } &>a{ position: absolute; top: 50%; right: 0; z-index: 1; } &>ul>li{ text-indent: 42px; background: url("../images/module.png") 16px 12px no-repeat; margin-bottom: 10px; } .YH-KZT,.YH-KZTKS{ background: url("../images/home.png") 16px 10px no-repeat; &.active{ background: url("../images/home_a.png") @activeBg 16px 10px no-repeat; } } .YH-ZKK,.YH-KSZR{ background: url("../images/data.png") 16px 10px no-repeat; &.active{ background: url("../images/data_a.png") @activeBg 16px 10px no-repeat; } } .YH-JCSJWH{ background: url("../images/item.png") 16px 13px no-repeat; &.active{ background: url("../images/item_a.png") @activeBg 16px 13px no-repeat; } } .YH-BLZK{ background: url("../images/ba.png") 16px 10px no-repeat; &.active{ background: url("../images/ba_a.png") @activeBg 16px 10px no-repeat; } } .YH-QXGL{ background: url("../images/qxgl.png") 16px 11px no-repeat; &.active{ background: url("../images/qxgl_a.png") @activeBg 16px 11px no-repeat; } } .YH-YCSJJK{ background: url("../images/un.png") 16px 11px no-repeat; &.active,&.list-1-show{ background: url("../images/un_a.png") @activeBg 16px 11px no-repeat; } } .slide-btn{ display: inline-block; } .active{ color: @activeColor; /*background: @activeBg; border-right: 3px @activeColor solid;*/ } .page:hover{ color: @activeColor; } .list-1,.list-1-show{ position: relative; &:after{ content: " "; display: inline-block; position: absolute; left: @menuWt+(-30px); top:18px; width: 10px; height: 6px; background: url("../images/icon_down.png") no-repeat; } p{ color: #fff; opacity: .9; } p:hover { color: @activeColor; } &.slide-up:after{ transform: rotate(180deg); -webkit-transform: rotate(180deg); } ul{ display: none; li.page{ text-indent: 52px; color: #fff; opacity: .6; &.active{ color: @activeColor; opacity: 1; } } } } .list-1-show{ background-color: @activeBg; &:after{ transform: rotate(180deg); -webkit-transform: rotate(180deg); } } li{ line-height: @menuLiHt; text-indent: 15px; cursor: pointer; color: #fff; } .copy-right{ position: fixed; bottom: 0px; width: @menuWt+(-1px); text-align: center; height: 50px; line-height: 50px; background: @themeColor; border-top: 1px @themeBorderClr solid; border-right: 1px rgba(74, 93, 142, 0.5) solid; p{ font-size:12px; opacity: .3; color: #fff; } } } .menu-mini{ display: none; width: 60px; height: 100%; background: @themeColor; position: relative; &>a{ position: absolute; top: 50%; right: 0; z-index: 1; } &>ul>li{ width: 100%; height: 40px; line-height: 40px; margin-bottom: 10px; background: url("../images/module.png") center no-repeat; & ul{ display: none; left: 60px; position: absolute; width: 140px; } &.YH-KZT{ background: url("../images/home.png") 16px 12px no-repeat; } &.YH-ZKK{ background: url("../images/module.png") 16px 12px no-repeat; } &.YH-QBYH-JCGN{ background: url("../images/item.png") 16px 12px no-repeat; } &.YH-JCSJWH{ background: url("../images/data.png") 16px 10px no-repeat; } &.YH-BLZK{ background: url("../images/un.png") 16px 11px no-repeat; } &.active{ background-color: #EEF4FF; border-left: 3px @activeColor solid; } } } .main{ margin-left:@menuWt; height: 100%; overflow-x: auto; overflow-y: hidden; /*border: 10px solid #f5f5f5;*/ iframe { width: 100%; height: 100%; } } //修改密码 .modalAction { // padding: 20px; input { border: 1px solid #E2E5EF; width: 300px; height: 40px; line-height: 40px; border-radius: 3px; margin-bottom: 30px; padding: 0 10px; box-sizing: border-box; } p {position: relative;} p span { width: 90px; display: inline-block; text-align: right; color: #777; } .oldWaring { color: #FF4D4F; display: inline-block; position: absolute; left: 105px; bottom: 6px; } .waring { text-align: left; i { margin-left: 15px; color: #FF4D4F; position: relative; top: -22px; } } } .moduleMsgBox{ .moduleMsgContent{ position: fixed; left: 50%; top: 50%; width: 400px; height:208px; margin: -104px 0 0 -200px; background: #fff; border-radius:4px; } .moduleMsgTitle{ position: relative; height: 40px; padding: 0 0 0 20px; line-height: 40px; border-bottom: 1px solid #E2E5EF; font-size: 14px; color: #1E1E1E; } .iconClose{ width: 40px; position: absolute; right: 0; cursor: pointer; } .moduleMsgInfo{ text-align: center; position: relative; top: 30px; } .moduleMsgBtn{ position: relative; text-align: center; top: 81px; } .saveModuleEdit{ display: inline-block; color: #fff; width:80px; height:36px; line-height: 36px; text-align: center; background:#00A1FF; border-radius:4px; cursor: pointer; } } .midifyMsgBox{ .midifyMsgContent{ position: fixed; left: 50%; top: 50%; width: 400px; height:256px; margin: -128px 0 0 -200px; background: #fff; border-radius:4px; } .midifyMsgTitle{ position: relative; height: 40px; padding: 0 0 0 20px; line-height: 40px; border-bottom: 1px solid #E2E5EF; font-size: 14px; color: #1E1E1E; } .itemMsgInfoBox{ line-height: 40px; margin: 0 0 10px 0; position: relative; top: 10px; } .itemInfoRight{ display: inline-block; width: 190px; input{ width: 100px; box-sizing: border-box; border: 1px solid #E2E5EF; height: 40px; line-height: 40px; border-radius: 2px; padding: 0 10px; &:focus{ border-color: @activeColor; } } } .itemMsgLab{ display: inline-block; width: 180px; text-align: right; color: #777; } .iconClose{ width: 40px; position: absolute; right: 0; cursor: pointer; } .itemMsgInfoTips{ color: red; font-size: 14px; text-align: center; display: none; position: absolute; width: 100%; } .midifyMsgBtn{ position: relative; text-align: center; top: 36px; } .midifyEdit{ display: inline-block; color: #fff; width:80px; height:36px; line-height: 36px; text-align: center; background:#00A1FF; border-radius:4px; cursor: pointer; } } .itemMsgBox{ .itemMsgContent{ position: fixed; left: 50%; top: 50%; width: 500px; height:468px; margin: -234px 0 0 -250px; background: #fff; border-radius:4px; } .itemMsgTitle{ position: relative; height: 40px; padding: 0 0 0 20px; line-height: 40px; border-bottom: 1px solid #E2E5EF; font-size: 14px; color: #1E1E1E; } .iconClose{ width: 40px; position: absolute; right: 0; cursor: pointer; } .itemMsgContentBox{ margin: 20px 0 0 0; } .itemMsgInfoBox{ line-height: 40px; margin: 0 0 10px 0; position: relative; } .itemInfoRight{ display: inline-block; width: 300px; input{ width: 280px; box-sizing: border-box; border: 1px solid #E2E5EF; height: 40px; line-height: 40px; border-radius: 2px; padding: 0 10px; &:focus{ border-color: @activeColor; } } } .itemMsgLab{ display: inline-block; width: 150px; text-align: right; color: #777; } .itemMsgInfoTips{ position: absolute; color: red; font-size: 14px; text-align: center; width: 100%; height: 14px; top: 27px; display: none; } .switchImg{ position: relative; top: 3px; width: 30px; } .imgInfo{ display: inline-block; margin: 0 0 0 10px; } .confirmEditBox{ position: relative; text-align: center; top: 30px; } .confirmEdit{ display: inline-block; color: #fff; width:80px; height:36px; line-height: 36px; text-align: center; background:#00A1FF; border-radius:4px; cursor: pointer; } } .dialogBox{ .dialogBoxMask{ width: 100%; height: 100%; position: absolute; background: #000; opacity: 0.5; z-index: 1; border-radius: 10px; } .dialogBoxMsg{ position: absolute; z-index: 2; width: 100%; height: 100%; color: #fff; text-align: center; line-height: 50px; } position: fixed; left: 50%; top: 50%; width: 300px; height: 50px; margin: -25px 0 0 -150px; text-align: center; line-height: 50px; border-radius: 10px; } .mask { position: fixed; width: 100%; height: 100%; background: #000; opacity: 0.5; left: 0; top: 0; } .loadingImg{ position: fixed; left: 50%; top: 50%; width: 60px; margin: -30px 0 0 -30px; } input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; } input[type="number"] { -moz-appearance: textfield; } .itemContentBoxLis { width: 220px; height: 365px; margin: 30px 20px 20px 70px; border: 1px solid #EFF0F9; .title { height: 40px; line-height: 40px; background-color: #EFF0F9; text-align: center; } .partPub { padding-top: 10px; height: 315px; overflow: auto; li { padding: 8px 20px; cursor: pointer; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; } img { width: 14px; height: 14px; position: relative; top: 2px; margin-right: 10px; } } input:focus{ border: 1px solid @activeColor ; outline: 0; -webkit-box-shadow:@activeColor 0px 0px 2px; -moz-box-shadow: @activeColor 0px 0px 2px; box-shadow: @activeColor 0px 0px 2px; } } .itemContentBoxLisL { float: left; } .itemContentBoxLisR { margin-left: 20px; margin-right: 70px; float: right; } .activeGo { position: absolute; width: 40px; height: 60px; left: 50%; top: 50%; margin-left: -20px; margin-top: -45px; img { width: 40px; height: 22px; cursor: pointer; } .btm { margin-top: 15px; } } //abnormal .abnormalStatusLis { position: absolute; left: 104px; top: 35px; border: 1px solid #E2E5EF; z-index: 999; background-color: #fff; width: 158px; display: none; li { height: 34px; line-height: 34px; width: 160px; padding-left: 10px; box-sizing: border-box; width: 160px; &:hover { background-color: #EEF4FF; cursor: pointer; } } input:focus{ border: 1px solid @activeColor ; outline: 0; -webkit-box-shadow:@activeColor 0px 0px 2px; -moz-box-shadow: @activeColor 0px 0px 2px; box-shadow: @activeColor 0px 0px 2px; } } .abnormalAll { width: 160px !important; height: 34px; line-height: 34px; border: 1px solid #E2E5EF; padding: 0 20px 0 10px; display: inline-block; box-sizing: border-box; border-radius:4px; position: relative; img { width: 10px; float: left; position: absolute; top: 14px; right: 7px; } } .abnormalLeft { width: 100px !important; } .abnormalMark { vertical-align: top; position: relative; top: -12px; } .abnormalTxt { width: 240px; height: 120px; border: 1px solid #E2E5EF; border-radius: 4px; resize: none; padding: 10px; box-sizing: border-box; } .midifyMsgContent.abnormal { height: 320px; } .midifyMsgContent.abnormalDel { height: 280px; } .midifyMsgBtn.abnormalBtn { top: 22px; } .midifyEditDel{ color: #fff !important; border: 1px solid #00A1FF !important; background-color: #00A1FF !important; margin-right: 15px; } .delTips { text-align: center; padding: 40px 0; } .midifyMsgBtnDel { top: 10px !important; } .midifyMsgContentDel { height: 220px !important; width: 300px !important; }