Skip to content

Commit 47c2a53

Browse files
committed
better csss
1 parent a1938e9 commit 47c2a53

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

popup-page-style.css

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ body {
3535
transition: background-color var(--transition-duration) ease;
3636
}
3737

38-
3938
/* Hide version container if the user is adding or copying a profile */
4039
body:has(#addProfileContainer:not([style*="display: none"])) #versionContainer,
4140
body:has(#copyProfileContainer:not([style*="display: none"])) #versionContainer {
@@ -304,7 +303,6 @@ button:active {
304303
background-color: var(--hover-bg-color);
305304
}
306305

307-
308306
/* Drag Handle Styling */
309307
.drag-handle {
310308
cursor: grab;
@@ -581,6 +579,7 @@ body.dragging button:hover {
581579
box-shadow: none !important;
582580
cursor: default !important;
583581
}
582+
584583
/* ------------------------- */
585584
/* Dark Theme Overrides */
586585
/* ------------------------- */
@@ -642,6 +641,29 @@ body.dark-theme .toast {
642641
color: #eee;
643642
}
644643

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+
645667
/* ------------------------- */
646668
/* iPhone-style Toggle Switch */
647669
/* ------------------------- */

0 commit comments

Comments
 (0)