Skip to content

Commit de13b82

Browse files
committed
Switched web UI to dark theme
1 parent e0d8adc commit de13b82

File tree

1 file changed

+54
-50
lines changed
  • bridge-settings/react-app/src/styles

1 file changed

+54
-50
lines changed

bridge-settings/react-app/src/styles/index.css

Lines changed: 54 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
body {
88
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
9-
background-color: #f5f5f5;
10-
color: #333;
9+
background-color: #1a1a1a;
10+
color: #e0e0e0;
1111
line-height: 1.6;
1212
}
1313

@@ -22,15 +22,15 @@ body {
2222
}
2323

2424
.header {
25-
background: white;
25+
background: #2d2d2d;
2626
border-radius: 8px;
2727
padding: 20px;
2828
margin-bottom: 20px;
29-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
29+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
3030
}
3131

3232
.header h1 {
33-
color: #2c3e50;
33+
color: #d0d0d0;
3434
margin-bottom: 10px;
3535
}
3636

@@ -72,17 +72,17 @@ body {
7272
}
7373

7474
.settings-section {
75-
background: white;
75+
background: #2d2d2d;
7676
border-radius: 8px;
7777
padding: 20px;
78-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
78+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
7979
}
8080

8181
.settings-section h2 {
82-
color: #2c3e50;
82+
color: #d0d0d0;
8383
margin-bottom: 16px;
8484
font-size: 1.25rem;
85-
border-bottom: 2px solid #ecf0f1;
85+
border-bottom: 2px solid #404040;
8686
padding-bottom: 8px;
8787
}
8888

@@ -91,7 +91,7 @@ body {
9191
justify-content: space-between;
9292
align-items: center;
9393
padding: 12px 0;
94-
border-bottom: 1px solid #ecf0f1;
94+
border-bottom: 1px solid #404040;
9595
}
9696

