Skip to content

Commit d2241d1

Browse files
committed
Dark theme dragged item green
1 parent 6436445 commit d2241d1

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

popup-page-styles/popup-theme.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ body.dark-theme .error button:hover {
9393
}
9494

9595
/* ------------------------------------------------------------------------- */
96-
/* Dark Theme Overrides for Miscellaneous Components */
96+
/* Additional Dark Theme Overrides for Miscellaneous Components */
9797
/* ------------------------------------------------------------------------- */
9898
body.dark-theme .checkbox-row {
9999
color: #eee;
@@ -104,7 +104,7 @@ body.dark-theme .console {
104104
color: #ccc;
105105
}
106106

107-
/* Ensure the button list uses a dark background in dark theme */
107+
/* Ensure the button list uses a dark background in dark mode */
108108
body.dark-theme #buttonList {
109109
background-color: #333;
110110
}
@@ -148,6 +148,14 @@ body.dark-theme .button-item .shortcut-indicator {
148148
background: transparent !important;
149149
}
150150

151+
/* ------------------------------------------------------------------------- */
152+
/* Dark Theme Overrides for Dragged Button Items */
153+
/* ------------------------------------------------------------------------- */
154+
/* NEW: Force dragged item to have a green highlight in dark mode */
155+
body.dark-theme .button-item.dragging {
156+
background-color: #2ecc71 !important; /* Green highlight for dragged items */
157+
}
158+
151159
/* ------------------------------------------------------------------------- */
152160
/* Additional Dark Theme Overrides for Version Container and Links */
153161
/* ------------------------------------------------------------------------- */

0 commit comments

Comments
 (0)