Skip to content

Commit 5fdd5f3

Browse files
banobepascaleszkadev
authored andcommitted
jsdialog: hover style for comment menu and context menu entries
- Fixed low visibility of hover state in context and comment menus - Used an attribute selector [id^="comment-menu-"][id$="-entries"] to match every comment menu dropdown instead of a single id, since each comment generates its own suffix Signed-off-by: Banobe Pascal <banobe.pascal@collabora.com> Change-Id: Iddbf946a3a69a8146b088cf3ae277c20bfedff7d
1 parent 72228b6 commit 5fdd5f3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

browser/css/jsdialogs.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,6 +1450,12 @@ img.context-menu-icon {
14501450
background-color: var(--color-background-hover);
14511451
}
14521452

1453+
[id^='comment-menu-'][id$='-entries'] .ui-combobox-entry:hover,
1454+
#jsd-context-menu-entries .ui-combobox-entry:hover {
1455+
background-color: var(--color-background-darker) !important;
1456+
color: var(--color-text-darker) !important;
1457+
}
1458+
14531459
.ui-combobox-entry.selected:not(:hover) span,
14541460
.margin-item.selected {
14551461
background-color: var(--color-background-darker);

0 commit comments

Comments
 (0)