123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071 |
- // @import './variables.scss';
- // @import './mixin.scss';
- // @import './transition.scss';
- // @import './element-variables.scss';
- // @import './sidebar.scss';
- 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;
- }
- }
- ul li {
- padding: 0;
- margin: 0;
- list-style: none
- }
- .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%;
- height: 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
- }
- }
- .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;
- background: #04F21C
- }
- // 基本信息
- .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;
- }
- .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;
- }
- // 告警管理渐变背景色
- .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;
- .lubo {
- position: absolute;
- right: 0px;
- 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
- }
- //评估报告
- .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 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% - 56px);
- // 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
- }
- }
|