generated from nathanwoodburn/python-webserver-template
419 lines
7.0 KiB
CSS
419 lines
7.0 KiB
CSS
:root {
|
|
--bg: #0a0e1a;
|
|
--bg-alt: #141829;
|
|
--panel: rgba(20, 24, 41, 0.75);
|
|
--panel-border: rgba(255, 107, 53, 0.25);
|
|
--text: #f5f5f5;
|
|
--muted: #a0a0a0;
|
|
--accent: #ff6b35;
|
|
--warning: #ffa500;
|
|
--danger: #ff4444;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
color: var(--text);
|
|
background: radial-gradient(circle at top left, #2a2a3e 0%, var(--bg) 48%, #0a0a0f 100%);
|
|
font-family: "Space Grotesk", "Segoe UI", sans-serif;
|
|
min-height: 100vh;
|
|
position: relative;
|
|
}
|
|
|
|
.bg-grid {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 0;
|
|
background-image: linear-gradient(rgba(255, 107, 53, 0.06) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(255, 107, 53, 0.06) 1px, transparent 1px);
|
|
background-size: 42px 42px;
|
|
mask-image: radial-gradient(circle at center, black 30%, transparent 100%);
|
|
}
|
|
|
|
.bg-orb {
|
|
position: fixed;
|
|
border-radius: 999px;
|
|
filter: blur(70px);
|
|
opacity: 0.5;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.orb-a {
|
|
width: 300px;
|
|
height: 300px;
|
|
background: #ff6b35;
|
|
top: 7%;
|
|
left: 4%;
|
|
}
|
|
|
|
.orb-b {
|
|
width: 260px;
|
|
height: 260px;
|
|
background: #ff8c42;
|
|
right: 7%;
|
|
bottom: 10%;
|
|
}
|
|
|
|
.layout {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 28px 16px 48px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
align-items: end;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.kicker {
|
|
margin: 0;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.12em;
|
|
color: var(--accent);
|
|
font-size: 12px;
|
|
}
|
|
|
|
h1 {
|
|
margin: 6px 0;
|
|
font-size: clamp(30px, 5vw, 52px);
|
|
line-height: 1;
|
|
}
|
|
|
|
.subtitle {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.hero-meta {
|
|
display: grid;
|
|
gap: 8px;
|
|
color: var(--muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.stats-grid.compact {
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
}
|
|
|
|
.stat-card {
|
|
border: 1px solid var(--panel-border);
|
|
border-radius: 14px;
|
|
background: linear-gradient(180deg, rgba(9, 45, 79, 0.84), var(--panel));
|
|
padding: 10px 12px;
|
|
display: grid;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.stat-card span {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.stat-card strong {
|
|
font-size: 22px;
|
|
line-height: 1;
|
|
letter-spacing: 0.02em;
|
|
word-break: break-word;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
.panel {
|
|
border: 1px solid var(--panel-border);
|
|
border-radius: 16px;
|
|
margin-bottom: 16px;
|
|
padding: 12px;
|
|
background: var(--panel);
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.panel.split {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
.panel-head h2 {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.panel-head p {
|
|
margin: 2px 0 10px;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.search-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
input,
|
|
button {
|
|
border: 1px solid var(--panel-border);
|
|
border-radius: 10px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
color: var(--text);
|
|
font: inherit;
|
|
padding: 10px 11px;
|
|
}
|
|
|
|
input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
background: linear-gradient(120deg, #ff6b35, #ff8c42);
|
|
color: #fff;
|
|
font-weight: 700;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
button:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.muted {
|
|
color: var(--muted);
|
|
font-size: 14px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.table-wrap {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
min-width: 700px;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
text-align: left;
|
|
padding: 8px 10px;
|
|
border-bottom: 1px solid rgba(141, 206, 255, 0.13);
|
|
font-size: 13px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
td {
|
|
word-break: break-word;
|
|
overflow-wrap: break-word;
|
|
max-width: 100%;
|
|
}
|
|
|
|
th {
|
|
color: #ff8c42;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.pill {
|
|
border-radius: 99px;
|
|
padding: 2px 9px;
|
|
display: inline-block;
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.pill.immature,
|
|
.pill.pending {
|
|
background: rgba(249, 202, 104, 0.25);
|
|
color: var(--warning);
|
|
}
|
|
|
|
.pill.confirmed,
|
|
.pill.paid,
|
|
.pill.success {
|
|
background: rgba(120, 230, 200, 0.2);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.pill.orphan,
|
|
.pill.failed,
|
|
.pill.rejected {
|
|
background: rgba(255, 127, 136, 0.2);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.empty {
|
|
color: var(--muted);
|
|
}
|
|
|
|
@media (min-width: 920px) {
|
|
.panel.split {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 850px) {
|
|
.layout {
|
|
padding: 20px 12px 36px;
|
|
}
|
|
|
|
.hero {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.hero-meta {
|
|
width: 100%;
|
|
}
|
|
|
|
.stats-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.search-row {
|
|
flex-direction: column;
|
|
}
|
|
|
|
button {
|
|
width: 100%;
|
|
}
|
|
|
|
.stats-grid,
|
|
.stats-grid.compact {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 620px) {
|
|
h1 {
|
|
font-size: clamp(26px, 8vw, 36px);
|
|
}
|
|
|
|
.stats-grid,
|
|
.stats-grid.compact {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.panel {
|
|
padding: 10px;
|
|
}
|
|
|
|
.table-wrap {
|
|
overflow: visible;
|
|
}
|
|
|
|
table {
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
thead {
|
|
display: none;
|
|
}
|
|
|
|
tbody,
|
|
tr,
|
|
td {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
tr {
|
|
border: 1px solid rgba(255, 107, 53, 0.2);
|
|
border-radius: 12px;
|
|
margin-bottom: 10px;
|
|
padding: 6px 8px;
|
|
background: rgba(40, 30, 20, 0.4);
|
|
}
|
|
|
|
td {
|
|
border: 0;
|
|
border-bottom: 1px dashed rgba(255, 107, 53, 0.15);
|
|
padding: 7px 0;
|
|
display: grid;
|
|
grid-template-columns: minmax(90px, 35%) 1fr;
|
|
gap: 8px;
|
|
align-items: center;
|
|
overflow-wrap: break-word;
|
|
word-break: break-word;
|
|
}
|
|
|
|
td:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
td::before {
|
|
content: attr(data-label);
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.empty {
|
|
display: block;
|
|
border: 0;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.empty::before {
|
|
content: none;
|
|
}
|
|
}
|
|
|
|
.footer {
|
|
text-align: center;
|
|
padding: 20px 0;
|
|
color: var(--muted);
|
|
font-size: 14px;
|
|
}
|
|
.footer a {
|
|
color: var(--accent);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.setup-panel {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.setup-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 10px 14px;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--panel-border);
|
|
color: #fff;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
background: linear-gradient(120deg, #ff6b35, #ff8c42);
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.setup-link:hover {
|
|
opacity: 0.9;
|
|
}
|