Switched web UI to dark theme

This commit is contained in:
Adam Gastineau 2025-08-09 21:59:31 -07:00
parent e0d8adc2c1
commit de13b82e00

View File

@ -6,8 +6,8 @@
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background-color: #f5f5f5;
color: #333;
background-color: #1a1a1a;
color: #e0e0e0;
line-height: 1.6;
}
@ -22,15 +22,15 @@ body {
}
.header {
background: white;
background: #2d2d2d;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.header h1 {
color: #2c3e50;
color: #d0d0d0;
margin-bottom: 10px;
}
@ -72,17 +72,17 @@ body {
}
.settings-section {
background: white;
background: #2d2d2d;
border-radius: 8px;
padding: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.settings-section h2 {
color: #2c3e50;
color: #d0d0d0;
margin-bottom: 16px;
font-size: 1.25rem;
border-bottom: 2px solid #ecf0f1;
border-bottom: 2px solid #404040;
padding-bottom: 8px;
}
@ -91,7 +91,7 @@ body {
justify-content: space-between;
align-items: center;
padding: 12px 0;
border-bottom: 1px solid #ecf0f1;
border-bottom: 1px solid #404040;
}
.setting-item:last-child {
@ -100,7 +100,7 @@ body {
.setting-label {
font-weight: 500;
color: #2c3e50;
color: #e0e0e0;
}
.setting-control {
@ -113,7 +113,7 @@ body {
position: relative;
width: 50px;
height: 24px;
background-color: #bdc3c7;
background-color: #555555;
border-radius: 12px;
cursor: pointer;
transition: background-color 0.3s;
@ -147,7 +147,7 @@ input[type="range"] {
width: 100%;
height: 6px;
border-radius: 3px;
background: #ecf0f1;
background: #555555;
outline: none;
-webkit-appearance: none;
}
@ -172,17 +172,18 @@ input[type="range"]::-moz-range-thumb {
}
.status-display {
background: #ecf0f1;
background: #404040;
border-radius: 6px;
padding: 8px 12px;
font-family: monospace;
font-size: 14px;
min-width: 60px;
text-align: center;
color: #e0e0e0;
}
.system-status {
background: #f8f9fa;
background: #262626;
border-left: 4px solid #3498db;
padding: 16px;
border-radius: 0 8px 8px 0;
@ -190,7 +191,7 @@ input[type="range"]::-moz-range-thumb {
}
.system-status h3 {
color: #2c3e50;
color: #d0d0d0;
margin-bottom: 12px;
font-size: 1rem;
}
@ -209,12 +210,12 @@ input[type="range"]::-moz-range-thumb {
}
.status-item .label {
color: #7f8c8d;
color: #b0b0b0;
}
.status-item .value {
font-weight: 500;
color: #2c3e50;
color: #e0e0e0;
}
.loading {
@ -222,7 +223,7 @@ input[type="range"]::-moz-range-thumb {
justify-content: center;
align-items: center;
min-height: 200px;
color: #7f8c8d;
color: #b0b0b0;
}
.error {
@ -235,7 +236,7 @@ input[type="range"]::-moz-range-thumb {
/* MABL Status Styles */
.mabl-status {
background: #f8f9fa;
background: #262626;
border-left: 4px solid #9b59b6;
padding: 16px;
border-radius: 0 8px 8px 0;
@ -243,7 +244,7 @@ input[type="range"]::-moz-range-thumb {
}
.mabl-status h3 {
color: #2c3e50;
color: #d0d0d0;
margin-bottom: 12px;
font-size: 1rem;
}
@ -253,7 +254,7 @@ input[type="range"]::-moz-range-thumb {
}
.mabl-events h3 {
color: #2c3e50;
color: #d0d0d0;
margin-bottom: 12px;
font-size: 1rem;
}
@ -318,12 +319,12 @@ input[type="range"]::-moz-range-thumb {
/* eSIM Settings Styles */
.esim-description {
background: #f8f9fa;
background: #262626;
padding: 12px;
border-radius: 6px;
margin-bottom: 20px;
font-size: 14px;
color: #5d6d7e;
color: #b0b0b0;
}
.action-group {
@ -331,7 +332,7 @@ input[type="range"]::-moz-range-thumb {
}
.action-group h3 {
color: #2c3e50;
color: #ffffff;
margin-bottom: 16px;
font-size: 1.1rem;
border-bottom: 2px solid #3498db;
@ -346,20 +347,20 @@ input[type="range"]::-moz-range-thumb {
/* Action Button Styles */
.action-button-container {
background: white;
background: #2d2d2d;
border-radius: 8px;
border: 1px solid #e1e8ed;
border: 1px solid #404040;
overflow: hidden;
transition: box-shadow 0.2s ease;
}
.action-button-container:hover {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.action-header {
padding: 16px;
border-bottom: 1px solid #f0f3f5;
border-bottom: 1px solid #404040;
}
.action-button {
@ -391,7 +392,7 @@ input[type="range"]::-moz-range-thumb {
.action-description {
display: block;
font-size: 12px;
color: #7f8c8d;
color: #b0b0b0;
margin-top: 8px;
font-style: italic;
}
@ -399,13 +400,13 @@ input[type="range"]::-moz-range-thumb {
/* Parameter Form Styles */
.parameter-form {
padding: 16px;
background: #f8f9fa;
border-top: 1px solid #e1e8ed;
background: #333333;
border-top: 1px solid #404040;
}
.parameter-form h4 {
margin-bottom: 12px;
color: #2c3e50;
color: #ffffff;
font-size: 14px;
}
@ -417,7 +418,7 @@ input[type="range"]::-moz-range-thumb {
.parameter-label {
font-size: 14px;
color: #2c3e50;
color: #e0e0e0;
margin-bottom: 4px;
font-weight: 500;
}
@ -429,20 +430,22 @@ input[type="range"]::-moz-range-thumb {
.parameter-input input {
padding: 8px 12px;
border: 1px solid #ddd;
border: 1px solid #555555;
border-radius: 4px;
font-size: 14px;
background: #404040;
color: #e0e0e0;
}
.parameter-input input:focus {
outline: none;
border-color: #3498db;
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.3);
}
.parameter-description {
font-size: 12px;
color: #7f8c8d;
color: #b0b0b0;
margin-top: 4px;
font-style: italic;
}
@ -477,18 +480,18 @@ input[type="range"]::-moz-range-thumb {
}
.cancel-params {
background: #ecf0f1;
color: #2c3e50;
background: #555555;
color: #e0e0e0;
}
.cancel-params:hover {
background: #d5dbdb;
background: #666666;
}
/* Action Result Styles */
.action-result {
padding: 16px;
border-top: 1px solid #e1e8ed;
border-top: 1px solid #404040;
margin-top: 16px;
}
@ -525,7 +528,7 @@ input[type="range"]::-moz-range-thumb {
.result-message {
flex: 1;
font-size: 14px;
color: #2c3e50;
color: #e0e0e0;
}
.result-data {
@ -534,19 +537,20 @@ input[type="range"]::-moz-range-thumb {
.result-data h4 {
margin-bottom: 8px;
color: #2c3e50;
color: #ffffff;
font-size: 14px;
}
.result-data pre {
background: #f8f9fa;
border: 1px solid #e1e8ed;
background: #1a1a1a;
border: 1px solid #404040;
border-radius: 4px;
padding: 12px;
font-size: 12px;
overflow-x: auto;
max-height: 200px;
overflow-y: auto;
color: #e0e0e0;
}
/* Action Logs Styles */
@ -556,7 +560,7 @@ input[type="range"]::-moz-range-thumb {
.action-logs h4 {
margin-bottom: 8px;
color: #2c3e50;
color: #ffffff;
font-size: 14px;
}
@ -621,13 +625,13 @@ input[type="range"]::-moz-range-thumb {
.esim-help {
margin-top: 24px;
padding: 16px;
background: #f0f9ff;
background: #262626;
border-left: 4px solid #3498db;
border-radius: 0 6px 6px 0;
}
.esim-help h4 {
color: #2c3e50;
color: #ffffff;
margin-bottom: 12px;
font-size: 1rem;
}
@ -639,10 +643,10 @@ input[type="range"]::-moz-range-thumb {
.esim-help li {
margin-bottom: 8px;
font-size: 14px;
color: #34495e;
color: #c0c0c0;
line-height: 1.5;
}
.esim-help strong {
color: #2c3e50;
color: #ffffff;
}