html {
body {
* {
box-sizing: border-box;
}
/* ant-input-search搜索框 */
.ant-input-search {
max-width: 250px;
}
/* ant-pagination分页 */
.ant-pagination {
margin-top: $vab-margin;
text-align: center;
&.ant-table-pagination {
float: none !important;
margin-top: $vab-margin;
}
}
}
}
body {
height: 100%;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}
label {
font-weight: 700;
}
html {
height: 100%;
box-sizing: border-box;
}
#app {
height: 100%;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
a:focus,
a:active {
outline: none;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
}
div:focus {
outline: none;
}
.clearfix {
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
}
.inOneLine {
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
// main-container global css
.mb-5 {
margin-bottom: 5px
}
.mb-10 {
margin-bottom: 10px
}
.mb-20 {
margin-bottom: 20px
}
.mr-30 {
margin-right: 30px
}
.ml-30 {
margin-left: 30px
}
.mt-20 {
margin-top: 20px
}
.mt-40 {
margin-top: 40px
}
.mt-60 {
margin-top: 60px
}
.font-16 {
font-size: 16px
}
.padding-20 {
padding: 20px
}
.text-center {
text-align: center
}
.delete-text {
color: #F80000 !important
}
.remarksTxt {
opacity: .45;
line-height: 1.5;
}
.app-container {
padding: 20px;
// width: 100%;
width: calc(100%);
height: 100%;
// margin: 20px;
// margin-top: 70px;
background: #fff;
min-height: calc(100vh - 130px)
}
.filter-container {
width: 100%;
display: flex;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
vertical-align: middle;
.el-button+.el-button {
margin-left: 30px !important;
}
.filter-item {
margin-right: 30px;
display: inline-block;
margin-bottom: 10px
}
}
.ant-layout-header {
height: $vab-header-height !important;
line-height: $vab-header-height !important;
}
.el-input__inner {
height: 36px;
line-height: 36px
}
.el-button {
padding: 10px 12px;
}
.el-table--small {
font-size: 14px !important
}
.el-table td,
.el-table th {
padding: 10px 0
}
// 弹框样式start
.el-dialog__header {
background: #f8f8f8;
padding: 16px 20px 16px;
}
.el-form-item:not(.user-layout .el-form-item) {
width: 90%;
max-width: 400px;
margin: 0 auto 20px;
}
// 弹框样式end
// 台区列表
.siteTitle {
font-size: 16px;
padding: 10px 20px 30px 20px;
text-align: center;
position: relative;
.goBack {
position: absolute;
left: 0;
top: 0
}
}
.status.el-avatar {
width: 14px;
height: 14px;
}
.status.el-avatar.online {
background: #04F21C
}
.status.el-avatar.offline {
background: #aaa
}
// 基本信息
.basicInfo {
width: 100%;
height: calc(100vh - 180px);
// border: 1px solid pink;
display: block;
overflow-y: auto;
}
.siteManage-main {
padding: 20px;
}
.groupInfo,
.basic-info-page,
.powerScore {
.el-form-item {
margin-left: 0px !important
}
}
.goArchive {
color: #056FFF;
// text-decoration: underline;
cursor: default;
}
.goArchive:hover {
cursor: text;
}
.blockTitle {
font-weight: bold;
position: relative;
padding-left: 10px;
color: #056FFF;
}
.blockTitle:before {
content: "";
width: 3px;
margin-right: 9px;
height: 16px;
position: relative;
top: 3px;
display: inline-block;
background: #4074e7;
}
// input长度
.el-form-item__content {
width: 250px;
}
.planOutage {
.el-date-editor.el-input,
.el-date-editor.el-input__inner {
width: 100%;
max-width: 100%;
}
}
.el-select {
width: 100%
}
// 单选框样式
.el-radio {
margin-right: 24px
}
//提交:
.sublitArea {
text-align: right;
margin-top: 40px
}
// 图片上传样式 start
.el-upload.el-upload--picture-card {
width: 90px;
height: 90px;
line-height: 100px;
}
.el-upload-list--picture-card .el-upload-list__item {
width: 92px !important;
height: 92px !important;
line-height: 92px !important;
text-align: center
}
.el-upload-list--picture-card .el-upload-list__item-thumbnail {
width: 90px !important;
height: 90px !important;
line-height: 90px !important;
}
.avatar {
width: 90px;
height: 90px;
}
// 电力监测
.watchDog,
.variableList {
.el-form-item__content {
width: 270px
}
.el-form-item__label {
width: 150px !important
}
.el-form-item__content {
// margin-left: 150px!important
}
}
.paginationBlock {
margin-top: 20px;
text-align: right
}
.filter-container {
.el-button+.el-button {
margin-left: 20px !important;
}
.el-input {
margin: 0 20px 0 0;
}
}
// 树形控件icon
.el-tree-node__content {
position: relative;
font-size: 16px;
}
.siteTree .el-icon-delete {
color: #409EFF;
position: absolute;
right: 6px;
top: 5px;
}
.custom-tree-node span:first-child {
width: 100px
}
// 告警管理渐变背景色
.alarmingTable {
a {
margin-right: 0 !important;
}
}
.alarmingManage .el-table .cell {
text-align: left !important;
}
.gradualBg {
padding: 0 5px;
color: #444;
display: inline-block;
background: linear-gradient(to right, rgb(255, 154, 50), transparent);
}
.gradualBg.total {
background: linear-gradient(to right, rgb(138, 196, 243), transparent);
}
.gradualBg.transparent {
background: linear-gradient(to right, transparent, transparent) !important;
}
//告警详情弹框组件
.alarmStatusDialog {
.el-form-item:not(.user-layout .el-form-item) {
margin-bottom: 0
}
.deviceTit {
font-size: 16px;
color: #409EFF;
padding: 20px 0
}
.basicTit {
color: #4074e7;
line-height: 49px;
height: 49px;
font-size: 16px
}
.basicTit:before {
content: "";
width: 3px;
margin-right: 9px;
height: 16px;
position: relative;
top: 3px;
display: inline-block;
background: #4074e7;
}
.topInfo {
position: relative;
overflow: hidden;
.lubo {
// position: absolute;
// right: 0px;
// bottom: 20px;
float: right;
margin-bottom: 20px;
}
.handleStatus {
position: absolute;
right: 0px;
top: 0px;
color: #F80000
}
}
}
.underline {
position: relative;
}
.underline:after {
position: absolute;
bottom: 0;
left: -20px;
right: -20px;
height: 1px;
content: '';
-webkit-transform: scaleY(.5);
transform: scaleY(.5);
background-color: #000; //这个是唯佳的线颜色
opacity: .2
}
.underline:last-child:after {
//可以这样用
height: 0;
}
// 谐波分析
.harmonicReport {
.filter-container .filter-item {
// margin-right: 10px
}
}
.timeTab.el-button {
margin-bottom: 20px;
border-radius: 0
}
// 三项不平衡
.blanceChartTit {
padding: 10px 14px;
margin-bottom: 10px;
border-bottom: 1px solid #f0f0f0;
background: #FAFAFA;
font-weight: bold
}
//评估报告
.defaultCursor:hover {
cursor: default !important;
}
.assePage .blanceChartTit {
margin-bottom: 0;
width: 100%;
display: flex;
justify-content: space-between;
vertical-align: middle;
span {
display: inline-block
}
}
.assePage {
.subTits {
margin: 25px auto;
text-align: center;
font-weight: bold
}
.assNum {
font-size: 18px;
color: #2EAEFF;
margin-bottom: 10px;
}
.greenRate {
color: #04A522
}
.assTxt {
font-size: 14px
}
.assSmallbox {
padding: 10px 0;
text-align: center;
font-weight: bold;
}
}
// tab重置样式
.asseTabs {
margin-bottom: 20px;
border-bottom: 1px solid #E5E5E5;
width: calc(100% + 40px);
margin-left: -20px;
}
.asseTabs span {
line-height: 50px;
height: 50px;
font-size: 16px;
display: inline-block;
padding: 0 20px;
}
.asseTabs span.active {
border-bottom: 2px solid #2EAEFF
}
.banlanceBtn {
max-width: 80%;
// margin: 0 auto 20px;
height: 40px;
// line-height: 40px;
width: 236px;
font-size: 16px !important;
// background: #6dc6ff;
// color: #fff
}
.assCard {
min-height: 356px !important;
.noDataImg {
width: 40%;
margin-top: 40px;
}
}
.assCard ul {
text-align: left;
margin: 0;
padding: 15px 20px 0;
li:not(:last-child) {
border-bottom: 1px solid #F0F0F0;
}
li {
line-height: 40px;
display: flex;
justify-content: space-between;
vertical-align: middle;
font-size: 14px;
div {
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
span {
color: #04A522;
background: #F4F4F4;
display: inline-block;
border-radius: 20px;
line-height: 20px;
height: 20px;
text-align: center;
width: 58px;
margin-top: 10px;
}
span.overLimit {
color: #F80000
}
}
}
.totalScore {
font-weight: bold;
text-align: center;
margin: 30px;
.el-button {
font-size: 16px;
margin-left: 10px;
}
}
// 实时评分
.descIcon {
cursor: pointer
}
.descIcon img {
position: relative;
top: 2px;
}
.smallSquare {
display: inline-block;
width: 7px;
position: relative;
top: -1px;
height: 7px;
background: #F80000;
}
.smallSquare.green {
background: #24BE00
}
.loopUnbanlancePanel,
.loopHarmonicPanel {
height: 591px;
overflow: hidden;
.el-row {
margin-bottom: 0 !important;
}
}
.loopUnbanlanceCard {
// height: calc(100% - 100px);
ul {
padding: 0;
margin-bottom: 0;
font-size: 14px;
margin-top: 20px
}
li {
display: flex;
>div {
margin: 2px 4px;
line-height: 14px;
}
>div:first-child {
// min-width: 64px;
}
}
}
@media(min-width:1500px) {
.loopUnbanlanceCard {
li {
>div {
margin: 7px 20px;
line-height: 14px;
}
}
}
}
@media(max-width:1200px) {
.bg-purple {
margin-bottom: 20px
}
}
.voltagePanel {
.el-table--small th,
.el-table--small td {
padding: 15px 0
}
.uList p {
margin-right: 10px;
padding: 8px 0
}
.shangXian {
padding: 20px 0 0;
display: flex;
width: 300px;
margin-left: 40px;
text-align: center;
div {
width: 50%;
text-align: center;
position: relative
}
div:first-child:after {
position: absolute;
top: 0;
z-index: 4;
/* left: -20px; */
right: 20px;
height: 211px;
width: 1px;
border: 1px dashed #000;
content: "";
/* transform: scaleY(0.5); */
background-color: rgba(0, 0, 0, 0);
opacity: .2;
}
div:last-child:before {
position: absolute;
top: 0;
z-index: 4;
left: 20px;
height: 211px;
width: 1px;
border: 1px dashed #000;
content: "";
/* transform: scaleY(.2); */
background-color: rgba(0, 0, 0, 0);
opacity: .2;
}
}
}
.frequencyPanel {
text-align: center;
.frequencyTit {
color: #F80000;
font-weight: bold
}
.frequencyTit2 {
font-weight: bold;
margin: 10px auto;
span {
color: #fff;
background: #21c393;
display: inline-block;
border-radius: 20px;
line-height: 24px;
height: 24px;
text-align: center;
font-size: 14px;
width: 58px;
}
}
.frequencyBox .grid-content {
min-height: 50px !important;
border-radius: 0;
background: #f0f0f0;
border: none;
}
.rightSplitRed {
position: relative;
i {
position: absolute;
position: absolute;
right: -14.5px;
bottom: -11px;
color: #f1673d
}
i:after {
display: none
}
}
.greenShadow {
position: absolute;
width: 118px;
height: 100%;
bottom: 0;
background: rgba(37, 215, 162, .3);
left: 41px;
background-image: -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, hsla(0, 0%, 100%, .2)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, hsla(0, 0%, 100%, .2)), color-stop(.75, hsla(0, 0%, 100%, .2)), color-stop(.75, transparent), to(transparent));
background-image: -moz-gradient(linear, 0 0, 100% 100%, color-stop(.25, hsla(0, 0%, 100%, .2)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, hsla(0, 0%, 100%, .2)), color-stop(.75, hsla(0, 0%, 100%, .2)), color-stop(.75, transparent), to(transparent));
background-image: -ms-gradient(linear, 0 0, 100% 100%, color-stop(.25, hsla(0, 0%, 100%, .2)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, hsla(0, 0%, 100%, .2)), color-stop(.75, hsla(0, 0%, 100%, .2)), color-stop(.75, transparent), to(transparent));
background-image: -o-gradient(linear, 0 0, 100% 100%, color-stop(.25, hsla(0, 0%, 100%, .2)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, hsla(0, 0%, 100%, .2)), color-stop(.75, hsla(0, 0%, 100%, .2)), color-stop(.75, transparent), to(transparent));
background-image: gradient(linear, 0 0, 100% 100%, color-stop(.25, hsla(0, 0%, 100%, .2)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, hsla(0, 0%, 100%, .2)), color-stop(.75, hsla(0, 0%, 100%, .2)), color-stop(.75, transparent), to(transparent));
background-size: 8px 8px
}
.rightSplitRed .grid-content:after {
position: absolute;
bottom: -3px;
z-index: 4;
right: -8px;
height: 125%;
width: 2px;
border: 1px solid #f1673d;
content: "";
background-color: rgba(0, 0, 0, 0);
}
.frequencyBox .grid-content {
border-right: 1px dashed #aaa
}
.frequencyBox .el-col:last-child .grid-content {
border-right: none
}
}
.voltagePanel,
.frequencyPanel,
.powerPanel {
height: 285px
}
.powerPanel {
.el-table--small th,
.el-table--small td {
padding: 15px 0
}
.uList p {
margin-right: 10px;
padding: 8px 0
}
}
.harmonicCard {
height: calc(50% - 78px);
// border: 1px solid red;
}
// 工单管理
.workManage {
.tab-section .el-button {
margin-left: 0 !important;
padding: 10px 20px;
}
.el-checkbox {
margin-left: 20px
}
img.jianxiu {
width: 18px;
position: relative;
top: -2px
}
}
.workStatusBtn {
display: inline-block;
padding: 0px 12px;
background: #e54552;
color: #fff;
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
font-size: 12px;
transform: scale(.8);
}
.alarmStatusDialog {
.el-radio__input.is-checked+.el-radio__label {
color: #606266 !important
}
}
.defetSubTit {
background: #F4F4F4;
width: calc(100% + 40px);
margin-left: -20px;
line-height: 38px;
padding: 0 20px;
margin-bottom: 20px;
color: #2DAEFF
}
// 工单详情
.handleDetailPage {
padding: 20px 0;
.basicTit {
color: #4074e7;
line-height: 49px;
height: 49px;
font-size: 16px;
>span {
display: inline-block;
margin-right: 10px
}
}
.handleTestBlock {
padding: 0 20px 20px 20px;
border-bottom: 3px solid #1890ff;
}
.jianxiuSec {
>div {
display: table-cell;
vertical-align: top;
}
.left-img img {
width: 115px;
height: 115px;
margin-right: 20px
}
.right-des {
position: relative;
.tit {
font-weight: bold;
margin: 10px 0
}
.bottomStatus {
position: absolute;
bottom: 0;
}
}
}
.desSec {
span {
display: inline-block;
margin-right: 20px
}
}
.siteBlock,
.companyBlock {
display: inline-block;
width: 140px;
height: 140px;
border: 1px solid #aaa;
background: #f0f0f0;
margin-left: 10px;
text-align: center;
position: relative;
/*自己的50% */
>div {
width: 140px;
height: auto;
position: absolute;
left: 50%;
/* 定位父级的50% */
top: 50%;
transform: translate(-50%, -50%);
p:last-child {
font-size: 18px;
margin-top: 30px
}
}
}
.handlerBlock {
padding: 20px;
border-bottom: 1px solid #E5E5E5;
;
div {
margin-bottom: 10px;
}
i {
font-size: 16px;
}
.record {
span {
color: cornflowerblue;
display: inline-block;
margin-left: 10px;
cursor: pointer
}
}
b {
margin: 0 5px;
display: inline-block;
}
.imgSquare {
border: 1px solid #ddd;
width: 100px;
height: 100px;
margin-left: 40px;
img {
width: 80%;
margin-left: 10%;
height: 80%;
margin-top: 10%;
}
}
}
}
.basicTit:before {
content: "";
width: 3px;
margin-right: 9px;
height: 16px;
position: relative;
top: 3px;
display: inline-block;
background: #4074e7;
}
// 运维统计
.operStatisticsPage {
padding: 0;
.el-tabs__content {
overflow: hidden;
position: absolute;
top: -10px;
left: 614px;
}
.customBlock {
position: relative;
.customPicker {
position: absolute;
right: 0;
bottom: 0
}
}
.operStatisticsInner {
padding: 20px;
.bg-purple {
// background: #d3dce6;
border: 1px solid #e5e5e5;
}
.staitcDataSec {
.staitcDataItem {
// text-align: center;
padding: 20px 10px;
height: 110px;
.imgBlock {
text-align: right;
img {
// max-width: 90%
}
}
.staticBlock {
// text-align: center
}
p {
margin-bottom: 0
}
.num {
font-size: 26px;
color: #49B8F6;
display: inline-block;
margin-right: 5px;
}
}
}
.panelTit {
padding: 10px 14px;
margin-bottom: 10px;
border-bottom: 1px solid #f0f0f0;
background: #FAFAFA;
font-weight: bold;
}
.workPanel {
height: 311px;
.workPanelChart {
height: calc(100% - 60px)
}
}
.siteWorkPanel {
height: 311px;
.siteWorkChart {
height: calc(100% - 60px)
}
}
.staticPanel {
height: 365px;
}
}
}
// 角色权限
.roleLeft {
.addBox {
text-align: center;
display: flex;
justify-content: space-around;
line-height: 36px
}
.el-radio-button {
width: 100%
}
.el-radio-button__inner {
width: 100%;
// line-height: 40px;
padding: 13px 15px
}
.el-radio-button__inner {
border-left: 1px solid #dcdfe6;
text-align: left;
position: relative; // border-bottom: none;
img {
margin-right: 5px
}
i {
position: absolute;
right: 10px;
font-size: 15px;
color: #F80000;
opacity: 0
}
}
.el-radio-button__inner:hover {
color: #444;
background: #f1f7fc;
// border-color: #f1f7fc;
i {
opacity: 1;
}
}
.el-radio-button:last-child .el-radio-button__inner {
// border-bottom: 1px solid #dcdfe6;
}
.el-radio-button__original-radio:checked+.el-radio-button__inner {
background: #BDE5FF;
border-color: #BDE5FF;
color: #444;
box-shadow: none
}
}
// 用户管理弹框
.userManageDialog {
.el-date-editor.el-input,
.el-date-editor.el-input__inner {
width: 240px !important;
}
}
.downloadMb {
margin-left: 20px;
text-decoration: underline;
}