feat(platform): add customer time window presets

This commit is contained in:
lingniu
2026-07-05 19:28:25 +08:00
parent 0bfc47bc1c
commit 0c3c6e7b3d
4 changed files with 142 additions and 26 deletions

View File

@@ -276,6 +276,32 @@ body {
background: #f8fafc;
}
.vp-topbar-time-window-presets {
display: inline-flex;
align-items: center;
gap: 2px;
padding-left: 2px;
}
.vp-topbar-time-window-presets button {
height: 24px;
min-width: 44px;
border: 0;
border-radius: 6px;
background: transparent;
color: var(--vp-text-muted);
font-size: 12px;
font-weight: 600;
cursor: pointer;
}
.vp-topbar-time-window-presets button:hover,
.vp-topbar-time-window-presets button:focus-visible {
background: #ffffff;
color: var(--vp-primary);
outline: none;
}
.vp-topbar-time-window label {
display: inline-flex;
align-items: center;