2026-03-05 10:49:46 +08:00
|
|
|
@tailwind base;
|
|
|
|
|
@tailwind components;
|
|
|
|
|
@tailwind utilities;
|
|
|
|
|
|
|
|
|
|
@layer utilities {
|
|
|
|
|
.content-auto {
|
|
|
|
|
content-visibility: auto;
|
|
|
|
|
}
|
|
|
|
|
.scrollbar-hide::-webkit-scrollbar {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
.scrollbar-hide {
|
|
|
|
|
-ms-overflow-style: none;
|
|
|
|
|
scrollbar-width: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
@apply bg-dark-900 text-gray-100 font-sans;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Element Plus 暗色主题 */
|
|
|
|
|
html.dark {
|
|
|
|
|
--el-bg-color: #171922;
|
|
|
|
|
--el-bg-color-overlay: #171922;
|
|
|
|
|
--el-text-color-primary: #ffffff;
|
|
|
|
|
--el-text-color-regular: #a1a1aa;
|
|
|
|
|
--el-border-color: #2a2c36;
|
|
|
|
|
--el-border-color-light: #2a2c36;
|
|
|
|
|
--el-fill-color-blank: #171922;
|
|
|
|
|
--el-color-primary: #ff9500;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-05 11:31:36 +08:00
|
|
|
/* el-select 统一样式 */
|
2026-03-05 10:49:46 +08:00
|
|
|
html.dark .el-select {
|
|
|
|
|
--el-select-input-focus-border-color: #ff9500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.dark .el-select .el-input__wrapper {
|
2026-03-05 11:31:36 +08:00
|
|
|
background-color: #1a1c25;
|
2026-03-05 10:49:46 +08:00
|
|
|
box-shadow: 0 0 0 1px #2a2c36 inset;
|
2026-03-05 11:31:36 +08:00
|
|
|
border-radius: 8px;
|
|
|
|
|
transition: all 0.2s ease;
|
2026-03-05 10:49:46 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.dark .el-select .el-input__wrapper:hover {
|
|
|
|
|
box-shadow: 0 0 0 1px #ff9500 inset;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.dark .el-select .el-input__wrapper.is-focus {
|
|
|
|
|
box-shadow: 0 0 0 1px #ff9500 inset;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.dark .el-select .el-input__inner {
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-05 11:31:36 +08:00
|
|
|
html.dark .el-select .el-input__inner::placeholder {
|
|
|
|
|
color: #71717a;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 下拉箭头 */
|
|
|
|
|
html.dark .el-select .el-input__suffix .el-select__caret {
|
|
|
|
|
color: #71717a;
|
|
|
|
|
transition: transform 0.3s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.dark .el-select .el-input__suffix .el-select__caret.is-reverse {
|
|
|
|
|
transform: rotate(180deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.dark .el-select .el-input__suffix .el-select__caret.is-show-close {
|
|
|
|
|
color: #71717a;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.dark .el-select .el-input__suffix .el-select__caret:hover {
|
|
|
|
|
color: #ff9500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 下拉菜单 */
|
2026-03-05 10:49:46 +08:00
|
|
|
html.dark .el-select-dropdown {
|
|
|
|
|
background-color: #171922;
|
|
|
|
|
border: 1px solid #2a2c36;
|
2026-03-05 11:31:36 +08:00
|
|
|
border-radius: 8px;
|
|
|
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
2026-03-05 10:49:46 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.dark .el-select-dropdown__item {
|
|
|
|
|
color: #ffffff;
|
2026-03-05 11:31:36 +08:00
|
|
|
padding: 8px 12px;
|
|
|
|
|
transition: all 0.2s;
|
2026-03-05 10:49:46 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.dark .el-select-dropdown__item:hover {
|
|
|
|
|
background-color: #1a1c25;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.dark .el-select-dropdown__item.is-selected {
|
|
|
|
|
color: #ff9500;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-05 11:31:36 +08:00
|
|
|
html.dark .el-select-dropdown__item.is-selected::before {
|
|
|
|
|
content: '';
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 4px;
|
|
|
|
|
height: 4px;
|
|
|
|
|
background-color: #ff9500;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 空状态 */
|
|
|
|
|
html.dark .el-select-dropdown__empty {
|
|
|
|
|
color: #71717a;
|
|
|
|
|
padding: 20px 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* popper 箭头 */
|
2026-03-05 10:49:46 +08:00
|
|
|
html.dark .el-popper.is-light {
|
|
|
|
|
background: #171922;
|
|
|
|
|
border: 1px solid #2a2c36;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.dark .el-popper.is-light .el-popper__arrow::before {
|
|
|
|
|
background: #171922;
|
|
|
|
|
border-color: #2a2c36;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-05 11:31:36 +08:00
|
|
|
/* 输入框尺寸 */
|
|
|
|
|
html.dark .el-select.el-select--large .el-input__wrapper {
|
|
|
|
|
padding: 4px 11px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.dark .el-select.el-select--default .el-input__wrapper {
|
|
|
|
|
padding: 3px 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 多选标签 */
|
|
|
|
|
html.dark .el-select .el-tag {
|
|
|
|
|
background-color: #2a2c36;
|
|
|
|
|
border-color: transparent;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.dark .el-select .el-tag .el-tag__close {
|
|
|
|
|
color: #71717a;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.dark .el-select .el-tag .el-tag__close:hover {
|
|
|
|
|
background-color: #ff9500;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-05 10:49:46 +08:00
|
|
|
/* 柱状图增长动画 */
|
|
|
|
|
@keyframes bar-grow {
|
|
|
|
|
from {
|
|
|
|
|
height: 0;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chart-bar {
|
|
|
|
|
height: 0;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
animation: bar-grow 2.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 进度条增长动画 */
|
|
|
|
|
@keyframes progress-grow {
|
|
|
|
|
from {
|
|
|
|
|
width: 0;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
width: var(--target-width);
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.progress-bar {
|
|
|
|
|
width: 0;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
animation: progress-grow 2.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
|
|
|
|
}
|