initial commit

This commit is contained in:
Matthias Hinrichs
2026-01-29 22:14:00 +01:00
commit 10de822d44
8 changed files with 702 additions and 0 deletions
+253
View File
@@ -0,0 +1,253 @@
:root {
--bg-color: #0d0f14;
--card-bg: rgba(255, 255, 255, 0.05);
--card-border: rgba(255, 255, 255, 0.1);
--primary: #6366f1;
--primary-hover: #4f46e5;
--text-main: #f8fafc;
--text-dim: #94a3b8;
--success: #22c55e;
--warning: #eab308;
--error: #ef4444;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Inter", sans-serif;
}
body {
background-color: var(--bg-color);
color: var(--text-main);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.background-glow {
position: absolute;
width: 600px;
height: 600px;
background: radial-gradient(
circle,
rgba(99, 102, 241, 0.15) 0%,
rgba(99, 102, 241, 0) 70%
);
top: -100px;
right: -100px;
z-index: -1;
pointer-events: none;
}
.container {
width: 100%;
max-width: 480px;
padding: 20px;
z-index: 1;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 32px;
}
.logo h1 {
font-family: "Outfit", sans-serif;
font-size: 1.5rem;
font-weight: 700;
}
.logo h1 span {
font-weight: 400;
color: var(--text-dim);
}
.badge {
padding: 6px 12px;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.badge.checking {
background: rgba(148, 163, 184, 0.1);
color: var(--text-dim);
}
.badge.online {
background: rgba(34, 197, 94, 0.1);
color: var(--success);
}
.badge.offline {
background: rgba(239, 68, 68, 0.1);
color: var(--error);
}
.card {
background: var(--card-bg);
backdrop-filter: blur(12px);
border: 1px solid var(--card-border);
border-radius: 24px;
padding: 32px;
margin-bottom: 20px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
transition: transform 0.3s ease;
}
.card:hover {
transform: translateY(-4px);
}
h2 {
font-family: "Outfit", sans-serif;
font-size: 1.25rem;
margin-bottom: 8px;
}
.subtitle {
color: var(--text-dim);
font-size: 0.9rem;
margin-bottom: 24px;
}
.input-group {
margin-bottom: 24px;
}
label {
display: block;
font-size: 0.8rem;
font-weight: 600;
color: var(--text-dim);
margin-bottom: 8px;
text-transform: uppercase;
}
input, select {
width: 100%;
padding: 14px 18px;
background: rgba(0, 0, 0, 0.2);
border: 1px solid var(--card-border);
border-radius: 12px;
color: white;
font-size: 1rem;
transition: all 0.2s ease;
appearance: none;
}
select {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 18px center;
background-size: 16px;
}
input:focus, select:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}
.input-hint {
display: block;
font-size: 0.75rem;
color: var(--text-dim);
margin-top: 6px;
}
.primary-btn {
width: 100%;
padding: 16px;
background: var(--primary);
border: none;
border-radius: 12px;
color: white;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
}
.primary-btn:hover {
background: var(--primary-hover);
transform: scale(1.02);
}
.primary-btn:active {
transform: scale(0.98);
}
.card.secondary {
padding: 24px 32px;
}
.status-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.status-item .label {
display: block;
font-size: 0.75rem;
color: var(--text-dim);
margin-bottom: 4px;
}
.status-item .value {
font-weight: 600;
font-variant-numeric: tabular-nums;
}
.toast {
position: fixed;
bottom: 30px;
left: 50%;
transform: translateX(-50%) translateY(100px);
background: var(--success);
color: white;
padding: 12px 24px;
border-radius: 12px;
font-weight: 600;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast.show {
transform: translateX(-50%) translateY(0);
}
/* Loader Animation */
.loader {
display: none;
width: 20px;
height: 20px;
border: 3px solid rgba(255, 255, 255, 0.3);
border-radius: 50%;
border-top-color: #fff;
animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.loading .loader {
display: block;
}
.loading .btn-text {
display: none;
}