Files
usbcheck.it/public/assets/css/fakecheck.css
2025-11-24 00:57:19 +01:00

400 lines
7.8 KiB
CSS

/* /public/assets/css/fakecheck.css */
:root {
--fc-brand-primary: #2563eb;
--fc-brand-secondary: #0f172a;
--fc-brand-bg: #020617;
--fc-brand-border: #1f2937;
--fc-success: #16a34a;
--fc-warning: #f59e0b;
--fc-danger: #dc2626;
--fc-text: #e5e7eb;
--fc-text-muted: #9ca3af;
}
.fc-container {
max-width: 1120px;
margin: 0 auto;
padding: 2rem 1.25rem 3rem;
color: var(--fc-text);
}
.fc-header {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 1rem;
margin-bottom: 1.75rem;
align-items: center;
}
.fc-header-text h2 {
margin: 0 0 0.3rem;
font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-weight: 700;
font-size: 1.7rem;
}
.fc-header-text p {
margin: 0;
color: var(--fc-text-muted);
font-size: 0.95rem;
}
.fc-header-badge {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.25rem 0.7rem;
border-radius: 999px;
background: rgba(37, 99, 235, 0.15);
color: var(--fc-text-muted);
font-size: 0.75rem;
}
.fc-header-badge .dot {
width: 8px;
height: 8px;
border-radius: 999px;
background: #22c55e;
}
.fc-layout {
display: grid;
grid-template-columns: minmax(0, 2fr) minmax(0, 1.35fr);
gap: 1.5rem;
}
@media (max-width: 900px) {
.fc-layout {
grid-template-columns: minmax(0, 1fr);
}
}
/* Karten */
.fc-card {
background: rgba(15, 23, 42, 0.96);
border-radius: 1rem;
border: 1px solid var(--fc-brand-border);
padding: 1.5rem 1.5rem 1.75rem;
backdrop-filter: blur(12px);
box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}
.fc-card-title {
margin: 0 0 0.45rem;
font-size: 1.05rem;
font-family: "Montserrat", system-ui, sans-serif;
font-weight: 600;
}
.fc-card-subtitle {
margin: 0 0 0.8rem;
font-size: 0.9rem;
color: var(--fc-text-muted);
}
/* Buttons */
.fc-actions {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin-bottom: 0.4rem;
}
.fc-actions-bottom {
margin-top: 0.9rem;
}
.fc-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.4rem;
padding: 0.55rem 1.1rem;
border-radius: 999px;
border: 1px solid rgba(148, 163, 184, 0.25);
background: linear-gradient(to right, #1d4ed8, #3b82f6);
color: #f9fafb;
font-size: 0.9rem;
cursor: pointer;
text-decoration: none;
transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
white-space: nowrap;
}
.fc-btn[disabled] {
opacity: 0.4;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.fc-btn:hover:not([disabled]) {
transform: translateY(-1px);
box-shadow: 0 10px 25px rgba(37, 99, 235, 0.55);
}
.fc-btn-secondary {
background: transparent;
border-color: rgba(148, 163, 184, 0.4);
color: var(--fc-text-muted);
}
.fc-btn-secondary:hover:not([disabled]) {
background: rgba(15, 23, 42, 0.9);
box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.65);
}
/* Modus-Kacheln */
.fc-mode-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.75rem;
margin-top: 0.75rem;
}
@media (max-width: 600px) {
.fc-mode-grid {
grid-template-columns: minmax(0, 1fr);
}
}
.fc-mode-tile {
border-radius: 0.9rem;
padding: 0.9rem 0.95rem;
border: 1px solid rgba(31, 41, 55, 0.9);
background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), rgba(15, 23, 42, 0.96));
cursor: pointer;
transition: border 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.fc-mode-tile h4 {
margin: 0 0 0.35rem;
font-size: 0.95rem;
font-weight: 600;
}
.fc-mode-tile p {
margin: 0;
font-size: 0.8rem;
color: var(--fc-text-muted);
}
.fc-mode-tile small {
display: block;
margin-top: 0.3rem;
font-size: 0.7rem;
color: var(--fc-text-muted);
}
.fc-mode-tile .pill {
display: inline-flex;
align-items: center;
padding: 0.1rem 0.45rem;
border-radius: 999px;
border: 1px solid rgba(148, 163, 184, 0.4);
font-size: 0.65rem;
color: var(--fc-text-muted);
margin-bottom: 0.35rem;
}
.fc-mode-tile.selected {
border-color: var(--fc-brand-primary);
box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.58), 0 12px 30px rgba(15, 23, 42, 0.9);
transform: translateY(-1px);
}
.fc-mode-tile.disabled {
opacity: 0.4;
cursor: not-allowed;
}
/* Divider, Status, Progress */
.fc-divider {
margin: 1.25rem 0 1rem;
height: 1px;
border: none;
background: radial-gradient(circle, rgba(148, 163, 184, 0.35), transparent);
}
.fc-status-line {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
font-size: 0.8rem;
color: var(--fc-text-muted);
flex-wrap: wrap;
}
.fc-tag {
display: inline-flex;
align-items: center;
padding: 0.15rem 0.6rem;
border-radius: 999px;
border: 1px solid rgba(75, 85, 99, 0.8);
font-size: 0.75rem;
color: var(--fc-text-muted);
white-space: nowrap;
}
.fc-progress {
margin-top: 0.6rem;
width: 100%;
height: 7px;
border-radius: 999px;
background: rgba(15, 23, 42, 0.9);
overflow: hidden;
border: 1px solid rgba(31, 41, 55, 0.9);
}
.fc-progress-inner {
height: 100%;
width: 0;
border-radius: inherit;
background: linear-gradient(to right, #22c55e, #16a34a);
transition: width 0.15s ease;
}
/* Log */
.fc-log {
margin-top: 0.75rem;
padding: 0.6rem 0.7rem;
border-radius: 0.6rem;
background: rgba(15, 23, 42, 0.98);
border: 1px dashed rgba(55, 65, 81, 0.9);
max-height: 220px;
overflow: auto;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: 0.78rem;
color: #9ca3af;
}
.fc-log-line {
white-space: pre-wrap;
}
.fc-log-line strong {
color: #e5e7eb;
}
/* Help-Text */
.fc-help {
font-size: 0.78rem;
color: var(--fc-text-muted);
margin-top: 0.3rem;
}
/* Alerts */
.fc-alert {
margin-top: 0.75rem;
padding: 0.6rem 0.75rem;
border-radius: 0.6rem;
font-size: 0.78rem;
}
.fc-alert-info {
background: rgba(37, 99, 235, 0.08);
border: 1px solid rgba(37, 99, 235, 0.45);
color: #bfdbfe;
}
.fc-alert-warn {
background: rgba(245, 158, 11, 0.08);
border: 1px solid rgba(245, 158, 11, 0.45);
color: #fef3c7;
}
.fc-alert-error {
background: rgba(220, 38, 38, 0.1);
border: 1px solid rgba(220, 38, 38, 0.6);
color: #fee2e2;
}
/* Dashboard / Key-Value-Liste */
.fc-kv-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.75rem 1.2rem;
font-size: 0.8rem;
margin-top: 1rem;
}
@media (max-width: 600px) {
.fc-kv-list {
grid-template-columns: minmax(0, 1fr);
}
}
.fc-kv-item dt {
margin: 0 0 0.15rem;
color: var(--fc-text-muted);
font-weight: 400;
}
.fc-kv-item dd {
margin: 0;
font-weight: 600;
}
/* Overall-Status */
.fc-overall-status-wrap {
margin-bottom: 0.7rem;
}
.fc-pill-status {
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.2rem 0.6rem;
border-radius: 999px;
font-size: 0.75rem;
border: 1px solid transparent;
}
.fc-pill-dot {
width: 6px;
height: 6px;
border-radius: 999px;
}
.fc-pill-ok {
background: rgba(22, 163, 74, 0.12);
color: #bbf7d0;
border-color: rgba(34, 197, 94, 0.5);
}
.fc-pill-ok .fc-pill-dot {
background: #22c55e;
}
.fc-pill-warn {
background: rgba(245, 158, 11, 0.12);
color: #fef3c7;
border-color: rgba(245, 158, 11, 0.6);
}
.fc-pill-warn .fc-pill-dot {
background: #fbbf24;
}
.fc-pill-bad {
background: rgba(220, 38, 38, 0.12);
color: #fee2e2;
border-color: rgba(220, 38, 38, 0.6);
}
.fc-pill-bad .fc-pill-dot {
background: #ef4444;
}