|
|
@@ -14,9 +14,9 @@
|
|
|
}
|
|
|
|
|
|
.header {
|
|
|
- height: 52px;
|
|
|
+ height: calc(52px * var(--kb-scale, 1));
|
|
|
font-family: YouSheBiaoTiHei, sans-serif;
|
|
|
- font-size: 32px;
|
|
|
+ font-size: calc(32px * var(--kb-scale, 1));
|
|
|
color: var(--fvs-theme-color-1-2);
|
|
|
text-align: center;
|
|
|
background: url('@/assets/kb/header.png') center center / 100% 100% no-repeat;
|
|
|
@@ -25,7 +25,7 @@
|
|
|
.panel {
|
|
|
background: linear-gradient(180deg, rgb(235 243 255 / 76%) 0%, rgb(221 233 251 / 58%) 100%);
|
|
|
border: 1px solid rgb(255 255 255 / 58%);
|
|
|
- border-radius: 20px;
|
|
|
+ border-radius: calc(20px * var(--kb-scale, 1));
|
|
|
box-shadow:
|
|
|
inset 0 1px 0 rgb(255 255 255 / 72%),
|
|
|
0 18px 36px rgb(46 90 164 / 12%);
|
|
|
@@ -35,19 +35,20 @@
|
|
|
.panel-title {
|
|
|
position: relative;
|
|
|
display: flex;
|
|
|
- padding: 0 16px 0 36px;
|
|
|
+ height: calc(36px * var(--kb-scale, 1));
|
|
|
+ padding: 0 calc(16px * var(--kb-scale, 1)) 0 calc(36px * var(--kb-scale, 1));
|
|
|
font-family: YouSheBiaoTiHei, sans-serif;
|
|
|
- font-size: 24px;
|
|
|
+ font-size: calc(24px * var(--kb-scale, 1));
|
|
|
letter-spacing: 1px;
|
|
|
color: #03409b;
|
|
|
align-items: center;
|
|
|
|
|
|
&::after {
|
|
|
position: absolute;
|
|
|
- right: 10px;
|
|
|
+ right: calc(10px * var(--kb-scale, 1));
|
|
|
bottom: 0;
|
|
|
- left: 10px;
|
|
|
- height: 2px;
|
|
|
+ left: calc(10px * var(--kb-scale, 1));
|
|
|
+ height: calc(2px * var(--kb-scale, 1));
|
|
|
background: linear-gradient(
|
|
|
to right,
|
|
|
rgb(3 64 155 / 15%) 0%,
|
|
|
@@ -60,46 +61,135 @@
|
|
|
|
|
|
&::before {
|
|
|
position: absolute;
|
|
|
- right: 10px;
|
|
|
+ right: calc(10px * var(--kb-scale, 1));
|
|
|
bottom: 0;
|
|
|
z-index: 1;
|
|
|
- width: 80px;
|
|
|
- height: 4px;
|
|
|
+ width: calc(80px * var(--kb-scale, 1));
|
|
|
+ height: calc(4px * var(--kb-scale, 1));
|
|
|
background: #03409b;
|
|
|
- border-radius: 2px 2px 0 0;
|
|
|
+ border-radius: calc(2px * var(--kb-scale, 1)) calc(2px * var(--kb-scale, 1)) 0 0;
|
|
|
content: '';
|
|
|
}
|
|
|
|
|
|
.icon-decorator {
|
|
|
position: absolute;
|
|
|
- left: 14px;
|
|
|
+ left: calc(14px * var(--kb-scale, 1));
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- gap: 3px;
|
|
|
+ gap: calc(3px * var(--kb-scale, 1));
|
|
|
|
|
|
span {
|
|
|
- width: 4px;
|
|
|
- height: 18px;
|
|
|
+ width: calc(4px * var(--kb-scale, 1));
|
|
|
+ height: calc(18px * var(--kb-scale, 1));
|
|
|
background: #03409b;
|
|
|
- border-radius: 2px;
|
|
|
+ border-radius: calc(2px * var(--kb-scale, 1));
|
|
|
|
|
|
&:last-child {
|
|
|
- height: 12px;
|
|
|
+ height: calc(12px * var(--kb-scale, 1));
|
|
|
opacity: 0.5;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+.panel-title--lg {
|
|
|
+ height: calc(48px * var(--kb-scale, 1));
|
|
|
+}
|
|
|
+
|
|
|
+.panel-title--md {
|
|
|
+ height: calc(40px * var(--kb-scale, 1));
|
|
|
+}
|
|
|
+
|
|
|
.kb-panel-title-text {
|
|
|
font-family: YouSheBiaoTiHei, sans-serif;
|
|
|
- font-size: 24px;
|
|
|
+ font-size: calc(24px * var(--kb-scale, 1));
|
|
|
font-weight: normal;
|
|
|
line-height: 1;
|
|
|
letter-spacing: 1px;
|
|
|
color: #03409b;
|
|
|
}
|
|
|
|
|
|
+.summary-panel {
|
|
|
+ height: calc(112px * var(--kb-scale, 1));
|
|
|
+}
|
|
|
+
|
|
|
+.summary-panel__title {
|
|
|
+ height: calc(32px * var(--kb-scale, 1));
|
|
|
+}
|
|
|
+
|
|
|
+.summary-panel__grid {
|
|
|
+ padding: calc(6px * var(--kb-scale, 1)) calc(10px * var(--kb-scale, 1));
|
|
|
+ gap: calc(10px * var(--kb-scale, 1));
|
|
|
+}
|
|
|
+
|
|
|
+.summary-card {
|
|
|
+ gap: calc(8px * var(--kb-scale, 1));
|
|
|
+ padding: calc(8px * var(--kb-scale, 1));
|
|
|
+}
|
|
|
+
|
|
|
+.device-list-panel {
|
|
|
+ height: calc(280px * var(--kb-scale, 1));
|
|
|
+ margin-top: calc(12px * var(--kb-scale, 1));
|
|
|
+}
|
|
|
+
|
|
|
+.device-list-panel__body {
|
|
|
+ padding: calc(8px * var(--kb-scale, 1)) calc(16px * var(--kb-scale, 1));
|
|
|
+}
|
|
|
+
|
|
|
+.device-list-panel__picker {
|
|
|
+ display: flex;
|
|
|
+ width: calc(260px * var(--kb-scale, 1));
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+
|
|
|
+.device-list-panel__picker-input {
|
|
|
+ width: calc(260px * var(--kb-scale, 1)) !important;
|
|
|
+
|
|
|
+ :deep(.el-input__wrapper) {
|
|
|
+ min-height: calc(28px * var(--kb-scale, 1));
|
|
|
+ padding: 0 calc(10px * var(--kb-scale, 1));
|
|
|
+ }
|
|
|
+
|
|
|
+ :deep(.el-range-input),
|
|
|
+ :deep(.el-range-separator) {
|
|
|
+ font-size: calc(12px * var(--kb-scale, 1));
|
|
|
+ }
|
|
|
+
|
|
|
+ :deep(.el-range__icon),
|
|
|
+ :deep(.el-range__close-icon) {
|
|
|
+ font-size: calc(14px * var(--kb-scale, 1));
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.kb-inline-picker {
|
|
|
+ display: flex;
|
|
|
+ width: var(--kb-picker-width);
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+
|
|
|
+.kb-inline-picker--260 {
|
|
|
+ --kb-picker-width: calc(260px * var(--kb-scale, 1));
|
|
|
+}
|
|
|
+
|
|
|
+.kb-inline-picker__input {
|
|
|
+ width: var(--kb-picker-width) !important;
|
|
|
+
|
|
|
+ :deep(.el-input__wrapper) {
|
|
|
+ min-height: calc(28px * var(--kb-scale, 1));
|
|
|
+ padding: 0 calc(10px * var(--kb-scale, 1));
|
|
|
+ }
|
|
|
+
|
|
|
+ :deep(.el-range-input),
|
|
|
+ :deep(.el-range-separator) {
|
|
|
+ font-size: calc(12px * var(--kb-scale, 1));
|
|
|
+ }
|
|
|
+
|
|
|
+ :deep(.el-range__icon),
|
|
|
+ :deep(.el-range__close-icon) {
|
|
|
+ font-size: calc(14px * var(--kb-scale, 1));
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
.summary-card {
|
|
|
position: relative;
|
|
|
cursor: default;
|
|
|
@@ -132,11 +222,11 @@
|
|
|
|
|
|
.summary-card::after {
|
|
|
position: absolute;
|
|
|
- right: -16px;
|
|
|
- bottom: -28px;
|
|
|
+ right: calc(-16px * var(--kb-scale, 1));
|
|
|
+ bottom: calc(-28px * var(--kb-scale, 1));
|
|
|
z-index: 0;
|
|
|
- width: 84px;
|
|
|
- height: 84px;
|
|
|
+ width: calc(84px * var(--kb-scale, 1));
|
|
|
+ height: calc(84px * var(--kb-scale, 1));
|
|
|
pointer-events: none;
|
|
|
background: radial-gradient(circle, var(--card-glow) 0%, rgb(255 255 255 / 0%) 70%);
|
|
|
content: '';
|
|
|
@@ -188,11 +278,11 @@
|
|
|
position: relative;
|
|
|
z-index: 2;
|
|
|
display: flex;
|
|
|
- width: 48px;
|
|
|
- height: 48px;
|
|
|
+ width: calc(48px * var(--kb-scale, 1));
|
|
|
+ height: calc(48px * var(--kb-scale, 1));
|
|
|
background: linear-gradient(180deg, rgb(255 255 255 / 96%) 0%, rgb(242 247 255 / 92%) 100%);
|
|
|
border: 1px solid rgb(255 255 255 / 88%);
|
|
|
- border-radius: 12px;
|
|
|
+ border-radius: calc(12px * var(--kb-scale, 1));
|
|
|
box-shadow:
|
|
|
inset 0 1px 0 rgb(255 255 255 / 95%),
|
|
|
0 6px 12px rgb(152 181 230 / 15%);
|
|
|
@@ -206,10 +296,10 @@
|
|
|
|
|
|
.summary-card__icon::after {
|
|
|
position: absolute;
|
|
|
- right: -3px;
|
|
|
- bottom: -3px;
|
|
|
- width: 15px;
|
|
|
- height: 15px;
|
|
|
+ right: calc(-3px * var(--kb-scale, 1));
|
|
|
+ bottom: calc(-3px * var(--kb-scale, 1));
|
|
|
+ width: calc(15px * var(--kb-scale, 1));
|
|
|
+ height: calc(15px * var(--kb-scale, 1));
|
|
|
background: radial-gradient(
|
|
|
circle at 30% 30%,
|
|
|
rgb(255 255 255 / 96%) 0%,
|
|
|
@@ -231,7 +321,7 @@
|
|
|
.summary-card__icon-glyph {
|
|
|
position: relative;
|
|
|
z-index: 1;
|
|
|
- font-size: 25px;
|
|
|
+ font-size: calc(25px * var(--kb-scale, 1));
|
|
|
color: var(--card-accent);
|
|
|
transition:
|
|
|
transform 0.28s ease,
|
|
|
@@ -247,7 +337,7 @@
|
|
|
position: relative;
|
|
|
z-index: 2;
|
|
|
display: flex;
|
|
|
- min-height: 48px;
|
|
|
+ min-height: calc(48px * var(--kb-scale, 1));
|
|
|
min-width: 0;
|
|
|
flex-direction: column;
|
|
|
justify-content: center;
|
|
|
@@ -255,7 +345,7 @@
|
|
|
|
|
|
.summary-card__label {
|
|
|
overflow: hidden;
|
|
|
- font-size: 14px;
|
|
|
+ font-size: calc(14px * var(--kb-scale, 1));
|
|
|
font-weight: 600;
|
|
|
color: #24364f;
|
|
|
text-overflow: ellipsis;
|
|
|
@@ -266,9 +356,9 @@
|
|
|
}
|
|
|
|
|
|
.summary-card__value {
|
|
|
- margin-top: 4px;
|
|
|
+ margin-top: calc(4px * var(--kb-scale, 1));
|
|
|
font-family: YouSheBiaoTiHei, sans-serif;
|
|
|
- font-size: 19px;
|
|
|
+ font-size: calc(19px * var(--kb-scale, 1));
|
|
|
line-height: 1;
|
|
|
letter-spacing: 1px;
|
|
|
color: #1f5bb8;
|
|
|
@@ -292,8 +382,8 @@
|
|
|
top: 0;
|
|
|
right: 0;
|
|
|
z-index: 1;
|
|
|
- width: 36px;
|
|
|
- height: 36px;
|
|
|
+ width: calc(36px * var(--kb-scale, 1));
|
|
|
+ height: calc(36px * var(--kb-scale, 1));
|
|
|
pointer-events: none;
|
|
|
background: linear-gradient(135deg, rgb(255 255 255 / 30%) 0%, rgb(255 255 255 / 0%) 70%);
|
|
|
opacity: 0.85;
|
|
|
@@ -359,7 +449,7 @@
|
|
|
.summary-card__placeholder {
|
|
|
display: inline-block;
|
|
|
font-family: YouSheBiaoTiHei, sans-serif;
|
|
|
- font-size: 19px;
|
|
|
+ font-size: calc(19px * var(--kb-scale, 1));
|
|
|
line-height: 1;
|
|
|
letter-spacing: 1px;
|
|
|
color: rgb(31 91 184 / 45%);
|
|
|
@@ -383,7 +473,7 @@
|
|
|
|
|
|
:deep(.el-table__header-wrapper th.el-table__cell) {
|
|
|
// font-family: YouSheBiaoTiHei, sans-serif;
|
|
|
- font-size: 20px;
|
|
|
+ font-size: calc(20px * var(--kb-scale, 1));
|
|
|
font-weight: 500;
|
|
|
letter-spacing: 0.5px;
|
|
|
color: #03409b;
|
|
|
@@ -392,9 +482,9 @@
|
|
|
}
|
|
|
|
|
|
:deep(.el-table__body td.el-table__cell) {
|
|
|
- padding: 8px 0;
|
|
|
+ padding: calc(8px * var(--kb-scale, 1)) 0;
|
|
|
// font-family: YouSheBiaoTiHei, sans-serif;
|
|
|
- font-size: 16px;
|
|
|
+ font-size: calc(16px * var(--kb-scale, 1));
|
|
|
color: #24364f;
|
|
|
background: rgb(255 255 255 / 16%);
|
|
|
border-bottom: 1px solid rgb(31 91 184 / 8%);
|
|
|
@@ -409,11 +499,11 @@
|
|
|
}
|
|
|
|
|
|
:deep(.el-scrollbar__bar.is-vertical) {
|
|
|
- width: 8px;
|
|
|
+ width: calc(8px * var(--kb-scale, 1));
|
|
|
}
|
|
|
|
|
|
:deep(.el-scrollbar__bar.is-horizontal) {
|
|
|
- height: 8px;
|
|
|
+ height: calc(8px * var(--kb-scale, 1));
|
|
|
}
|
|
|
|
|
|
:deep(.el-scrollbar__thumb) {
|
|
|
@@ -454,7 +544,7 @@
|
|
|
rgb(255 255 255 / 0%) 68%,
|
|
|
rgb(255 255 255 / 0%) 100%
|
|
|
);
|
|
|
- border-radius: 20px;
|
|
|
+ border-radius: calc(20px * var(--kb-scale, 1));
|
|
|
content: '';
|
|
|
opacity: 0;
|
|
|
transform: translateX(-140%) skewX(-22deg);
|
|
|
@@ -465,11 +555,11 @@
|
|
|
|
|
|
.kb-stage-card::after {
|
|
|
position: absolute;
|
|
|
- right: -24px;
|
|
|
- bottom: -30px;
|
|
|
+ right: calc(-24px * var(--kb-scale, 1));
|
|
|
+ bottom: calc(-30px * var(--kb-scale, 1));
|
|
|
z-index: 0;
|
|
|
- width: 120px;
|
|
|
- height: 120px;
|
|
|
+ width: calc(120px * var(--kb-scale, 1));
|
|
|
+ height: calc(120px * var(--kb-scale, 1));
|
|
|
pointer-events: none;
|
|
|
background: radial-gradient(circle, var(--panel-glow) 0%, rgb(255 255 255 / 0%) 72%);
|
|
|
content: '';
|