2649 lines
75 KiB
CSS
2649 lines
75 KiB
CSS
:root {
|
|
--uwa-paper: #f7f3ea;
|
|
--uwa-paper-strong: #fffdf8;
|
|
--uwa-paper-soft: #f1ecdf;
|
|
--uwa-ink: #33402c;
|
|
--uwa-ink-strong: #263321;
|
|
--uwa-muted: #6e775f;
|
|
--uwa-muted-soft: #929883;
|
|
--uwa-line: #ddd4c3;
|
|
--uwa-line-soft: #e8e1d5;
|
|
--uwa-olive: #5d6b4d;
|
|
--uwa-olive-dark: #48553c;
|
|
--uwa-leaf: #8fbc8f;
|
|
--uwa-leaf-soft: #dce8c9;
|
|
--uwa-green-card: #cfe2b8;
|
|
--uwa-ochre: #b99359;
|
|
--uwa-clay: #bd806c;
|
|
--uwa-blue: #7397a2;
|
|
--uwa-sidebar-width: 282px;
|
|
--uwa-content-max: 1488px;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
background: var(--uwa-paper) !important;
|
|
color: var(--uwa-ink-strong);
|
|
}
|
|
|
|
body,
|
|
button,
|
|
input,
|
|
textarea,
|
|
select {
|
|
font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif !important;
|
|
letter-spacing: 0 !important;
|
|
}
|
|
|
|
#app {
|
|
background: var(--uwa-paper) !important;
|
|
}
|
|
|
|
.dashboard-main {
|
|
min-width: 0;
|
|
background: var(--uwa-paper) !important;
|
|
}
|
|
|
|
.dashboard-scroll-region {
|
|
overflow-x: hidden !important;
|
|
background: var(--uwa-paper);
|
|
}
|
|
|
|
.workspace-header,
|
|
.dashboard-tab-strip {
|
|
display: none !important;
|
|
}
|
|
|
|
.app-sidebar-layer {
|
|
flex: 0 0 var(--uwa-sidebar-width) !important;
|
|
width: var(--uwa-sidebar-width) !important;
|
|
}
|
|
|
|
.app-sidebar {
|
|
width: var(--uwa-sidebar-width) !important;
|
|
padding: 30px 22px 24px !important;
|
|
border-right: 1px solid var(--uwa-line) !important;
|
|
background: var(--uwa-paper) !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.app-brand {
|
|
min-height: 68px;
|
|
padding: 0 8px !important;
|
|
gap: 14px !important;
|
|
}
|
|
|
|
.app-brand-logo {
|
|
width: 50px !important;
|
|
height: 50px !important;
|
|
border: 1px solid var(--uwa-line);
|
|
border-radius: 8px !important;
|
|
background: var(--uwa-paper-strong);
|
|
}
|
|
|
|
.app-brand-copy strong {
|
|
color: var(--uwa-ink-strong) !important;
|
|
font-size: 20px !important;
|
|
line-height: 1.2 !important;
|
|
}
|
|
|
|
.app-brand-copy span {
|
|
margin-top: 5px;
|
|
color: var(--uwa-muted-soft) !important;
|
|
font-size: 13px !important;
|
|
}
|
|
|
|
.app-nav-collapse {
|
|
display: inline-flex !important;
|
|
position: absolute;
|
|
top: 16px;
|
|
right: 0;
|
|
width: 36px !important;
|
|
height: 36px !important;
|
|
flex: 0 0 36px;
|
|
border-radius: 7px !important;
|
|
color: var(--uwa-muted) !important;
|
|
}
|
|
|
|
.app-brand-copy {
|
|
padding-right: 36px;
|
|
}
|
|
|
|
.app-nav-collapse:hover {
|
|
color: var(--uwa-ink-strong) !important;
|
|
background: var(--uwa-paper-soft) !important;
|
|
}
|
|
|
|
.app-nav-collapse:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.app-nav-collapse:focus-visible {
|
|
outline: 2px solid var(--uwa-olive);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.app-collapse-lines,
|
|
.app-collapse-lines::before,
|
|
.app-collapse-lines::after {
|
|
display: block;
|
|
width: 19px;
|
|
height: 2px;
|
|
border-radius: 2px;
|
|
background: currentColor;
|
|
}
|
|
|
|
.app-collapse-lines {
|
|
position: relative;
|
|
}
|
|
|
|
.app-collapse-lines::before,
|
|
.app-collapse-lines::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
}
|
|
|
|
.app-collapse-lines::before { top: -6px; }
|
|
.app-collapse-lines::after { top: 6px; }
|
|
|
|
.app-collapsed-status {
|
|
display: none;
|
|
}
|
|
|
|
.app-primary-nav {
|
|
gap: 7px !important;
|
|
margin-top: 50px !important;
|
|
}
|
|
|
|
.app-nav-item {
|
|
position: relative;
|
|
min-height: 48px !important;
|
|
padding: 0 16px !important;
|
|
border: 0 !important;
|
|
border-radius: 8px !important;
|
|
color: var(--uwa-muted) !important;
|
|
background: transparent !important;
|
|
box-shadow: none !important;
|
|
font-size: 16px !important;
|
|
font-weight: 500 !important;
|
|
}
|
|
|
|
.app-nav-item:hover {
|
|
color: var(--uwa-ink) !important;
|
|
background: rgba(221, 228, 203, .48) !important;
|
|
}
|
|
|
|
.app-nav-item.is-active {
|
|
color: var(--uwa-ink-strong) !important;
|
|
background: var(--uwa-leaf-soft) !important;
|
|
font-weight: 700 !important;
|
|
}
|
|
|
|
.app-nav-item.is-active::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 13px;
|
|
bottom: 13px;
|
|
width: 3px;
|
|
border-radius: 3px;
|
|
background: var(--uwa-olive);
|
|
}
|
|
|
|
.app-nav-icon,
|
|
.app-nav-icon svg {
|
|
width: 21px !important;
|
|
height: 21px !important;
|
|
}
|
|
|
|
.app-nav-count {
|
|
margin-left: auto !important;
|
|
color: var(--uwa-muted-soft) !important;
|
|
background: transparent !important;
|
|
font-size: 12px !important;
|
|
}
|
|
|
|
.app-sidebar-spacer {
|
|
min-height: 20px;
|
|
}
|
|
|
|
.app-sidebar-footer {
|
|
gap: 3px !important;
|
|
}
|
|
|
|
/* 新手指南 / 夜间模式:与上方导航项同一套视觉语言(无边框、静默行 + 悬停轻染色) */
|
|
.app-guide-link,
|
|
.app-theme-toggle {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: flex-start !important;
|
|
gap: 10px !important;
|
|
min-height: 40px !important;
|
|
padding: 0 12px !important;
|
|
border: 0 !important;
|
|
border-radius: 8px !important;
|
|
color: var(--uwa-muted) !important;
|
|
background: transparent !important;
|
|
box-shadow: none !important;
|
|
font-size: 14px !important;
|
|
font-weight: 500 !important;
|
|
cursor: pointer;
|
|
transition: background-color 140ms ease, color 140ms ease;
|
|
}
|
|
|
|
.app-guide-link:hover,
|
|
.app-theme-toggle:hover {
|
|
color: var(--uwa-ink) !important;
|
|
background: rgba(221, 228, 203, .48) !important;
|
|
}
|
|
|
|
.app-footer-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.app-footer-icon svg {
|
|
width: 18px !important;
|
|
height: 18px !important;
|
|
}
|
|
|
|
.app-theme-toggle i {
|
|
margin-left: auto !important;
|
|
background: #d8d4c9 !important;
|
|
}
|
|
|
|
.app-theme-toggle[aria-pressed="true"] i {
|
|
background: var(--uwa-olive) !important;
|
|
}
|
|
|
|
.app-service-row {
|
|
min-height: 32px !important;
|
|
padding: 0 12px !important;
|
|
color: var(--uwa-muted-soft) !important;
|
|
font-size: 13px !important;
|
|
}
|
|
|
|
/* 面板认证:去掉外框,与上方无边框的静默行样式保持一致 */
|
|
.app-auth-row {
|
|
border: 0 !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.app-service-row button {
|
|
margin-left: auto !important;
|
|
}
|
|
|
|
/* 折叠态下仅保留图标 */
|
|
.app-sidebar.is-collapsed .app-guide-link,
|
|
.app-sidebar.is-collapsed .app-theme-toggle {
|
|
width: 38px !important;
|
|
justify-content: center !important;
|
|
padding: 0 !important;
|
|
gap: 0 !important;
|
|
}
|
|
|
|
.app-sidebar.is-collapsed .app-guide-link > span:not(.app-footer-icon) {
|
|
display: none;
|
|
}
|
|
|
|
.app-sidebar.is-collapsed .app-theme-toggle .app-footer-icon {
|
|
display: inline-flex !important;
|
|
}
|
|
|
|
.app-sidebar-primary {
|
|
height: 48px !important;
|
|
border-radius: 8px !important;
|
|
color: #fff !important;
|
|
background: var(--uwa-olive) !important;
|
|
box-shadow: 0 3px 8px rgba(53, 65, 44, .12) !important;
|
|
font-size: 15px !important;
|
|
}
|
|
|
|
.app-sidebar-version {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 8px 8px 0;
|
|
color: var(--uwa-muted-soft);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.app-sidebar-version strong {
|
|
font-weight: 600;
|
|
}
|
|
|
|
@media (min-width: 901px) {
|
|
#app.sidebar-is-collapsed {
|
|
flex-direction: column;
|
|
}
|
|
|
|
#app.sidebar-is-collapsed .app-sidebar-layer {
|
|
width: 100% !important;
|
|
height: 66px;
|
|
flex: 0 0 66px !important;
|
|
}
|
|
|
|
#app.sidebar-is-collapsed .app-sidebar {
|
|
width: 100% !important;
|
|
min-width: 0 !important;
|
|
height: 66px;
|
|
padding: 0 30px !important;
|
|
border-right: 0 !important;
|
|
border-bottom: 1px solid var(--uwa-line) !important;
|
|
background: var(--uwa-paper-strong) !important;
|
|
}
|
|
|
|
#app.sidebar-is-collapsed .app-brand {
|
|
width: 100%;
|
|
min-height: 65px;
|
|
justify-content: flex-start;
|
|
gap: 18px !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
#app.sidebar-is-collapsed .app-brand-logo,
|
|
#app.sidebar-is-collapsed .app-brand-copy span,
|
|
#app.sidebar-is-collapsed .app-primary-nav,
|
|
#app.sidebar-is-collapsed .app-sidebar-spacer,
|
|
#app.sidebar-is-collapsed .app-sidebar-footer,
|
|
#app.sidebar-is-collapsed .app-nav-mobile-close {
|
|
display: none !important;
|
|
}
|
|
|
|
#app.sidebar-is-collapsed .app-brand-copy {
|
|
display: block;
|
|
order: 2;
|
|
padding-right: 0;
|
|
}
|
|
|
|
#app.sidebar-is-collapsed .app-brand-copy strong {
|
|
display: block;
|
|
font-size: 20px !important;
|
|
line-height: 1 !important;
|
|
}
|
|
|
|
#app.sidebar-is-collapsed .app-nav-collapse {
|
|
position: static;
|
|
order: 1;
|
|
margin: 0;
|
|
}
|
|
|
|
#app.sidebar-is-collapsed .app-collapsed-status {
|
|
display: inline-flex;
|
|
order: 3;
|
|
min-height: 36px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-left: auto;
|
|
padding: 0 4px;
|
|
border: 0;
|
|
color: var(--uwa-muted);
|
|
background: transparent;
|
|
font-size: 13px;
|
|
}
|
|
|
|
#app.sidebar-is-collapsed .app-collapsed-status:hover {
|
|
color: var(--uwa-ink-strong);
|
|
}
|
|
|
|
#app.sidebar-is-collapsed .dashboard-main {
|
|
width: 100%;
|
|
min-height: 0;
|
|
}
|
|
}
|
|
|
|
.mobile-app-header {
|
|
display: none;
|
|
}
|
|
|
|
.uwa-home-view,
|
|
.uwa-page {
|
|
width: min(100%, var(--uwa-content-max));
|
|
margin: 0 auto;
|
|
padding: 48px 46px 64px;
|
|
}
|
|
|
|
.uwa-hero-band {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 360px;
|
|
align-items: center;
|
|
min-height: 220px;
|
|
border-bottom: 1px solid var(--uwa-line);
|
|
}
|
|
|
|
.uwa-ready-label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
min-height: 38px;
|
|
padding: 0 16px;
|
|
border-radius: 7px;
|
|
color: var(--uwa-olive-dark);
|
|
background: var(--uwa-leaf-soft);
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.uwa-ready-label svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.uwa-hero-copy h1 {
|
|
margin: 26px 0 12px;
|
|
color: var(--uwa-ink-strong);
|
|
font-size: 52px;
|
|
line-height: 1.05;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.uwa-hero-copy p {
|
|
max-width: 760px;
|
|
margin: 0;
|
|
color: var(--uwa-muted);
|
|
font-size: 18px;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.uwa-hero-art {
|
|
position: relative;
|
|
width: 320px;
|
|
height: 176px;
|
|
justify-self: end;
|
|
}
|
|
|
|
.uwa-hero-art i {
|
|
position: absolute;
|
|
display: block;
|
|
}
|
|
|
|
.uwa-hero-art .shape-a {
|
|
top: 28px;
|
|
left: 24px;
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 8px;
|
|
background: #9dc899;
|
|
transform: rotate(-8deg);
|
|
}
|
|
|
|
.uwa-hero-art .shape-b {
|
|
right: 18px;
|
|
top: 0;
|
|
width: 108px;
|
|
height: 94px;
|
|
border-radius: 8px;
|
|
background: #dde8ce;
|
|
}
|
|
|
|
.uwa-hero-art .shape-c {
|
|
left: 74px;
|
|
bottom: 4px;
|
|
width: 132px;
|
|
height: 68px;
|
|
border-radius: 8px;
|
|
background: #e8decb;
|
|
transform: rotate(5deg);
|
|
}
|
|
|
|
.uwa-hero-art .line-a,
|
|
.uwa-hero-art .line-b {
|
|
height: 1px;
|
|
background: #86a479;
|
|
transform-origin: left center;
|
|
}
|
|
|
|
.uwa-hero-art .line-a { top: 73px; left: 55px; width: 214px; transform: rotate(18deg); }
|
|
.uwa-hero-art .line-b { top: 105px; left: 82px; width: 170px; transform: rotate(-20deg); }
|
|
|
|
.uwa-hero-art .node-a,
|
|
.uwa-hero-art .node-b,
|
|
.uwa-hero-art .node-c {
|
|
width: 12px;
|
|
height: 12px;
|
|
border: 3px solid #6e865f;
|
|
border-radius: 50%;
|
|
background: var(--uwa-paper);
|
|
}
|
|
|
|
.uwa-hero-art .node-a { left: 50px; top: 53px; }
|
|
.uwa-hero-art .node-b { right: 94px; top: 104px; }
|
|
.uwa-hero-art .node-c { left: 92px; bottom: 37px; }
|
|
|
|
.uwa-health-strip {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
min-height: 112px;
|
|
border-bottom: 1px solid var(--uwa-line);
|
|
}
|
|
|
|
.uwa-health-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 20px 26px;
|
|
border-right: 1px solid var(--uwa-line-soft);
|
|
}
|
|
|
|
.uwa-health-item:first-child { padding-left: 0; }
|
|
.uwa-health-item:last-child { border-right: 0; }
|
|
|
|
.uwa-health-icon {
|
|
display: grid;
|
|
flex: 0 0 44px;
|
|
width: 44px;
|
|
height: 44px;
|
|
place-items: center;
|
|
border-radius: 7px;
|
|
color: var(--uwa-olive);
|
|
background: var(--uwa-paper-soft);
|
|
}
|
|
|
|
.uwa-health-icon.is-service,
|
|
.uwa-health-icon.is-requests { background: var(--uwa-leaf-soft); }
|
|
|
|
.uwa-health-icon svg { width: 21px; height: 21px; }
|
|
|
|
.uwa-health-item div { min-width: 0; }
|
|
.uwa-health-item span:not(.uwa-health-icon) { display: block; color: var(--uwa-muted-soft); font-size: 12px; }
|
|
.uwa-health-item strong { display: block; margin-top: 4px; color: var(--uwa-ink-strong); font-size: 16px; }
|
|
|
|
.uwa-section-heading {
|
|
display: flex;
|
|
align-items: end;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
padding: 38px 0 20px;
|
|
}
|
|
|
|
.uwa-section-heading h2 {
|
|
margin: 0;
|
|
color: var(--uwa-ink-strong);
|
|
font-size: 26px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.uwa-section-heading p {
|
|
margin: 6px 0 0;
|
|
color: var(--uwa-muted-soft);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.uwa-text-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border: 0;
|
|
color: var(--uwa-olive);
|
|
background: transparent;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.uwa-text-button svg { width: 17px; height: 17px; }
|
|
|
|
.uwa-action-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
.uwa-action-card {
|
|
display: flex;
|
|
min-height: 368px;
|
|
flex-direction: column;
|
|
padding: 28px;
|
|
border: 1px solid var(--uwa-line);
|
|
border-radius: 8px;
|
|
background: var(--uwa-paper-strong);
|
|
box-shadow: 0 12px 28px rgba(67, 70, 49, .06);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.uwa-action-card.is-api { background: #efe6d5; }
|
|
.uwa-action-card.is-browser { background: var(--uwa-green-card); }
|
|
|
|
.uwa-card-topline {
|
|
display: flex;
|
|
align-items: start;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.uwa-feature-icon {
|
|
display: grid;
|
|
width: 58px;
|
|
height: 58px;
|
|
place-items: center;
|
|
border-radius: 8px;
|
|
color: #fff;
|
|
transform: rotate(5deg);
|
|
}
|
|
|
|
.uwa-feature-icon.is-mint { background: #8abf90; }
|
|
.uwa-feature-icon.is-olive { background: var(--uwa-olive); }
|
|
.uwa-feature-icon.is-ochre { background: #c29853; }
|
|
.uwa-feature-icon svg { width: 28px; height: 28px; }
|
|
|
|
.uwa-soft-tag {
|
|
padding: 8px 12px;
|
|
border: 1px solid rgba(93, 107, 77, .12);
|
|
border-radius: 7px;
|
|
color: var(--uwa-olive-dark);
|
|
background: rgba(255, 253, 248, .78);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.uwa-action-card h3 {
|
|
margin: 28px 0 12px;
|
|
color: var(--uwa-ink-strong);
|
|
font-size: 25px;
|
|
line-height: 1.2;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.uwa-action-card > p {
|
|
min-height: 48px;
|
|
margin: 0 0 22px;
|
|
color: var(--uwa-muted);
|
|
font-size: 14px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.uwa-endpoint-box,
|
|
.uwa-browser-preview,
|
|
.uwa-request-preview,
|
|
.uwa-empty-preview {
|
|
min-height: 70px;
|
|
margin-top: auto;
|
|
border: 1px solid rgba(93, 107, 77, .2);
|
|
border-radius: 7px;
|
|
background: rgba(255, 253, 248, .74);
|
|
}
|
|
|
|
.uwa-endpoint-box {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.uwa-endpoint-box code {
|
|
min-width: 0;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
color: var(--uwa-olive-dark);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.uwa-endpoint-box button {
|
|
width: 34px;
|
|
height: 34px;
|
|
color: var(--uwa-olive);
|
|
border: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.uwa-browser-preview { padding: 12px 14px; }
|
|
.uwa-browser-preview > div { display: flex; align-items: center; gap: 6px; color: var(--uwa-muted-soft); font-size: 11px; }
|
|
.uwa-browser-preview i { width: 6px; height: 6px; border-radius: 50%; background: #88a57a; }
|
|
.uwa-browser-preview span { margin-left: auto; }
|
|
.uwa-browser-preview strong { display: block; margin-top: 12px; overflow: hidden; color: var(--uwa-ink); text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
|
|
|
|
.uwa-request-preview { overflow: hidden; }
|
|
.uwa-request-preview > div { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto auto; align-items: center; gap: 9px; min-height: 32px; padding: 0 12px; border-bottom: 1px solid var(--uwa-line-soft); font-size: 11px; }
|
|
.uwa-request-preview > div:last-child { border-bottom: 0; }
|
|
.uwa-request-preview i { width: 6px; height: 6px; border-radius: 50%; background: var(--uwa-clay); }
|
|
.uwa-request-preview i.is-success { background: #76a874; }
|
|
.uwa-request-preview i.is-cancelled { background: var(--uwa-ochre); }
|
|
.uwa-request-preview strong { overflow: hidden; color: var(--uwa-ink); text-overflow: ellipsis; white-space: nowrap; }
|
|
.uwa-request-preview span,
|
|
.uwa-request-preview time { color: var(--uwa-muted-soft); }
|
|
|
|
.uwa-empty-preview { display: grid; place-items: center; color: var(--uwa-muted-soft); font-size: 13px; }
|
|
|
|
.uwa-primary-button,
|
|
.uwa-button,
|
|
.uwa-icon-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
border: 1px solid var(--uwa-line);
|
|
border-radius: 7px;
|
|
color: var(--uwa-ink);
|
|
background: var(--uwa-paper-strong);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.uwa-primary-button {
|
|
min-height: 42px;
|
|
margin-top: 16px;
|
|
color: #fff;
|
|
border-color: var(--uwa-olive);
|
|
background: var(--uwa-olive);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.uwa-primary-button svg,
|
|
.uwa-button svg,
|
|
.uwa-icon-button svg { width: 17px; height: 17px; }
|
|
|
|
.uwa-activity-band {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
min-height: 72px;
|
|
margin-top: 24px;
|
|
padding: 14px 20px;
|
|
border-top: 1px solid var(--uwa-line);
|
|
border-bottom: 1px solid var(--uwa-line);
|
|
}
|
|
|
|
.uwa-activity-band > div { display: flex; align-items: center; gap: 14px; }
|
|
.uwa-activity-band svg { width: 22px; height: 22px; color: var(--uwa-olive); }
|
|
.uwa-activity-band strong { color: var(--uwa-ink); font-size: 13px; }
|
|
.uwa-activity-band span,
|
|
.uwa-activity-band time { color: var(--uwa-muted-soft); font-size: 12px; }
|
|
.uwa-activity-band > div:first-child div { display: flex; flex-direction: column; gap: 3px; }
|
|
|
|
.uwa-page-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 32px;
|
|
min-height: 106px;
|
|
padding-bottom: 24px;
|
|
border-bottom: 1px solid var(--uwa-line);
|
|
}
|
|
|
|
.uwa-eyebrow {
|
|
margin: 0 0 8px !important;
|
|
color: #9a9e87 !important;
|
|
font-size: 12px !important;
|
|
font-weight: 800;
|
|
letter-spacing: .14em !important;
|
|
}
|
|
|
|
.uwa-page-header h1 {
|
|
margin: 0;
|
|
color: var(--uwa-ink-strong);
|
|
font-size: 30px;
|
|
line-height: 1.2;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.uwa-page-header p:not(.uwa-eyebrow) {
|
|
margin: 8px 0 0;
|
|
color: var(--uwa-muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.uwa-page-actions,
|
|
.uwa-editor-actions,
|
|
.uwa-config-toolbar-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.uwa-button {
|
|
min-height: 40px;
|
|
padding: 0 15px;
|
|
white-space: nowrap;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.uwa-button:hover,
|
|
.uwa-icon-button:hover { background: var(--uwa-paper-soft); }
|
|
.uwa-button.is-primary { color: #fff; border-color: var(--uwa-olive); background: var(--uwa-olive); }
|
|
.uwa-button:disabled { cursor: wait; opacity: .55; }
|
|
|
|
.uwa-icon-button {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
/* 下拉菜单容器与弹层 */
|
|
.uwa-dropdown {
|
|
position: relative;
|
|
display: inline-flex;
|
|
}
|
|
|
|
.uwa-dropdown .uwa-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.uwa-dropdown .uwa-button.is-active {
|
|
border-color: var(--uwa-line);
|
|
background: var(--uwa-paper-soft);
|
|
}
|
|
|
|
.uwa-dropdown-caret {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-left: 2px;
|
|
color: var(--uwa-muted);
|
|
transition: transform .2s ease;
|
|
}
|
|
|
|
.uwa-dropdown-caret svg {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
|
|
.uwa-dropdown .uwa-button.is-active .uwa-dropdown-caret {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.uwa-dropdown-menu {
|
|
position: absolute;
|
|
top: calc(100% + 6px);
|
|
left: 0;
|
|
z-index: 50;
|
|
min-width: 250px;
|
|
max-width: calc(100vw - 32px);
|
|
padding: 6px;
|
|
border: 1px solid var(--uwa-line);
|
|
border-radius: 8px;
|
|
background: var(--uwa-paper-strong);
|
|
box-shadow: 0 18px 42px rgba(47, 55, 39, .16);
|
|
}
|
|
|
|
.uwa-page-actions .uwa-dropdown:last-of-type .uwa-dropdown-menu,
|
|
.uwa-dropdown.is-right-aligned .uwa-dropdown-menu {
|
|
left: auto;
|
|
right: 0;
|
|
}
|
|
|
|
.uwa-dropdown-item {
|
|
display: flex;
|
|
width: 100%;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
padding: 8px 10px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
color: var(--uwa-ink);
|
|
background: transparent;
|
|
text-align: left;
|
|
transition: background .15s ease, color .15s ease;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.uwa-dropdown-item:hover:not(:disabled):not(.is-disabled) {
|
|
background: var(--uwa-paper-soft);
|
|
}
|
|
|
|
.uwa-dropdown-item:disabled,
|
|
.uwa-dropdown-item.is-disabled {
|
|
opacity: .45;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.uwa-dropdown-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
flex-shrink: 0;
|
|
border-radius: 6px;
|
|
background: var(--uwa-paper-soft);
|
|
color: var(--uwa-olive);
|
|
}
|
|
|
|
.uwa-dropdown-icon svg {
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
|
|
.uwa-dropdown-item-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.uwa-dropdown-item-copy strong {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--uwa-ink);
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.uwa-dropdown-item-copy small {
|
|
font-size: 11px;
|
|
color: var(--uwa-muted);
|
|
line-height: 1.3;
|
|
white-space: normal;
|
|
}
|
|
|
|
|
|
.uwa-config-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
min-height: 0;
|
|
padding: 16px 0 0;
|
|
border-top: 1px solid var(--uwa-line);
|
|
border-bottom: 0;
|
|
}
|
|
|
|
/* 配置页页头:由「命令行」承担分隔线,避免横线层层堆叠 */
|
|
.uwa-config-page .uwa-page-header {
|
|
min-height: 0;
|
|
align-items: center;
|
|
padding-bottom: 20px;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.uwa-search-field {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: min(420px, 42vw);
|
|
height: 42px;
|
|
padding: 0 14px;
|
|
border: 1px solid var(--uwa-line);
|
|
border-radius: 7px;
|
|
color: var(--uwa-muted-soft);
|
|
background: var(--uwa-paper-strong);
|
|
}
|
|
|
|
.uwa-search-field svg { width: 19px; height: 19px; }
|
|
.uwa-search-field input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--uwa-ink); background: transparent; font-size: 13px; }
|
|
.uwa-search-field input::placeholder { color: var(--uwa-muted-soft); }
|
|
|
|
/* 搜索结果下拉:让顶部搜索框真正可用 */
|
|
.uwa-config-search {
|
|
position: relative;
|
|
min-width: 0;
|
|
}
|
|
|
|
.uwa-config-search-pop {
|
|
position: absolute;
|
|
z-index: 45;
|
|
top: calc(100% + 8px);
|
|
left: 0;
|
|
width: max(100%, 340px);
|
|
max-height: 330px;
|
|
padding: 6px;
|
|
border: 1px solid var(--uwa-line);
|
|
border-radius: 8px;
|
|
background: var(--uwa-paper-strong);
|
|
box-shadow: 0 18px 42px rgba(47, 55, 39, .16);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.uwa-config-search-pop button {
|
|
display: flex;
|
|
width: 100%;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-height: 44px;
|
|
padding: 0 10px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
color: var(--uwa-ink);
|
|
background: transparent;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
text-align: left;
|
|
}
|
|
|
|
.uwa-config-search-pop button:hover { background: var(--uwa-paper-soft); }
|
|
.uwa-config-search-pop button.is-active { background: var(--uwa-leaf-soft); }
|
|
|
|
.uwa-config-search-pop button .uwa-site-mark {
|
|
width: 30px;
|
|
height: 30px;
|
|
flex: 0 0 30px;
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.uwa-search-hit-name {
|
|
min-width: 0;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.uwa-config-search-pop button i {
|
|
color: var(--uwa-olive);
|
|
font-size: 11px;
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.uwa-search-hit-empty {
|
|
padding: 18px 12px;
|
|
color: var(--uwa-muted-soft);
|
|
text-align: center;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.uwa-config-toolbar-meta { gap: 6px; color: var(--uwa-muted); font-size: 12px; }
|
|
.uwa-config-toolbar-meta strong { color: var(--uwa-ink); font-weight: 800; }
|
|
|
|
.uwa-config-toolbar-meta > span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
min-height: 34px;
|
|
padding: 0 13px;
|
|
border: 1px solid var(--uwa-line-soft);
|
|
border-radius: 999px;
|
|
background: rgba(255, 253, 248, .62);
|
|
}
|
|
|
|
.uwa-config-toolbar-meta button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
min-height: 34px;
|
|
padding: 0 13px;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
color: var(--uwa-olive);
|
|
background: transparent;
|
|
font-weight: 700;
|
|
transition: background-color .15s ease;
|
|
}
|
|
|
|
.uwa-config-toolbar-meta button:hover { background: var(--uwa-paper-soft); }
|
|
.uwa-config-toolbar-meta svg { width: 16px; height: 16px; }
|
|
|
|
.uwa-config-workspace {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
min-height: calc(100vh - 300px);
|
|
margin-top: 18px;
|
|
border: 1px solid var(--uwa-line);
|
|
border-radius: 10px;
|
|
background: rgba(255, 253, 248, .56);
|
|
box-shadow: 0 1px 2px rgba(47, 55, 39, .04), 0 14px 34px rgba(47, 55, 39, .05);
|
|
overflow: visible;
|
|
}
|
|
|
|
.uwa-site-rail {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
border-right: 1px solid var(--uwa-line);
|
|
background: rgba(241, 236, 223, .62);
|
|
}
|
|
|
|
.uwa-rail-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
min-height: 52px;
|
|
padding: 0 16px;
|
|
color: var(--uwa-muted-soft);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.uwa-rail-list { padding: 0 10px 14px; }
|
|
|
|
.uwa-rail-site {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: 42px minmax(0, 1fr) 8px;
|
|
align-items: center;
|
|
gap: 11px;
|
|
min-height: 72px;
|
|
padding: 10px;
|
|
border: 1px solid transparent;
|
|
border-radius: 7px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.uwa-rail-site:hover { background: rgba(255, 253, 248, .64); }
|
|
.uwa-rail-site.is-active { border-color: #b9c9a8; background: #dfeace; box-shadow: 0 3px 9px rgba(59, 73, 48, .08); }
|
|
|
|
.uwa-site-mark {
|
|
display: grid;
|
|
width: 42px;
|
|
height: 42px;
|
|
place-items: center;
|
|
border-radius: 7px;
|
|
color: #fff;
|
|
background: var(--uwa-olive);
|
|
font-size: 15px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.uwa-rail-site:nth-child(3n + 2) .uwa-site-mark { background: var(--uwa-ochre); }
|
|
.uwa-rail-site:nth-child(3n) .uwa-site-mark { background: var(--uwa-blue); }
|
|
|
|
.uwa-site-details { min-width: 0; }
|
|
.uwa-site-details strong,
|
|
.uwa-site-details small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.uwa-site-details strong { color: var(--uwa-ink); font-size: 13px; }
|
|
.uwa-site-details small { margin-top: 4px; color: var(--uwa-muted-soft); font-size: 10px; }
|
|
.uwa-rail-site > i { width: 7px; height: 7px; border-radius: 50%; background: #78aa76; }
|
|
|
|
.uwa-site-inline-actions {
|
|
position: absolute;
|
|
right: 7px;
|
|
bottom: 5px;
|
|
display: none;
|
|
gap: 3px;
|
|
}
|
|
|
|
.uwa-rail-site:hover .uwa-site-inline-actions { display: flex; }
|
|
.uwa-site-inline-actions button { display: grid; width: 24px; height: 24px; place-items: center; border: 0; border-radius: 5px; color: var(--uwa-muted); background: var(--uwa-paper-strong); }
|
|
.uwa-site-inline-actions svg { width: 13px; height: 13px; }
|
|
.uwa-rail-empty { padding: 28px 14px; color: var(--uwa-muted-soft); text-align: center; font-size: 12px; }
|
|
|
|
.uwa-config-editor { min-width: 0; background: var(--uwa-paper-strong); }
|
|
|
|
.uwa-editor-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
min-height: 74px;
|
|
padding: 13px 20px;
|
|
border-bottom: 1px solid var(--uwa-line);
|
|
border-radius: 9px 9px 0 0;
|
|
}
|
|
|
|
.uwa-actions-divider {
|
|
width: 1px;
|
|
height: 24px;
|
|
margin: 0 4px;
|
|
flex: 0 0 1px;
|
|
background: var(--uwa-line);
|
|
}
|
|
|
|
.uwa-editor-heading > div:first-child { display: flex; align-items: center; min-width: 0; gap: 12px; }
|
|
.uwa-editor-site-icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 7px; border: 1px solid var(--uwa-line); color: var(--uwa-ink); background: var(--uwa-paper-strong); font-weight: 800; }
|
|
.uwa-editor-heading h2 { margin: 0; overflow: hidden; color: var(--uwa-ink-strong); text-overflow: ellipsis; white-space: nowrap; font-size: 18px; font-weight: 800; }
|
|
.uwa-editor-heading p { margin: 4px 0 0; color: var(--uwa-muted-soft); font-size: 11px; }
|
|
|
|
.uwa-site-switcher {
|
|
position: relative;
|
|
min-width: 0;
|
|
}
|
|
|
|
.uwa-site-switcher > summary {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
padding: 5px 8px 5px 5px;
|
|
border: 1px solid transparent;
|
|
border-radius: 7px;
|
|
cursor: pointer;
|
|
list-style: none;
|
|
}
|
|
|
|
.uwa-site-switcher > summary::-webkit-details-marker { display: none; }
|
|
.uwa-site-switcher > summary:hover,
|
|
.uwa-site-switcher[open] > summary { border-color: var(--uwa-line); background: var(--uwa-paper-soft); }
|
|
.uwa-site-switcher-current { min-width: 0; }
|
|
.uwa-site-switcher-chevron { display: grid; width: 24px; height: 24px; place-items: center; color: var(--uwa-muted); transition: transform .2s; }
|
|
.uwa-site-switcher-chevron svg { width: 15px; height: 15px; }
|
|
.uwa-site-switcher[open] .uwa-site-switcher-chevron { transform: rotate(180deg); }
|
|
|
|
.uwa-site-switcher-popover {
|
|
position: absolute;
|
|
z-index: 40;
|
|
top: calc(100% + 10px);
|
|
left: 0;
|
|
width: min(640px, calc(100vw - 380px));
|
|
max-height: min(560px, calc(100vh - 230px));
|
|
padding: 16px;
|
|
border: 1px solid var(--uwa-line);
|
|
border-radius: 8px;
|
|
background: var(--uwa-paper-strong);
|
|
box-shadow: 0 22px 55px rgba(47, 55, 39, .18);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.uwa-site-switcher-top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 12px;
|
|
color: var(--uwa-ink);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.uwa-site-switcher-top span { color: var(--uwa-muted-soft); font-size: 11px; }
|
|
.uwa-site-switcher-popover .uwa-search-field { width: 100%; }
|
|
|
|
.uwa-site-switcher-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 7px;
|
|
max-height: 390px;
|
|
margin-top: 12px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.uwa-switcher-site {
|
|
position: relative;
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: center;
|
|
border: 1px solid transparent;
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.uwa-switcher-site:hover { border-color: var(--uwa-line); background: var(--uwa-paper-soft); }
|
|
.uwa-switcher-site.is-active { border-color: #b9c9a8; background: var(--uwa-leaf-soft); }
|
|
.uwa-switcher-select { display: grid; min-width: 0; flex: 1; grid-template-columns: 38px minmax(0, 1fr) 7px; align-items: center; gap: 10px; min-height: 62px; padding: 8px 66px 8px 8px; border: 0; color: inherit; background: transparent; text-align: left; }
|
|
.uwa-switcher-select .uwa-site-mark { width: 38px; height: 38px; }
|
|
.uwa-switcher-select > i { width: 7px; height: 7px; border-radius: 50%; background: #78aa76; }
|
|
.uwa-switcher-actions { position: absolute; right: 8px; display: flex; gap: 4px; }
|
|
.uwa-switcher-actions button { display: grid; width: 26px; height: 26px; place-items: center; border: 0; border-radius: 5px; color: var(--uwa-muted); background: rgba(255, 253, 248, .82); }
|
|
.uwa-switcher-actions svg { width: 13px; height: 13px; }
|
|
|
|
.uwa-switch-label { display: inline-flex; align-items: center; gap: 8px; color: var(--uwa-muted); font-size: 12px; cursor: pointer; }
|
|
.uwa-switch-label input { position: absolute; opacity: 0; pointer-events: none; }
|
|
.uwa-switch-label i { position: relative; width: 40px; height: 23px; border-radius: 14px; background: #d8d4c9; transition: background .2s; }
|
|
.uwa-switch-label i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform .2s; }
|
|
.uwa-switch-label input:checked + i { background: var(--uwa-olive); }
|
|
.uwa-switch-label input:checked + i::after { transform: translateX(17px); }
|
|
|
|
.uwa-config-editor > .config-tab-container,
|
|
.uwa-config-editor > .config-content,
|
|
.uwa-config-editor > div:not(.uwa-editor-heading):not(.uwa-config-empty) {
|
|
max-width: none !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.uwa-config-editor .config-workspace {
|
|
height: auto !important;
|
|
min-height: 520px;
|
|
padding: 0 20px 28px !important;
|
|
overflow: visible !important;
|
|
color: var(--uwa-ink);
|
|
background: var(--uwa-paper-strong) !important;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.uwa-config-editor .config-workspace > .space-y-4 > :not(.uwa-config-section-nav) {
|
|
margin-top: 0 !important;
|
|
}
|
|
|
|
.uwa-config-editor .config-workspace > .space-y-4 > .config-fixed-panel + .config-fixed-panel {
|
|
margin-top: 14px !important;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-card {
|
|
margin: 0 -20px !important;
|
|
padding: 11px 20px !important;
|
|
border: 0 !important;
|
|
border-bottom: 1px solid var(--uwa-line) !important;
|
|
border-radius: 0 !important;
|
|
background: rgba(247, 243, 234, .5) !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-toolbar {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 8px 18px !important;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
gap: 10px !important;
|
|
}
|
|
|
|
.config-preset-label {
|
|
color: var(--uwa-muted);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.config-preset-count {
|
|
color: var(--uwa-muted-soft);
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.config-preset-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
min-height: 24px;
|
|
padding: 0 10px;
|
|
border: 1px solid rgba(93, 107, 77, .22);
|
|
border-radius: 999px;
|
|
color: var(--uwa-olive-dark);
|
|
background: var(--uwa-leaf-soft);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
justify-content: flex-end;
|
|
flex-wrap: wrap;
|
|
gap: 7px !important;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-card select,
|
|
.uwa-config-editor .config-preset-card input {
|
|
height: 34px;
|
|
border-color: var(--uwa-line) !important;
|
|
border-radius: 6px !important;
|
|
color: var(--uwa-ink) !important;
|
|
background: var(--uwa-paper-strong) !important;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-card button {
|
|
min-height: 34px;
|
|
padding: 0 11px !important;
|
|
border-radius: 6px !important;
|
|
font-size: 12px !important;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
/* 预设栏统一按钮体系:中性描边 + 单一主按钮 */
|
|
.uwa-config-editor .config-preset-card .preset-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
min-height: 34px;
|
|
padding: 0 12px !important;
|
|
border: 1px solid var(--uwa-line) !important;
|
|
border-radius: 6px !important;
|
|
color: var(--uwa-ink) !important;
|
|
background: var(--uwa-paper-strong) !important;
|
|
font-size: 12px !important;
|
|
font-weight: 650;
|
|
white-space: nowrap;
|
|
transition: background-color .15s ease, border-color .15s ease;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-card .preset-btn:hover:not(:disabled) {
|
|
background: var(--uwa-paper-soft) !important;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-card .preset-btn:disabled {
|
|
cursor: not-allowed;
|
|
opacity: .45;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-card .preset-btn.is-primary {
|
|
color: #fff !important;
|
|
border-color: var(--uwa-olive) !important;
|
|
background: var(--uwa-olive) !important;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-card .preset-btn.is-primary:hover:not(:disabled) {
|
|
background: var(--uwa-olive-dark) !important;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-card .preset-btn svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.config-preset-actions .preset-inline-input {
|
|
width: 176px;
|
|
}
|
|
|
|
/* 低频操作:更多菜单 */
|
|
.preset-more {
|
|
position: relative;
|
|
}
|
|
|
|
.preset-more > summary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
border: 1px solid var(--uwa-line);
|
|
border-radius: 6px;
|
|
color: var(--uwa-muted);
|
|
background: var(--uwa-paper-strong);
|
|
cursor: pointer;
|
|
list-style: none;
|
|
transition: background-color .15s ease, color .15s ease;
|
|
}
|
|
|
|
.preset-more > summary::-webkit-details-marker { display: none; }
|
|
.preset-more > summary:hover { color: var(--uwa-ink); background: var(--uwa-paper-soft); }
|
|
.preset-more[open] > summary { color: var(--uwa-ink); border-color: #b9c9a8; background: var(--uwa-paper-soft); }
|
|
.preset-more > summary svg { width: 16px; height: 16px; }
|
|
|
|
.preset-more-pop {
|
|
position: absolute;
|
|
z-index: 30;
|
|
top: calc(100% + 8px);
|
|
right: 0;
|
|
min-width: 200px;
|
|
padding: 6px;
|
|
border: 1px solid var(--uwa-line);
|
|
border-radius: 8px;
|
|
background: var(--uwa-paper-strong);
|
|
box-shadow: 0 18px 42px rgba(47, 55, 39, .16);
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-card .preset-more-pop button {
|
|
display: flex;
|
|
width: 100%;
|
|
align-items: center;
|
|
gap: 9px;
|
|
min-height: 36px;
|
|
padding: 0 10px !important;
|
|
border: 0 !important;
|
|
border-radius: 6px !important;
|
|
color: var(--uwa-ink) !important;
|
|
background: transparent !important;
|
|
font-size: 12px !important;
|
|
font-weight: 550;
|
|
text-align: left;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-card .preset-more-pop button:hover:not(:disabled) {
|
|
background: var(--uwa-paper-soft) !important;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-card .preset-more-pop button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: .4;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-card .preset-more-pop button svg {
|
|
width: 15px;
|
|
height: 15px;
|
|
color: var(--uwa-muted);
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-card .preset-more-pop button.is-danger { color: #a8564a !important; }
|
|
.uwa-config-editor .config-preset-card .preset-more-pop button.is-danger svg { color: currentColor; }
|
|
|
|
.preset-more-sep {
|
|
height: 1px;
|
|
margin: 5px 4px;
|
|
border: 0;
|
|
background: var(--uwa-line-soft);
|
|
}
|
|
|
|
/* 说明文字:默认收起,点击展开 */
|
|
.uwa-config-editor .config-preset-card .preset-hint-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
min-height: 34px;
|
|
padding: 0 9px !important;
|
|
border: 0 !important;
|
|
border-radius: 6px !important;
|
|
color: var(--uwa-muted-soft) !important;
|
|
background: transparent !important;
|
|
font-size: 11px !important;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-card .preset-hint-toggle:hover {
|
|
color: var(--uwa-ink) !important;
|
|
background: var(--uwa-paper-soft) !important;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-card .preset-hint-toggle svg {
|
|
width: 13px;
|
|
height: 13px;
|
|
}
|
|
|
|
.uwa-config-editor .config-preset-card .config-preset-hint {
|
|
margin: 10px 0 2px !important;
|
|
padding: 10px 13px;
|
|
border: 1px dashed var(--uwa-line);
|
|
border-radius: 7px;
|
|
color: var(--uwa-muted) !important;
|
|
background: rgba(255, 253, 248, .72);
|
|
font-size: 11px !important;
|
|
font-weight: 400;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.uwa-config-section-nav {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
min-height: 0;
|
|
max-width: 100%;
|
|
margin: 16px 0 14px !important;
|
|
padding: 4px;
|
|
border: 1px solid var(--uwa-line);
|
|
border-radius: 9px;
|
|
background: rgba(241, 236, 223, .55);
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.uwa-config-section-nav button {
|
|
position: relative;
|
|
flex: 0 0 auto;
|
|
min-height: 34px;
|
|
padding: 0 14px;
|
|
border: 0;
|
|
border-radius: 6px !important;
|
|
color: var(--uwa-muted);
|
|
background: transparent;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
transition: color .15s ease, background-color .15s ease;
|
|
}
|
|
|
|
.uwa-config-section-nav button:hover {
|
|
color: var(--uwa-ink);
|
|
}
|
|
|
|
.uwa-config-section-nav button.is-active {
|
|
color: var(--uwa-ink-strong);
|
|
background: var(--uwa-paper-strong);
|
|
box-shadow: 0 1px 4px rgba(47, 55, 39, .12);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.uwa-config-editor .config-fixed-panel > div:first-child {
|
|
min-height: 50px;
|
|
padding: 11px 14px !important;
|
|
border-radius: 7px 7px 0 0;
|
|
cursor: default !important;
|
|
background: rgba(247, 243, 234, .38);
|
|
}
|
|
|
|
.uwa-config-editor .config-fixed-panel > div:first-child:hover {
|
|
background: rgba(247, 243, 234, .38) !important;
|
|
}
|
|
|
|
.uwa-config-editor .config-fixed-panel > div:first-child > div:first-child > span:first-child {
|
|
display: none !important;
|
|
}
|
|
|
|
.uwa-config-editor .config-fixed-panel > div:first-child h3 {
|
|
font-size: 14px !important;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.uwa-config-editor .config-fixed-panel > div:last-child {
|
|
max-height: none !important;
|
|
padding: 14px !important;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.uwa-config-editor .config-fixed-panel input,
|
|
.uwa-config-editor .config-fixed-panel select,
|
|
.uwa-config-editor .config-fixed-panel textarea,
|
|
.uwa-config-editor .config-fixed-panel button {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.uwa-config-editor .config-fixed-panel button.selector-add-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
min-height: 30px;
|
|
padding: 4px 10px;
|
|
border: 1px solid var(--uwa-line) !important;
|
|
border-radius: 6px;
|
|
color: var(--uwa-ink) !important;
|
|
background: var(--uwa-paper-strong) !important;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background-color .15s ease, border-color .15s ease;
|
|
}
|
|
|
|
.uwa-config-editor .config-fixed-panel button.selector-add-btn:hover {
|
|
background: var(--uwa-paper-soft) !important;
|
|
}
|
|
|
|
.uwa-config-editor .config-fixed-panel input,
|
|
.uwa-config-editor .config-fixed-panel select {
|
|
min-height: 36px;
|
|
}
|
|
|
|
.uwa-config-editor .config-fixed-panel .dashboard-guide-toggle {
|
|
min-height: 34px;
|
|
padding: 0 11px;
|
|
border-radius: 6px;
|
|
box-shadow: none;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.uwa-config-editor .config-workspace > .space-y-4 > :not(.config-preset-card):not(.uwa-config-section-nav):not([data-config-compare-root]) {
|
|
border-color: var(--uwa-line) !important;
|
|
border-radius: 7px !important;
|
|
background: var(--uwa-paper-strong) !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.uwa-config-empty {
|
|
display: grid;
|
|
min-height: 480px;
|
|
place-items: center;
|
|
align-content: center;
|
|
gap: 10px;
|
|
color: var(--uwa-muted-soft);
|
|
text-align: center;
|
|
}
|
|
|
|
.uwa-config-empty > span svg { width: 42px; height: 42px; }
|
|
.uwa-config-empty h2 { margin: 4px 0 0; color: var(--uwa-ink); font-size: 20px; }
|
|
.uwa-config-empty p { margin: 0 0 8px; font-size: 13px; }
|
|
|
|
.request-monitor-workspace {
|
|
min-height: 100% !important;
|
|
padding: 0 !important;
|
|
color: var(--uwa-ink-strong) !important;
|
|
background: var(--uwa-paper) !important;
|
|
}
|
|
|
|
.request-monitor-workspace > .mx-auto {
|
|
display: none !important;
|
|
}
|
|
|
|
.uwa-monitor-page {
|
|
padding-top: 32px;
|
|
}
|
|
|
|
.uwa-monitor-header {
|
|
min-height: 80px;
|
|
}
|
|
|
|
.uwa-analytics-toolbar {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
padding: 30px 0 20px;
|
|
}
|
|
|
|
.uwa-analytics-toolbar h2 {
|
|
margin: 0;
|
|
color: var(--uwa-ink-strong);
|
|
font-size: 24px;
|
|
line-height: 1.2;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.uwa-analytics-toolbar > div:first-child > p:last-child {
|
|
margin: 7px 0 0;
|
|
color: var(--uwa-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.uwa-token-kpis {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.uwa-token-kpis article {
|
|
display: flex;
|
|
min-width: 0;
|
|
min-height: 184px;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
padding: 22px;
|
|
border: 1px solid #c8d6ba;
|
|
border-radius: 8px;
|
|
background: #d4e4c1;
|
|
box-shadow: 0 10px 24px rgba(62, 74, 50, .07);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.uwa-token-kpis article.is-input { border-color: #d9cfbd; background: #e8e0d0; }
|
|
.uwa-token-kpis article.is-output { border-color: #e0d8c8; background: #f5f1e8; }
|
|
.uwa-token-kpis article.is-calls { border-color: #a9bd97; background: #d4e4c1; }
|
|
.uwa-token-kpis small { display: block; margin-top: 18px; color: var(--uwa-muted); font-size: 11px; text-transform: uppercase; }
|
|
.uwa-token-kpis strong { display: block; margin-top: 8px; overflow: hidden; color: var(--uwa-ink-strong); text-overflow: ellipsis; white-space: nowrap; font-size: 29px; line-height: 1; font-weight: 800; }
|
|
.uwa-token-kpis p { margin: 9px 0 0; color: var(--uwa-muted-soft); font-size: 10px; }
|
|
|
|
.uwa-token-kpi-icon {
|
|
display: grid;
|
|
flex: 0 0 42px;
|
|
width: 42px;
|
|
height: 42px;
|
|
place-items: center;
|
|
border-radius: 8px;
|
|
color: #fff;
|
|
background: #5d6b4d;
|
|
transform: rotate(5deg);
|
|
}
|
|
|
|
.uwa-token-kpis article.is-input .uwa-token-kpi-icon { background: #6f8a5b; }
|
|
.uwa-token-kpis article.is-output .uwa-token-kpi-icon { background: #b18f5e; }
|
|
.uwa-token-kpis article.is-calls .uwa-token-kpi-icon { background: #3e4a32; }
|
|
.uwa-token-kpi-icon svg { width: 20px; height: 20px; }
|
|
|
|
.uwa-hourly-panel,
|
|
.uwa-daily-token-panel,
|
|
.uwa-model-usage-panel {
|
|
min-width: 0;
|
|
border: 1px solid var(--uwa-line);
|
|
border-radius: 8px;
|
|
background: var(--uwa-paper-strong);
|
|
}
|
|
|
|
.uwa-hourly-panel {
|
|
min-height: 330px;
|
|
padding: 24px 26px 18px;
|
|
}
|
|
|
|
.uwa-token-analysis-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
|
|
gap: 16px;
|
|
margin-top: 16px;
|
|
padding-bottom: 24px;
|
|
border-bottom: 1px solid var(--uwa-line);
|
|
}
|
|
|
|
.uwa-daily-token-panel,
|
|
.uwa-model-usage-panel { min-height: 350px; padding: 24px 26px; }
|
|
|
|
.uwa-token-legend {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 14px;
|
|
color: var(--uwa-muted);
|
|
font-size: 10px;
|
|
}
|
|
|
|
.uwa-token-legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
|
|
.uwa-token-legend i { width: 8px; height: 8px; border-radius: 2px; background: #3e4a32; }
|
|
.uwa-token-legend i.is-input { background: #9bb48b; }
|
|
.uwa-token-legend i.is-output { background: #d9a26f; }
|
|
|
|
.uwa-token-line-chart,
|
|
.uwa-daily-token-chart {
|
|
position: relative;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.uwa-token-line-chart svg,
|
|
.uwa-daily-token-chart svg {
|
|
display: block;
|
|
overflow: visible;
|
|
width: 100%;
|
|
height: 210px;
|
|
shape-rendering: geometricPrecision;
|
|
}
|
|
.uwa-token-line-chart line,
|
|
.uwa-daily-token-chart line {
|
|
stroke: var(--uwa-line-soft);
|
|
stroke-width: 1;
|
|
vector-effect: non-scaling-stroke;
|
|
}
|
|
.uwa-token-line-chart path,
|
|
.uwa-daily-token-chart path {
|
|
fill: none;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
vector-effect: non-scaling-stroke;
|
|
}
|
|
.uwa-token-line-chart path.is-input { stroke: #5d6b4d; stroke-width: 4; }
|
|
.uwa-token-line-chart path.is-output { stroke: #d9a26f; stroke-width: 3; }
|
|
.uwa-daily-token-chart rect {
|
|
shape-rendering: geometricPrecision;
|
|
}
|
|
.uwa-daily-token-chart rect.is-input { fill: #9bb48b; }
|
|
.uwa-daily-token-chart rect.is-output { fill: #d9a26f; }
|
|
.uwa-daily-token-chart path { stroke: #3e4a32; stroke-width: 3; }
|
|
|
|
.uwa-chart-y-axis,
|
|
.uwa-chart-value-labels {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
height: 210px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.uwa-chart-y-axis span,
|
|
.uwa-chart-value-labels span {
|
|
position: absolute;
|
|
z-index: 1;
|
|
font-family: Consolas, monospace;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.uwa-chart-y-axis span {
|
|
color: var(--uwa-muted-soft);
|
|
font-size: 9px;
|
|
transform: translate(-100%, -50%);
|
|
}
|
|
|
|
.uwa-chart-value-labels span {
|
|
padding: 2px 6px;
|
|
border: 1px solid color-mix(in srgb, var(--uwa-line) 72%, transparent);
|
|
border-radius: 4px;
|
|
background: color-mix(in srgb, var(--uwa-panel) 88%, transparent);
|
|
color: var(--uwa-ink-strong);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
transform: translate(-50%, -100%);
|
|
}
|
|
|
|
.uwa-chart-axis {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding-left: 7.75%;
|
|
padding-right: 2.5%;
|
|
color: var(--uwa-muted-soft);
|
|
font-family: Consolas, monospace;
|
|
font-size: 9px;
|
|
}
|
|
|
|
.uwa-model-usage-body { display: grid; gap: 18px; margin-top: 18px; }
|
|
.uwa-model-donut { position: relative; width: 174px; height: 174px; margin: 0 auto; }
|
|
.uwa-model-donut svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
|
|
.uwa-model-donut circle { fill: none; stroke-width: 18; }
|
|
.uwa-donut-track { stroke: #ece8de; }
|
|
.uwa-donut-segment { stroke-linecap: butt; }
|
|
.uwa-model-donut > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
|
|
.uwa-model-donut strong { color: var(--uwa-ink-strong); font-size: 17px; }
|
|
.uwa-model-donut span { margin-top: 3px; color: var(--uwa-muted-soft); font-size: 9px; }
|
|
|
|
.uwa-model-usage-list { display: grid; gap: 10px; }
|
|
.uwa-model-usage-list > div { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
|
|
.uwa-model-usage-list i { width: 7px; height: 7px; border-radius: 50%; }
|
|
.uwa-model-usage-list strong { overflow: hidden; color: var(--uwa-muted); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
|
|
.uwa-model-usage-list span { color: var(--uwa-muted-soft); font-size: 9px; }
|
|
.uwa-model-usage-list b { grid-column: 2 / -1; display: block; height: 4px; border-radius: 2px; background: #ece8de; overflow: hidden; }
|
|
.uwa-model-usage-list em { display: block; height: 100%; border-radius: inherit; }
|
|
.uwa-analytics-empty { display: grid; min-height: 250px; place-items: center; color: var(--uwa-muted-soft); font-size: 12px; }
|
|
|
|
.uwa-system-load-panel {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
gap: 20px;
|
|
padding: 18px 0;
|
|
border-bottom: 1px solid var(--uwa-line);
|
|
}
|
|
|
|
.uwa-system-load-panel > div {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.uwa-system-load-panel span { color: var(--uwa-muted-soft); font-size: 11px; }
|
|
.uwa-system-load-panel strong { overflow: hidden; color: var(--uwa-ink); text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
|
|
.uwa-system-load-panel i { grid-column: 1 / -1; height: 3px; border-radius: 2px; background: #e7e1d5; overflow: hidden; }
|
|
.uwa-system-load-panel b { display: block; height: 100%; border-radius: inherit; background: var(--uwa-olive); }
|
|
|
|
.uwa-inline-error {
|
|
margin-top: 16px;
|
|
padding: 11px 14px;
|
|
border: 1px solid #ddb9ae;
|
|
border-radius: 7px;
|
|
color: #8d4e42;
|
|
background: #f7e8e3;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.uwa-monitor-kpis {
|
|
display: grid;
|
|
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
min-height: 112px;
|
|
border-bottom: 1px solid var(--uwa-line);
|
|
}
|
|
|
|
.uwa-monitor-kpis > div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
padding: 18px 36px;
|
|
border-right: 1px solid var(--uwa-line-soft);
|
|
}
|
|
|
|
.uwa-monitor-kpis > div:first-child { padding-left: 0; }
|
|
.uwa-monitor-kpis > div:last-child { border-right: 0; }
|
|
.uwa-monitor-kpis span { color: var(--uwa-muted-soft); font-size: 12px; }
|
|
.uwa-monitor-kpis strong { margin-top: 8px; color: var(--uwa-ink-strong); font-size: 26px; line-height: 1; font-weight: 800; }
|
|
.uwa-monitor-kpis small { margin-top: 8px; overflow: hidden; color: var(--uwa-muted-soft); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
|
|
|
|
.uwa-monitor-overview {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 2.35fr) minmax(250px, 1fr);
|
|
min-height: 344px;
|
|
border-bottom: 1px solid var(--uwa-line);
|
|
}
|
|
|
|
.uwa-trend-panel,
|
|
.uwa-domain-ranking {
|
|
min-width: 0;
|
|
padding: 24px 26px 22px 0;
|
|
}
|
|
|
|
.uwa-domain-ranking {
|
|
padding-left: 26px;
|
|
padding-right: 0;
|
|
border-left: 1px solid var(--uwa-line-soft);
|
|
}
|
|
|
|
.uwa-panel-heading {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
}
|
|
|
|
.uwa-panel-heading h2 {
|
|
margin: 0;
|
|
color: var(--uwa-ink-strong);
|
|
font-size: 16px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.uwa-panel-heading h2 strong { margin-left: 8px; font-size: 22px; }
|
|
.uwa-panel-heading h2 span { margin-left: 3px; color: var(--uwa-muted-soft); font-size: 11px; font-weight: 500; }
|
|
.uwa-panel-heading p { margin: 5px 0 0; color: var(--uwa-muted-soft); font-size: 11px; }
|
|
|
|
.uwa-ranking-tabs {
|
|
display: inline-flex;
|
|
gap: 2px;
|
|
padding: 2px;
|
|
border: 1px solid var(--uwa-line);
|
|
border-radius: 6px;
|
|
background: rgba(255, 253, 248, .72);
|
|
}
|
|
|
|
.uwa-ranking-tabs button { min-height: 27px; padding: 0 9px; border: 0; border-radius: 4px; color: var(--uwa-muted); background: transparent; font-size: 10px; }
|
|
.uwa-ranking-tabs button.is-active { color: #fff; background: var(--uwa-olive); font-weight: 700; }
|
|
|
|
.uwa-segmented {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 38px;
|
|
padding: 3px;
|
|
border: 1px solid var(--uwa-line);
|
|
border-radius: 7px;
|
|
background: rgba(255, 253, 248, .72);
|
|
}
|
|
|
|
.uwa-segmented button {
|
|
min-height: 30px;
|
|
padding: 0 13px;
|
|
border: 0;
|
|
border-radius: 5px;
|
|
color: var(--uwa-muted);
|
|
background: transparent;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.uwa-segmented button.is-active {
|
|
color: #fff;
|
|
background: var(--uwa-olive);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.uwa-trend-chart {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.uwa-trend-chart svg {
|
|
display: block;
|
|
width: 100%;
|
|
height: 210px;
|
|
overflow: visible;
|
|
}
|
|
|
|
.uwa-trend-chart line {
|
|
stroke: var(--uwa-line-soft);
|
|
stroke-width: 1;
|
|
}
|
|
|
|
.uwa-trend-chart polygon {
|
|
fill: rgba(111, 132, 93, .13);
|
|
}
|
|
|
|
.uwa-trend-chart polyline {
|
|
fill: none;
|
|
stroke: var(--uwa-olive);
|
|
stroke-width: 4;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.uwa-trend-chart circle {
|
|
fill: var(--uwa-paper-strong);
|
|
stroke: var(--uwa-olive);
|
|
stroke-width: 3;
|
|
}
|
|
|
|
.uwa-trend-labels {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: var(--uwa-muted-soft);
|
|
font-family: Consolas, monospace;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.uwa-trend-health-legend {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-top: 17px;
|
|
color: var(--uwa-muted);
|
|
font-size: 10px;
|
|
}
|
|
|
|
.uwa-trend-health-legend span { display: inline-flex; align-items: center; gap: 6px; }
|
|
.uwa-trend-health-legend i { width: 7px; height: 7px; border-radius: 2px; background: #d8d4c9; }
|
|
.uwa-trend-health-legend i.is-success { background: #79aa77; }
|
|
.uwa-trend-health-legend i.is-failed { background: var(--uwa-clay); }
|
|
|
|
.uwa-trend-health {
|
|
display: grid;
|
|
grid-template-columns: repeat(10, minmax(8px, 1fr));
|
|
gap: 5px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.uwa-trend-health > div { display: flex; height: 8px; border-radius: 2px; background: var(--uwa-clay); overflow: hidden; }
|
|
.uwa-trend-health > div.is-idle { background: #ddd8cc; }
|
|
.uwa-trend-health > div i { display: block; height: 100%; }
|
|
.uwa-trend-health > div i.is-success { flex: none; background: #79aa77; }
|
|
.uwa-trend-health > div i.is-failed { flex: 1; background: var(--uwa-clay); }
|
|
|
|
.uwa-domain-list {
|
|
display: grid;
|
|
gap: 17px;
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.uwa-domain-row {
|
|
display: grid;
|
|
grid-template-columns: 36px minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.uwa-domain-avatar {
|
|
display: grid;
|
|
width: 36px;
|
|
height: 36px;
|
|
place-items: center;
|
|
border-radius: 7px;
|
|
color: #fff;
|
|
background: var(--uwa-olive);
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.uwa-domain-row:nth-child(3n + 2) .uwa-domain-avatar { background: var(--uwa-clay); }
|
|
.uwa-domain-row:nth-child(3n) .uwa-domain-avatar { background: var(--uwa-blue); }
|
|
.uwa-domain-row > div { min-width: 0; }
|
|
.uwa-domain-row strong { display: block; overflow: hidden; color: var(--uwa-ink); text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
|
|
.uwa-domain-row small { display: block; margin-top: 3px; overflow: hidden; color: var(--uwa-muted-soft); text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
|
|
.uwa-domain-row > span:last-child { color: var(--uwa-muted); font-size: 12px; }
|
|
.uwa-domain-row i { display: block; height: 7px; margin-top: 7px; border-radius: 2px; background: #e7e1d6; overflow: hidden; }
|
|
.uwa-domain-row b { display: block; height: 100%; border-radius: inherit; background: var(--uwa-olive); }
|
|
.uwa-domain-empty { padding: 80px 0; color: var(--uwa-muted-soft); text-align: center; font-size: 12px; }
|
|
|
|
.uwa-request-filters {
|
|
display: grid;
|
|
grid-template-columns: minmax(280px, 1fr) auto auto;
|
|
align-items: center;
|
|
gap: 14px;
|
|
min-height: 72px;
|
|
}
|
|
|
|
.uwa-request-filters .uwa-search-field {
|
|
height: 38px;
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.uwa-request-filters .uwa-search-field input {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.uwa-request-filters .uwa-segmented {
|
|
min-height: 36px;
|
|
}
|
|
|
|
.uwa-request-filters .uwa-segmented button {
|
|
min-height: 28px;
|
|
padding: 0 11px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.uwa-request-filters .uwa-filter-toggle {
|
|
white-space: nowrap;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.tab-card-side {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.tab-card-side .model-name-control,
|
|
.tab-card-side .tab-preset-control select {
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.tab-card-side .model-name-control strong,
|
|
.tab-card-side .tab-preset-control select,
|
|
.tab-card-side .tab-single-preset strong {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.tab-card-side .tab-preset-control select {
|
|
height: 32px;
|
|
padding-right: 24px;
|
|
}
|
|
|
|
.tab-card-side .tab-card-actions button {
|
|
min-height: 28px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.uwa-status-tabs { justify-self: start; }
|
|
|
|
.uwa-filter-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
color: var(--uwa-muted);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.uwa-filter-toggle input { position: absolute; opacity: 0; }
|
|
.uwa-filter-toggle i { position: relative; width: 34px; height: 20px; border-radius: 12px; background: #d8d4c9; }
|
|
.uwa-filter-toggle i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
|
|
.uwa-filter-toggle input:checked + i { background: var(--uwa-olive); }
|
|
.uwa-filter-toggle input:checked + i::after { transform: translateX(14px); }
|
|
|
|
.uwa-request-table-wrap {
|
|
border: 1px solid var(--uwa-line);
|
|
border-radius: 8px;
|
|
background: rgba(255, 253, 248, .64);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.uwa-request-table-header,
|
|
.uwa-request-row {
|
|
display: grid;
|
|
grid-template-columns: 130px minmax(210px, 1.5fr) minmax(150px, 1fr) 140px 90px 90px 20px;
|
|
align-items: center;
|
|
gap: 18px;
|
|
}
|
|
|
|
.uwa-request-table-header {
|
|
min-height: 50px;
|
|
padding: 0 20px;
|
|
border-bottom: 1px solid var(--uwa-line);
|
|
color: var(--uwa-muted-soft);
|
|
background: rgba(241, 236, 223, .58);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.uwa-request-row {
|
|
width: 100%;
|
|
min-height: 76px;
|
|
padding: 12px 20px;
|
|
border: 0;
|
|
border-bottom: 1px solid var(--uwa-line-soft);
|
|
color: var(--uwa-muted);
|
|
background: transparent;
|
|
text-align: left;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.uwa-request-row:last-of-type { border-bottom: 0; }
|
|
.uwa-request-row:hover { background: rgba(220, 232, 201, .32); }
|
|
.uwa-request-status { display: flex; align-items: center; gap: 8px; color: var(--uwa-ink); }
|
|
.uwa-request-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--uwa-clay); }
|
|
.uwa-request-status.success i { background: #79aa77; }
|
|
.uwa-request-status.failed i { background: var(--uwa-clay); }
|
|
.uwa-request-status strong { font-size: 12px; }
|
|
.uwa-request-route { min-width: 0; }
|
|
.uwa-request-route strong,
|
|
.uwa-request-route small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.uwa-request-route strong { color: var(--uwa-ink-strong); font-size: 14px; }
|
|
.uwa-request-route small { margin-top: 4px; color: var(--uwa-muted-soft); font-size: 10px; }
|
|
.uwa-request-row code { overflow: hidden; color: var(--uwa-muted); text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
|
|
.uwa-request-row > strong { color: var(--uwa-ink-strong); font-size: 13px; }
|
|
.uwa-request-row time { color: var(--uwa-muted); }
|
|
.uwa-row-arrow { color: var(--uwa-olive); }
|
|
.uwa-row-arrow svg { width: 16px; height: 16px; }
|
|
.uwa-request-empty { padding: 54px 20px; color: var(--uwa-muted-soft); text-align: center; font-size: 13px; }
|
|
.uwa-load-more { width: 100%; min-height: 42px; border: 0; border-top: 1px solid var(--uwa-line); color: var(--uwa-olive); background: var(--uwa-paper-soft); font-size: 12px; font-weight: 700; }
|
|
|
|
.uwa-pagination {
|
|
display: flex;
|
|
min-height: 58px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 10px 16px;
|
|
border-top: 1px solid var(--uwa-line);
|
|
color: var(--uwa-muted-soft);
|
|
background: var(--uwa-paper-soft);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.uwa-pagination > div { display: flex; align-items: center; gap: 5px; }
|
|
.uwa-page-button { display: inline-grid; width: 32px; height: 32px; place-items: center; border: 1px solid transparent; border-radius: 6px; color: var(--uwa-muted); background: transparent; font-size: 11px; font-weight: 700; }
|
|
.uwa-page-button:hover:not(:disabled) { border-color: var(--uwa-line); background: var(--uwa-paper-strong); }
|
|
.uwa-page-button.is-active { color: #fff; background: var(--uwa-olive); }
|
|
.uwa-page-button:disabled { opacity: .35; cursor: not-allowed; }
|
|
.uwa-page-button span { display: inline-flex; }
|
|
.uwa-page-button svg { width: 14px; height: 14px; }
|
|
.uwa-page-button.is-prev svg { transform: rotate(180deg); }
|
|
.uwa-page-ellipsis { display: inline-grid; width: 24px; place-items: center; color: var(--uwa-muted-soft); }
|
|
|
|
.uwa-component-page {
|
|
width: min(100%, var(--uwa-content-max));
|
|
min-height: 100%;
|
|
margin: 0 auto;
|
|
padding: 32px 46px 64px;
|
|
}
|
|
|
|
.uwa-simple-page {
|
|
padding-top: 32px;
|
|
}
|
|
|
|
.uwa-simple-page .logs-workspace,
|
|
.uwa-simple-page .settings-workspace {
|
|
max-width: none !important;
|
|
height: auto !important;
|
|
margin: 24px 0 0 !important;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.uwa-simple-page .settings-workspace > div {
|
|
max-width: none !important;
|
|
}
|
|
|
|
.uwa-simple-page .logs-workspace {
|
|
min-height: calc(100vh - 230px);
|
|
border: 1px solid var(--uwa-line);
|
|
border-radius: 8px;
|
|
background: var(--uwa-paper-strong) !important;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.uwa-simple-page .logs-workspace > div:first-child {
|
|
border-color: var(--uwa-line) !important;
|
|
background: rgba(241, 236, 223, .58) !important;
|
|
}
|
|
|
|
.uwa-simple-page .logs-workspace button,
|
|
.uwa-simple-page .settings-workspace button {
|
|
border-radius: 6px !important;
|
|
}
|
|
|
|
.uwa-simple-page .settings-workspace .rounded-xl,
|
|
.uwa-simple-page .settings-workspace .rounded-2xl,
|
|
.uwa-simple-page .settings-workspace .rounded-lg {
|
|
border-radius: 7px !important;
|
|
}
|
|
|
|
.uwa-commands-page .command-system-page {
|
|
max-width: none !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.uwa-commands-page .command-system-page > div:first-child {
|
|
min-height: 106px;
|
|
padding: 0 0 24px !important;
|
|
border: 0 !important;
|
|
border-bottom: 1px solid var(--uwa-line) !important;
|
|
border-radius: 0 !important;
|
|
background: transparent !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.uwa-commands-page .command-system-page > div:first-child h2 {
|
|
color: var(--uwa-ink-strong) !important;
|
|
font-size: 30px !important;
|
|
font-weight: 800 !important;
|
|
}
|
|
|
|
.uwa-commands-page .command-system-page > div:first-child p {
|
|
color: var(--uwa-muted) !important;
|
|
font-size: 14px !important;
|
|
}
|
|
|
|
.uwa-commands-page .command-system-page > div:first-child button {
|
|
border-radius: 7px !important;
|
|
}
|
|
|
|
@media (max-width: 1180px) {
|
|
:root { --uwa-sidebar-width: 242px; }
|
|
.uwa-home-view,
|
|
.uwa-page { padding-left: 30px; padding-right: 30px; }
|
|
.uwa-hero-band { grid-template-columns: minmax(0, 1fr) 250px; }
|
|
.uwa-hero-art { transform: scale(.78); transform-origin: right center; }
|
|
.uwa-action-grid { gap: 16px; }
|
|
.uwa-action-card { padding: 22px; }
|
|
.uwa-editor-heading { align-items: flex-start; flex-direction: column; }
|
|
.uwa-editor-actions { width: 100%; flex-wrap: wrap; }
|
|
.uwa-token-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.uwa-token-analysis-grid { grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); }
|
|
.uwa-monitor-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
.uwa-monitor-kpis > div { border-bottom: 1px solid var(--uwa-line-soft); }
|
|
.uwa-monitor-kpis > div:nth-child(3n) { border-right: 0; }
|
|
.uwa-request-table-header,
|
|
.uwa-request-row { grid-template-columns: 115px minmax(180px, 1.3fr) minmax(120px, 1fr) 115px 72px 78px 18px; gap: 12px; }
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.app-nav-collapse {
|
|
display: none !important;
|
|
}
|
|
|
|
.app-brand-copy {
|
|
padding-right: 0;
|
|
}
|
|
|
|
.app-sidebar.is-collapsed .app-auth-row {
|
|
display: flex;
|
|
}
|
|
|
|
.mobile-app-header {
|
|
position: relative;
|
|
z-index: 30;
|
|
display: flex !important;
|
|
min-height: 66px !important;
|
|
flex: 0 0 66px;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 14px;
|
|
padding: 0 18px !important;
|
|
border-bottom: 1px solid var(--uwa-line) !important;
|
|
background: var(--uwa-paper-strong) !important;
|
|
}
|
|
.mobile-app-header > button:first-child {
|
|
flex: 0 0 42px;
|
|
width: 42px !important;
|
|
height: 42px !important;
|
|
border-radius: 8px !important;
|
|
color: var(--uwa-olive) !important;
|
|
background: var(--uwa-paper-soft) !important;
|
|
}
|
|
.mobile-app-header > div {
|
|
justify-content: flex-start !important;
|
|
margin-right: auto;
|
|
}
|
|
.mobile-app-header strong {
|
|
color: var(--uwa-ink-strong) !important;
|
|
font-size: 18px !important;
|
|
font-weight: 800;
|
|
}
|
|
.mobile-app-header > button:last-child {
|
|
display: inline-flex;
|
|
width: auto !important;
|
|
height: 38px !important;
|
|
gap: 7px;
|
|
padding: 0 8px !important;
|
|
color: var(--uwa-muted) !important;
|
|
font-size: 12px;
|
|
}
|
|
.mobile-service-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--uwa-clay); }
|
|
.mobile-service-dot.is-online { background: #79aa77; }
|
|
.app-sidebar-layer { position: fixed !important; inset: 0 !important; width: auto !important; flex-basis: auto !important; }
|
|
.app-sidebar { width: min(360px, calc(100vw - 28px)) !important; min-width: min(360px, calc(100vw - 28px)) !important; padding: 24px 20px !important; background: var(--uwa-paper-strong) !important; }
|
|
.app-sidebar-scrim { backdrop-filter: blur(3px); }
|
|
.app-primary-nav { margin-top: 36px !important; }
|
|
.dashboard-scroll-region { padding-top: 0; }
|
|
.uwa-home-view,
|
|
.uwa-page,
|
|
.uwa-component-page { width: 100%; padding: 28px 20px 48px; }
|
|
.uwa-hero-band { display: block; min-height: 0; padding-bottom: 30px; }
|
|
.uwa-hero-art { display: none; }
|
|
.uwa-hero-copy h1 { margin-top: 20px; font-size: 36px; }
|
|
.uwa-hero-copy p { font-size: 15px; }
|
|
.uwa-health-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.uwa-health-item { padding: 18px 12px; border-bottom: 1px solid var(--uwa-line-soft); }
|
|
.uwa-health-item:nth-child(2) { border-right: 0; }
|
|
.uwa-action-grid { grid-template-columns: 1fr; }
|
|
.uwa-action-card { min-height: 330px; }
|
|
.uwa-page-header { min-height: 0; flex-direction: column; }
|
|
.uwa-config-page .uwa-page-header { align-items: stretch; }
|
|
.uwa-page-actions { width: 100%; flex-wrap: wrap; }
|
|
.uwa-page-actions .uwa-button, .uwa-page-actions .uwa-dropdown { flex: 1; }
|
|
.uwa-page-actions .uwa-dropdown .uwa-button { width: 100%; justify-content: center; }
|
|
.uwa-config-toolbar { align-items: stretch; flex-direction: column; gap: 10px; padding: 14px 0 0; }
|
|
.uwa-config-editor .config-preset-toolbar { flex-direction: column; align-items: stretch !important; }
|
|
.uwa-config-editor .config-preset-actions { justify-content: flex-start; }
|
|
.uwa-config-section-nav { display: flex; width: 100%; }
|
|
.uwa-config-search { width: 100%; }
|
|
.uwa-config-search-pop { width: 100%; }
|
|
.uwa-search-field { width: 100%; }
|
|
.uwa-config-toolbar-meta { justify-content: space-between; flex-wrap: wrap; }
|
|
.preset-more-pop { right: auto; left: 0; }
|
|
.uwa-config-workspace { display: block; min-height: 0; margin-top: 16px; overflow: visible; }
|
|
.uwa-site-rail { border-right: 0; border-bottom: 1px solid var(--uwa-line); }
|
|
.uwa-rail-list { display: flex; gap: 8px; overflow-x: auto; padding: 0 10px 12px; }
|
|
.uwa-rail-site { flex: 0 0 210px; }
|
|
.uwa-site-inline-actions { display: flex; }
|
|
.uwa-editor-heading { padding: 16px; }
|
|
.uwa-editor-actions .uwa-button { flex: 1; }
|
|
.uwa-site-switcher { width: 100%; }
|
|
.uwa-site-switcher-popover { position: fixed; top: 78px; right: 16px; left: 16px; width: auto; max-height: calc(100vh - 98px); }
|
|
.uwa-analytics-toolbar { align-items: flex-start; flex-direction: column; }
|
|
.uwa-token-analysis-grid { grid-template-columns: 1fr; }
|
|
.uwa-system-load-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.uwa-monitor-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.uwa-monitor-kpis > div:nth-child(3n) { border-right: 1px solid var(--uwa-line-soft); }
|
|
.uwa-monitor-kpis > div:nth-child(even) { border-right: 0; }
|
|
.uwa-monitor-kpis > div { border-bottom: 1px solid var(--uwa-line-soft); padding-left: 14px; }
|
|
.uwa-monitor-kpis > div:first-child { padding-left: 14px; }
|
|
.uwa-monitor-overview { grid-template-columns: 1fr; }
|
|
.uwa-trend-panel { padding-right: 0; }
|
|
.uwa-domain-ranking { padding-left: 0; padding-bottom: 26px; border-left: 0; border-top: 1px solid var(--uwa-line); }
|
|
.uwa-domain-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.uwa-request-filters { grid-template-columns: 1fr; gap: 12px; padding: 18px 0; }
|
|
.uwa-status-tabs { max-width: 100%; overflow-x: auto; }
|
|
.uwa-request-table-header { display: none; }
|
|
.uwa-request-table-wrap { display: grid; gap: 10px; border: 0; background: transparent; overflow: visible; }
|
|
.uwa-request-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; min-height: 0; padding: 16px; border: 1px solid var(--uwa-line); border-radius: 7px; background: var(--uwa-paper-strong); }
|
|
.uwa-request-status { grid-column: 1; }
|
|
.uwa-request-route { grid-column: 1 / -1; grid-row: 2; }
|
|
.uwa-request-row code { grid-column: 1 / -1; grid-row: 3; }
|
|
.uwa-request-row > span:nth-of-type(3) { grid-column: 1; grid-row: 4; }
|
|
.uwa-request-row > strong { grid-column: 2; grid-row: 1; text-align: right; }
|
|
.uwa-request-row time { grid-column: 2; grid-row: 4; text-align: right; }
|
|
.uwa-row-arrow { display: none; }
|
|
.uwa-pagination { align-items: flex-start; flex-direction: column; border: 1px solid var(--uwa-line); border-radius: 7px; }
|
|
.uwa-pagination > div { max-width: 100%; overflow-x: auto; }
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.uwa-home-view,
|
|
.uwa-page { padding-left: 16px; padding-right: 16px; }
|
|
.uwa-ready-label { min-height: 34px; padding: 0 12px; }
|
|
.uwa-hero-copy h1 { font-size: 32px; }
|
|
.uwa-health-strip { grid-template-columns: 1fr; }
|
|
.uwa-health-item { border-right: 0; }
|
|
.uwa-health-item:first-child { padding-left: 12px; }
|
|
.uwa-section-heading { align-items: flex-start; flex-direction: column; }
|
|
.uwa-action-card { padding: 20px; }
|
|
.uwa-activity-band { align-items: flex-start; flex-direction: column; }
|
|
.uwa-page-actions .uwa-button, .uwa-page-actions .uwa-dropdown { flex-basis: calc(50% - 6px); }
|
|
.uwa-config-editor .config-preset-meta { flex-wrap: wrap; }
|
|
.uwa-config-editor .config-preset-card button { min-height: 36px; }
|
|
.config-preset-actions .preset-inline-input { width: 100%; }
|
|
.uwa-editor-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.uwa-switch-label { grid-column: 1 / -1; }
|
|
.uwa-site-switcher-list { grid-template-columns: 1fr; }
|
|
.uwa-token-kpis { grid-template-columns: 1fr; }
|
|
.uwa-analytics-toolbar .uwa-segmented { width: 100%; }
|
|
.uwa-analytics-toolbar .uwa-segmented button { flex: 1; }
|
|
.uwa-hourly-panel,
|
|
.uwa-daily-token-panel,
|
|
.uwa-model-usage-panel { padding: 20px 14px; }
|
|
.uwa-token-line-chart svg,
|
|
.uwa-daily-token-chart svg { height: 170px; }
|
|
.uwa-token-legend { justify-content: flex-start; flex-wrap: wrap; }
|
|
.uwa-system-load-panel { grid-template-columns: 1fr; }
|
|
.uwa-monitor-kpis strong { font-size: 22px; }
|
|
.uwa-panel-heading { align-items: flex-start; flex-direction: column; }
|
|
.uwa-trend-chart svg { height: 170px; }
|
|
.uwa-domain-list { grid-template-columns: 1fr; }
|
|
.uwa-status-tabs { width: 100%; }
|
|
.uwa-status-tabs button { flex: 1; padding: 0 8px; }
|
|
}
|
|
|
|
/* ============================================================================
|
|
请求工作流面板(WorkflowPanel)—— 对齐 uwa 参考主题
|
|
结构钩子:.uwa-workflow-panel(组件根)、.uwa-wf-hint.is-*(只读提示语气)、
|
|
.uwa-wf-note(页面直发说明框)。夜间取值见 dashboard-dark.css。
|
|
========================================================================== */
|
|
|
|
/* --- 头部操作按钮:延续预设栏“中性描边 + 单一主按钮”体系 --- */
|
|
.uwa-workflow-panel > div:first-child .flex.gap-2 button {
|
|
min-height: 34px;
|
|
padding: 0 12px !important;
|
|
border: 1px solid var(--uwa-line) !important;
|
|
border-radius: 6px !important;
|
|
color: var(--uwa-ink) !important;
|
|
background: var(--uwa-paper-strong) !important;
|
|
font-size: 12px !important;
|
|
font-weight: 650;
|
|
white-space: nowrap;
|
|
transition: background-color .15s ease, border-color .15s ease;
|
|
}
|
|
|
|
.uwa-workflow-panel > div:first-child .flex.gap-2 button:hover:not(:disabled) {
|
|
background: var(--uwa-paper-soft) !important;
|
|
}
|
|
|
|
.uwa-workflow-panel > div:first-child .flex.gap-2 button:disabled {
|
|
cursor: wait;
|
|
opacity: .45;
|
|
}
|
|
|
|
.uwa-workflow-panel > div:first-child .flex.gap-2 button svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
/* 主按钮:新增步骤(模板里带 bg-blue-500 钩子) */
|
|
.uwa-workflow-panel > div:first-child .flex.gap-2 button.bg-blue-500 {
|
|
color: #fff !important;
|
|
border-color: var(--uwa-olive) !important;
|
|
background: var(--uwa-olive) !important;
|
|
}
|
|
|
|
.uwa-workflow-panel > div:first-child .flex.gap-2 button.bg-blue-500:hover:not(:disabled) {
|
|
background: var(--uwa-olive-dark) !important;
|
|
}
|
|
|
|
/* --- 步骤卡片:暖白卡面 + 主题描边,悬停转橄榄 --- */
|
|
.uwa-workflow-panel > div:last-child > div.rounded-lg {
|
|
border: 1px solid var(--uwa-line) !important;
|
|
border-radius: 7px !important;
|
|
background: var(--uwa-paper-strong) !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.uwa-workflow-panel > div:last-child > div.rounded-lg:not(.uwa-wf-hint):hover {
|
|
border-color: #b9c9a8 !important;
|
|
}
|
|
|
|
/* 步骤序号徽标 */
|
|
.uwa-workflow-panel span.rounded-full {
|
|
color: var(--uwa-olive-dark) !important;
|
|
background: var(--uwa-leaf-soft) !important;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* 排序箭头 / 执行设置齿轮:悬停由蓝转橄榄 */
|
|
.uwa-workflow-panel button[class*="hover:bg-blue"]:hover:not(:disabled) {
|
|
color: var(--uwa-olive-dark) !important;
|
|
background: var(--uwa-paper-soft) !important;
|
|
}
|
|
|
|
.uwa-workflow-panel button.bg-blue-100 {
|
|
color: var(--uwa-olive-dark) !important;
|
|
background: var(--uwa-leaf-soft) !important;
|
|
}
|
|
|
|
/* 删除类操作:统一到主题的陶土红 */
|
|
.uwa-workflow-panel button[class*="hover:text-red"]:hover {
|
|
color: #a8564a !important;
|
|
background: rgba(168, 97, 89, .14) !important;
|
|
}
|
|
|
|
/* 复选框(必需步骤 / 启用目录 / 执行设置) */
|
|
.uwa-workflow-panel input[type="checkbox"] {
|
|
width: 15px;
|
|
height: 15px;
|
|
accent-color: var(--uwa-olive);
|
|
}
|
|
|
|
/* --- 只读提示语气卡:同 uwa 色板(蓝灰 / 叶绿 / 赭石 / 陶土) --- */
|
|
.uwa-workflow-panel .uwa-wf-hint {
|
|
border-radius: 7px !important;
|
|
}
|
|
|
|
.uwa-workflow-panel .uwa-wf-hint.is-info {
|
|
border-color: rgba(115, 151, 162, .5) !important;
|
|
background: rgba(115, 151, 162, .12) !important;
|
|
color: #40606c !important;
|
|
}
|
|
|
|
.uwa-workflow-panel .uwa-wf-hint.is-success {
|
|
border-color: rgba(110, 165, 109, .5) !important;
|
|
background: rgba(110, 165, 109, .13) !important;
|
|
color: #3c5f3c !important;
|
|
}
|
|
|
|
.uwa-workflow-panel .uwa-wf-hint.is-warning {
|
|
border-color: rgba(185, 147, 89, .5) !important;
|
|
background: rgba(185, 147, 89, .13) !important;
|
|
color: #6f5427 !important;
|
|
}
|
|
|
|
.uwa-workflow-panel .uwa-wf-hint.is-danger {
|
|
border-color: rgba(168, 97, 89, .5) !important;
|
|
background: rgba(168, 97, 89, .12) !important;
|
|
color: #7c4038 !important;
|
|
}
|
|
|
|
/* --- 页面直发说明框 --- */
|
|
.uwa-workflow-panel .uwa-wf-note {
|
|
border: 1px solid rgba(115, 151, 162, .45);
|
|
background: rgba(115, 151, 162, .1);
|
|
color: #40606c;
|
|
font-size: 12px;
|
|
}
|