design: transition to premium dark game HUD interface and fix washed out white texts
Browse files- frontend/style.css +40 -34
frontend/style.css
CHANGED
|
@@ -1,22 +1,22 @@
|
|
| 1 |
-
/* CSS Variables for
|
| 2 |
:root {
|
| 3 |
-
--bg-void: #
|
| 4 |
-
--bg-panel:
|
| 5 |
-
--border-color:
|
| 6 |
-
--border-hover:
|
| 7 |
|
| 8 |
-
--text-main: #
|
| 9 |
-
--text-muted: #
|
| 10 |
|
| 11 |
-
/*
|
| 12 |
-
--cyan: #
|
| 13 |
-
--cyan-glow: rgba(
|
| 14 |
--green: #70AD47; /* Meadow Green */
|
| 15 |
-
--green-glow: rgba(112, 173, 71, 0.
|
| 16 |
-
--yellow: #
|
| 17 |
-
--yellow-glow: rgba(
|
| 18 |
-
--red: #
|
| 19 |
-
--red-glow: rgba(
|
| 20 |
|
| 21 |
/* Fonts */
|
| 22 |
--font-display: 'Outfit', 'Space Grotesk', system-ui, sans-serif;
|
|
@@ -50,23 +50,23 @@ body {
|
|
| 50 |
height: 100%;
|
| 51 |
z-index: 0;
|
| 52 |
pointer-events: none;
|
| 53 |
-
opacity: 0.
|
| 54 |
}
|
| 55 |
|
| 56 |
/* Header */
|
| 57 |
header {
|
| 58 |
width: 100%;
|
| 59 |
padding: 1.2rem 2.5rem;
|
| 60 |
-
background: rgba(
|
| 61 |
-
backdrop-filter: blur(
|
| 62 |
-
-webkit-backdrop-filter: blur(
|
| 63 |
display: flex;
|
| 64 |
justify-content: space-between;
|
| 65 |
align-items: center;
|
| 66 |
border-bottom: 1px solid var(--border-color);
|
| 67 |
z-index: 10;
|
| 68 |
position: relative;
|
| 69 |
-
box-shadow: 0 4px
|
| 70 |
}
|
| 71 |
|
| 72 |
.logo-container {
|
|
@@ -80,7 +80,7 @@ header {
|
|
| 80 |
font-size: 1.8rem;
|
| 81 |
font-weight: 800;
|
| 82 |
letter-spacing: 2px;
|
| 83 |
-
background: linear-gradient(135deg, #
|
| 84 |
-webkit-background-clip: text;
|
| 85 |
-webkit-text-fill-color: transparent;
|
| 86 |
}
|
|
@@ -96,10 +96,10 @@ header {
|
|
| 96 |
font-family: var(--font-mono);
|
| 97 |
font-size: 0.75rem;
|
| 98 |
color: var(--text-muted);
|
| 99 |
-
background: rgba(
|
| 100 |
padding: 2px 8px;
|
| 101 |
border-radius: 4px;
|
| 102 |
-
border: 1px solid rgba(
|
| 103 |
}
|
| 104 |
|
| 105 |
.system-status {
|
|
@@ -116,7 +116,7 @@ header {
|
|
| 116 |
|
| 117 |
.status-indicator.online {
|
| 118 |
background-color: var(--cyan);
|
| 119 |
-
box-shadow: 0 0 8px
|
| 120 |
}
|
| 121 |
|
| 122 |
.status-label {
|
|
@@ -148,13 +148,15 @@ header {
|
|
| 148 |
border: 1px solid var(--border-color);
|
| 149 |
border-radius: 12px;
|
| 150 |
padding: 1.5rem;
|
| 151 |
-
box-shadow: 0
|
| 152 |
transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
|
|
|
|
|
|
|
| 153 |
}
|
| 154 |
|
| 155 |
.panel:hover {
|
| 156 |
border-color: var(--border-hover);
|
| 157 |
-
box-shadow: 0 10px 25px rgba(
|
| 158 |
}
|
| 159 |
|
| 160 |
.panel-title {
|
|
@@ -194,7 +196,7 @@ header {
|
|
| 194 |
|
| 195 |
.form-control {
|
| 196 |
width: 100%;
|
| 197 |
-
background:
|
| 198 |
border: 1px solid var(--border-color);
|
| 199 |
color: var(--text-main);
|
| 200 |
padding: 10px 14px;
|
|
@@ -354,14 +356,14 @@ header {
|
|
| 354 |
font-size: 10px;
|
| 355 |
font-weight: bold;
|
| 356 |
color: var(--text-main);
|
| 357 |
-
background:
|
| 358 |
padding: 2px 6px;
|
| 359 |
border-radius: 4px;
|
| 360 |
border: 1px solid var(--border-color);
|
| 361 |
white-space: nowrap;
|
| 362 |
pointer-events: none;
|
| 363 |
transition: color 0.3s, border-color 0.3s;
|
| 364 |
-
box-shadow: 0
|
| 365 |
}
|
| 366 |
|
| 367 |
/* Hover and Active State */
|
|
@@ -411,18 +413,18 @@ header {
|
|
| 411 |
border: 1px solid var(--border-color) !important;
|
| 412 |
border-radius: 8px !important;
|
| 413 |
overflow: hidden;
|
| 414 |
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.
|
| 415 |
}
|
| 416 |
|
| 417 |
.leaflet-bar a {
|
| 418 |
-
background-color:
|
| 419 |
color: var(--text-main) !important;
|
| 420 |
border-bottom: 1px solid var(--border-color) !important;
|
| 421 |
transition: background-color 0.2s, color 0.2s;
|
| 422 |
}
|
| 423 |
|
| 424 |
.leaflet-bar a:hover {
|
| 425 |
-
background-color: rgba(
|
| 426 |
color: var(--cyan) !important;
|
| 427 |
}
|
| 428 |
|
|
@@ -430,6 +432,10 @@ header {
|
|
| 430 |
background: var(--bg-void) !important;
|
| 431 |
}
|
| 432 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 433 |
/* Stats Cards */
|
| 434 |
.stats-row {
|
| 435 |
display: grid;
|
|
@@ -947,7 +953,7 @@ footer {
|
|
| 947 |
font-size: 1.8rem;
|
| 948 |
font-family: var(--font-display);
|
| 949 |
font-weight: 800;
|
| 950 |
-
color:
|
| 951 |
}
|
| 952 |
|
| 953 |
/* Features Grid */
|
|
@@ -961,7 +967,7 @@ footer {
|
|
| 961 |
font-weight: 700;
|
| 962 |
letter-spacing: 1.5px;
|
| 963 |
margin-bottom: 2rem;
|
| 964 |
-
color:
|
| 965 |
border-left: 3px solid var(--cyan);
|
| 966 |
padding-left: 10px;
|
| 967 |
}
|
|
|
|
| 1 |
+
/* CSS Variables for Dark Cyber-Eco Gaming HUD Theming */
|
| 2 |
:root {
|
| 3 |
+
--bg-void: #070C08; /* Deep rich forest black */
|
| 4 |
+
--bg-panel: rgba(14, 22, 16, 0.82); /* Glassmorphic dark green-charcoal */
|
| 5 |
+
--border-color: rgba(112, 173, 71, 0.18); /* Glowing forest green border */
|
| 6 |
+
--border-hover: rgba(112, 173, 71, 0.4); /* Brighter glowing green on hover */
|
| 7 |
|
| 8 |
+
--text-main: #F1F8F0; /* Soft mint off-white (highly readable on dark backgrounds) */
|
| 9 |
+
--text-muted: #88A385; /* Soft sage green (for label metadata) */
|
| 10 |
|
| 11 |
+
/* Vibrant Eco Game Accent Tones from User Palette */
|
| 12 |
+
--cyan: #70AD47; /* Meadow Green (Primary Accent) */
|
| 13 |
+
--cyan-glow: rgba(112, 173, 71, 0.35);
|
| 14 |
--green: #70AD47; /* Meadow Green */
|
| 15 |
+
--green-glow: rgba(112, 173, 71, 0.25);
|
| 16 |
+
--yellow: #F59E0B; /* Vibrant Gold Amber */
|
| 17 |
+
--yellow-glow: rgba(245, 158, 11, 0.2);
|
| 18 |
+
--red: #EF4444; /* Crimson Red */
|
| 19 |
+
--red-glow: rgba(239, 68, 68, 0.2);
|
| 20 |
|
| 21 |
/* Fonts */
|
| 22 |
--font-display: 'Outfit', 'Space Grotesk', system-ui, sans-serif;
|
|
|
|
| 50 |
height: 100%;
|
| 51 |
z-index: 0;
|
| 52 |
pointer-events: none;
|
| 53 |
+
opacity: 0.12;
|
| 54 |
}
|
| 55 |
|
| 56 |
/* Header */
|
| 57 |
header {
|
| 58 |
width: 100%;
|
| 59 |
padding: 1.2rem 2.5rem;
|
| 60 |
+
background: rgba(7, 12, 8, 0.85);
|
| 61 |
+
backdrop-filter: blur(16px);
|
| 62 |
+
-webkit-backdrop-filter: blur(16px);
|
| 63 |
display: flex;
|
| 64 |
justify-content: space-between;
|
| 65 |
align-items: center;
|
| 66 |
border-bottom: 1px solid var(--border-color);
|
| 67 |
z-index: 10;
|
| 68 |
position: relative;
|
| 69 |
+
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
|
| 70 |
}
|
| 71 |
|
| 72 |
.logo-container {
|
|
|
|
| 80 |
font-size: 1.8rem;
|
| 81 |
font-weight: 800;
|
| 82 |
letter-spacing: 2px;
|
| 83 |
+
background: linear-gradient(135deg, #FFFFFF 40%, var(--cyan) 100%);
|
| 84 |
-webkit-background-clip: text;
|
| 85 |
-webkit-text-fill-color: transparent;
|
| 86 |
}
|
|
|
|
| 96 |
font-family: var(--font-mono);
|
| 97 |
font-size: 0.75rem;
|
| 98 |
color: var(--text-muted);
|
| 99 |
+
background: rgba(255, 255, 255, 0.05);
|
| 100 |
padding: 2px 8px;
|
| 101 |
border-radius: 4px;
|
| 102 |
+
border: 1px solid rgba(255, 255, 255, 0.08);
|
| 103 |
}
|
| 104 |
|
| 105 |
.system-status {
|
|
|
|
| 116 |
|
| 117 |
.status-indicator.online {
|
| 118 |
background-color: var(--cyan);
|
| 119 |
+
box-shadow: 0 0 8px var(--cyan-glow);
|
| 120 |
}
|
| 121 |
|
| 122 |
.status-label {
|
|
|
|
| 148 |
border: 1px solid var(--border-color);
|
| 149 |
border-radius: 12px;
|
| 150 |
padding: 1.5rem;
|
| 151 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
|
| 152 |
transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
|
| 153 |
+
backdrop-filter: blur(12px);
|
| 154 |
+
-webkit-backdrop-filter: blur(12px);
|
| 155 |
}
|
| 156 |
|
| 157 |
.panel:hover {
|
| 158 |
border-color: var(--border-hover);
|
| 159 |
+
box-shadow: 0 10px 25px rgba(112, 173, 71, 0.1) !important;
|
| 160 |
}
|
| 161 |
|
| 162 |
.panel-title {
|
|
|
|
| 196 |
|
| 197 |
.form-control {
|
| 198 |
width: 100%;
|
| 199 |
+
background: rgba(0, 0, 0, 0.3);
|
| 200 |
border: 1px solid var(--border-color);
|
| 201 |
color: var(--text-main);
|
| 202 |
padding: 10px 14px;
|
|
|
|
| 356 |
font-size: 10px;
|
| 357 |
font-weight: bold;
|
| 358 |
color: var(--text-main);
|
| 359 |
+
background: rgba(14, 22, 16, 0.95);
|
| 360 |
padding: 2px 6px;
|
| 361 |
border-radius: 4px;
|
| 362 |
border: 1px solid var(--border-color);
|
| 363 |
white-space: nowrap;
|
| 364 |
pointer-events: none;
|
| 365 |
transition: color 0.3s, border-color 0.3s;
|
| 366 |
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
|
| 367 |
}
|
| 368 |
|
| 369 |
/* Hover and Active State */
|
|
|
|
| 413 |
border: 1px solid var(--border-color) !important;
|
| 414 |
border-radius: 8px !important;
|
| 415 |
overflow: hidden;
|
| 416 |
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
|
| 417 |
}
|
| 418 |
|
| 419 |
.leaflet-bar a {
|
| 420 |
+
background-color: rgba(14, 22, 16, 0.95) !important;
|
| 421 |
color: var(--text-main) !important;
|
| 422 |
border-bottom: 1px solid var(--border-color) !important;
|
| 423 |
transition: background-color 0.2s, color 0.2s;
|
| 424 |
}
|
| 425 |
|
| 426 |
.leaflet-bar a:hover {
|
| 427 |
+
background-color: rgba(112, 173, 71, 0.2) !important;
|
| 428 |
color: var(--cyan) !important;
|
| 429 |
}
|
| 430 |
|
|
|
|
| 432 |
background: var(--bg-void) !important;
|
| 433 |
}
|
| 434 |
|
| 435 |
+
.leaflet-tile {
|
| 436 |
+
filter: invert(1) hue-rotate(80deg) brightness(0.9) contrast(1.15);
|
| 437 |
+
}
|
| 438 |
+
|
| 439 |
/* Stats Cards */
|
| 440 |
.stats-row {
|
| 441 |
display: grid;
|
|
|
|
| 953 |
font-size: 1.8rem;
|
| 954 |
font-family: var(--font-display);
|
| 955 |
font-weight: 800;
|
| 956 |
+
color: var(--text-main);
|
| 957 |
}
|
| 958 |
|
| 959 |
/* Features Grid */
|
|
|
|
| 967 |
font-weight: 700;
|
| 968 |
letter-spacing: 1.5px;
|
| 969 |
margin-bottom: 2rem;
|
| 970 |
+
color: var(--text-main);
|
| 971 |
border-left: 3px solid var(--cyan);
|
| 972 |
padding-left: 10px;
|
| 973 |
}
|