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,146 @@
|
||||
/* Strict UI responsive rules. */
|
||||
@media (max-width: 1180px) {
|
||||
:root {
|
||||
--strict-rail: 74px;
|
||||
}
|
||||
|
||||
.brandBlock {
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.title::before {
|
||||
content: "抖";
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.tabBtn {
|
||||
grid-template-columns: 1fr;
|
||||
justify-items: center;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.tabText {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header-actions {
|
||||
justify-content: flex-start;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.overview {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.configWorkspace {
|
||||
height: calc(100vh - var(--strict-top) - 220px - 38px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.app {
|
||||
display: block;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.header {
|
||||
position: sticky;
|
||||
display: block;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.brandBlock {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header-actions {
|
||||
justify-content: flex-start;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.overview {
|
||||
grid-template-columns: 1fr;
|
||||
height: auto;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.configRail {
|
||||
position: sticky;
|
||||
top: 62px;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
max-height: none;
|
||||
padding: 8px 12px;
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid var(--strict-border);
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.sideNav {
|
||||
flex-direction: row;
|
||||
min-width: max-content;
|
||||
}
|
||||
|
||||
.tabBtn {
|
||||
width: 54px;
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.configWorkspace {
|
||||
height: auto;
|
||||
padding: 12px;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.row,
|
||||
.row.grid2,
|
||||
.row.grid3,
|
||||
.panel[data-panel="license"] .row {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.statsGrid,
|
||||
.statsGridHero,
|
||||
.chartsGrid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.logHeader {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.logHeaderActions {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
justify-content: stretch;
|
||||
}
|
||||
|
||||
.logHeaderActions .logSearchBox {
|
||||
grid-column: 1 / -1;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.panel,
|
||||
.card[data-panel],
|
||||
.cardLog,
|
||||
.cardReservations,
|
||||
.cardShot {
|
||||
padding: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.premiumReveal,
|
||||
.panel.isPremiumPulse,
|
||||
.btn:hover {
|
||||
animation: none;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user