9797
.setting-item:last-child {
@@ -100,7 +100,7 @@ body {
100100

101101
.setting-label {
102102
font-weight: 500;
103-
color: #2c3e50;
103+
color: #e0e0e0;
104104
}
105105

106106
.setting-control {
@@ -113,7 +113,7 @@ body {
113113
position: relative;
114114
width: 50px;
115115
height: 24px;
116-
background-color: #bdc3c7;
116+
background-color: #555555;
117117
border-radius: 12px;
118118
cursor: pointer;
119119
transition: background-color 0.3s;
@@ -147,7 +147,7 @@ input[type="range"] {
147147
width: 100%;
148148
height: 6px;
149149
border-radius: 3px;
150-
background: #ecf0f1;
150+
background: #555555;
151151
outline: none;
152152
-webkit-appearance: none;
153153
}
@@ -172,25 +172,26 @@ input[type="range"]::-moz-range-thumb {
172172
}
173173

174174
.status-display {
175-
background: #ecf0f1;
175+
background: #404040;
176176
border-radius: 6px;
177177
padding: 8px 12px;
178178
font-family: monospace;
179179
font-size: 14px;
180180
min-width: 60px;
181181
text-align: center;
182+
color: #e0e0e0;
182183
}
183184

184185
.system-status {
185-
background: #f8f9fa;
186+
background: #262626;
186187
border-left: 4px solid #3498db;
187188
padding: 16px;
188189
border-radius: 0 8px 8px 0;
189190
margin-bottom: 16px;
190191
}
191192

192193
.system-status h3 {
193-
color: #2c3e50;
194+
color: #d0d0d0;
194195
margin-bottom: 12px;
195196
font-size: 1rem;
196197
}
@@ -209,20 +210,20 @@ input[type="range"]::-moz-range-thumb {
209210
}
210211

211212
.status-item .label {
212-
color: #7f8c8d;
213+
color: #b0b0b0;
213214
}
214215

215216
.status-item .value {
216217
font-weight: 500;
217-
color: #2c3e50;
218+
color: #e0e0e0;
218219
}
219220

220221
.loading {
221222
display: flex;
222223
justify-content: center;
223224
align-items: center;
224225
min-height: 200px;
225-
color: #7f8c8d;
226+
color: #b0b0b0;
226227
}
227228

228229
.error {
@@ -235,15 +236,15 @@ input[type="range"]::-moz-range-thumb {
235236

236237
/* MABL Status Styles */
237238
.mabl-status {
238-
background: #f8f9fa;
239+
background: #262626;
239240
border-left: 4px solid #9b59b6;
240241
padding: 16px;
241242
border-radius: 0 8px 8px 0;
242243
margin-bottom: 16px;
243244
}
244245

245246
.mabl-status h3 {
246-
color: #2c3e50;
247+
color: #d0d0d0;
247248
margin-bottom: 12px;
248249
font-size: 1rem;
249250
}
@@ -253,7 +254,7 @@ input[type="range"]::-moz-range-thumb {
253254
}
254255

255256
.mabl-events h3 {
256-
color: #2c3e50;
257+
color: #d0d0d0;
257258
margin-bottom: 12px;
258259
font-size: 1rem;
259260
}
@@ -318,20 +319,20 @@ input[type="range"]::-moz-range-thumb {
318319

319320
/* eSIM Settings Styles */
320321
.esim-description {
321-
background: #f8f9fa;
322+
background: #262626;
322323
padding: 12px;
323324
border-radius: 6px;
324325
margin-bottom: 20px;
325326
font-size: 14px;
326-
color: #5d6d7e;
327+
color: #b0b0b0;
327328
}
328329

329330
.action-group {
330331
margin-bottom: 24px;
331332
}
332333

333334
.action-group h3 {
334-
color: #2c3e50;
335+
color: #ffffff;
335336
margin-bottom: 16px;
336337
font-size: 1.1rem;
337338
border-bottom: 2px solid #3498db;
@@ -346,20 +347,20 @@ input[type="range"]::-moz-range-thumb {
346347

347348
/* Action Button Styles */
348349
.action-button-container {
349-
background: white;
350+
background: #2d2d2d;
350351
border-radius: 8px;
351-
border: 1px solid #e1e8ed;
352+
border: 1px solid #404040;
352353
overflow: hidden;
353354
transition: box-shadow 0.2s ease;
354355
}
355356

356357
.action-button-container:hover {
357-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
358+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
358359
}
359360

360361
.action-header {
361362
padding: 16px;
362-
border-bottom: 1px solid #f0f3f5;
363+
border-bottom: 1px solid #404040;
363364
}
364365

365366
.action-button {
@@ -391,21 +392,21 @@ input[type="range"]::-moz-range-thumb {
391392
.action-description {
392393
display: block;
393394
font-size: 12px;
394-
color: #7f8c8d;
395+
color: #b0b0b0;
395396
margin-top: 8px;
396397
font-style: italic;
397398
}
398399

399400
/* Parameter Form Styles */
400401
.parameter-form {
401402
padding: 16px;
402-
background: #f8f9fa;
403-
border-top: 1px solid #e1e8ed;
403+
background: #333333;
404+
border-top: 1px solid #404040;
404405
}
405406

406407
.parameter-form h4 {
407408
margin-bottom: 12px;
408-
color: #2c3e50;
409+
color: #ffffff;
409410
font-size: 14px;
410411
}
411412

@@ -417,7 +418,7 @@ input[type="range"]::-moz-range-thumb {
417418

418419
.parameter-label {
419420
font-size: 14px;
420-
color: #2c3e50;
421+
color: #e0e0e0;
421422
margin-bottom: 4px;
422423
font-weight: 500;
423424
}
@@ -429,20 +430,22 @@ input[type="range"]::-moz-range-thumb {
429430

430431
.parameter-input input {
431432
padding: 8px 12px;
432-
border: 1px solid #ddd;
433+
border: 1px solid #555555;
433434
border-radius: 4px;
434435
font-size: 14px;
436+
background: #404040;
437+
color: #e0e0e0;
435438
}
436439

437440
.parameter-input input:focus {
438441
outline: none;
439442
border-color: #3498db;
440-
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
443+
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.3);
441444
}
442445

443446
.parameter-description {
444447
font-size: 12px;
445-
color: #7f8c8d;
448+
color: #b0b0b0;
446449
margin-top: 4px;
447450
font-style: italic;
448451
}
@@ -477,18 +480,18 @@ input[type="range"]::-moz-range-thumb {
477480
}
478481

479482
.cancel-params {
480-
background: #ecf0f1;
481-
color: #2c3e50;
483+
background: #555555;
484+
color: #e0e0e0;
482485
}
483486

484487
.cancel-params:hover {
485-
background: #d5dbdb;
488+
background: #666666;
486489
}
487490

488491
/* Action Result Styles */
489492
.action-result {
490493
padding: 16px;
491-
border-top: 1px solid #e1e8ed;
494+
border-top: 1px solid #404040;
492495
margin-top: 16px;
493496
}
494497

@@ -525,7 +528,7 @@ input[type="range"]::-moz-range-thumb {
525528
.result-message {
526529
flex: 1;
527530
font-size: 14px;
528-
color: #2c3e50;
531+
color: #e0e0e0;
529532
}
530533

531534
.result-data {
@@ -534,19 +537,20 @@ input[type="range"]::-moz-range-thumb {
534537

535538
.result-data h4 {
536539
margin-bottom: 8px;
537-
color: #2c3e50;
540+
color: #ffffff;
538541
font-size: 14px;
539542
}
540543

541544
.result-data pre {
542-
background: #f8f9fa;
543-
border: 1px solid #e1e8ed;
545+
background: #1a1a1a;
546+
border: 1px solid #404040;
544547
border-radius: 4px;
545548
padding: 12px;
546549
font-size: 12px;
547550
overflow-x: auto;
548551
max-height: 200px;
549552
overflow-y: auto;
553+
color: #e0e0e0;
550554
}
551555

552556
/* Action Logs Styles */
@@ -556,7 +560,7 @@ input[type="range"]::-moz-range-thumb {
556560

557561
.action-logs h4 {
558562
margin-bottom: 8px;
559-
color: #2c3e50;
563+
color: #ffffff;
560564
font-size: 14px;
561565
}
562566

@@ -621,13 +625,13 @@ input[type="range"]::-moz-range-thumb {
621625
.esim-help {
622626
margin-top: 24px;
623627
padding: 16px;
624-
background: #f0f9ff;
628+
background: #262626;
625629
border-left: 4px solid #3498db;
626630
border-radius: 0 6px 6px 0;
627631
}
628632

629633
.esim-help h4 {
630-
color: #2c3e50;
634+
color: #ffffff;
631635
margin-bottom: 12px;
632636
font-size: 1rem;
633637
}
@@ -639,10 +643,10 @@ input[type="range"]::-moz-range-thumb {
639643
.esim-help li {
640644
margin-bottom: 8px;
641645
font-size: 14px;
642-
color: #34495e;
646+
color: #c0c0c0;
643647
line-height: 1.5;
644648
}
645649

646650
.esim-help strong {
647-
color: #2c3e50;
651+
color: #ffffff;
648652
}

0 commit comments

Comments
 (0)