Skip to content

Commit 92db061

Browse files
authored
Add category hover style for Cinnamenu applet... (#11451)
... and possible future use in the menu applet which currently uses `.menu-category-button-selected` style for hover (pseudo class `hover` is only used when the 'activate categories on click' menu option is set) This also works well as a reasonable fallback style in other light & dark themes as it will add to the style of `.menu-category-button` in themes where `.menu-category-button:hover` is not defined.
1 parent 19fa83f commit 92db061

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

data/theme/cinnamon.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,6 +1244,11 @@ StScrollBar StButton#vhandle:hover {
12441244
padding-right: 7px;
12451245
padding-bottom: 7px;
12461246
}
1247+
.menu-category-button:hover {
1248+
background-color: rgba(128,128,128,0.2);
1249+
border-radius: 4px;
1250+
border-image: none;
1251+
}
12471252
.menu-category-button-greyed {
12481253
padding-top: 7px;
12491254
padding-left: 7px;
@@ -1272,9 +1277,6 @@ StScrollBar StButton#vhandle:hover {
12721277
}
12731278
.menu-category-button-label:rtl {
12741279
padding-right: 5px;
1275-
1276-
}
1277-
.menu-category-button-selected:hover {
12781280
}
12791281
/* Name and description of the currently hovered item in the menu
12801282
* This appears on the bottom right hand corner of the menu*/
@@ -2095,4 +2097,4 @@ StScrollBar StButton#vhandle:hover {
20952097
-pie-border-width: 1px;
20962098
-pie-border-color: rgba(200, 200, 200, 0.8);
20972099
-pie-background-color: rgba(140, 140, 140, 0.6);;
2098-
}
2100+
}

0 commit comments

Comments
 (0)