style(webui): apply strict modular ui redesign
This commit is contained in:
1 parent
cc4caef6e1
commit
dbf9b14fac
10 files changed
+2056
-363
No files matched your search
@@ -0,0 +1,434 @@
|
||||
/* Strict UI high-priority overrides and fidelity pass. */
|
||||
/* Final overrides for the previous premium layer. Keep these last. */
|
||||
.header .btn {
|
||||
width: auto !important;
|
||||
min-width: 0 !important;
|
||||
min-height: 42px !important;
|
||||
padding: 0 16px !important;
|
||||
border-radius: var(--strict-radius) !important;
|
||||
font-size: 15px !important;
|
||||
gap: 8px !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.header .btnIconOnly,
|
||||
.header #btnTheme {
|
||||
width: 42px !important;
|
||||
min-width: 42px !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.header .btnDanger,
|
||||
.header .btnDangerSoft,
|
||||
.header .btnSoft,
|
||||
.header .btnGhost {
|
||||
color: #1f2937 !important;
|
||||
background: #ffffff !important;
|
||||
}
|
||||
|
||||
.header #btnStop,
|
||||
.header #btnForceStop {
|
||||
color: var(--strict-danger) !important;
|
||||
border-color: #fecdd3 !important;
|
||||
}
|
||||
|
||||
.header .btnPrimary,
|
||||
.header #btnStart {
|
||||
color: #ffffff !important;
|
||||
border-color: var(--strict-primary) !important;
|
||||
background: var(--strict-primary) !important;
|
||||
}
|
||||
|
||||
.header .btnIcon,
|
||||
.header .btnIcon svg {
|
||||
width: 18px !important;
|
||||
height: 18px !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.btn[data-kbd]::after,
|
||||
.sectionTitle::before,
|
||||
.sectionTitle::after,
|
||||
.cardTitle::after,
|
||||
.row::before,
|
||||
.overviewCard::before,
|
||||
.overviewCard::after,
|
||||
.tabBtn::before,
|
||||
.tabBtn::after {
|
||||
display: none !important;
|
||||
content: none !important;
|
||||
}
|
||||
|
||||
.workspaceShell .configRail,
|
||||
.configRail {
|
||||
position: sticky !important;
|
||||
top: var(--strict-top) !important;
|
||||
height: calc(100vh - var(--strict-top)) !important;
|
||||
max-height: none !important;
|
||||
padding: 22px 14px !important;
|
||||
border: 0 !important;
|
||||
border-right: 1px solid var(--strict-border) !important;
|
||||
border-radius: 0 !important;
|
||||
background: rgba(255, 255, 255, 0.82) !important;
|
||||
box-shadow: none !important;
|
||||
overflow: auto !important;
|
||||
}
|
||||
|
||||
.configRail .cardTitle {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.sideNav,
|
||||
:root:not([data-premium-panel="device"]) .sideNav {
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
align-items: stretch !important;
|
||||
justify-content: flex-start !important;
|
||||
gap: 6px !important;
|
||||
width: 100% !important;
|
||||
height: auto !important;
|
||||
min-height: 0 !important;
|
||||
max-height: none !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
border: 0 !important;
|
||||
border-radius: 0 !important;
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.sideNav .tabBtn,
|
||||
.tabBtn {
|
||||
position: relative !important;
|
||||
display: grid !important;
|
||||
grid-template-columns: 28px minmax(0, 1fr) !important;
|
||||
align-items: center !important;
|
||||
justify-content: stretch !important;
|
||||
gap: 10px !important;
|
||||
width: 100% !important;
|
||||
min-width: 0 !important;
|
||||
min-height: 48px !important;
|
||||
height: 48px !important;
|
||||
padding: 0 13px !important;
|
||||
border: 1px solid transparent !important;
|
||||
border-radius: var(--strict-radius) !important;
|
||||
color: #334155 !important;
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
.sideNav .tabBtn:hover,
|
||||
.sideNav .tabBtn.active,
|
||||
.tabBtn.active,
|
||||
.tabBtn[aria-selected="true"] {
|
||||
color: var(--strict-primary) !important;
|
||||
border-color: #dce7ff !important;
|
||||
background: linear-gradient(90deg, #eef4ff, #f4f7ff) !important;
|
||||
}
|
||||
|
||||
.sideNav .tabText,
|
||||
.tabText {
|
||||
display: inline !important;
|
||||
min-width: 0 !important;
|
||||
max-width: 100% !important;
|
||||
overflow: hidden !important;
|
||||
text-overflow: ellipsis !important;
|
||||
white-space: nowrap !important;
|
||||
font-size: 15px !important;
|
||||
line-height: 1 !important;
|
||||
}
|
||||
|
||||
.sideNav .tabIcon,
|
||||
.tabIcon {
|
||||
display: grid !important;
|
||||
place-items: center !important;
|
||||
width: 24px !important;
|
||||
height: 24px !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.sideNav .tabIcon svg,
|
||||
.tabIcon svg {
|
||||
width: 22px !important;
|
||||
height: 22px !important;
|
||||
}
|
||||
|
||||
.workspaceHeader {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
:root .app {
|
||||
display: grid !important;
|
||||
grid-template-columns: var(--strict-rail) minmax(0, 1fr) !important;
|
||||
grid-template-rows: var(--strict-top) var(--strict-status) minmax(0, 1fr) 38px !important;
|
||||
grid-template-areas:
|
||||
"top top"
|
||||
"rail overview"
|
||||
"rail workspace"
|
||||
"rail footer" !important;
|
||||
width: 100% !important;
|
||||
max-width: none !important;
|
||||
min-height: 100vh !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
gap: 0 !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
:root .header {
|
||||
grid-area: top !important;
|
||||
display: grid !important;
|
||||
grid-template-columns: var(--strict-rail) minmax(0, 1fr) !important;
|
||||
width: 100% !important;
|
||||
height: var(--strict-top) !important;
|
||||
}
|
||||
|
||||
:root .overview,
|
||||
:root:not([data-premium-panel="device"]) .overview {
|
||||
grid-area: overview !important;
|
||||
position: relative !important;
|
||||
left: auto !important;
|
||||
top: auto !important;
|
||||
width: auto !important;
|
||||
height: var(--strict-status) !important;
|
||||
margin: 0 !important;
|
||||
padding: 22px 28px 16px !important;
|
||||
}
|
||||
|
||||
:root .configWorkspace,
|
||||
:root:not([data-premium-panel="device"]) .configWorkspace {
|
||||
grid-area: workspace !important;
|
||||
position: static !important;
|
||||
width: auto !important;
|
||||
height: calc(100vh - var(--strict-top) - var(--strict-status) - 38px) !important;
|
||||
max-height: none !important;
|
||||
padding: 0 28px 26px !important;
|
||||
overflow: auto !important;
|
||||
}
|
||||
|
||||
:root .appFooter {
|
||||
grid-area: footer !important;
|
||||
width: auto !important;
|
||||
height: 38px !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
:root .panels {
|
||||
display: block !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
:root .panel[hidden],
|
||||
:root .card[data-panel][hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
:root .panel.active,
|
||||
:root .panel:not([hidden])[data-panel] {
|
||||
display: block !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
:root:not([data-premium-panel="device"]) .overview,
|
||||
.overview {
|
||||
display: grid !important;
|
||||
}
|
||||
|
||||
:root:not([data-premium-panel="device"]) .configWorkspace,
|
||||
.configWorkspace {
|
||||
max-height: none !important;
|
||||
overflow: auto !important;
|
||||
}
|
||||
|
||||
.panel > .sectionTitle,
|
||||
.panel > .row,
|
||||
.panel > .rowActions {
|
||||
opacity: 1 !important;
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
:root .panel > .sectionTitle,
|
||||
:root .cardTitle,
|
||||
:root .logTitle {
|
||||
min-height: 0 !important;
|
||||
padding: 0 !important;
|
||||
border: 0 !important;
|
||||
border-radius: 0 !important;
|
||||
color: var(--strict-text) !important;
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
:root .panel > .sectionTitle {
|
||||
margin: 0 0 24px !important;
|
||||
}
|
||||
|
||||
:root .panel > .sectionTitle:not(:first-child) {
|
||||
margin-top: 30px !important;
|
||||
padding-top: 24px !important;
|
||||
border-top: 1px solid var(--strict-border) !important;
|
||||
}
|
||||
|
||||
:root .panel > .row {
|
||||
min-height: 0 !important;
|
||||
margin: 0 !important;
|
||||
padding: 10px 0 !important;
|
||||
border: 0 !important;
|
||||
border-radius: 0 !important;
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
:root .panel > .row + .row {
|
||||
border-top: 1px solid #eef2f7 !important;
|
||||
}
|
||||
|
||||
:root .panel > .rowActions {
|
||||
margin: 16px 0 0 !important;
|
||||
padding: 0 !important;
|
||||
border: 0 !important;
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
:root .check {
|
||||
border: 0 !important;
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
:root .input,
|
||||
:root .small,
|
||||
:root .logSearchBox,
|
||||
:root input[type="text"],
|
||||
:root input[type="number"],
|
||||
:root input[type="search"],
|
||||
:root select,
|
||||
:root textarea {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
@media (max-width: 1180px) {
|
||||
.workspaceShell .configRail,
|
||||
.configRail {
|
||||
width: var(--strict-rail) !important;
|
||||
padding: 22px 10px !important;
|
||||
}
|
||||
|
||||
.sideNav .tabBtn,
|
||||
.tabBtn {
|
||||
grid-template-columns: 1fr !important;
|
||||
justify-items: center !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.sideNav .tabText,
|
||||
.tabText {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
:root .app {
|
||||
display: block !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
:root .header {
|
||||
display: block !important;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
.header-actions {
|
||||
display: grid !important;
|
||||
grid-template-columns: 1fr !important;
|
||||
gap: 8px !important;
|
||||
align-items: stretch !important;
|
||||
justify-content: stretch !important;
|
||||
padding: 10px !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.primaryActions {
|
||||
display: grid !important;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
|
||||
gap: 8px !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.secondaryActions {
|
||||
display: grid !important;
|
||||
grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
|
||||
gap: 8px !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.header .btn {
|
||||
width: 100% !important;
|
||||
min-width: 0 !important;
|
||||
min-height: 40px !important;
|
||||
padding: 0 8px !important;
|
||||
font-size: 13px !important;
|
||||
}
|
||||
|
||||
.secondaryActions .btn,
|
||||
.secondaryActions #btnLoad,
|
||||
.secondaryActions #btnSave,
|
||||
.secondaryActions #btnTheme {
|
||||
width: 100% !important;
|
||||
min-width: 0 !important;
|
||||
padding: 0 !important;
|
||||
font-size: 0 !important;
|
||||
gap: 0 !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
.secondaryActions .btn .btnIcon {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
:root .overview,
|
||||
:root:not([data-premium-panel="device"]) .overview {
|
||||
height: auto !important;
|
||||
padding: 12px !important;
|
||||
}
|
||||
|
||||
:root .configWorkspace,
|
||||
:root:not([data-premium-panel="device"]) .configWorkspace {
|
||||
height: auto !important;
|
||||
padding: 12px !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.workspaceShell .configRail,
|
||||
.configRail {
|
||||
position: sticky !important;
|
||||
top: 62px !important;
|
||||
width: 100% !important;
|
||||
height: auto !important;
|
||||
padding: 8px 12px !important;
|
||||
border-right: 0 !important;
|
||||
border-bottom: 1px solid var(--strict-border) !important;
|
||||
overflow-x: auto !important;
|
||||
overflow-y: hidden !important;
|
||||
}
|
||||
|
||||
.sideNav,
|
||||
:root:not([data-premium-panel="device"]) .sideNav {
|
||||
flex-direction: row !important;
|
||||
width: max-content !important;
|
||||
min-width: max-content !important;
|
||||
height: auto !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.sideNav .tabBtn,
|
||||
.tabBtn {
|
||||
width: 54px !important;
|
||||
min-width: 54px !important;
|
||||
height: 44px !important;
|
||||
min-height: 44px !important;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user