|
35 | 35 | transition: background-color var(--transition-duration) ease; |
36 | 36 | } |
37 | 37 |
|
38 | | - |
39 | 38 | /* Hide version container if the user is adding or copying a profile */ |
40 | 39 | body:has(#addProfileContainer:not([style*="display: none"])) #versionContainer, |
41 | 40 | body:has(#copyProfileContainer:not([style*="display: none"])) #versionContainer { |
@@ -304,7 +303,6 @@ button:active { |
304 | 303 | background-color: var(--hover-bg-color); |
305 | 304 | } |
306 | 305 |
|
307 | | - |
308 | 306 | /* Drag Handle Styling */ |
309 | 307 | .drag-handle { |
310 | 308 | cursor: grab; |
@@ -581,6 +579,7 @@ body.dragging button:hover { |
581 | 579 | box-shadow: none !important; |
582 | 580 | cursor: default !important; |
583 | 581 | } |
| 582 | + |
584 | 583 | /* ------------------------- */ |
585 | 584 | /* Dark Theme Overrides */ |
586 | 585 | /* ------------------------- */ |
@@ -642,6 +641,29 @@ body.dark-theme .toast { |
642 | 641 | color: #eee; |
643 | 642 | } |
644 | 643 |
|
| 644 | +/* --- New Dark Theme Overrides for Dynamic Button Items --- */ |
| 645 | +body.dark-theme .button-item { |
| 646 | + background: #333 !important; /* Dark background for button items */ |
| 647 | + border-color: #555 !important; /* Darker border */ |
| 648 | + color: #eee !important; /* Light text color */ |
| 649 | +} |
| 650 | + |
| 651 | +body.dark-theme .button-item.separator-item { |
| 652 | + background: #444 !important; /* Slightly lighter than .button-item for separators */ |
| 653 | + border-color: #555 !important; |
| 654 | + color: #ccc !important; |
| 655 | +} |
| 656 | + |
| 657 | +/* Ensure that any internal elements within .button-item also adapt */ |
| 658 | +body.dark-theme .button-item .drag-handle, |
| 659 | +body.dark-theme .button-item input, |
| 660 | +body.dark-theme .button-item textarea, |
| 661 | +body.dark-theme .button-item label, |
| 662 | +body.dark-theme .button-item .shortcut-indicator { |
| 663 | + color: #eee !important; |
| 664 | + background: transparent !important; |
| 665 | +} |
| 666 | + |
645 | 667 | /* ------------------------- */ |
646 | 668 | /* iPhone-style Toggle Switch */ |
647 | 669 | /* ------------------------- */ |
|
0 commit comments