progressing with scss conversion

This commit is contained in:
Joren de Graaf
2026-10-07 13:03:22 +02:00
parent a27da78267
commit aab64971a4
94 changed files with 6624 additions and 2039 deletions
+129
View File
@@ -0,0 +1,129 @@
:root {
color-scheme: light;
--ink: #172554;
--muted: #64748b;
--card: rgba(255, 255, 255, 0.88);
--accent: #7c3aed;
--accent-light: #ddd6fe;
}
* {
box-sizing: border-box;
}
body {
min-height: 100vh;
margin: 0;
display: grid;
place-items: center;
padding: 2rem;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
color: var(--ink);
background: radial-gradient(circle at top left, #bfdbfe 0, transparent 32rem),
radial-gradient(circle at bottom right, #ddd6fe 0, transparent 30rem),
#f8fafc;
}
.welcome-card {
width: min(100%, 42rem);
position: relative;
overflow: hidden;
padding: clamp(2rem, 7vw, 4.5rem);
border: 1px solid rgba(255, 255, 255, 0.8);
border-radius: 1.5rem;
background: var(--card);
box-shadow: 0 1.5rem 4rem rgba(30, 41, 59, 0.16);
backdrop-filter: blur(12px);
&::before {
content: "";
width: 11rem;
height: 11rem;
position: absolute;
top: -5.5rem;
right: -4rem;
border-radius: 50%;
background: linear-gradient(135deg, var(--accent-light), #93c5fd);
opacity: 0.75;
}
}
.eyebrow {
margin: 0 0 0.75rem;
color: var(--accent);
font-size: 0.8rem;
font-weight: 800;
letter-spacing: 0.12em;
text-transform: uppercase;
}
h1 {
max-width: 26rem;
margin: 0;
font-size: clamp(2.25rem, 7vw, 4.25rem);
line-height: 1.05;
letter-spacing: -0.055em;
}
.subject {
display: inline-flex;
align-items: center;
gap: 0.55rem;
margin: 1.5rem 0 0;
padding: 0.8rem 1rem;
border-radius: 0.85rem;
color: var(--muted);
font-size: 1.1rem;
background: #f8fafc;
strong {
color: var(--ink);
}
}
.sparkle {
color: var(--accent);
font-size: 1.25rem;
}
.button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.8rem 1.25rem;
border: 1px solid transparent;
border-radius: 12px;
background: #7c3aed;
color: #fff;
font: inherit;
font-weight: 600;
line-height: 1;
text-decoration: none;
cursor: pointer;
box-shadow: 0 4px 10px rgba(124, 58, 237, 0.18),
0 1px 2px rgba(15, 23, 42, 0.08);
transition: background-color 150ms ease,
box-shadow 150ms ease,
transform 150ms ease;
&:hover {
background: #6d28d9;
color: #fff;
box-shadow: 0 6px 16px rgba(124, 58, 237, 0.24),
0 2px 4px rgba(15, 23, 42, 0.08);
transform: translateY(-1px);
}
&:active {
background: #5b21b6;
transform: translateY(0);
box-shadow: 0 2px 6px rgba(124, 58, 237, 0.18);
}
&:focus-visible {
outline: 3px solid rgba(124, 58, 237, 0.25);
outline-offset: 3px;
}
&:disabled, &[aria-disabled="true"] {
opacity: 0.5;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
}
@@ -0,0 +1,175 @@
:root {
--primary: #8abaff;
--secondary: #263a76;
--accent: #b69cff;
--primary-fg: #10182d;
--body-fg: #edf3ff;
--body-bg: #090e1d;
--body-quiet-color: #aab9d8;
--body-loud-color: #fff;
--header-color: #edf3ff;
--header-branding-color: #edf3ff;
--header-bg: #111a31;
--header-link-color: #dbe8ff;
--breadcrumbs-fg: #c8d7f5;
--breadcrumbs-link-fg: #fff;
--breadcrumbs-bg: #192848;
--link-fg: #9ec8ff;
--link-hover-color: #d1bdff;
--link-selected-fg: #fff;
--hairline-color: #2b3d68;
--border-color: #30446f;
--error-fg: #ff9ea8;
--message-success-bg: #104a40;
--message-warning-bg: #5a431c;
--darkened-bg: #13203b;
--selected-bg: #283c68;
--selected-row: #1a2b4e;
--button-fg: #121a34;
--button-bg: #9ac8ff;
--button-hover-bg: #c6adff;
}
body {
background: radial-gradient(circle at 8% 0,#263a76 0,transparent 31rem),#090e1d;
}
#header {
padding: 18px 32px;
background: linear-gradient(135deg,#172443,#10182d);
border-bottom: 1px solid #2b3d68;
}
#site-name a {
font-weight: 900;
letter-spacing: .06em;
}
#site-name span {
margin-left: .45rem;
color: #aab9d8;
font-size: .58em;
font-weight: 600;
letter-spacing: .08em;
text-transform: uppercase;
}
.module,div.breadcrumbs,#changelist-filter,.inline-group,.submit-row {
border-color: #2b3d68 !important;
background: #111a31 !important;
box-shadow: 0 1rem 3rem #01030c55;
}
.module caption,.module h2,#changelist-filter h2 {
background: #1a2b4e !important;
color: #edf3ff !important;
}
#content {
padding: 28px 32px;
}
input,textarea,select {
color: #edf3ff !important;
border-color: #3d5487 !important;
background: #0a1123 !important;
}
input:focus,textarea:focus,select:focus {
border-color: #9ac8ff !important;
box-shadow: 0 0 0 2px #9ac8ff55 !important;
}
.button,button,input[type=submit],input[type=button],.submit-row input {
border-radius: 7px !important;
background: linear-gradient(135deg,#99c8ff,#c6adff) !important;
color: #121a34 !important;
font-weight: 800 !important;
}
#changelist table thead th {
background: #172443;
}
#changelist table tbody tr:nth-child(odd) {
background: #101a31;
}
#changelist table tbody tr:nth-child(even) {
background: #14203a;
}
.messagelist li {
border-radius: 8px;
}
a:link,a:visited {
color: #9ec8ff;
}
a:hover {
color: #d1bdff;
}
.classification-preview {
margin: 24px 0;
padding: 20px;
border: 1px solid #2b3d68;
border-radius: 10px;
background: #101a31;
h2 {
margin-top: 0;
}
}
.preview-meta {
color: #aab9d8;
}
.preview-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 18px;
}
.preview-row {
display: flex;
justify-content: space-between;
gap: 12px;
margin: 8px 0;
padding: 10px;
border-left: 3px solid #78a4f0;
background: #162441;
}
.preview-row--firework {
border-color: #f5aa44;
}
.preview-row--speech {
border-color: #fb7185;
}
.raw-json {
margin-top: 18px;
border-top: 1px solid #2b3d68;
padding-top: 14px;
summary {
cursor: pointer;
color: #9ec8ff;
font-weight: 800;
}
pre {
overflow: auto;
max-height: 28rem;
padding: 12px;
color: #dce7ff;
background: #090f20;
}
}
@media (max-width:700px) {
.preview-grid {
grid-template-columns: 1fr;
}
}