623 lines
18 KiB
CSS
623 lines
18 KiB
CSS
/* ============================================================================
|
|
dashboard-dark.css — 夜间模式主题层 + 全局细节增强
|
|
加载顺序:dashboard.css → dashboard-migration.css → dashboard-reference.css
|
|
→ onboarding-guide.css → 本文件(最后加载,负责夜间模式统一)
|
|
设计目标:
|
|
1. 让参考主题(uwa- / app- 前缀)在夜间模式下拥有完整、协调的暖绿深色配色;
|
|
2. 通过 Tailwind 中性色变量,让旧组件(弹窗、标签页池、设置页等)的
|
|
dark: 工具类自动落在同一套暖绿色板上,而不是冷蓝灰;
|
|
3. 附带全局的焦点可见性、选区颜色、滚动条与动效偏好等细节增强。
|
|
========================================================================== */
|
|
|
|
/* ==================== 1. Tailwind 中性色变量(亮色 = 官方默认值) ==================== */
|
|
:root {
|
|
color-scheme: light;
|
|
|
|
--twc-gray-50: 249 250 251;
|
|
--twc-gray-100: 243 244 246;
|
|
--twc-gray-200: 229 231 235;
|
|
--twc-gray-300: 209 213 219;
|
|
--twc-gray-400: 156 163 175;
|
|
--twc-gray-500: 107 114 128;
|
|
--twc-gray-600: 75 85 99;
|
|
--twc-gray-700: 55 65 81;
|
|
--twc-gray-800: 31 41 55;
|
|
--twc-gray-900: 17 24 39;
|
|
--twc-gray-950: 3 7 18;
|
|
|
|
--twc-slate-50: 248 250 252;
|
|
--twc-slate-100: 241 245 249;
|
|
--twc-slate-200: 226 232 240;
|
|
--twc-slate-300: 203 213 225;
|
|
--twc-slate-400: 148 163 184;
|
|
--twc-slate-500: 100 116 139;
|
|
--twc-slate-600: 71 85 105;
|
|
--twc-slate-700: 51 65 85;
|
|
--twc-slate-800: 30 41 59;
|
|
--twc-slate-900: 15 23 42;
|
|
--twc-slate-950: 2 6 23;
|
|
|
|
--twc-stone-50: 250 250 249;
|
|
--twc-stone-100: 245 245 244;
|
|
--twc-stone-200: 231 229 228;
|
|
--twc-stone-300: 214 211 209;
|
|
--twc-stone-400: 168 162 158;
|
|
--twc-stone-500: 120 113 108;
|
|
--twc-stone-600: 87 83 78;
|
|
--twc-stone-700: 68 64 60;
|
|
--twc-stone-800: 41 37 36;
|
|
--twc-stone-900: 28 25 23;
|
|
--twc-stone-950: 12 10 9;
|
|
}
|
|
|
|
/* 夜间:三套中性色统一收敛到暖绿深色板,与橄榄主题同源 */
|
|
.dark {
|
|
color-scheme: dark;
|
|
|
|
--twc-gray-50: 239 243 233;
|
|
--twc-gray-100: 228 234 221;
|
|
--twc-gray-200: 211 219 204;
|
|
--twc-gray-300: 183 193 178;
|
|
--twc-gray-400: 150 161 148;
|
|
--twc-gray-500: 117 128 114;
|
|
--twc-gray-600: 51 61 53;
|
|
--twc-gray-700: 38 46 40;
|
|
--twc-gray-800: 29 36 31;
|
|
--twc-gray-900: 21 26 23;
|
|
--twc-gray-950: 15 19 15;
|
|
|
|
--twc-slate-50: 239 243 233;
|
|
--twc-slate-100: 228 234 221;
|
|
--twc-slate-200: 211 219 204;
|
|
--twc-slate-300: 183 193 178;
|
|
--twc-slate-400: 150 161 148;
|
|
--twc-slate-500: 117 128 114;
|
|
--twc-slate-600: 51 61 53;
|
|
--twc-slate-700: 38 46 40;
|
|
--twc-slate-800: 29 36 31;
|
|
--twc-slate-900: 21 26 23;
|
|
--twc-slate-950: 15 19 15;
|
|
|
|
--twc-stone-50: 239 243 233;
|
|
--twc-stone-100: 228 234 221;
|
|
--twc-stone-200: 211 219 204;
|
|
--twc-stone-300: 183 193 178;
|
|
--twc-stone-400: 150 161 148;
|
|
--twc-stone-500: 117 128 114;
|
|
--twc-stone-600: 51 61 53;
|
|
--twc-stone-700: 38 46 40;
|
|
--twc-stone-800: 29 36 31;
|
|
--twc-stone-900: 21 26 23;
|
|
--twc-stone-950: 15 19 15;
|
|
}
|
|
|
|
/* ==================== 2. 参考主题令牌(uwa-)夜间取值 ==================== */
|
|
.dark {
|
|
--uwa-paper: #141915;
|
|
--uwa-paper-strong: #1c231d;
|
|
--uwa-paper-soft: #242c25;
|
|
--uwa-ink: #d8dfd0;
|
|
--uwa-ink-strong: #edf1e6;
|
|
--uwa-muted: #a0ab97;
|
|
--uwa-muted-soft: #7f8b76;
|
|
--uwa-line: #333d34;
|
|
--uwa-line-soft: #2a332b;
|
|
--uwa-olive: #94b374;
|
|
--uwa-olive-dark: #b4cf9a;
|
|
--uwa-leaf: #8fbc8f;
|
|
--uwa-leaf-soft: #31402a;
|
|
--uwa-green-card: #2e3d26;
|
|
--uwa-ochre: #caa365;
|
|
--uwa-clay: #c98f7a;
|
|
--uwa-blue: #82a9b5;
|
|
}
|
|
|
|
/* ==================== 3. 参考主题里的硬编码颜色 → 夜间覆盖 ==================== */
|
|
|
|
/* --- 侧边栏 --- */
|
|
.dark .app-nav-item:hover {
|
|
background: rgba(60, 74, 54, .45) !important;
|
|
}
|
|
|
|
.dark .app-guide-link,
|
|
.dark .app-theme-toggle {
|
|
color: var(--uwa-muted) !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.dark .app-guide-link:hover,
|
|
.dark .app-theme-toggle:hover {
|
|
color: var(--uwa-ink) !important;
|
|
background: rgba(60, 74, 54, .45) !important;
|
|
}
|
|
|
|
.dark .app-theme-toggle i {
|
|
background: #3a463b !important;
|
|
}
|
|
|
|
.dark .app-theme-toggle[aria-pressed="true"] i {
|
|
background: var(--uwa-olive) !important;
|
|
}
|
|
|
|
.dark .app-sidebar-primary {
|
|
color: #16200f !important;
|
|
box-shadow: 0 3px 10px rgba(0, 0, 0, .35) !important;
|
|
}
|
|
|
|
/* 亮色强调块上的白色文字,在夜间换成深墨绿,保证对比度 */
|
|
.dark .uwa-site-mark,
|
|
.dark .uwa-domain-avatar,
|
|
.dark .uwa-feature-icon,
|
|
.dark .uwa-token-kpi-icon,
|
|
.dark .uwa-primary-button,
|
|
.dark .uwa-button.is-primary,
|
|
.dark .uwa-ranking-tabs button.is-active,
|
|
.dark .uwa-segmented button.is-active,
|
|
.dark .uwa-page-button.is-active {
|
|
color: #16200f;
|
|
}
|
|
|
|
.dark .uwa-editor-site-icon {
|
|
border-color: var(--uwa-line);
|
|
color: var(--uwa-ink);
|
|
background: var(--uwa-paper-strong);
|
|
}
|
|
|
|
/* --- 首页 Hero 插画 --- */
|
|
.dark .uwa-hero-art .shape-a { background: #4e6a46; }
|
|
.dark .uwa-hero-art .shape-b { background: #223021; }
|
|
.dark .uwa-hero-art .shape-c { background: #3a3527; }
|
|
.dark .uwa-hero-art .line-a,
|
|
.dark .uwa-hero-art .line-b { background: #5a7350; }
|
|
.dark .uwa-hero-art .node-a,
|
|
.dark .uwa-hero-art .node-b,
|
|
.dark .uwa-hero-art .node-c { border-color: #87a274; }
|
|
|
|
/* --- 首页卡片 --- */
|
|
.dark .uwa-action-card {
|
|
box-shadow: 0 12px 28px rgba(0, 0, 0, .32);
|
|
}
|
|
|
|
.dark .uwa-action-card.is-api { background: #322c1f; }
|
|
|
|
.dark .uwa-soft-tag {
|
|
border-color: rgba(148, 179, 116, .28);
|
|
background: rgba(20, 25, 21, .55);
|
|
}
|
|
|
|
.dark .uwa-endpoint-box,
|
|
.dark .uwa-browser-preview,
|
|
.dark .uwa-request-preview,
|
|
.dark .uwa-empty-preview {
|
|
border-color: rgba(148, 179, 116, .24);
|
|
background: rgba(20, 25, 21, .5);
|
|
}
|
|
|
|
/* --- 配置页工作区 --- */
|
|
.dark .uwa-config-workspace {
|
|
background: rgba(28, 35, 29, .55);
|
|
}
|
|
|
|
.dark .uwa-site-rail {
|
|
background: rgba(36, 44, 37, .6);
|
|
}
|
|
|
|
.dark .uwa-rail-site:hover { background: rgba(44, 54, 45, .6); }
|
|
|
|
.dark .uwa-rail-site.is-active {
|
|
border-color: #46573c;
|
|
background: #2f4126;
|
|
box-shadow: 0 3px 9px rgba(0, 0, 0, .28);
|
|
}
|
|
|
|
.dark .uwa-switcher-site.is-active { border-color: #46573c; }
|
|
|
|
.dark .uwa-switcher-actions button {
|
|
background: rgba(28, 35, 29, .9);
|
|
}
|
|
|
|
.dark .uwa-site-switcher-popover {
|
|
box-shadow: 0 22px 55px rgba(0, 0, 0, .5);
|
|
}
|
|
|
|
.dark .uwa-switch-label i { background: #3a463b; }
|
|
.dark .uwa-filter-toggle i { background: #3a463b; }
|
|
|
|
.dark .uwa-config-editor .config-preset-card {
|
|
background: rgba(36, 44, 37, .5) !important;
|
|
}
|
|
|
|
/* --- 配置页 v3.2 重排:新元素的夜间取值 --- */
|
|
.dark .uwa-config-toolbar-meta > span {
|
|
border-color: var(--uwa-line-soft);
|
|
background: rgba(28, 35, 29, .6);
|
|
}
|
|
|
|
.dark .uwa-config-workspace {
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 14px 34px rgba(0, 0, 0, .28);
|
|
}
|
|
|
|
.dark .config-preset-chip {
|
|
border-color: rgba(148, 179, 116, .3);
|
|
}
|
|
|
|
.dark .preset-more[open] > summary {
|
|
border-color: #46573c;
|
|
}
|
|
|
|
.dark .preset-more-pop {
|
|
box-shadow: 0 18px 42px rgba(0, 0, 0, .5);
|
|
}
|
|
|
|
.dark .uwa-config-search-pop {
|
|
box-shadow: 0 18px 42px rgba(0, 0, 0, .5);
|
|
}
|
|
.dark .uwa-dropdown-menu {
|
|
border-color: var(--uwa-line);
|
|
background: var(--uwa-paper-strong);
|
|
box-shadow: 0 18px 42px rgba(0, 0, 0, .5);
|
|
}
|
|
|
|
.dark .uwa-dropdown-icon {
|
|
background: var(--uwa-paper-soft);
|
|
color: #a3c28e;
|
|
}
|
|
|
|
.dark .uwa-dropdown-item:hover:not(:disabled):not(.is-disabled) {
|
|
background: var(--uwa-paper-soft);
|
|
}
|
|
|
|
|
|
.dark .uwa-config-editor .config-preset-card .preset-more-pop button.is-danger {
|
|
color: #d99a8c !important;
|
|
}
|
|
|
|
.dark .uwa-config-editor .config-preset-card .preset-btn.is-primary {
|
|
color: #16200f !important;
|
|
}
|
|
|
|
.dark .uwa-config-editor .config-preset-card .config-preset-hint {
|
|
border-color: var(--uwa-line);
|
|
background: rgba(20, 25, 21, .55);
|
|
}
|
|
|
|
.dark .uwa-config-section-nav {
|
|
background: rgba(20, 25, 21, .5);
|
|
}
|
|
|
|
.dark .uwa-config-section-nav button.is-active {
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
|
|
}
|
|
|
|
.dark .uwa-config-editor .config-fixed-panel > div:first-child,
|
|
.dark .uwa-config-editor .config-fixed-panel > div:first-child:hover {
|
|
background: rgba(36, 44, 37, .4) !important;
|
|
}
|
|
|
|
.dark .uwa-config-editor .config-fixed-panel button.selector-add-btn {
|
|
border-color: var(--uwa-line) !important;
|
|
color: var(--uwa-ink) !important;
|
|
background: var(--uwa-paper-strong) !important;
|
|
}
|
|
|
|
.dark .uwa-config-editor .config-fixed-panel button.selector-add-btn:hover {
|
|
background: var(--uwa-paper-soft) !important;
|
|
}
|
|
|
|
/* --- 请求监控:Token 用量卡片 --- */
|
|
.dark .uwa-token-kpis article {
|
|
border-color: #3c4a33;
|
|
background: #2b3724;
|
|
box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
|
|
}
|
|
|
|
.dark .uwa-token-kpis article.is-input { border-color: #4a442f; background: #322d1f; }
|
|
.dark .uwa-token-kpis article.is-output { border-color: #524a36; background: #393325; }
|
|
.dark .uwa-token-kpis article.is-calls { border-color: #485a3c; background: #2b3724; }
|
|
|
|
.dark .uwa-token-kpi-icon { background: #6d8156; }
|
|
.dark .uwa-token-kpis article.is-calls .uwa-token-kpi-icon { background: #5b7048; }
|
|
|
|
.dark .uwa-token-legend i { background: #c2d0b0; }
|
|
.dark .uwa-token-legend i.is-input { background: #8ed29a; }
|
|
.dark .uwa-token-legend i.is-output { background: #f0a35e; }
|
|
|
|
.dark .uwa-token-line-chart path.is-input { stroke: #8ed29a; }
|
|
.dark .uwa-token-line-chart path.is-output { stroke: #f0a35e; }
|
|
.dark .uwa-daily-token-chart rect.is-input { fill: #8ed29a; }
|
|
.dark .uwa-daily-token-chart rect.is-output { fill: #f0a35e; }
|
|
.dark .uwa-daily-token-chart path { stroke: #c2d0b0; }
|
|
|
|
.dark .uwa-donut-track { stroke: #2c362d; }
|
|
.dark .uwa-model-usage-list b { background: #2c362d; }
|
|
.dark .uwa-system-load-panel i { background: #2c362d; }
|
|
.dark .uwa-domain-row i { background: #2c362d; }
|
|
|
|
.dark .uwa-inline-error {
|
|
border-color: #5e372e;
|
|
color: #eba896;
|
|
background: rgba(150, 70, 55, .16);
|
|
}
|
|
|
|
/* --- 请求监控:图表与列表 --- */
|
|
.dark .uwa-ranking-tabs,
|
|
.dark .uwa-segmented {
|
|
background: rgba(28, 35, 29, .75);
|
|
}
|
|
|
|
.dark .uwa-trend-chart polygon { fill: rgba(148, 179, 116, .16); }
|
|
|
|
.dark .uwa-trend-health-legend i { background: #3a463b; }
|
|
.dark .uwa-trend-health-legend i.is-success { background: #79aa77; }
|
|
.dark .uwa-trend-health-legend i.is-failed { background: var(--uwa-clay); }
|
|
.dark .uwa-trend-health > div.is-idle { background: #2c362d; }
|
|
|
|
.dark .uwa-request-table-wrap { background: rgba(28, 35, 29, .6); }
|
|
.dark .uwa-request-table-header { background: rgba(36, 44, 37, .6); }
|
|
.dark .uwa-request-row:hover { background: rgba(58, 72, 52, .35); }
|
|
|
|
/* --- 日志页 --- */
|
|
.dark .uwa-simple-page .logs-workspace > div:first-child {
|
|
background: rgba(36, 44, 37, .6) !important;
|
|
}
|
|
|
|
/* ==================== 4. 旧组件字面量颜色 → 暖绿夜间色 ==================== */
|
|
|
|
/* 滚动条 */
|
|
.dark ::-webkit-scrollbar-thumb { background: #3b463d; }
|
|
.dark ::-webkit-scrollbar-thumb:hover { background: #4c584e; }
|
|
|
|
/* 设置页分组卡片 */
|
|
.dark .settings-group {
|
|
background-color: #1c231d;
|
|
border-color: #333d34;
|
|
}
|
|
|
|
.dark .settings-group-header {
|
|
background-color: #1c231d;
|
|
border-color: #333d34;
|
|
}
|
|
|
|
.dark .settings-group-header:hover { background-color: #161c17; }
|
|
.dark .settings-group-title { color: #edf1e6; }
|
|
.dark .settings-row { border-color: #2a332b; }
|
|
.dark .settings-label { color: #edf1e6; }
|
|
.dark .settings-desc { color: #8b967f; }
|
|
|
|
.dark .settings-input {
|
|
background-color: #141915;
|
|
border-color: #3b463d;
|
|
color: #edf1e6;
|
|
}
|
|
|
|
.dark .settings-input::placeholder { color: #6d7a68; }
|
|
|
|
.dark .settings-input:focus {
|
|
border-color: var(--uwa-accent, #88a66f);
|
|
box-shadow: 0 0 0 2px rgba(136, 166, 111, .35);
|
|
}
|
|
|
|
.dark .toggle-bg { background-color: #3a463b; }
|
|
.dark .toggle-label input:checked + .toggle-bg { background-color: #6f8f55; }
|
|
|
|
/* 标签页池控制台令牌 */
|
|
.dark .tab-pool-console {
|
|
--tp-bg: #141915;
|
|
--tp-panel: #1c231d;
|
|
--tp-soft: #161c17;
|
|
--tp-soft-strong: #242c25;
|
|
--tp-border: #333d34;
|
|
--tp-text: #edf1e6;
|
|
--tp-muted: #b7c1af;
|
|
--tp-faint: #7f8b76;
|
|
--tp-accent: #94b374;
|
|
--tp-accent-soft: rgba(148, 179, 116, .18);
|
|
--tp-code: #242c25;
|
|
}
|
|
|
|
/* 新手引导卡片:由冷蓝渐变换成暖绿渐变 */
|
|
.dark .dashboard-guide-card {
|
|
border-color: rgba(90, 105, 80, .5);
|
|
background:
|
|
radial-gradient(circle at top right, rgba(148, 179, 116, .12), transparent 44%),
|
|
linear-gradient(135deg, rgba(22, 28, 23, .96), rgba(28, 35, 29, .96));
|
|
box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
|
|
}
|
|
|
|
.dark .dashboard-guide-badge {
|
|
background: rgba(148, 179, 116, .14);
|
|
color: #c9d8b6;
|
|
}
|
|
|
|
.dark .dashboard-guide-toggle {
|
|
border-color: rgba(90, 105, 80, .55);
|
|
background: rgba(20, 25, 21, .74);
|
|
color: #c9d8b6;
|
|
}
|
|
|
|
.dark .dashboard-guide-btn--secondary {
|
|
border-color: rgba(90, 105, 80, .6);
|
|
background: rgba(20, 25, 21, .72);
|
|
color: #d8dfd0;
|
|
}
|
|
|
|
.dark .dashboard-guide-step,
|
|
.dark .dashboard-mini-card,
|
|
.dark .dashboard-checklist-item,
|
|
.dark .dashboard-empty-state,
|
|
.dark .dashboard-field-tooltip {
|
|
background: rgba(20, 25, 21, .62);
|
|
border-color: rgba(90, 105, 80, .52);
|
|
color: #c4cdbb;
|
|
}
|
|
|
|
.dark .dashboard-guide-step strong,
|
|
.dark .dashboard-mini-card-title { color: #edf1e6; }
|
|
|
|
/* ==================== 5. 全局细节增强(亮暗通用) ==================== */
|
|
|
|
/* 键盘导航焦点可见性:统一使用主题强调色 */
|
|
#app :focus-visible {
|
|
outline: 2px solid var(--uwa-olive, #5d6b4d);
|
|
outline-offset: 2px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
#app input:focus-visible,
|
|
#app select:focus-visible,
|
|
#app textarea:focus-visible {
|
|
outline: none; /* 输入框已有 focus 边框与阴影,避免双重描边 */
|
|
}
|
|
|
|
/* 文字选区 */
|
|
::selection {
|
|
background: rgba(143, 188, 143, .38);
|
|
}
|
|
|
|
.dark ::selection {
|
|
background: rgba(148, 179, 116, .4);
|
|
}
|
|
|
|
/* 主要表面的主题切换过渡,让明暗切换更柔和 */
|
|
body,
|
|
.app-sidebar,
|
|
.dashboard-main,
|
|
.dashboard-scroll-region,
|
|
.uwa-action-card,
|
|
.uwa-config-workspace,
|
|
.settings-group {
|
|
transition: background-color .25s ease, border-color .25s ease;
|
|
}
|
|
|
|
/* 尊重"减少动态效果"系统偏好 */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: .01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: .01ms !important;
|
|
scroll-behavior: auto !important;
|
|
}
|
|
}
|
|
|
|
/* ==================== 6. Toast 通知(统一主题样式) ==================== */
|
|
.uwa-toast-stack {
|
|
position: fixed;
|
|
top: 18px;
|
|
right: 18px;
|
|
z-index: 60;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
width: min(340px, calc(100vw - 36px));
|
|
pointer-events: none;
|
|
}
|
|
|
|
.uwa-toast {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
padding: 11px 14px;
|
|
border: 1px solid var(--uwa-line, #ddd4c3);
|
|
border-left: 3px solid var(--uwa-olive, #5d6b4d);
|
|
border-radius: 8px;
|
|
color: var(--uwa-ink, #33402c);
|
|
background: var(--uwa-paper-strong, #fffdf8);
|
|
box-shadow: 0 10px 28px rgba(47, 55, 39, .18);
|
|
font-size: 13px;
|
|
line-height: 1.55;
|
|
cursor: pointer;
|
|
pointer-events: auto;
|
|
animation: uwa-toast-in .22s ease-out;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.dark .uwa-toast {
|
|
box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
|
|
}
|
|
|
|
.uwa-toast-dot {
|
|
flex: 0 0 8px;
|
|
width: 8px;
|
|
height: 8px;
|
|
margin-top: 6px;
|
|
border-radius: 50%;
|
|
background: var(--uwa-olive, #5d6b4d);
|
|
}
|
|
|
|
.uwa-toast.is-success { border-left-color: #6ea56d; }
|
|
.uwa-toast.is-success .uwa-toast-dot { background: #6ea56d; }
|
|
.uwa-toast.is-error { border-left-color: #a86159; }
|
|
.uwa-toast.is-error .uwa-toast-dot { background: #a86159; }
|
|
.uwa-toast.is-warning { border-left-color: #b99359; }
|
|
.uwa-toast.is-warning .uwa-toast-dot { background: #b99359; }
|
|
.uwa-toast.is-info { border-left-color: #7397a2; }
|
|
.uwa-toast.is-info .uwa-toast-dot { background: #7397a2; }
|
|
|
|
@keyframes uwa-toast-in {
|
|
from {
|
|
transform: translateX(14px);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* ==================== 请求工作流面板(uwa-workflow-panel)夜间取值 ==================== */
|
|
|
|
/* 主按钮(新增步骤):夜间浅绿底配深字,保证对比度 */
|
|
.dark .uwa-workflow-panel > div:first-child .flex.gap-2 button.bg-blue-500 {
|
|
color: #142011 !important;
|
|
}
|
|
|
|
/* 步骤卡片悬停描边 */
|
|
.dark .uwa-workflow-panel > div:last-child > div.rounded-lg:not(.uwa-wf-hint):hover {
|
|
border-color: #46573c !important;
|
|
}
|
|
|
|
/* 删除类操作 */
|
|
.dark .uwa-workflow-panel button[class*="hover:text-red"]:hover {
|
|
color: #d8988a !important;
|
|
background: rgba(201, 143, 122, .16) !important;
|
|
}
|
|
|
|
/* 只读提示语气卡 */
|
|
.dark .uwa-workflow-panel .uwa-wf-hint.is-info {
|
|
border-color: rgba(130, 169, 181, .38) !important;
|
|
background: rgba(130, 169, 181, .12) !important;
|
|
color: #b8d2da !important;
|
|
}
|
|
|
|
.dark .uwa-workflow-panel .uwa-wf-hint.is-success {
|
|
border-color: rgba(148, 179, 116, .4) !important;
|
|
background: rgba(148, 179, 116, .13) !important;
|
|
color: #c4d8ad !important;
|
|
}
|
|
|
|
.dark .uwa-workflow-panel .uwa-wf-hint.is-warning {
|
|
border-color: rgba(202, 163, 101, .4) !important;
|
|
background: rgba(202, 163, 101, .13) !important;
|
|
color: #e0c294 !important;
|
|
}
|
|
|
|
.dark .uwa-workflow-panel .uwa-wf-hint.is-danger {
|
|
border-color: rgba(201, 143, 122, .42) !important;
|
|
background: rgba(201, 143, 122, .13) !important;
|
|
color: #e4b1a1 !important;
|
|
}
|
|
|
|
/* 提示卡内的编辑小按钮:夜间用深色玻璃底 */
|
|
.dark .uwa-workflow-panel .uwa-wf-hint button[class*="bg-white/"] {
|
|
background: rgba(15, 19, 15, .35) !important;
|
|
}
|
|
|
|
/* 页面直发说明框 */
|
|
.dark .uwa-workflow-panel .uwa-wf-note {
|
|
border-color: rgba(130, 169, 181, .38);
|
|
background: rgba(130, 169, 181, .12);
|
|
color: #b8d2da;
|
|
}
|