Files
fe.ems.vue3/src/views/index/css/module.css
T
2024-10-16 10:33:40 +08:00

204 lines
3.5 KiB
CSS

.cardClass {
width: 100%;
height:220px;
border-radius: 10px;
}
.spaceButton{
margin-right: 3px
}
.visual {
width: 80px;
height: 120px;
display: block;
float: left;
padding-top: 32px;
padding-left: -30px;
margin-bottom: 15px;
font-size: 120px;
line-height: 55px;
background-size: contain;
opacity: 0.2; /* 调整透明度以使其成为背景 */
}
.visual45G {
width: 80px;
height: 80px;
display: block;
float: left;
padding-top: 2px;
padding-left: -30px;
margin-bottom: 15px;
font-size: 100px;
line-height: 55px;
background-size: contain;
opacity: 0.001; /* 调整透明度以使其成为背景 */
}
/* 45G基站数,在线用户数 */
.details {
position: absolute;
right: 15px;
padding-right: 15px;
top: 60%;
}
.detailsLeft {
position: absolute;
left: 15px;
padding-left: 15px;
top: 60%;
}
.number {
padding-top: 25px;
color: #fff; /* 设置文字颜色为白色 */
text-align: left;
font-size: 34px;
line-height: 36px;
letter-spacing: -1px;
margin-bottom: 0px;
font-weight: 300;
}
.details-container {
display: flex;
justify-content: space-between;
align-items: center;
position: absolute;
left: 15px;
right: 15px;
top: 60%;
padding: 0 15px;
}
.details-item {
flex: 0 0 30%;
max-width: 30%;
}
.cdrLeft {
text-align: left;
}
.cdrCenter {
text-align: center;
}
.cdrRight {
text-align: right;
}
.cdrNumber {
padding-top: 25px;
color: #fff;
font-size: 34px;
line-height: 40px;
letter-spacing: -1px;
margin-bottom: 0px;
font-weight: 300;
display: inline-flex;
align-items: center;
max-width: 100%;
}
/* 图标样式 */
.cdrNumber .anticon {
margin-right: 5px;
font-size: 34px;
flex-shrink: 0;
}
.cdrNumber .value {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
min-width: 0;
flex: 1;
}
/* 响应式调整 */
@media (max-width: 768px) {
.cdrNumber {
font-size: 20px;
line-height: 22px;
}
.cdrNumber .anticon {
font-size: 18px;
}
}
.desc {
text-align: right;
font-size: 16px;
letter-spacing: 0px;
font-weight: 400;
}
/* .more {
clear: both;
display: block;
padding: 6px 10px 6px 10px;
position: relative;
text-transform: uppercase;
font-weight: 300;
font-size: 11px;
opacity: 0.7;
filter: alpha(opacity=70);
color: #e00909;
background-color: #e00909;
}
.more:hover {
text-decoration: none;
opacity: 0.9;
filter: alpha(opacity=90);
} */
.flexibleSpan {
width: 100%;
color: #fff; /* 设置文字颜色为白色 */
position: relative;
line-height: 2rem;
white-space: nowrap;
text-align: start;
text-overflow: ellipsis;
overflow: hidden;
}
.flexibleSpan::before {
content: ' ';
position: absolute;
top: 1px;
left: 0;
right: 0;
width: 100%;
bottom: 0;
z-index: 0;
height: 2px;
border-radius: 4px;
}
.dataSpan::before{
background-image:linear-gradient(135deg,#93f9b9,#1d976c);
}
.gNodeBSpan::before {
background-image: linear-gradient(135deg, #3c8ce7, #00eaff);
}
.eNodeBSpan::before {
background-image: linear-gradient(135deg, #3bb2b8, #42e695);
}
.gUserSpan::before {
background-image: linear-gradient(135deg, #00eaff, #3c8ce7);
}
.eUserSpan::before {
background-image: linear-gradient(135deg, #42e695, #3bb2b8);
}