1001 lines
26 KiB
CSS
1001 lines
26 KiB
CSS
@charset "UTF-8";
|
|
/* templates.scss (drop-in)
|
|
App/demo templates and composed patterns.
|
|
Keep framework stuff in main.scss.
|
|
*/
|
|
/* 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 */
|
|
/* --------------------------------------------
|
|
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: 300;
|
|
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 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
/* layout (unchanged) */
|
|
.topbar-inner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.topbar-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.topbar-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
/* --------------------------------------------
|
|
Sidebar templates
|
|
-------------------------------------------- */
|
|
.sidebar-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.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: 1rem;
|
|
padding: 0.75rem 0.875rem;
|
|
border-radius: 0.75rem;
|
|
color: var(--text-muted);
|
|
text-decoration: none;
|
|
position: relative;
|
|
transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
.nav-item: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.1), 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: 1rem;
|
|
grid-template-columns: 1.4fr 1fr;
|
|
}
|
|
@media (max-width: 992px) {
|
|
.hero-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.kicker {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.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: 0.5rem;
|
|
}
|
|
|
|
.chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.35rem 0.65rem;
|
|
border-radius: 999px;
|
|
border: 1px solid var(--border-color);
|
|
background: var(--bg-surface);
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
.chip:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
|
|
color: var(--text-main);
|
|
}
|
|
.chip.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 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
.btn-close:hover {
|
|
background: rgba(0, 0, 0, 0.06);
|
|
color: var(--text-main);
|
|
transform: translateY(-1px);
|
|
}
|
|
.btn-close: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 400ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
/* 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: 1.5rem;
|
|
}
|
|
|
|
.panel-grid-2 {
|
|
display: grid;
|
|
gap: 1.5rem;
|
|
grid-template-columns: 1.15fr 0.85fr;
|
|
}
|
|
@media (max-width: 992px) {
|
|
.panel-grid-2 {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.panel-grid-3 {
|
|
display: grid;
|
|
gap: 1.5rem;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
@media (max-width: 992px) {
|
|
.panel-grid-3 {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.panel-grid-4 {
|
|
display: grid;
|
|
gap: 1.5rem;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
@media (max-width: 1200px) {
|
|
.panel-grid-4 {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
@media (max-width: 768px) {
|
|
.panel-grid-4 {
|
|
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.1), 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.1), 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: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.card-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
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 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.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.1), 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: 1rem;
|
|
}
|
|
|
|
.module-item {
|
|
padding: 1rem;
|
|
border-radius: 0.5rem;
|
|
border: 1px solid var(--border-color);
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2)), var(--bg-surface);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 18px rgba(0, 0, 0, 0.04);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.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: 0.5rem;
|
|
}
|
|
|
|
.module-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
font-size: 0.875rem;
|
|
color: var(--text-muted);
|
|
}
|
|
@media (max-width: 576px) {
|
|
.module-meta {
|
|
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: 1rem;
|
|
padding: 1.5rem;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
@media (max-width: 768px) {
|
|
.table-toolbar {
|
|
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: 1.5rem;
|
|
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, 0.18), transparent 55%), radial-gradient(900px 600px at 95% 25%, rgba(16, 183, 255, 0.16), transparent 55%), radial-gradient(700px 480px at 50% 95%, rgba(124, 58, 237, 0.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, 0.18), transparent 55%), radial-gradient(900px 600px at 95% 25%, rgba(16, 183, 255, 0.16), transparent 55%), radial-gradient(700px 480px at 50% 95%, rgba(124, 58, 237, 0.12), transparent 55%), linear-gradient(180deg, #f4f7fb, #eaf0f8);
|
|
}
|
|
|
|
.surface-noise {
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
opacity: 0.1;
|
|
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(0.2px);
|
|
}
|
|
|
|
/* --------------------------------------------
|
|
Tech texture overlay
|
|
-------------------------------------------- */
|
|
.surface-noise {
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
opacity: 0.1;
|
|
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(0.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.1);
|
|
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.1);
|
|
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.1), 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.1);
|
|
}
|
|
|
|
[data-theme=light] .panel-bar {
|
|
border-bottom-color: rgba(10, 20, 40, 0.1);
|
|
}
|
|
|
|
.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.1);
|
|
background: transparent;
|
|
color: var(--text-main);
|
|
border-radius: 999px;
|
|
padding: 10px 12px;
|
|
cursor: pointer;
|
|
transition: transform 0.08s ease, border-color 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.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.1);
|
|
}
|
|
|
|
[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.1);
|
|
color: var(--text-muted);
|
|
background: rgba(0, 0, 0, 0.1);
|
|
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.1);
|
|
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.1);
|
|
border-radius: 16px;
|
|
background: rgba(0, 0, 0, 0.1);
|
|
transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 0.08s ease;
|
|
}
|
|
|
|
[data-theme=light] .control {
|
|
border-color: rgba(10, 20, 40, 0.1);
|
|
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.1);
|
|
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 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 0.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.1);
|
|
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.1);
|
|
padding-top: 14px;
|
|
}
|
|
|
|
[data-theme=light] .panel-foot {
|
|
border-top-color: rgba(10, 20, 40, 0.1);
|
|
}
|
|
|
|
.mono {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
}
|
|
|
|
.transparent-effect-fallback {
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
|
|
}
|
|
|
|
[data-theme=light] .transparent-effect-fallback {
|
|
color: #000;
|
|
}/*# sourceMappingURL=template.css.map */ |