All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s
202 lines
3.3 KiB
CSS
202 lines
3.3 KiB
CSS
.container {
|
|
max-width: 14.4rem;
|
|
/* min-width: 1280px; */
|
|
margin: 0 auto;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
|
|
}
|
|
.progress-section {
|
|
max-width: 14.4rem;
|
|
/* min-width: 1280px; */
|
|
}
|
|
.progress-title {
|
|
font-size: 0.48rem;
|
|
color: #fff;
|
|
padding: 2.13rem 0 0.78rem 0;
|
|
font-family: "HarmonyOS-Medium";
|
|
}
|
|
|
|
.progress-item .label {
|
|
font-size: 0.4rem;
|
|
color: #cbcfd8;
|
|
margin-bottom: 0.08rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
line-height: 1;
|
|
margin-top: 0.3rem;
|
|
margin-bottom: 0.76rem;
|
|
}
|
|
|
|
.progress-item .label .device-name {
|
|
flex: 1;
|
|
font-family: "HarmonyOS-Medium";
|
|
}
|
|
|
|
.progress-item .label .baseline {
|
|
color: #cbcfd8;
|
|
font-size: 0.6rem;
|
|
}
|
|
|
|
.progress-item .label .value {
|
|
font-size: 0.4rem;
|
|
min-width: 0.8rem;
|
|
text-align: right;
|
|
margin-left: 0.16rem;
|
|
font-family: "HarmonyOS-Medium";
|
|
}
|
|
.colorLinearGradient {
|
|
background: linear-gradient(90deg, #7e51ff, #d5dfff);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
color: transparent;
|
|
}
|
|
.progress-item .label .value.m4-max {
|
|
color: #5e5ce6;
|
|
}
|
|
|
|
.progress-item .label .value.gray {
|
|
color: #86868b;
|
|
}
|
|
|
|
.progress-bar-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.16rem;
|
|
}
|
|
|
|
.progress-bar {
|
|
flex: 1;
|
|
height: 0.2rem;
|
|
max-height: 20px;
|
|
min-height: 10px;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
border-radius: 0.05rem;
|
|
transition: width 1.2s ease-out;
|
|
width: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.progress-fill.m4-max {
|
|
background: linear-gradient(40deg, #7e51ff, #e1d5ff);
|
|
}
|
|
|
|
.progress-fill.m2-max {
|
|
background: #bfc5d9;
|
|
}
|
|
|
|
.progress-fill.m1-max {
|
|
background: #bfc5d9;
|
|
}
|
|
|
|
.progress-fill.baseline {
|
|
background: #bfc5d9;
|
|
}
|
|
|
|
/* 流光动效 */
|
|
/* .progress-fill::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 50%;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
transparent,
|
|
rgba(255, 255, 255, 0.3),
|
|
transparent
|
|
);
|
|
animation: shimmer 1.5s infinite;
|
|
} */
|
|
|
|
@keyframes shimmer {
|
|
100% {
|
|
left: 150%;
|
|
}
|
|
}
|
|
|
|
/* 基准说明 */
|
|
.baseline-note {
|
|
margin-top: 0.3rem;
|
|
font-size: 0.13rem;
|
|
color: #86868b;
|
|
padding-top: 0.15rem;
|
|
border-top: 1px solid #e9e9eb;
|
|
}
|
|
|
|
.baseline-note sup {
|
|
font-size: 0.1rem;
|
|
vertical-align: top;
|
|
}
|
|
.w1440 {
|
|
width: 14.4rem;
|
|
/* max-width: 1440px;
|
|
min-width: 1280px; */
|
|
}
|
|
.w1368 {
|
|
width: 13.68rem;
|
|
/* min-width: 1280px; */
|
|
}
|
|
.w1243 {
|
|
/* width: 1243px; */
|
|
width: 12.43rem;
|
|
}
|
|
.w964 {
|
|
/* width: 964px; */
|
|
width:9.64rem;
|
|
}
|
|
.w681 {
|
|
/* width: 681px; */
|
|
width: 6.81rem;
|
|
}
|
|
.w1274 {
|
|
/* width: 1274px; */
|
|
width: 12.74rem;
|
|
}
|
|
.w1000 {
|
|
/* width: 1000px; */
|
|
width:10rem;
|
|
}
|
|
/* .w1368 {
|
|
width: 13.68rem;
|
|
min-width: 1280px;
|
|
}
|
|
.w1243 {
|
|
width: 12.43rem;
|
|
}
|
|
.w964 {
|
|
width: 9.64rem;
|
|
}
|
|
.w681 {
|
|
width: 6.81rem;
|
|
} */
|
|
.font32 {
|
|
font-size: 0.32rem !important;
|
|
}
|
|
.colorCBCFD8 {
|
|
color: #646778 !important;
|
|
}
|
|
.color8A8787 {
|
|
color: #646778 !important;
|
|
}
|
|
.progress-p {
|
|
color: #cbcfd8;
|
|
font-size: clamp(16px, 1vw, 0.22rem);
|
|
margin-top: 1.23rem;
|
|
margin-bottom: 5.04rem;
|
|
text-align: center;
|
|
}
|
|
.progress-p1 {
|
|
color: #cbcfd8;
|
|
font-size: clamp(16px, 1vw, 0.22rem);
|
|
margin-top: 1.56rem;
|
|
/* margin-bottom: 2.3rem; */
|
|
text-align: center;
|
|
} |