@charset "UTF-8";
|
|
.mb20 {
|
margin-bottom: 0.2rem;
|
}
|
|
.m0 {
|
margin: 0;
|
}
|
|
.p0 {
|
padding: 0;
|
}
|
|
.txt-c {
|
text-align: center;
|
}
|
|
.txt-l {
|
text-align: left;
|
}
|
|
.databoard-container {
|
width: 100%;
|
height: 8.8rem;
|
}
|
|
.databoard-left {
|
width: 5.89rem;
|
height: 100%;
|
}
|
|
.databoard-monitor {
|
width: 100%;
|
height: 100%;
|
padding: 0.15rem 0.2rem;
|
}
|
|
.databoard-monitor.databoard-box .title {
|
font-weight: 400;
|
text-align: left;
|
margin-top: 0.1rem;
|
}
|
|
.databoard-monitor .subtitle::before {
|
content: '';
|
position: static;
|
width: 0.07rem;
|
height: 0.2rem;
|
margin-right: 0.06rem;
|
margin-top: -0.03rem;
|
display: inline-block;
|
vertical-align: middle;
|
background: #fff;
|
}
|
|
.databoard-monitor__list {
|
width: 100%;
|
height: 2.44rem;
|
margin-top: 0.15rem;
|
text-align: center;
|
font-size: 0.14rem;
|
color: #4fccff;
|
}
|
|
.databoard-monitor__list table {
|
width: 100%;
|
}
|
|
.databoard-monitor__list tr {
|
height: 0.34rem;
|
line-height: 0.34rem;
|
}
|
|
.databoard-monitor__list td {
|
border: 1px solid rgba(22, 42, 95, 0.5);
|
}
|
|
.databoard-monitor__list thead tr {
|
color: #fff;
|
font-weight: 500;
|
background: rgba(22, 43, 95, 0.6);
|
}
|
|
.databoard-medinum {
|
width: 8.38rem;
|
height: 100%;
|
}
|
|
.databoard-right {
|
width: 4.09rem;
|
height: 100%;
|
}
|
|
.databoard-box .title {
|
height: 0.28rem;
|
margin-top: 0.14rem;
|
font-size: 0.2rem;
|
font-weight: 500;
|
color: #fff;
|
line-height: 0.28rem;
|
text-align: center;
|
}
|
|
.databoard-box .content {
|
padding: 0 0.34rem;
|
}
|
|
.databoard-pue, .databoard-electric, .databoard-environmental,
|
.databoard-sensor, .databoard-runday, .databoard-ups, .databoard-crac {
|
width: 4.09rem;
|
height: 2.8rem;
|
}
|
|
/* 当前状态总览 */
|
.databoard-status {
|
width: 100%;
|
height: 2.8rem;
|
}
|
|
/* PUE */
|
.databoard-pue__circle {
|
position: relative;
|
z-index: 2;
|
width: 1.4rem;
|
height: 1.4rem;
|
margin: 0.24rem 0 0.16rem;
|
border-radius: 0.7rem;
|
border: 2px solid rgba(79, 204, 255, 0.2);
|
text-align: center;
|
color: #fff;
|
font-size: 0.56rem;
|
font-weight: 500;
|
line-height: 1.32rem;
|
}
|
|
.databoard-pue__circle::after {
|
content: '';
|
position: absolute;
|
z-index: -1;
|
top: 50%;
|
left: 50%;
|
width: 1.28rem;
|
height: 1.28rem;
|
border-radius: 0.64rem;
|
background: linear-gradient(180deg, #00cfff 0%, #d201ff 100%);
|
transform: translate3d(-50%, -50%, 0);
|
}
|
|
/* 市电 */
|
.databoard-electric .title {
|
margin: 0.1rem 0 0.08rem;
|
font-size: 0.16rem;
|
height: 0.22rem;
|
line-height: 0.22rem;
|
}
|
|
.databoard-electric__dvc, .databoard-electric__ec {
|
width: 1.5rem;
|
}
|
|
.databoard-electric__item {
|
width: 100%;
|
margin: auto;
|
}
|
|
.databoard-electric__item:nth-child(1) {
|
color: #fec65f;
|
}
|
|
.databoard-electric__item:nth-child(1) .databoard-electric__ratio--rate
|
{
|
background: #fec65f;
|
}
|
|
.databoard-electric__item:nth-child(2) {
|
color: #6fe621;
|
}
|
|
.databoard-electric__item:nth-child(2) .databoard-electric__ratio--rate
|
{
|
background: #6fe621;
|
}
|
|
.databoard-electric__item:nth-child(3) {
|
color: #fb497c;
|
}
|
|
.databoard-electric__item:nth-child(3) .databoard-electric__ratio--rate
|
{
|
background: #fb497c;
|
}
|
|
.databoard-electric__item+.databoard-electric__item {
|
margin-top: 0.14rem;
|
}
|
|
.databoard-electric__label {
|
height: 0.22rem;
|
margin-bottom: 0.07rem;
|
font-size: 0.16rem;
|
font-weight: 500;
|
line-height: 0.22rem;
|
}
|
|
.databoard-electric__ratio {
|
position: relative;
|
z-index: 2;
|
height: 0.1rem;
|
background: rgba(47, 141, 194, 0.3);
|
border-radius: 0.07rem;
|
}
|
|
.databoard-electric__ratio--rate {
|
position: absolute;
|
top: -0.01rem;
|
left: 0;
|
z-index: 1;
|
border-radius: 0.07rem;
|
height: 0.12rem;
|
}
|
|
.databoard-electric__label-text {
|
margin-top: 0.17rem;
|
}
|
|
.databoard-electric__ratio-label {
|
height: 0.16rem;
|
font-size: 0.14rem;
|
font-weight: 400;
|
color: #4fccff;
|
line-height: 0.16rem;
|
}
|
|
.databoard-electric__ratio-label--item {
|
position: relative;
|
padding-left: 0.22rem;
|
}
|
|
.databoard-electric__ratio-label--item::before {
|
content: '';
|
position: absolute;
|
top: 0.04rem;
|
left: 0;
|
width: 0.12rem;
|
height: 0.08rem;
|
border-radius: 1px;
|
}
|
|
.databoard-electric__ratio-label--item:nth-child(1)::before {
|
background: #fec65f;
|
}
|
|
.databoard-electric__ratio-label--item:nth-child(2)::before {
|
background: #6fe621;
|
}
|
|
.databoard-electric__ratio-label--item:nth-child(3)::before {
|
background: #fb497c;
|
}
|
|
.databoard-electric__frequency {
|
width: 0.9rem;
|
height: 0.22rem;
|
margin-left: 0.55rem;
|
font-size: 0.16rem;
|
font-weight: 500;
|
color: #fff;
|
line-height: 0.22rem;
|
}
|
|
/* 环境监控 */
|
.databoard-environmental .title {
|
margin-bottom: 0.16rem;
|
}
|
|
.databoard-environmental__box1 {
|
margin-bottom: 0.08rem;
|
}
|
|
.databoard-environmental__label {
|
width: 0.5rem;
|
font-size: 0.16rem;
|
font-weight: 400;
|
color: #4fccff;
|
line-height: 0.22rem;
|
text-align: center;
|
}
|
|
.databoard-environmental__label .hot {
|
color: #fec65f;
|
}
|
|
.databoard-environmental__icon {
|
display: inline-block;
|
width: 0.56rem;
|
height: 0.56rem;
|
background: no-repeat center;
|
background-size: contain;
|
}
|
|
.humidity .databoard-environmental__icon {
|
background-image: url("../../assets/databoard-humidity2.png");
|
}
|
|
.temperature .databoard-environmental__icon {
|
background-image: url("../../assets/databoard-temperature2.png");
|
}
|
|
/* 传感器 */
|
.databoard-sensor {
|
padding-top: 0.4rem;
|
}
|
|
.databoard-sensor .donut {
|
position: relative;
|
width: 1.6rem;
|
height: 1.6rem;
|
}
|
|
.databoard-sensor .donut__progress {
|
stroke-dasharray: 1068.1415022205;
|
stroke-dashoffset: 1068.1415022205;
|
transition: stroke-dashoffset 1s cubic-bezier(0.99, 0.01, 0.62, 0.94);
|
will-change: stroke-dashoffset;
|
}
|
|
.databoard-sensor .donut__label {
|
position: absolute;
|
left: 50%;
|
top: 50%;
|
width: 0.48rem;
|
height: 0.66rem;
|
transform: translate3d(-50%, -50%, 0);
|
color: #4fccff;
|
font-size: 0.24rem;
|
font-weight: 500;
|
line-height: 0.34rem;
|
text-align: center;
|
}
|
|
/* 运行天数 */
|
.databoard-runday {
|
padding: 0.2rem;
|
}
|
|
.databoard-runday .title {
|
text-align: left;
|
margin-bottom: 0.38rem;
|
}
|
|
.databoard-runday .content {
|
padding: 0;
|
}
|
|
.databoard-runday__day {
|
display: inline-table;
|
position: relative;
|
z-index: 2;
|
width: 0.8rem;
|
height: 1.4rem;
|
flex-shrink: 0;
|
background: linear-gradient(180deg, #00faff 0%, #6f7ae7 100%);
|
border-radius: 0.08rem;
|
overflow: hidden;
|
text-align: center;
|
font-size: 1rem;
|
font-weight: 500;
|
color: #dbf5ff;
|
line-height: 1.4rem;
|
}
|
|
.databoard-runday__day::before {
|
content: '';
|
position: absolute;
|
top: 50%;
|
left: 50%;
|
z-index: -1;
|
width: calc(100% - 0.08rem);
|
height: calc(100% - 0.08rem);
|
transform: translate3d(-50%, -50%, 0);
|
border: 1px solid rgba(255, 255, 255, 0.65);
|
border-radius: 0.08rem;
|
}
|
|
.databoard-runday__day.zero {
|
color: rgba(219, 245, 255, 0.3);
|
}
|
|
.databoard-runday__unit {
|
width: 0.2rem;
|
height: 0.28rem;
|
margin-left: 0.15rem;
|
font-size: 0.2rem;
|
font-weight: 500;
|
color: #4fccff;
|
line-height: 0.28rem;
|
align-self: flex-end;
|
}
|
|
/* UPS监控 */
|
.databoard-ups .content {
|
margin-top: 0.3rem;
|
padding: 0 0.225rem;
|
}
|
|
.databoard-ups .databoard-ups__label, .databoard-ups .databoard-ups__input
|
{
|
height: 0.22rem;
|
font-size: 0.16rem;
|
line-height: 0.22rem;
|
flex-shrink: 0;
|
}
|
|
.databoard-ups__item {
|
width: 100%;
|
height: 0.42rem;
|
}
|
|
.databoard-ups__item+.databoard-ups__item {
|
margin-top: 0.2rem;
|
}
|
|
.databoard-ups__label {
|
width: 0.64rem;
|
margin-right: 0.24rem;
|
font-weight: 400;
|
color: #fff;
|
}
|
|
.databoard-ups__input {
|
font-weight: 500;
|
color: #4fccff;
|
}
|
|
.databoard-ups__range {
|
width: 2.24rem;
|
margin-right: 0.14rem;
|
}
|
|
.databoard-ups__item.power .databoard-ups__range {
|
position: relative;
|
z-index: 2;
|
}
|
|
.databoard-ups__item.power .databoard-ups__range--progress {
|
height: 0.12rem;
|
border-radius: 0.06rem;
|
background: linear-gradient(270deg, #fd3f2f 0%, #face15 100%);
|
}
|
|
.databoard-ups__item.power .databoard-ups__range::after {
|
content: '';
|
position: absolute;
|
top: 0.01rem;
|
left: 0;
|
z-index: -1;
|
width: 100%;
|
height: 0.1rem;
|
border-radius: 0.05rem;
|
background: rgba(47, 141, 194, 0.3);
|
}
|
|
.databoard-ups__item.battery .databoard-ups__range {
|
height: 100%;
|
background: url(../../assets/databoard-battery.svg) no-repeat center;
|
background-size: contain;
|
}
|
|
.databoard-ups__item.battery .databoard-ups__range--progress {
|
display: block;
|
width: 0%;
|
height: 100%;
|
max-width: 100% !important;
|
max-height: 100% !important;
|
background-image: url(../../assets/databoard-battery-progress.svg);
|
background-size: cover;
|
}
|
|
/* 精密空调 */
|
.databoard-crac .content {
|
margin-top: 0.32rem;
|
}
|
|
.databoard-crac__wind {
|
padding: 0;
|
flex-direction: column;
|
}
|
|
.databoard-crac__wind--item {
|
position: relative;
|
height: 0.48rem;
|
padding-left: 0.68rem;
|
}
|
|
.databoard-crac__wind--item+.databoard-crac__wind--item {
|
margin-top: 0.4rem;
|
}
|
|
.databoard-crac__wind--item::before {
|
content: '';
|
position: absolute;
|
left: 0;
|
top: 0;
|
width: 0.48rem;
|
height: 0.48rem;
|
background: url(../../assets/databoard-icon-wind.png) no-repeat center;
|
background-size: contain;
|
}
|
|
.databoard-crac__wind--item.reverse::before {
|
transform: rotateY(180deg);
|
}
|
|
.databoard-crac__wind .databoard-crac__wind--label,
|
.databoard-crac__wind .databoard-crac__wind--input {
|
height: 0.22rem;
|
font-size: 0.16rem;
|
line-height: 0.22rem;
|
}
|
|
.databoard-crac__wind--label {
|
font-weight: 400;
|
color: #4fccff;
|
}
|
|
.databoard-crac__wind--input {
|
margin-top: 0.08rem;
|
font-weight: 500;
|
color: #fec65f;
|
}
|
|
.databoard-crac__wind-speed {
|
margin-left: 0.58rem;
|
padding: 0;
|
text-align: center;
|
font-size: 0.16rem;
|
font-weight: 400;
|
color: #4fccff;
|
line-height: 0.22rem;
|
}
|
|
.databoard-crac__wind-speed::before {
|
content: '';
|
display: block;
|
width: 1.26rem;
|
height: 1.26rem;
|
background: url(../../assets/databoard-icon-wind-big.png) no-repeat
|
center;
|
background-size: contain;
|
margin-bottom: 0.2rem;
|
will-change: transform;
|
}
|
|
.databoard-crac__wind-speed.animate::before {
|
animation: rotate 1.5s linear infinite both;
|
}
|
|
@
|
keyframes rotate { 0% {
|
transform: rotate(0deg);
|
}
|
100%
|
{
|
transform
|
:
|
|
rotate
|
(360deg);
|
|
}
|
}
|
|
|
.ui-row {
|
display: flex;
|
width: 100%;
|
flex-wrap: wrap;
|
box-sizing: border-box;
|
}
|
|
.border-box {
|
position: relative;
|
border: 1px solid #2f8dc2;
|
}
|