mkl_power_box/power/power.less

239 lines
4.8 KiB
Plaintext

.app-power {
.power-center {
.screen-module {
height: 100%;
.screen-two-2-2 {
height: 100%;
}
}
}
.mon-over {
position: relative;
.mon-over-bg {
position: absolute;
width: 100%;
height: 240px;
svg {
position: absolute;
left: calc(50% - 20px);
top: 100px;
width: 40px;
height: 40px;
vertical-align: middle;
fill: currentColor;
overflow: hidden;
}
.chart-gif {
width: 180px;
height: 180px;
top: 30px;
left: calc(50% - 90px);
}
}
.mon-over-content {
.mon-over-content-item {
display: inline-flex;
width: calc(48% - 90px);
height: 115px;
justify-content: center;
flex-flow: column;
&.one {
align-items: end;
padding-right: 90px;
}
&.two {
align-items: start;
padding-left: 90px;
}
.mv-title {
color: #a2c8f9;
line-height: 30px;
font-size: 16px;
}
.mv-num {
color: #63baff;
font-size: 24px;
font-weight: bold;
font-style: italic;
}
.mv-unit {
margin-left: 4px;
color: #a2c8f9;
}
}
}
}
.ele-load {
.ele-load-title {
position: relative;
.ele-load-area-sel {
position: absolute;
right: 0px;
}
}
}
.ele-trend {
.ele-trend-title {
position: relative;
.ele-trend-area-sel {
position: absolute;
right: 0px;
}
}
}
.current-trend {
.current-trend-title {
position: relative;
.current-trend-area-sel {
position: absolute;
right: 0px;
}
}
}
.warning-list {
.warning-item {
line-height: 36px;
.warning-text {
position: relative;
color: #a2c8f9;
i {
color: yellow;
}
.w-data {
position: absolute;
right: 0px;
font-style: italic;
span {
font-size: 18px;
font-style: normal;
font-weight: bold;
}
}
}
.warning-chart {
position: relative;
.w-chart-bg {
background: #192c64c7;
border-radius: 4px;
height: 8px;
.w-chart-prc {
position: absolute;
height: 8px;
border-radius: 4px;
background: #810707;
}
}
}
}
}
.warn-list {
max-height: 310px;
overflow-y: auto;
margin-top: 20px;
.warn-item {
color: #c0dafb9c;
padding:0px 10px;
cursor: pointer;
&.active{
background: #097fca3b;
}
.warn-item-title {
font-size: 18px;
margin: 10px 0px;
color: #a2c8f9;
font-weight: bold;
text-shadow: 1px -1px 1px #e11f1f;
}
.w-c-row1 {
display: flex;
margin-bottom: 10px;
.w-c-bg {
background: url("./wc_bg.png") no-repeat;
background-size: 100%;
width: 80px;
height: 80px;
position: relative;
.icon {
position: absolute;
top: 15px;
left: 15px;
width: 50px !important;
height: 50px !important;
path {
fill: #32aabf !important;
}
}
}
.w-c-row1-t {
color: #a15050;
font-size: 16px;
font-weight: bold;
}
}
.w-c-row2 {
line-height: 24px;
.w-c-row2-l {
display: inline-block;
overflow: hidden;
}
.w-c-row2-t {
display: inline-block;
width: calc(100% - 100px);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
}
.el-select {
.el-input__inner {
background: transparent;
border: none;
color: #a2c8f9;
}
}
.scroll::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.scroll::-webkit-scrollbar-thumb {
background-color: rgb(1, 169, 255);
border-radius: 4px;
}
.pw-no-data{
text-align: center;
color: #eee;
font-size: 12px;
&::before{
margin-bottom: 10px;
background-image: url(./nodata.svg);
height: 100px;
background-repeat: no-repeat;
background-position: center;
opacity: 0.4;
display:block;
content:" ";
}
}
.power-map{
.map-image{
height: calc(100% - 23px);
background-repeat: no-repeat;
background-size: 100%;
background-position: center;
position: relative;
.map-location {
position: absolute;
color: #09f781;
font-size: 40px;
text-shadow: 1px 1px 8px #010b2d;
}
}
}
}