new gui layout

This commit is contained in:
Mark Gregory
2026-06-11 10:27:18 +01:00
parent 0445b71f33
commit 071a11bf13
9 changed files with 454 additions and 252 deletions
+126 -130
View File
@@ -389,6 +389,101 @@ select:focus[data-flux-control] {
padding: 1.5rem;
}
.wms-main-panel {
min-width: 0;
flex: 1;
display: flex;
min-height: 100vh;
flex-direction: column;
}
.wms-page-hero {
display: flex;
align-items: center;
justify-content: space-between;
gap: 2rem;
margin-bottom: 1.75rem;
border-radius: 1.35rem;
padding: 3rem 3.25rem;
background:
radial-gradient(circle at 95% 85%, rgb(8 145 178 / 0.62), transparent 36%),
linear-gradient(135deg, rgb(4 8 24), rgb(10 18 42) 54%, rgb(7 44 58));
color: white;
box-shadow: 0 24px 60px rgb(0 0 0 / 0.30);
}
.wms-page-hero-copy {
min-width: 0;
max-width: 58rem;
}
.wms-page-hero-kicker {
margin-bottom: 1rem;
color: rgb(103 232 249);
font-size: 0.9rem;
font-weight: 900;
letter-spacing: 0.42em;
}
.wms-page-hero-title {
margin: 0;
font-size: clamp(2.5rem, 5vw, 4.7rem);
font-weight: 900;
line-height: 0.98;
letter-spacing: -0.06em;
}
.wms-page-hero-description {
max-width: 52rem;
margin-top: 1.2rem;
color: rgb(203 213 225);
font-size: clamp(1rem, 1.55vw, 1.45rem);
line-height: 1.45;
}
.wms-page-hero-actions {
display: flex;
align-items: stretch;
gap: 1rem;
flex: 0 0 auto;
}
.wms-page-hero-stat {
display: grid;
min-width: 13.75rem;
gap: 1rem;
border-radius: 1.2rem;
background: rgb(51 65 85 / 0.72);
padding: 1.45rem 1.6rem;
color: rgb(203 213 225);
backdrop-filter: blur(10px);
}
.wms-page-hero-stat strong {
display: flex;
align-items: center;
gap: 0.75rem;
color: white;
font-size: 2rem;
font-weight: 900;
line-height: 1;
}
.wms-page-hero-stat strong i {
color: rgb(74 222 128);
}
.wms-hero-mobile-menu {
display: none;
width: 3rem;
height: 3rem;
place-items: center;
align-self: flex-start;
border-radius: 0.85rem;
background: rgb(255 255 255 / 0.12);
color: white;
}
.wms-mobile-header {
display: none;
}
@@ -438,12 +533,12 @@ select:focus[data-flux-control] {
justify-items: center;
}
html[data-wms-sidebar='collapsed'] .wms-toggle-expanded {
html[data-wms-sidebar='collapsed'] .wms-sidebar-toggle {
display: none;
}
html[data-wms-sidebar='collapsed'] .wms-toggle-collapsed {
display: inline;
html[data-wms-sidebar='collapsed'] .wms-brand-mark {
cursor: pointer;
}
@media (max-width: 1023px) {
@@ -537,135 +632,36 @@ select:focus[data-flux-control] {
text-decoration: none;
}
.wms-page-hero {
align-items: flex-start;
flex-direction: column;
gap: 1.5rem;
margin-bottom: 1rem;
border-radius: 1rem;
padding: 1.35rem;
}
.wms-page-hero-actions {
width: 100%;
flex-wrap: wrap;
}
.wms-page-hero-stat {
min-width: min(12rem, 100%);
flex: 1 1 12rem;
padding: 1rem;
}
.wms-page-hero-stat strong {
font-size: 1.45rem;
}
.wms-hero-mobile-menu {
display: inline-grid;
}
.wms-content {
padding: 1rem;
}
}
}
@layer components {
.wms-main-panel {
min-width: 0;
flex: 1;
display: flex;
min-height: 100vh;
flex-direction: column;
background: rgb(250 250 250);
}
.dark .wms-main-panel {
background: rgb(9 9 11);
}
.wms-page-hero {
margin: 0.75rem 1rem 0;
overflow: hidden;
border-radius: 1rem;
background: linear-gradient(135deg, rgb(2 6 23) 0%, rgb(15 23 42) 55%, rgb(8 80 104) 100%);
color: white;
box-shadow: 0 24px 50px rgb(0 0 0 / 0.22);
}
.wms-page-hero-content {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: clamp(1rem, 2vw, 1.5rem);
}
.wms-page-eyebrow {
margin: 0 0 1.15rem;
color: rgb(103 232 249);
font-size: 0.9rem;
font-weight: 800;
letter-spacing: 0.32em;
text-transform: uppercase;
}
.wms-page-title {
margin: 0;
max-width: 58rem;
color: white;
font-size: clamp(1.4rem, 2vw, 2rem);
font-weight: 850;
letter-spacing: -0.06em;
line-height: 0.96;
}
.wms-page-subtitle {
margin: 0.5rem 0 0;
max-width: 60rem;
color: rgb(203 213 225);
font-size: 0.95rem;
line-height: 1.55;
}
.wms-page-metrics {
display: grid;
min-width: min(32rem, 100%);
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
}
.wms-page-metric-card {
border-radius: 1.35rem;
background: rgb(255 255 255 / 0.12);
padding: 1.55rem;
backdrop-filter: blur(16px);
}
.wms-page-metric-label {
display: block;
color: rgb(203 213 225);
font-size: 1rem;
line-height: 1.2;
}
.wms-page-metric-value {
display: flex;
align-items: center;
gap: 0.65rem;
margin-top: 1rem;
color: white;
font-size: clamp(1.6rem, 2.4vw, 2.25rem);
font-weight: 850;
line-height: 1;
}
.wms-page-metric-ok {
color: rgb(110 231 183);
}
.wms-content {
padding-top: 1.5rem;
}
.module-page > .row > .col-12:first-child:has(.module-hero) {
display: none;
}
@media (max-width: 1023px) {
.wms-page-hero {
margin: 1rem 1rem 0;
border-radius: 1.35rem;
}
.wms-page-hero-content {
align-items: flex-start;
flex-direction: column;
padding: 1.6rem;
}
.wms-page-metrics {
min-width: 0;
width: 100%;
}
}
@media (max-width: 640px) {
.wms-page-metrics {
grid-template-columns: 1fr;
}
}
}