Initial commit
This commit is contained in:
7946
rss/css/main.css
Normal file
7946
rss/css/main.css
Normal file
File diff suppressed because it is too large
Load Diff
1
rss/css/main.css.map
Normal file
1
rss/css/main.css.map
Normal file
File diff suppressed because one or more lines are too long
1082
rss/css/main.scss
Normal file
1082
rss/css/main.scss
Normal file
File diff suppressed because it is too large
Load Diff
1
rss/css/palette.css
Normal file
1
rss/css/palette.css
Normal file
@@ -0,0 +1 @@
|
||||
/* palette.scss - Full Spectrum Master Map *//*# sourceMappingURL=palette.css.map */
|
||||
1
rss/css/palette.css.map
Normal file
1
rss/css/palette.css.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["palette.scss"],"names":[],"mappings":"AAAA,4CAAA","file":"palette.css"}
|
||||
43
rss/css/palette.scss
Normal file
43
rss/css/palette.scss
Normal file
@@ -0,0 +1,43 @@
|
||||
/* palette.scss - Full Spectrum Master Map */
|
||||
|
||||
$colors: (
|
||||
"gray": (
|
||||
50: #fbfcfd, 100: #f8f9fa, 200: #e9ecef, 300: #dee2e6, 400: #ced4da, 500: #adb5bd, 600: #6c757d, 700: #495057, 800: #343a40, 900: #212529, 950: #121416
|
||||
),
|
||||
"blue": (
|
||||
50: #f0f7ff, 100: #e7f1ff, 200: #cfe2ff, 300: #9ec5fe, 400: #6ea8fe, 500: #0d6efd, 600: #0a58ca, 700: #084298, 800: #052c65, 900: #031633, 950: #020b1a
|
||||
),
|
||||
"indigo": (
|
||||
50: #f5f3ff, 100: #ede9fe, 200: #ddd6fe, 300: #c4b5fd, 400: #a78bfa, 500: #8b5cf6, 600: #7c3aed, 700: #6d28d9, 800: #5b21b6, 900: #4c1d95, 950: #2e1065
|
||||
),
|
||||
"purple": (
|
||||
50: #faf5ff, 100: #f3e8ff, 200: #e9d5ff, 300: #d8b4fe, 400: #c084fc, 500: #a855f7, 600: #9333ea, 700: #7e22ce, 800: #6b21a8, 900: #581c87, 950: #3b0764
|
||||
),
|
||||
"pink": (
|
||||
50: #fdf2f8, 100: #fce7f3, 200: #fbcfe8, 300: #f9a8d4, 400: #f472b6, 500: #ec4899, 600: #db2777, 700: #be185d, 800: #9d174d, 900: #831843, 950: #500724
|
||||
),
|
||||
"red": (
|
||||
50: #fef2f2, 100: #fee2e2, 200: #fecaca, 300: #fca5a5, 400: #f87171, 500: #ef4444, 600: #dc2626, 700: #b91c1c, 800: #991b1b, 900: #7f1d1d, 950: #450a0a
|
||||
),
|
||||
"orange": (
|
||||
50: #fff7ed, 100: #ffedd5, 200: #fed7aa, 300: #fdba74, 400: #fb923c, 500: #f97316, 600: #ea580c, 700: #c2410c, 800: #9a3412, 900: #7c2d12, 950: #431407
|
||||
),
|
||||
"yellow": (
|
||||
50: #fefce8, 100: #fef9c3, 200: #fef08a, 300: #fde047, 400: #facc15, 500: #eab308, 600: #ca8a04, 700: #a16207, 800: #854d0e, 900: #713f12, 950: #422006
|
||||
),
|
||||
"green": (
|
||||
50: #f0fdf4, 100: #dcfce7, 200: #bbf7d0, 300: #86efac, 400: #4ade80, 500: #22c55e, 600: #16a34a, 700: #15803d, 800: #166534, 900: #14532d, 950: #052e16
|
||||
),
|
||||
"emerald": (
|
||||
50: #ecfdf5, 100: #d1fae5, 200: #a7f3d0, 300: #6ee7b7, 400: #34d399, 500: #10b981, 600: #059669, 700: #047857, 800: #065f46, 900: #064e3b, 950: #022c22
|
||||
),
|
||||
"teal": (
|
||||
50: #f0fdfa, 100: #ccfbf1, 200: #99f6e4, 300: #5eead4, 400: #2dd4bf, 500: #14b8a6, 600: #0d9488, 700: #0f766e, 800: #115e59, 900: #134e4a, 950: #042f2e
|
||||
),
|
||||
"cyan": (
|
||||
50: #ecfeff, 100: #cffafe, 200: #a5f3fc, 300: #67e8f9, 400: #22d3ee, 500: #06b6d4, 600: #0891b2, 700: #0e7490, 800: #155e75, 900: #164e63, 950: #083344
|
||||
)
|
||||
);
|
||||
|
||||
$white: #ffffff;
|
||||
$black: #000000;
|
||||
1001
rss/css/template.css
Normal file
1001
rss/css/template.css
Normal file
File diff suppressed because it is too large
Load Diff
1
rss/css/template.css.map
Normal file
1
rss/css/template.css.map
Normal file
File diff suppressed because one or more lines are too long
999
rss/css/template.scss
Normal file
999
rss/css/template.scss
Normal file
@@ -0,0 +1,999 @@
|
||||
/* templates.scss (drop-in)
|
||||
App/demo templates and composed patterns.
|
||||
Keep framework stuff in main.scss.
|
||||
*/
|
||||
@use "sass:map";
|
||||
@use "./variables" as *;
|
||||
|
||||
/* --------------------------------------------
|
||||
Demo shell + layout helpers
|
||||
-------------------------------------------- */
|
||||
.demo-shell { min-height: 100vh; }
|
||||
|
||||
.page {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Topbar (glass, theme-aware via CSS vars)
|
||||
-------------------------------------------- */
|
||||
|
||||
/* Defaults (light) */
|
||||
:root {
|
||||
--topbar-glass-bg: rgba(255, 255, 255, 0.72);
|
||||
--topbar-glass-border: rgba(0, 0, 0, 0.08);
|
||||
--topbar-glass-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
/* Dark overrides */
|
||||
[data-theme="dark"] {
|
||||
--topbar-glass-bg: rgba(15, 23, 42, 0.62); /* slate-ish */
|
||||
--topbar-glass-border: rgba(255, 255, 255, 0.10);
|
||||
--topbar-glass-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
|
||||
}
|
||||
|
||||
.topbar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: map.get($z-index, "header");
|
||||
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
|
||||
background: var(--topbar-glass-bg);
|
||||
border-bottom: 1px solid var(--topbar-glass-border);
|
||||
box-shadow: var(--topbar-glass-shadow);
|
||||
|
||||
transition:
|
||||
background-color $duration-base $standard,
|
||||
border-color $duration-base $standard,
|
||||
box-shadow $duration-base $standard;
|
||||
}
|
||||
|
||||
/* layout (unchanged) */
|
||||
.topbar-inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: map.get($spacers, 3);
|
||||
}
|
||||
|
||||
.topbar-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: map.get($spacers, 3);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.topbar-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: map.get($spacers, 3);
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Sidebar templates
|
||||
-------------------------------------------- */
|
||||
.sidebar-brand { display: flex; align-items: center; gap: map.get($spacers, 3); }
|
||||
|
||||
.brand-mark {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border-radius: 12px;
|
||||
background:
|
||||
radial-gradient(10px 10px at 30% 30%, rgba(255,255,255,0.55), transparent 60%),
|
||||
radial-gradient(28px 28px at 70% 70%, rgba(0,0,0,0.08), transparent 55%),
|
||||
var(--primary);
|
||||
box-shadow: 0 10px 25px rgba(0,0,0,0.08);
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.nav-stack { display: flex; flex-direction: column; gap: 0.25rem; }
|
||||
|
||||
.nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: map.get($spacers, 3);
|
||||
padding: 0.75rem 0.875rem;
|
||||
border-radius: 0.75rem;
|
||||
color: var(--text-muted);
|
||||
text-decoration: none;
|
||||
position: relative;
|
||||
transition: background-color $duration-fast $standard, color $duration-fast $standard, transform $duration-fast $standard;
|
||||
|
||||
&:hover {
|
||||
background: rgba(0,0,0,0.04);
|
||||
color: var(--text-main);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
}
|
||||
|
||||
[data-theme="dark"] .nav-item:hover { background: rgba(255,255,255,0.06); }
|
||||
|
||||
.nav-item.is-active {
|
||||
background: rgba(20,184,166,0.12);
|
||||
color: var(--text-main);
|
||||
}
|
||||
|
||||
.nav-item.is-active::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0.4rem;
|
||||
top: 50%;
|
||||
width: 6px;
|
||||
height: 18px;
|
||||
transform: translateY(-50%);
|
||||
border-radius: 999px;
|
||||
background: var(--primary);
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Hero
|
||||
-------------------------------------------- */
|
||||
.hero-pro {
|
||||
border: 1px solid var(--border-color);
|
||||
background:
|
||||
radial-gradient(700px 260px at 15% 0%, rgba(20,184,166,0.22), transparent 60%),
|
||||
radial-gradient(520px 240px at 90% 20%, rgba(249,115,22,0.10), transparent 55%),
|
||||
var(--bg-card);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .hero-pro {
|
||||
background:
|
||||
radial-gradient(700px 260px at 15% 0%, rgba(20,184,166,0.16), transparent 60%),
|
||||
radial-gradient(520px 240px at 90% 20%, rgba(249,115,22,0.08), transparent 55%),
|
||||
var(--bg-card);
|
||||
}
|
||||
|
||||
.hero-grid {
|
||||
display: grid;
|
||||
gap: map.get($spacers, 3);
|
||||
grid-template-columns: 1.4fr 1fr;
|
||||
|
||||
@media (max-width: 992px) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.kicker { display: inline-flex; align-items: center; gap: map.get($spacers, 2); }
|
||||
|
||||
.pill {
|
||||
font-size: 0.75rem;
|
||||
padding: 0.15rem 0.55rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(20,184,166,0.12);
|
||||
color: var(--text-main);
|
||||
border: 1px solid rgba(20,184,166,0.18);
|
||||
}
|
||||
|
||||
/* Card variant used inside hero */
|
||||
.card-quick {
|
||||
background: var(--bg-surface);
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Stat cards
|
||||
-------------------------------------------- */
|
||||
.stat-title {
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.75rem;
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
font-size: 1.85rem;
|
||||
font-weight: 700;
|
||||
margin: 0.35rem 0;
|
||||
}
|
||||
|
||||
.stat-sub { font-size: 0.875rem; color: var(--text-muted); }
|
||||
|
||||
/* --------------------------------------------
|
||||
Chips / filters
|
||||
-------------------------------------------- */
|
||||
.chip-row { display: flex; flex-wrap: wrap; gap: map.get($spacers, 2); }
|
||||
|
||||
.chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: map.get($spacers, 2);
|
||||
padding: 0.35rem 0.65rem;
|
||||
border-radius: 999px;
|
||||
border: 1px solid var(--border-color);
|
||||
background: var(--bg-surface);
|
||||
color: var(--text-muted);
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
transition: transform $duration-fast $standard, box-shadow $duration-base $standard, background-color $duration-fast $standard, color $duration-fast $standard;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 10px 22px rgba(0,0,0,0.08);
|
||||
color: var(--text-main);
|
||||
}
|
||||
|
||||
&.is-active {
|
||||
background: rgba(20,184,166,0.12);
|
||||
border-color: rgba(20,184,166,0.18);
|
||||
color: var(--text-main);
|
||||
}
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Table polish for dashboard use
|
||||
-------------------------------------------- */
|
||||
.table-wrap { overflow: auto; }
|
||||
.table thead th { position: sticky; top: 0; z-index: 1; }
|
||||
|
||||
/* Better look for “table inside card with p-0” */
|
||||
.card.table-card { padding: 0; overflow: hidden; }
|
||||
.table-card .table { margin: 0; }
|
||||
.table-card thead th { background: var(--bg-surface); }
|
||||
|
||||
/* --------------------------------------------
|
||||
Modal close button
|
||||
-------------------------------------------- */
|
||||
.btn-close {
|
||||
border: none;
|
||||
background: transparent;
|
||||
font-size: 1.5rem;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
color: var(--text-muted);
|
||||
padding: 0.25rem 0.5rem;
|
||||
border-radius: 0.5rem;
|
||||
transition: background-color $duration-fast $standard, color $duration-fast $standard, transform $duration-fast $standard;
|
||||
|
||||
&:hover {
|
||||
background: rgba(0,0,0,0.06);
|
||||
color: var(--text-main);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
&:active { transform: translateY(0); }
|
||||
}
|
||||
|
||||
[data-theme="dark"] .btn-close:hover { background: rgba(255,255,255,0.08); }
|
||||
|
||||
/* --------------------------------------------
|
||||
Progress bars (replace inline styles)
|
||||
Use: <div class="progress"><div class="progress-bar progress-72"></div></div>
|
||||
-------------------------------------------- */
|
||||
.progress {
|
||||
height: 10px;
|
||||
border-radius: 999px;
|
||||
background: var(--bg-surface);
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
height: 100%;
|
||||
background: var(--primary);
|
||||
border-radius: 999px;
|
||||
transition: width $duration-slow $standard;
|
||||
}
|
||||
|
||||
/* Common demo widths */
|
||||
.progress-72 { width: 72%; }
|
||||
.progress-46 { width: 46%; }
|
||||
.progress-25 { width: 25%; }
|
||||
|
||||
/* Variant colors used in pipeline */
|
||||
.progress-bar.soft { background: rgba(20,184,166,0.55); }
|
||||
.progress-bar.warn { background: rgba(249,115,22,0.55); }
|
||||
|
||||
/* --------------------------------------------
|
||||
Tiny helper you used in demo
|
||||
-------------------------------------------- */
|
||||
.m-0 { margin: 0 !important; }
|
||||
|
||||
|
||||
/* --------------------------------------------
|
||||
Dashboard / panel layout patterns
|
||||
-------------------------------------------- */
|
||||
|
||||
.panel-grid {
|
||||
display: grid;
|
||||
gap: map.get($spacers, 4);
|
||||
}
|
||||
|
||||
.panel-grid-2 {
|
||||
display: grid;
|
||||
gap: map.get($spacers, 4);
|
||||
grid-template-columns: 1.15fr 0.85fr;
|
||||
|
||||
@media (max-width: 992px) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.panel-grid-3 {
|
||||
display: grid;
|
||||
gap: map.get($spacers, 4);
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
|
||||
@media (max-width: 992px) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.panel-grid-4 {
|
||||
display: grid;
|
||||
gap: map.get($spacers, 4);
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
|
||||
@media (max-width: 1200px) {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Rich panel surfaces
|
||||
-------------------------------------------- */
|
||||
|
||||
.panel-glass {
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.58)),
|
||||
var(--bg-card);
|
||||
border: 1px solid rgba(255,255,255,0.35);
|
||||
box-shadow:
|
||||
0 14px 34px rgba(0,0,0,0.07),
|
||||
0 2px 10px rgba(0,0,0,0.04);
|
||||
backdrop-filter: blur(14px);
|
||||
-webkit-backdrop-filter: blur(14px);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .panel-glass {
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
|
||||
var(--bg-card);
|
||||
border: 1px solid rgba(255,255,255,0.08);
|
||||
box-shadow:
|
||||
0 18px 40px rgba(0,0,0,0.28),
|
||||
0 2px 10px rgba(0,0,0,0.16);
|
||||
}
|
||||
|
||||
.panel-soft {
|
||||
background:
|
||||
radial-gradient(120% 140% at 0% 0%, rgba(var(--primary-rgb), 0.08), transparent 55%),
|
||||
var(--bg-card);
|
||||
box-shadow:
|
||||
0 12px 28px rgba(0,0,0,0.06),
|
||||
0 2px 8px rgba(0,0,0,0.04);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .panel-soft {
|
||||
background:
|
||||
radial-gradient(120% 140% at 0% 0%, rgba(var(--primary-rgb), 0.10), transparent 55%),
|
||||
var(--bg-card);
|
||||
box-shadow:
|
||||
0 16px 34px rgba(0,0,0,0.22),
|
||||
0 2px 8px rgba(0,0,0,0.14);
|
||||
}
|
||||
|
||||
.panel-tint-teal {
|
||||
background:
|
||||
radial-gradient(700px 220px at 12% 0%, rgba(20,184,166,0.18), transparent 58%),
|
||||
linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.54)),
|
||||
var(--bg-card);
|
||||
}
|
||||
|
||||
.panel-tint-orange {
|
||||
background:
|
||||
radial-gradient(640px 220px at 90% 0%, rgba(249,115,22,0.16), transparent 58%),
|
||||
linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.54)),
|
||||
var(--bg-card);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .panel-tint-teal {
|
||||
background:
|
||||
radial-gradient(700px 220px at 12% 0%, rgba(20,184,166,0.12), transparent 58%),
|
||||
linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
|
||||
var(--bg-card);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .panel-tint-orange {
|
||||
background:
|
||||
radial-gradient(640px 220px at 90% 0%, rgba(249,115,22,0.10), transparent 58%),
|
||||
linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
|
||||
var(--bg-card);
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Card headers / actions
|
||||
-------------------------------------------- */
|
||||
|
||||
.card-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: map.get($spacers, 3);
|
||||
margin-bottom: map.get($spacers, 3);
|
||||
}
|
||||
|
||||
.card-actions {
|
||||
display: flex;
|
||||
gap: map.get($spacers, 2);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
KPI cards
|
||||
-------------------------------------------- */
|
||||
|
||||
.metric-card {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
box-shadow:
|
||||
0 12px 28px rgba(0,0,0,0.06),
|
||||
0 2px 8px rgba(0,0,0,0.04);
|
||||
transition:
|
||||
transform $duration-base $standard,
|
||||
box-shadow $duration-base $standard,
|
||||
border-color $duration-base $standard;
|
||||
}
|
||||
|
||||
.metric-card::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0 auto auto 0;
|
||||
width: 100%;
|
||||
height: 3px;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
rgba(20,184,166,0.95),
|
||||
rgba(34,211,238,0.75),
|
||||
rgba(249,115,22,0.75)
|
||||
);
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.metric-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow:
|
||||
0 18px 40px rgba(0,0,0,0.10),
|
||||
0 4px 12px rgba(0,0,0,0.05);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .metric-card {
|
||||
box-shadow:
|
||||
0 18px 38px rgba(0,0,0,0.22),
|
||||
0 2px 8px rgba(0,0,0,0.12);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .metric-card:hover {
|
||||
box-shadow:
|
||||
0 22px 46px rgba(0,0,0,0.28),
|
||||
0 4px 12px rgba(0,0,0,0.16);
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Module / list panels
|
||||
-------------------------------------------- */
|
||||
|
||||
.module-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: map.get($spacers, 3);
|
||||
}
|
||||
|
||||
.module-item {
|
||||
padding: map.get($spacers, 3);
|
||||
border-radius: $radius-md;
|
||||
border: 1px solid var(--border-color);
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255,255,255,0.50), rgba(255,255,255,0.20)),
|
||||
var(--bg-surface);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255,255,255,0.20),
|
||||
0 8px 18px rgba(0,0,0,0.04);
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
transition:
|
||||
transform $duration-fast $standard,
|
||||
box-shadow $duration-base $standard,
|
||||
border-color $duration-base $standard;
|
||||
}
|
||||
|
||||
.module-item:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255,255,255,0.24),
|
||||
0 14px 24px rgba(0,0,0,0.07);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .module-item {
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
|
||||
var(--bg-surface);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255,255,255,0.04),
|
||||
0 10px 22px rgba(0,0,0,0.18);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .module-item:hover {
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255,255,255,0.06),
|
||||
0 14px 28px rgba(0,0,0,0.24);
|
||||
}
|
||||
|
||||
.module-item-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: map.get($spacers, 2);
|
||||
}
|
||||
|
||||
.module-meta {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: map.get($spacers, 2);
|
||||
font-size: 0.875rem;
|
||||
color: var(--text-muted);
|
||||
|
||||
@media (max-width: 576px) {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Table shell polish
|
||||
-------------------------------------------- */
|
||||
|
||||
.table-shell {
|
||||
overflow: hidden;
|
||||
box-shadow:
|
||||
0 14px 30px rgba(0,0,0,0.06),
|
||||
0 2px 8px rgba(0,0,0,0.04);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .table-shell {
|
||||
box-shadow:
|
||||
0 18px 36px rgba(0,0,0,0.22),
|
||||
0 2px 8px rgba(0,0,0,0.14);
|
||||
}
|
||||
|
||||
.table-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: map.get($spacers, 3);
|
||||
padding: map.get($spacers, 4);
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
|
||||
@media (max-width: 768px) {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Sidebar surface polish
|
||||
-------------------------------------------- */
|
||||
|
||||
.sidebar.panel-glass {
|
||||
border-right: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Split hero / form shell
|
||||
-------------------------------------------- */
|
||||
|
||||
.split-shell {
|
||||
width: min(980px, 100%);
|
||||
display: grid;
|
||||
grid-template-columns: 1.1fr 0.9fr;
|
||||
gap: map.get($spacers, 4);
|
||||
align-items: stretch;
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
@media (max-width: 860px) {
|
||||
.split-shell {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Ambient full-page body skin
|
||||
-------------------------------------------- */
|
||||
|
||||
body.surface-ambient {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
color: var(--text-main);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 28px;
|
||||
background:
|
||||
radial-gradient(1200px 700px at 15% 10%, rgba(2,207,204,.18), transparent 55%),
|
||||
radial-gradient(900px 600px at 95% 25%, rgba(16,183,255,.16), transparent 55%),
|
||||
radial-gradient(700px 480px at 50% 95%, rgba(124,58,237,.12), transparent 55%),
|
||||
linear-gradient(180deg, #070a0f, #0b1220);
|
||||
}
|
||||
|
||||
html[data-theme="light"] body.surface-ambient {
|
||||
background:
|
||||
radial-gradient(1200px 700px at 15% 10%, rgba(2,207,204,.18), transparent 55%),
|
||||
radial-gradient(900px 600px at 95% 25%, rgba(16,183,255,.16), transparent 55%),
|
||||
radial-gradient(700px 480px at 50% 95%, rgba(124,58,237,.12), transparent 55%),
|
||||
linear-gradient(180deg, #f4f7fb, #eaf0f8);
|
||||
}
|
||||
|
||||
.surface-noise {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
opacity: .10;
|
||||
mix-blend-mode: overlay;
|
||||
background-image:
|
||||
linear-gradient(transparent 0 48%, rgba(255,255,255,.06) 48% 52%, transparent 52% 100%),
|
||||
linear-gradient(90deg, transparent 0 48%, rgba(255,255,255,.05) 48% 52%, transparent 52% 100%);
|
||||
background-size: 38px 38px;
|
||||
filter: blur(.2px);
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Tech texture overlay
|
||||
-------------------------------------------- */
|
||||
|
||||
.surface-noise {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
opacity: 0.10;
|
||||
mix-blend-mode: overlay;
|
||||
background-image:
|
||||
linear-gradient(transparent 0 48%, rgba(255,255,255,0.06) 48% 52%, transparent 52% 100%),
|
||||
linear-gradient(90deg, transparent 0 48%, rgba(255,255,255,0.05) 48% 52%, transparent 52% 100%);
|
||||
background-size: 38px 38px;
|
||||
filter: blur(.2px);
|
||||
}
|
||||
|
||||
[data-theme="light"] .surface-noise {
|
||||
opacity: 0.06;
|
||||
mix-blend-mode: normal;
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Rich glass panel
|
||||
-------------------------------------------- */
|
||||
|
||||
.panel-frame {
|
||||
border: 1px solid rgba(255,255,255,0.10);
|
||||
background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.08));
|
||||
border-radius: 22px;
|
||||
box-shadow: 0 30px 80px rgba(0,0,0,0.55);
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
[data-theme="light"] .panel-frame {
|
||||
border-color: rgba(10,20,40,0.10);
|
||||
background: linear-gradient(180deg, rgba(10,20,40,0.06), rgba(10,20,40,0.08));
|
||||
box-shadow: 0 30px 80px rgba(0,0,0,0.18);
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Section hero panel
|
||||
-------------------------------------------- */
|
||||
|
||||
.panel-hero {
|
||||
padding: 34px 30px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
gap: 18px;
|
||||
background:
|
||||
radial-gradient(520px 320px at 25% 25%, rgba(var(--primary-rgb), 0.18), transparent 60%),
|
||||
radial-gradient(540px 340px at 90% 20%, rgba(16,183,255,0.14), transparent 55%),
|
||||
linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
|
||||
}
|
||||
|
||||
[data-theme="light"] .panel-hero {
|
||||
background:
|
||||
radial-gradient(520px 320px at 25% 25%, rgba(var(--primary-rgb), 0.12), transparent 60%),
|
||||
radial-gradient(540px 340px at 90% 20%, rgba(16,183,255,0.10), transparent 55%),
|
||||
linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.22));
|
||||
}
|
||||
|
||||
.panel-hero h1 {
|
||||
margin: 0;
|
||||
font-size: 34px;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.panel-hero p {
|
||||
margin: 10px 0 0;
|
||||
color: var(--text-muted);
|
||||
max-width: 52ch;
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Panel header / body
|
||||
-------------------------------------------- */
|
||||
|
||||
.panel-bar {
|
||||
padding: 26px 26px 18px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 14px;
|
||||
border-bottom: 1px solid rgba(255,255,255,0.10);
|
||||
}
|
||||
|
||||
[data-theme="light"] .panel-bar {
|
||||
border-bottom-color: rgba(10,20,40,0.10);
|
||||
}
|
||||
|
||||
.panel-body {
|
||||
padding: 24px 26px 26px;
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Brand pieces
|
||||
-------------------------------------------- */
|
||||
|
||||
.brand-stack {
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.mark {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 12px;
|
||||
/* Using your Teal/Blue palette */
|
||||
background:
|
||||
radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 65%),
|
||||
linear-gradient(135deg, #02CFCC 0%, #10b7ff 100%);
|
||||
box-shadow:
|
||||
0 8px 24px rgba(2, 207, 204, 0.25),
|
||||
inset 0 0 0 1px rgba(255, 255, 255, 0.15);
|
||||
position: relative;
|
||||
flex: 0 0 auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.mark::before {
|
||||
content: "";
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background: white;
|
||||
clip-path: polygon(
|
||||
100% 20%,
|
||||
100% 0%,
|
||||
0% 0%,
|
||||
0% 100%,
|
||||
100% 100%,
|
||||
100% 80%,
|
||||
25% 80%,
|
||||
25% 20%
|
||||
);
|
||||
opacity: 0.95;
|
||||
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
|
||||
}
|
||||
|
||||
|
||||
.mark::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: white;
|
||||
border-radius: 50%;
|
||||
right: 12px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
|
||||
}
|
||||
|
||||
.headline {
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Quiet action button
|
||||
-------------------------------------------- */
|
||||
|
||||
.btn-quiet {
|
||||
border: 1px solid rgba(255,255,255,0.10);
|
||||
background: transparent;
|
||||
color: var(--text-main);
|
||||
border-radius: 999px;
|
||||
padding: 10px 12px;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
transform .08s ease,
|
||||
border-color $duration-fast $standard,
|
||||
background-color $duration-fast $standard;
|
||||
}
|
||||
|
||||
.btn-quiet:hover {
|
||||
background: rgba(255,255,255,0.05);
|
||||
}
|
||||
|
||||
.btn-quiet:active {
|
||||
transform: translateY(1px);
|
||||
}
|
||||
|
||||
[data-theme="light"] .btn-quiet {
|
||||
border-color: rgba(10,20,40,0.10);
|
||||
}
|
||||
|
||||
[data-theme="light"] .btn-quiet:hover {
|
||||
background: rgba(10,20,40,0.04);
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Meta pills row
|
||||
-------------------------------------------- */
|
||||
|
||||
.meta-row {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
/* override/extend existing .pill use nicely here */
|
||||
.pill.soft {
|
||||
border: 1px solid rgba(255,255,255,0.10);
|
||||
color: var(--text-muted);
|
||||
background: rgba(0,0,0,0.10);
|
||||
padding: 8px 10px;
|
||||
font-size: 12px;
|
||||
display: inline-flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
[data-theme="light"] .pill.soft {
|
||||
border-color: rgba(10,20,40,0.10);
|
||||
background: rgba(255,255,255,0.35);
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Form field shell
|
||||
-------------------------------------------- */
|
||||
|
||||
.field {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.control {
|
||||
position: relative;
|
||||
border: 1px solid rgba(255,255,255,0.10);
|
||||
border-radius: 16px;
|
||||
background: rgba(0,0,0,0.10);
|
||||
transition:
|
||||
border-color $duration-fast $standard,
|
||||
box-shadow $duration-fast $standard,
|
||||
transform .08s ease;
|
||||
}
|
||||
|
||||
[data-theme="light"] .control {
|
||||
border-color: rgba(10,20,40,0.10);
|
||||
background: rgba(255,255,255,0.45);
|
||||
}
|
||||
|
||||
.control:focus-within {
|
||||
border-color: rgba(var(--primary-rgb), 0.55);
|
||||
box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.18);
|
||||
}
|
||||
|
||||
.control > .input {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
height: auto;
|
||||
padding: 14px 14px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
.control > .input:focus,
|
||||
.control > .input:focus-visible {
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.control.has-action > .input {
|
||||
padding-right: 78px;
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Inline action in field
|
||||
-------------------------------------------- */
|
||||
|
||||
.control-action {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
border: 1px solid rgba(255,255,255,0.10);
|
||||
background: rgba(255,255,255,0.04);
|
||||
color: var(--text-main);
|
||||
border-radius: 12px;
|
||||
padding: 8px 10px;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
transition:
|
||||
background-color $duration-fast $standard,
|
||||
transform .08s ease;
|
||||
}
|
||||
|
||||
.control-action:hover {
|
||||
background: rgba(255,255,255,0.08);
|
||||
}
|
||||
|
||||
.control-action:active {
|
||||
transform: translateY(calc(-50% + 1px));
|
||||
}
|
||||
|
||||
[data-theme="light"] .control-action {
|
||||
border-color: rgba(10,20,40,0.10);
|
||||
background: rgba(10,20,40,0.04);
|
||||
}
|
||||
|
||||
[data-theme="light"] .control-action:hover {
|
||||
background: rgba(10,20,40,0.08);
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Subtext / tiny footer
|
||||
-------------------------------------------- */
|
||||
|
||||
.subtext {
|
||||
margin-top: 10px;
|
||||
color: var(--text-muted);
|
||||
font-size: 13px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.panel-foot {
|
||||
margin-top: 18px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
color: var(--text-muted);
|
||||
font-size: 12px;
|
||||
border-top: 1px solid rgba(255,255,255,0.10);
|
||||
padding-top: 14px;
|
||||
}
|
||||
|
||||
[data-theme="light"] .panel-foot {
|
||||
border-top-color: rgba(10,20,40,0.10);
|
||||
}
|
||||
|
||||
.mono {
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
}
|
||||
|
||||
.transparent-effect-fallback{
|
||||
background: linear-gradient(180deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 2%));
|
||||
}
|
||||
|
||||
[data-theme="light"] .transparent-effect-fallback{
|
||||
color: #000;
|
||||
}
|
||||
1
rss/css/theme.css
Normal file
1
rss/css/theme.css
Normal file
@@ -0,0 +1 @@
|
||||
/*# sourceMappingURL=theme.css.map */
|
||||
1
rss/css/theme.css.map
Normal file
1
rss/css/theme.css.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":[],"names":[],"mappings":"","file":"theme.css"}
|
||||
0
rss/css/theme.scss
Normal file
0
rss/css/theme.scss
Normal file
83
rss/css/variables.css
Normal file
83
rss/css/variables.css
Normal file
@@ -0,0 +1,83 @@
|
||||
/* variables.scss (drop-in) */
|
||||
/* palette.scss - Full Spectrum Master Map */
|
||||
/* --------------------------------------------
|
||||
Helpers
|
||||
-------------------------------------------- */
|
||||
/* --------------------------------------------
|
||||
Breakpoints
|
||||
-------------------------------------------- */
|
||||
/* --------------------------------------------
|
||||
Spacing
|
||||
-------------------------------------------- */
|
||||
/* --------------------------------------------
|
||||
Elevation
|
||||
-------------------------------------------- */
|
||||
/* --------------------------------------------
|
||||
Radius
|
||||
-------------------------------------------- */
|
||||
/* --------------------------------------------
|
||||
Typography
|
||||
-------------------------------------------- */
|
||||
/* --------------------------------------------
|
||||
Theme tokens
|
||||
-------------------------------------------- */
|
||||
:root {
|
||||
/* Brand */
|
||||
--primary: #0f766e;
|
||||
--primary-light: #ccfbf1;
|
||||
--primary-dark: #042f2e;
|
||||
--accent: #f97316;
|
||||
/* RGB channels for focus rings etc */
|
||||
--primary-rgb: 15 118 110;
|
||||
/* Status */
|
||||
--success: #16a34a;
|
||||
--info: #0d6efd;
|
||||
--warning: #eab308;
|
||||
--danger: #dc2626;
|
||||
/* Surfaces */
|
||||
--bg-app: #fbfcfd;
|
||||
--bg-surface: #f8f9fa;
|
||||
--bg-card: #ffffff;
|
||||
--border-color: #e9ecef;
|
||||
/* Text */
|
||||
--text-main: #212529;
|
||||
--text-muted: #495057;
|
||||
--text-light: #adb5bd;
|
||||
--text-inverse: #ffffff;
|
||||
--table-header-bg: var(--bg-surface);
|
||||
--table-striped-bg: #fbfcfd;
|
||||
--table-hover-bg: rgba(var(--primary-rgb), 0.06);
|
||||
}
|
||||
|
||||
[data-theme=dark] {
|
||||
--primary: #5eead4;
|
||||
--primary-light: #115e59;
|
||||
--primary-rgb: 94 234 212;
|
||||
--bg-app: #121416;
|
||||
--bg-surface: #212529;
|
||||
--bg-card: #343a40;
|
||||
--border-color: #495057;
|
||||
--text-main: #f8f9fa;
|
||||
--text-muted: #ced4da;
|
||||
--text-light: #6c757d;
|
||||
--table-header-bg: var(--bg-surface);
|
||||
--table-striped-bg: rgba(255,255,255,0.03);
|
||||
--table-hover-bg: rgba(var(--primary-rgb), 0.10);
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
SASS aliases to CSS vars
|
||||
-------------------------------------------- */
|
||||
/* --------------------------------------------
|
||||
Z-index
|
||||
-------------------------------------------- */
|
||||
/* --------------------------------------------
|
||||
Grid & layout maps
|
||||
-------------------------------------------- */
|
||||
/* --------------------------------------------
|
||||
Components baseline tokens
|
||||
-------------------------------------------- */
|
||||
/* sizing maps */
|
||||
/* motion */
|
||||
/* focus ring */
|
||||
/* sidebar *//*# sourceMappingURL=variables.css.map */
|
||||
1
rss/css/variables.css.map
Normal file
1
rss/css/variables.css.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["variables.scss","palette.scss","variables.css"],"names":[],"mappings":"AAAA,6BAAA;ACAA,4CAAA;ADKA;;8CAAA;AASA;;8CAAA;AAYA;;8CAAA;AAgBA;;8CAAA;AAcA;;8CAAA;AAUA;;8CAAA;AA2BA;;8CAAA;AAMA;EACE,UAAA;EACA,kBAAA;EACA,wBAAA;EACA,uBAAA;EACA,iBAAA;EAGA,qCAAA;EACA,yBAAA;EAEA,WAAA;EACA,kBAAA;EACA,eAAA;EACA,kBAAA;EACA,iBAAA;EAEA,aAAA;EACA,iBAAA;EACA,qBAAA;EACA,kBAAA;EACA,uBAAA;EAEA,SAAA;EACA,oBAAA;EACA,qBAAA;EACA,qBAAA;EACA,uBAAA;EAEA,oCAAA;EACA,2BAAA;EACA,gDAAA;AEjFF;;AFoFA;EACE,kBAAA;EACA,wBAAA;EACA,yBAAA;EAEA,iBAAA;EACA,qBAAA;EACA,kBAAA;EACA,uBAAA;EAEA,oBAAA;EACA,qBAAA;EACA,qBAAA;EAEA,oCAAA;EACA,0CAAA;EACA,gDAAA;AEpFF;;AFuFA;;8CAAA;AAuBA;;8CAAA;AAiBA;;8CAAA;AAgCA;;8CAAA;AA8BA,gBAAA;AAgCA,WAAA;AAYA,eAAA;AAIA,YAAA","file":"variables.css"}
|
||||
305
rss/css/variables.scss
Normal file
305
rss/css/variables.scss
Normal file
@@ -0,0 +1,305 @@
|
||||
/* variables.scss (drop-in) */
|
||||
@use "sass:map";
|
||||
@use "sass:color";
|
||||
@use "./palette" as *;
|
||||
|
||||
/* --------------------------------------------
|
||||
Helpers
|
||||
-------------------------------------------- */
|
||||
@function rgb-channels($c) {
|
||||
@return #{color.channel($c, "red", $space: rgb)}
|
||||
#{color.channel($c, "green", $space: rgb)}
|
||||
#{color.channel($c, "blue", $space: rgb)};
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
Breakpoints
|
||||
-------------------------------------------- */
|
||||
$breakpoints: (
|
||||
"xs": 0,
|
||||
"sm": 576px,
|
||||
"md": 768px,
|
||||
"lg": 992px,
|
||||
"xl": 1200px,
|
||||
"xxl": 1400px
|
||||
);
|
||||
|
||||
/* --------------------------------------------
|
||||
Spacing
|
||||
-------------------------------------------- */
|
||||
$spacer: 1rem;
|
||||
|
||||
$spacers: (
|
||||
0: 0,
|
||||
1: $spacer * 0.25,
|
||||
2: $spacer * 0.5,
|
||||
3: $spacer,
|
||||
4: $spacer * 1.5,
|
||||
5: $spacer * 2,
|
||||
6: $spacer * 3,
|
||||
7: $spacer * 4
|
||||
);
|
||||
|
||||
/* --------------------------------------------
|
||||
Elevation
|
||||
-------------------------------------------- */
|
||||
$elevation: (
|
||||
0: none,
|
||||
1: (0 2px 1px -1px rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 1px 3px 0 rgba(0,0,0,.12)),
|
||||
2: (0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12)),
|
||||
4: (0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12)),
|
||||
8: (0 5px 5px -3px rgba(0,0,0,.2), 0 8px 10px 1px rgba(0,0,0,.14), 0 3px 14px 2px rgba(0,0,0,.12)),
|
||||
12:(0 7px 8px -4px rgba(0,0,0,.2), 0 12px 17px 2px rgba(0,0,0,.14), 0 5px 22px 4px rgba(0,0,0,.12)),
|
||||
16:(0 8px 10px -5px rgba(0,0,0,.2), 0 16px 24px 2px rgba(0,0,0,.14), 0 6px 30px 5px rgba(0,0,0,.12)),
|
||||
24:(0 11px 15px -7px rgba(0,0,0,.2), 0 24px 38px 3px rgba(0,0,0,.14), 0 9px 46px 8px rgba(0,0,0,.12))
|
||||
);
|
||||
|
||||
/* --------------------------------------------
|
||||
Radius
|
||||
-------------------------------------------- */
|
||||
$radius-none: 0;
|
||||
$radius-sm: 0.25rem;
|
||||
$radius-md: 0.5rem;
|
||||
$radius-lg: 1rem;
|
||||
$radius-xl: 1.5rem;
|
||||
$radius-pill: 50rem;
|
||||
|
||||
/* --------------------------------------------
|
||||
Typography
|
||||
-------------------------------------------- */
|
||||
$font-family-sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
|
||||
$font-family-alt: "Poppins", sans-serif;
|
||||
|
||||
$weight-light: 300;
|
||||
$weight-normal: 400;
|
||||
$weight-medium: 500;
|
||||
$weight-bold: 700;
|
||||
|
||||
$font-sizes: (
|
||||
"h1": 2.5rem,
|
||||
"h2": 2rem,
|
||||
"h3": 1.75rem,
|
||||
"h4": 1.5rem,
|
||||
"h5": 1.25rem,
|
||||
"h6": 1rem,
|
||||
"body": 1rem,
|
||||
"small": 0.875rem,
|
||||
"xs": 0.75rem
|
||||
);
|
||||
|
||||
$line-height-tight: 1.2;
|
||||
$line-height-base: 1.5;
|
||||
$line-height-loose: 1.8;
|
||||
|
||||
/* --------------------------------------------
|
||||
Theme tokens
|
||||
-------------------------------------------- */
|
||||
$primary-color: map.get(map.get($colors, "teal"), 700);
|
||||
$primary-color-dark: map.get(map.get($colors, "teal"), 300);
|
||||
|
||||
:root {
|
||||
/* Brand */
|
||||
--primary: #{$primary-color};
|
||||
--primary-light: #{map.get(map.get($colors, "teal"), 100)};
|
||||
--primary-dark: #{map.get(map.get($colors, "teal"), 950)};
|
||||
--accent: #{map.get(map.get($colors, "orange"), 500)};
|
||||
|
||||
|
||||
/* RGB channels for focus rings etc */
|
||||
--primary-rgb: #{rgb-channels($primary-color)};
|
||||
|
||||
/* Status */
|
||||
--success: #{map.get(map.get($colors, "green"), 600)};
|
||||
--info: #{map.get(map.get($colors, "blue"), 500)};
|
||||
--warning: #{map.get(map.get($colors, "yellow"), 500)};
|
||||
--danger: #{map.get(map.get($colors, "red"), 600)};
|
||||
|
||||
/* Surfaces */
|
||||
--bg-app: #{map.get(map.get($colors, "gray"), 50)};
|
||||
--bg-surface: #{map.get(map.get($colors, "gray"), 100)};
|
||||
--bg-card: #{$white};
|
||||
--border-color: #{map.get(map.get($colors, "gray"), 200)};
|
||||
|
||||
/* Text */
|
||||
--text-main: #{map.get(map.get($colors, "gray"), 900)};
|
||||
--text-muted: #{map.get(map.get($colors, "gray"), 700)};
|
||||
--text-light: #{map.get(map.get($colors, "gray"), 500)};
|
||||
--text-inverse: #{$white};
|
||||
|
||||
--table-header-bg: var(--bg-surface);
|
||||
--table-striped-bg: #{map.get(map.get($colors, "gray"), 50)};
|
||||
--table-hover-bg: rgba(var(--primary-rgb), 0.06);
|
||||
}
|
||||
|
||||
[data-theme="dark"] {
|
||||
--primary: #{$primary-color-dark};
|
||||
--primary-light: #{map.get(map.get($colors, "teal"), 800)};
|
||||
--primary-rgb: #{rgb-channels($primary-color-dark)};
|
||||
|
||||
--bg-app: #{map.get(map.get($colors, "gray"), 950)};
|
||||
--bg-surface: #{map.get(map.get($colors, "gray"), 900)};
|
||||
--bg-card: #{map.get(map.get($colors, "gray"), 800)};
|
||||
--border-color: #{map.get(map.get($colors, "gray"), 700)};
|
||||
|
||||
--text-main: #{map.get(map.get($colors, "gray"), 100)};
|
||||
--text-muted: #{map.get(map.get($colors, "gray"), 400)};
|
||||
--text-light: #{map.get(map.get($colors, "gray"), 600)};
|
||||
|
||||
--table-header-bg: var(--bg-surface);
|
||||
--table-striped-bg: rgba(255,255,255,0.03);
|
||||
--table-hover-bg: rgba(var(--primary-rgb), 0.10);
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
SASS aliases to CSS vars
|
||||
-------------------------------------------- */
|
||||
$primary: var(--primary);
|
||||
$primary-light: var(--primary-light);
|
||||
$primary-dark: var(--primary-dark);
|
||||
$accent: var(--accent);
|
||||
|
||||
$success: var(--success);
|
||||
$info: var(--info);
|
||||
$warning: var(--warning);
|
||||
$danger: var(--danger);
|
||||
|
||||
$bg-app: var(--bg-app);
|
||||
$bg-surface: var(--bg-surface);
|
||||
$bg-card: var(--bg-card);
|
||||
$border-color: var(--border-color);
|
||||
|
||||
$text-main: var(--text-main);
|
||||
$text-muted: var(--text-muted);
|
||||
$text-light: var(--text-light);
|
||||
$text-inverse: var(--text-inverse);
|
||||
|
||||
/* --------------------------------------------
|
||||
Z-index
|
||||
-------------------------------------------- */
|
||||
$z-index: (
|
||||
"deep": -1,
|
||||
"default": 1,
|
||||
"sticky": 100,
|
||||
"sidebar": 200,
|
||||
"header": 300,
|
||||
"backdrop": 400,
|
||||
"modal": 500,
|
||||
"dropdown": 600,
|
||||
"popover": 700,
|
||||
"tooltip": 800,
|
||||
"toast": 900
|
||||
);
|
||||
|
||||
/* --------------------------------------------
|
||||
Grid & layout maps
|
||||
-------------------------------------------- */
|
||||
$container-max-widths: (
|
||||
"sm": 540px,
|
||||
"md": 720px,
|
||||
"lg": 960px,
|
||||
"xl": 1140px,
|
||||
"xxl": 1320px
|
||||
);
|
||||
|
||||
$grid-columns: 12;
|
||||
$grid-gutter-width: map.get($spacers, 3);
|
||||
|
||||
$flex-directions: (row, row-reverse, column, column-reverse);
|
||||
$justify-content: (
|
||||
"start": flex-start,
|
||||
"end": flex-end,
|
||||
"center": center,
|
||||
"between": space-between,
|
||||
"around": space-around,
|
||||
"evenly": space-evenly
|
||||
);
|
||||
$align-items: (
|
||||
"start": flex-start,
|
||||
"end": flex-end,
|
||||
"center": center,
|
||||
"baseline": baseline,
|
||||
"stretch": stretch
|
||||
);
|
||||
$display-values: (none, block, inline, inline-block, flex, inline-flex, grid);
|
||||
|
||||
/* --------------------------------------------
|
||||
Components baseline tokens
|
||||
-------------------------------------------- */
|
||||
$input-height: 2.5rem;
|
||||
$input-height-sm: 2rem;
|
||||
$input-height-lg: 3.25rem;
|
||||
|
||||
$input-padding-y: map.get($spacers, 2);
|
||||
$input-padding-x: map.get($spacers, 3);
|
||||
|
||||
$label-margin-bottom: map.get($spacers, 1);
|
||||
$label-font-size: map.get($font-sizes, "small");
|
||||
$label-font-weight: $weight-medium;
|
||||
|
||||
$card-padding: map.get($spacers, 4);
|
||||
$card-border-width: 1px;
|
||||
$card-border-radius: $radius-md;
|
||||
|
||||
$table-cell-padding-y: map.get($spacers, 3);
|
||||
$table-cell-padding-x: map.get($spacers, 3);
|
||||
$table-header-bg: var(--table-header-bg);
|
||||
$table-header-color: $text-muted;
|
||||
$table-striped-bg: var(--table-striped-bg);
|
||||
$table-hover-bg: var(--table-hover-bg);
|
||||
|
||||
$scrollbar-width: 8px;
|
||||
$scrollbar-track: map.get(map.get($colors, "gray"), 100);
|
||||
$scrollbar-thumb: map.get(map.get($colors, "gray"), 300);
|
||||
$scrollbar-thumb-hover: map.get(map.get($colors, "gray"), 400);
|
||||
|
||||
/* sizing maps */
|
||||
$sizes: (
|
||||
25: 25%,
|
||||
33: 33.33%,
|
||||
50: 50%,
|
||||
66: 66.66%,
|
||||
75: 75%,
|
||||
100: 100%,
|
||||
"auto": auto,
|
||||
"screen-v": 100vh,
|
||||
"screen-h": 100vw
|
||||
);
|
||||
|
||||
$spacing-properties: ("m": "margin", "p": "padding");
|
||||
$spacing-sides: (
|
||||
"t": "top",
|
||||
"b": "bottom",
|
||||
"s": "start",
|
||||
"e": "end",
|
||||
"x": ("left", "right"),
|
||||
"y": ("top", "bottom"),
|
||||
"a": ""
|
||||
);
|
||||
|
||||
$object-fits: (contain, cover, fill, scale-down);
|
||||
$aspect-ratios: (
|
||||
"1x1": 100%,
|
||||
"4x3": 75%,
|
||||
"16x9": 56.25%,
|
||||
"21x9": 42.85%
|
||||
);
|
||||
|
||||
/* motion */
|
||||
$standard: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
$duration-fast: 150ms;
|
||||
$duration-base: 250ms;
|
||||
$duration-slow: 400ms;
|
||||
|
||||
$hover-brightness: 95%;
|
||||
$active-brightness: 90%;
|
||||
|
||||
$hover-lift: translateY(-2px);
|
||||
$hover-shadow: map.get($elevation, 4);
|
||||
|
||||
/* focus ring */
|
||||
$focus-ring-width: 3px;
|
||||
$focus-ring-color: rgba(var(--primary-rgb), 0.35);
|
||||
|
||||
/* sidebar */
|
||||
$sidebar-width: 280px;
|
||||
$sidebar-collapsed: 84px;
|
||||
Reference in New Issue
Block a user