92 lines
2.1 KiB
CSS
92 lines
2.1 KiB
CSS
/* Strict UI tokens, base reset, and global cleanup. */
|
|
/* Strict UI layer: visual-only redesign based on the current WebUI feature set. */
|
|
:root {
|
|
--strict-bg: #f6f8fb;
|
|
--strict-bg-soft: #eef3f7;
|
|
--strict-surface: #ffffff;
|
|
--strict-surface-soft: #f9fbfd;
|
|
--strict-border: #dfe6ee;
|
|
--strict-border-strong: #cbd6e2;
|
|
--strict-text: #111827;
|
|
--strict-muted: #64748b;
|
|
--strict-muted-soft: #94a3b8;
|
|
--strict-primary: #2563eb;
|
|
--strict-primary-hover: #1d4ed8;
|
|
--strict-primary-soft: #eef4ff;
|
|
--strict-teal: #0f9f8e;
|
|
--strict-teal-soft: #e7f8f5;
|
|
--strict-danger: #dc2626;
|
|
--strict-danger-soft: #fff1f2;
|
|
--strict-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
|
|
--strict-shadow-soft: 0 4px 14px rgba(15, 23, 42, 0.05);
|
|
--strict-radius: 8px;
|
|
--strict-rail: 188px;
|
|
--strict-top: 74px;
|
|
--strict-status: 130px;
|
|
--strict-font: "Microsoft YaHei", "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
|
|
color-scheme: light;
|
|
}
|
|
|
|
:root[data-theme="dark"] {
|
|
--strict-bg: #f3f6fa;
|
|
--strict-bg-soft: #eaf0f6;
|
|
--strict-surface: #ffffff;
|
|
--strict-surface-soft: #f8fbfd;
|
|
--strict-border: #dce5ee;
|
|
--strict-border-strong: #c7d3df;
|
|
--strict-text: #111827;
|
|
--strict-muted: #5f7186;
|
|
--strict-muted-soft: #8ca0b4;
|
|
--strict-primary: #2563eb;
|
|
--strict-primary-hover: #1d4ed8;
|
|
--strict-primary-soft: #eef4ff;
|
|
--strict-teal: #0f9f8e;
|
|
--strict-teal-soft: #e7f8f5;
|
|
--strict-danger: #dc2626;
|
|
--strict-danger-soft: #fff1f2;
|
|
color-scheme: light;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font-family: var(--strict-font);
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
html {
|
|
background: var(--strict-bg);
|
|
}
|
|
|
|
body {
|
|
min-width: 0;
|
|
color: var(--strict-text);
|
|
background:
|
|
linear-gradient(180deg, rgba(37, 99, 235, 0.025), transparent 280px),
|
|
linear-gradient(90deg, rgba(15, 159, 142, 0.02), transparent 520px),
|
|
var(--strict-bg);
|
|
}
|
|
|
|
body::before,
|
|
body::after,
|
|
.header::before,
|
|
.header::after,
|
|
.card::before,
|
|
.workspaceHeader,
|
|
.configRail > .cardTitle,
|
|
.brandMark,
|
|
.subtitle,
|
|
.secondaryActions::before,
|
|
.workspaceSearchKbd,
|
|
.previewBracket,
|
|
.previewRec,
|
|
.previewTs,
|
|
.appFooterRight,
|
|
.appFooterDivider,
|
|
.scrollTopBtn {
|
|
display: none !important;
|
|
}
|