Files
sso/frontend/static/css/style.css
2026-01-25 14:36:01 +01:00

153 lines
3.0 KiB
CSS

:root {
--primary-color: #007bff;
--secondary-color: #6c757d;
--background-color: #0f172a; /* Dark Blue */
--surface-color: #1e293b; /* Lighter Dark Blue */
--text-color: #f8fafc;
--text-muted: #94a3b8;
--accent-color: #38bdf8;
--glass-bg: rgba(30, 41, 59, 0.7);
--glass-border: rgba(255, 255, 255, 0.1);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: var(--background-color);
color: var(--text-color);
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* Utilities */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.m-4 { margin: 1rem; }
.mt-4 { margin-top: 1rem; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.text-xl { font-size: 1.25rem; font-weight: bold; }
.text-2xl { font-size: 1.5rem; font-weight: bold; }
.text-accent { color: var(--accent-color); }
/* Glassmorphism Card */
.card {
background: var(--glass-bg);
backdrop-filter: blur(10px);
border: 1px solid var(--glass-border);
border-radius: 1rem;
padding: 2rem;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
/* Buttons */
.btn {
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
border: none;
cursor: pointer;
font-weight: 600;
transition: all 0.2s;
}
.btn-primary {
background-color: var(--primary-color);
color: white;
}
.btn-primary:hover {
background-color: #0056b3;
}
.btn-secondary {
background-color: var(--surface-color);
color: var(--text-color);
border: 1px solid var(--glass-border);
}
.btn-secondary:hover {
background-color: #334155;
}
/* Inputs */
input, select {
width: 100%;
padding: 0.75rem;
margin-bottom: 1rem;
border-radius: 0.5rem;
border: 1px solid var(--glass-border);
background-color: rgba(0, 0, 0, 0.2);
color: white;
outline: none;
}
input:focus {
border-color: var(--accent-color);
}
/* Layout */
header {
background: var(--surface-color);
border-bottom: 1px solid var(--glass-border);
padding: 1rem 2rem;
}
.logo {
height: 40px;
margin-right: 1rem;
}
/* Tables */
table {
width: 100%;
border-collapse: collapse;
margin-top: 1rem;
}
th, td {
padding: 1rem;
text-align: left;
border-bottom: 1px solid var(--glass-border);
}
th {
color: var(--text-muted);
font-weight: 600;
}
tr:hover {
background-color: rgba(255, 255, 255, 0.05);
}
/* Modal */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 100;
}
.modal {
width: 90%;
max-width: 500px;
}