Files
wifi-gps-mapper-public/cracklab/server/web/static/cracklab.css
T
2026-10-06 21:08:12 +03:00

786 lines
9.6 KiB
CSS

@font-face {
font-family: "Bender";
src:
url("fonts/Bender.woff2") format("woff2"),
url("fonts/Bender.woff") format("woff");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: "Bender";
src:
url("fonts/Bender-Bold.woff2") format("woff2"),
url("fonts/Bender-Bold.woff") format("woff");
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: "Bender";
src:
url("fonts/Bender-Light.woff2") format("woff2"),
url("fonts/Bender-Light.woff") format("woff");
font-weight: 300;
font-style: normal;
}
:root {
--bg: #0f141a;
--surface: #171e26;
--surface-light: #1c252f;
--border: #2b3743;
--text: #e6edf3;
--muted: #8b98a6;
--green: #45d483;
--yellow: #e5c07b;
--red: #ef6262;
--accent: #69a7ff;
--terminal: #0a0f14;
}
* {
box-sizing: border-box;
}
html {
min-height: 100%;
}
body {
margin: 0;
padding: 0;
min-height: 100vh;
font-family:
"Bender",
Arial,
Helvetica,
sans-serif;
background: var(--bg);
color: var(--text);
}
a {
color: var(--accent);
text-decoration: none;
}
a:hover {
color: #9bc4ff;
}
.cracklab-header {
position: sticky;
top: 0;
z-index: 1000;
width: 100%;
background: rgba(15, 20, 26, 0.96);
border-bottom: 1px solid var(--border);
backdrop-filter: blur(12px);
}
.cracklab-header-inner {
width: 100%;
max-width: 1800px;
margin: 0 auto;
min-height: 68px;
display: flex;
align-items: center;
gap: 36px;
padding: 0 30px;
}
.cracklab-brand {
flex: 0 0 auto;
display: flex;
flex-direction: column;
justify-content: center;
color: var(--text);
text-decoration: none;
white-space: nowrap;
}
.cracklab-brand:hover {
color: var(--text);
text-decoration: none;
}
.cracklab-brand-title {
font-size: 19px;
font-weight: 700;
letter-spacing: 0.4px;
line-height: 1.1;
}
.cracklab-brand-subtitle {
margin-top: 3px;
color: var(--muted);
font-size: 12px;
font-weight: 400;
letter-spacing: 0.7px;
line-height: 1.1;
}
.cracklab-nav {
display: flex;
align-items: center;
gap: 6px;
min-width: 0;
overflow-x: auto;
scrollbar-width: thin;
}
.cracklab-nav a {
display: inline-flex;
align-items: center;
min-height: 38px;
padding: 0 14px;
border-radius: 7px;
color: var(--muted);
font-size: 13px;
font-weight: 700;
letter-spacing: 0.7px;
white-space: nowrap;
transition:
color 0.15s ease,
background 0.15s ease;
}
.cracklab-nav a:hover {
color: var(--text);
background: var(--surface-light);
text-decoration: none;
}
.cracklab-nav a.active {
color: var(--text);
background: var(--surface-light);
box-shadow:
inset 0 -2px 0 var(--accent);
}
.cracklab-content {
width: 100%;
max-width: 1800px;
margin: 0 auto;
padding: 30px;
}
.page-title {
margin-top: 0;
margin-bottom: 8px;
font-size: 34px;
font-weight: 700;
letter-spacing: 0.2px;
}
.page-description {
color: var(--muted);
margin-bottom: 30px;
font-size: 15px;
}
.methods-page {
width: 100%;
}
.methods-page-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 24px;
margin-bottom: 30px;
}
.methods-page-header .page-description {
margin-bottom: 0;
}
.methods-button,
.methods-button-secondary {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 42px;
padding: 10px 18px;
border: 2px outset ButtonFace;
border-radius: 7px;
font: inherit;
font-size: 14px;
font-weight: 700;
cursor: pointer;
text-decoration: none;
transition:
background 0.15s ease,
color 0.15s ease,
transform 0.15s ease;
}
.methods-button {
background: var(--accent);
color: #0f141a;
}
.methods-button:hover {
background: #8abaff;
color: #0f141a;
text-decoration: none;
}
.methods-button:active {
border-style: inset;
transform: translateY(1px);
}
.methods-button-secondary {
background: var(--surface-light);
color: var(--text);
}
.methods-button-secondary:hover {
background: var(--border);
color: var(--text);
text-decoration: none;
}
.methods-button-secondary:active {
border-style: inset;
transform: translateY(1px);
}
.methods-list {
display: grid;
gap: 14px;
}
.method-card {
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
padding: 20px 22px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
box-shadow:
0 2px 10px rgba(0, 0, 0, 0.20);
}
.method-card-main {
min-width: 0;
}
.method-card-title {
margin-bottom: 7px;
color: var(--text);
font-size: 20px;
font-weight: 700;
}
.method-card-description {
margin-bottom: 9px;
color: var(--muted);
font-size: 14px;
line-height: 1.5;
}
.method-card-id {
color: var(--muted);
font-family: monospace;
font-size: 12px;
}
.method-card-meta {
display: flex;
flex-shrink: 0;
gap: 28px;
}
.method-meta-item {
min-width: 80px;
}
.method-meta-item span {
display: block;
margin-bottom: 5px;
color: var(--muted);
font-size: 12px;
}
.method-meta-item strong {
color: var(--text);
font-size: 14px;
font-weight: 700;
}
.method-empty {
padding: 50px 30px;
text-align: center;
background: var(--surface);
border: 1px dashed var(--border);
border-radius: 12px;
}
.method-empty-title {
margin-bottom: 10px;
color: var(--text);
font-size: 21px;
font-weight: 700;
}
.method-empty-description {
max-width: 520px;
margin: 0 auto 24px;
color: var(--muted);
font-size: 14px;
line-height: 1.6;
}
.stats-grid {
display: grid;
grid-template-columns:
repeat(
auto-fit,
minmax(180px, 1fr)
);
gap: 18px;
margin-bottom: 24px;
}
.stat-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 10px;
padding: 18px;
text-align: center;
}
.stat-value {
margin-bottom: 8px;
color: var(--accent);
font-size: 34px;
font-weight: 700;
}
.stat-title {
color: var(--muted);
font-size: 14px;
}
.dashboard-grid {
display: grid;
grid-template-columns:
minmax(260px, 0.35fr)
minmax(500px, 1fr);
gap: 24px;
align-items: start;
}
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
padding: 22px;
margin-bottom: 24px;
box-shadow:
0 2px 10px rgba(0, 0, 0, 0.20);
}
.card h2 {
margin-top: 0;
margin-bottom: 20px;
color: var(--text);
font-size: 21px;
}
.table-container {
overflow-x: auto;
overflow-y: auto;
max-height: 700px;
border: 1px solid var(--border);
border-radius: 10px;
}
table {
width: 100%;
border-collapse: collapse;
}
th {
background: var(--surface-light);
color: var(--text);
font-weight: 700;
text-align: left;
padding: 12px;
border-bottom: 2px solid var(--border);
position: sticky;
top: 0;
z-index: 2;
}
td {
padding: 10px 12px;
border-bottom: 1px solid var(--border);
vertical-align: top;
color: var(--text);
}
tbody tr:hover {
background: rgba(105, 167, 255, 0.05);
}
.status-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.status-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding-bottom: 10px;
border-bottom: 1px solid var(--border);
}
.status-row:last-child {
padding-bottom: 0;
border-bottom: 0;
}
.badge {
display: inline-flex;
align-items: center;
min-height: 24px;
padding: 0 9px;
border-radius: 6px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.5px;
background: var(--surface-light);
color: var(--muted);
}
.badge-created,
.badge-queued {
color: var(--yellow);
}
.badge-running,
.badge-partial {
color: var(--accent);
}
.badge-completed {
color: var(--green);
}
.badge-failed,
.badge-cancelled {
color: var(--red);
}
.muted {
color: var(--muted);
}
.empty-state {
padding: 35px 20px;
color: var(--muted);
text-align: center;
border: 1px dashed var(--border);
border-radius: 8px;
}
@media (max-width: 900px) {
.cracklab-header-inner {
align-items: flex-start;
flex-direction: column;
gap: 12px;
padding-top: 14px;
padding-bottom: 14px;
}
.cracklab-nav {
width: 100%;
}
.cracklab-content {
padding: 20px;
}
.methods-page-header {
align-items: stretch;
flex-direction: column;
gap: 16px;
}
.methods-button {
width: 100%;
}
.method-card {
align-items: stretch;
flex-direction: column;
gap: 20px;
}
.method-card-meta {
width: 100%;
justify-content: space-between;
}
.dashboard-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 600px) {
.cracklab-content {
padding: 15px;
}
.page-title {
font-size: 28px;
}
.stat-value {
font-size: 28px;
}
.card {
padding: 16px;
}
}