cc029caa8e
- Introduced a new CSS file for a dark theme design, enhancing the UI with a modern look. - Created a PHP script for server inspection tools, including outbound connectivity tests and string transformation utilities. - Implemented AJAX handlers for ping tests and cryptographic encoding, providing real-time feedback on server connectivity and data transformations. - Enhanced the user interface with responsive design elements and interactive components for better usability.
474 lines
11 KiB
CSS
474 lines
11 KiB
CSS
/* ==========================================================================
|
|
Web & PC Studio - Testdrive System Design System
|
|
Look & Feel: Sleek Developer / Sysadmin Dark Theme (Geen commerciële elementen)
|
|
========================================================================== */
|
|
|
|
:root {
|
|
--bg-base: #080c14;
|
|
--bg-surface: rgba(15, 23, 42, 0.72);
|
|
--bg-surface-elevated: rgba(23, 33, 56, 0.75);
|
|
--bg-subtle: rgba(255, 255, 255, 0.03);
|
|
|
|
--border-subtle: rgba(255, 255, 255, 0.07);
|
|
--border-hover: rgba(255, 255, 255, 0.18);
|
|
--border-accent: rgba(14, 165, 233, 0.35);
|
|
|
|
--primary: #0ea5e9;
|
|
--primary-hover: #0284c7;
|
|
--primary-glow: rgba(14, 165, 233, 0.3);
|
|
|
|
--accent: #8b5cf6;
|
|
--accent-glow: rgba(139, 92, 246, 0.25);
|
|
|
|
--success: #10b981;
|
|
--success-glow: rgba(16, 185, 129, 0.25);
|
|
--warning: #f59e0b;
|
|
--danger: #ef4444;
|
|
|
|
--text-main: #f1f5f9;
|
|
--text-muted: #94a3b8;
|
|
--text-subtle: #64748b;
|
|
|
|
--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
|
|
|
--radius-sm: 8px;
|
|
--radius-md: 12px;
|
|
--radius-lg: 18px;
|
|
--radius-xl: 22px;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-sans);
|
|
background-color: var(--bg-base);
|
|
color: var(--text-main);
|
|
min-height: 100vh;
|
|
padding: 24px 16px 60px;
|
|
overflow-x: hidden;
|
|
line-height: 1.5;
|
|
background-image:
|
|
radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.12) 0px, transparent 45%),
|
|
radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.1) 0px, transparent 45%),
|
|
radial-gradient(at 50% 50%, rgba(16, 185, 129, 0.05) 0px, transparent 60%);
|
|
background-attachment: fixed;
|
|
}
|
|
|
|
/* Subtiele particle canvas */
|
|
#particle-canvas {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.main-wrapper {
|
|
max-width: 1080px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Universele Navigatiebalk
|
|
========================================================================== */
|
|
.navbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background: rgba(13, 20, 36, 0.85);
|
|
backdrop-filter: blur(18px);
|
|
-webkit-backdrop-filter: blur(18px);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
padding: 10px 20px;
|
|
margin-bottom: 28px;
|
|
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.nav-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
text-decoration: none;
|
|
color: white;
|
|
}
|
|
|
|
.nav-logo {
|
|
background: linear-gradient(135deg, var(--primary), var(--accent));
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 800;
|
|
font-size: 1.1rem;
|
|
color: white;
|
|
box-shadow: 0 4px 14px var(--primary-glow);
|
|
}
|
|
|
|
.nav-title-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.nav-title {
|
|
font-size: 1.02rem;
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.nav-tagline {
|
|
font-size: 0.72rem;
|
|
color: var(--text-muted);
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.nav-menu {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
padding: 4px;
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.nav-item {
|
|
text-decoration: none;
|
|
color: var(--text-muted);
|
|
font-size: 0.86rem;
|
|
font-weight: 600;
|
|
padding: 8px 14px;
|
|
border-radius: var(--radius-sm);
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.nav-item:hover {
|
|
color: #fff;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.nav-item.active {
|
|
background: rgba(14, 165, 233, 0.22);
|
|
color: #ffffff;
|
|
border: 1px solid rgba(14, 165, 233, 0.4);
|
|
}
|
|
|
|
.nav-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.nav-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background: rgba(16, 185, 129, 0.12);
|
|
border: 1px solid rgba(16, 185, 129, 0.3);
|
|
color: #34d399;
|
|
padding: 5px 12px;
|
|
border-radius: 9999px;
|
|
font-size: 0.76rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.pulse-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
background-color: var(--success);
|
|
border-radius: 50%;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
|
|
70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
|
|
100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
.navbar { flex-direction: column; gap: 14px; }
|
|
.nav-menu { width: 100%; justify-content: center; flex-wrap: wrap; }
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Hero & Headers
|
|
========================================================================== */
|
|
.hero {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 2.2rem;
|
|
font-weight: 800;
|
|
letter-spacing: -0.03em;
|
|
background: linear-gradient(to right, #38bdf8, #818cf8, #34d399);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.hero p {
|
|
color: var(--text-muted);
|
|
font-size: 0.98rem;
|
|
max-width: 650px;
|
|
margin: 0 auto;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Cards & Layout Panels
|
|
========================================================================== */
|
|
.card {
|
|
background: var(--bg-surface);
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
padding: 24px;
|
|
box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.45);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.card:hover {
|
|
border-color: var(--border-hover);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 1.05rem;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.card-desc {
|
|
font-size: 0.84rem;
|
|
color: var(--text-muted);
|
|
line-height: 1.45;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* Grid Layouts */
|
|
.grid-2 {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.grid-3 {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.grid-2 { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Metrics & Datatables
|
|
========================================================================== */
|
|
.metric-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
|
|
gap: 10px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.metric-box {
|
|
background: rgba(0, 0, 0, 0.35);
|
|
border: 1px solid rgba(255, 255, 255, 0.04);
|
|
border-radius: var(--radius-md);
|
|
padding: 10px 14px;
|
|
}
|
|
|
|
.metric-label {
|
|
font-size: 0.72rem;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.metric-val {
|
|
font-family: var(--font-mono);
|
|
font-size: 1.08rem;
|
|
font-weight: 700;
|
|
color: #38bdf8;
|
|
}
|
|
|
|
/* Data Table */
|
|
.data-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.data-table tr {
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.data-table tr:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.data-table td {
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.data-table .label {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.data-table .val {
|
|
text-align: right;
|
|
font-family: var(--font-mono);
|
|
color: var(--text-main);
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Badges */
|
|
.badge-pill {
|
|
background: rgba(14, 165, 233, 0.12);
|
|
color: var(--primary);
|
|
border: 1px solid rgba(14, 165, 233, 0.3);
|
|
padding: 3px 8px;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.badge-pill.success {
|
|
background: rgba(16, 185, 129, 0.12);
|
|
color: #34d399;
|
|
border-color: rgba(16, 185, 129, 0.3);
|
|
}
|
|
|
|
.badge-pill.warning {
|
|
background: rgba(245, 158, 11, 0.12);
|
|
color: #fbbf24;
|
|
border-color: rgba(245, 158, 11, 0.3);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Knoppen & Interacties
|
|
========================================================================== */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 10px 18px;
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.88rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
border: none;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, var(--primary), var(--primary-hover));
|
|
color: white;
|
|
box-shadow: 0 4px 14px var(--primary-glow);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 6px 20px var(--primary-glow);
|
|
filter: brightness(1.1);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: var(--text-main);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: white;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 6px 12px;
|
|
font-size: 0.8rem;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Terminal / Result Boxes
|
|
========================================================================== */
|
|
.terminal-box {
|
|
background: #050810;
|
|
border: 1px solid rgba(14, 165, 233, 0.25);
|
|
border-radius: var(--radius-md);
|
|
padding: 14px 16px;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.82rem;
|
|
color: #38bdf8;
|
|
line-height: 1.5;
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
max-height: 320px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Footer
|
|
========================================================================== */
|
|
.footer {
|
|
text-align: center;
|
|
font-size: 0.82rem;
|
|
color: var(--text-subtle);
|
|
margin-top: 36px;
|
|
padding-top: 18px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.footer a {
|
|
color: #38bdf8;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.footer a:hover {
|
|
text-decoration: underline;
|
|
}
|