aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.20/sass
diff options
context:
space:
mode:
authorHorst31802016-05-29 19:22:18 +0200
committerHorst31802016-05-29 19:22:18 +0200
commitca76d0e2e55cb9a6b69a29c19225c22bb50c6f96 (patch)
tree94b480739c9811fa2c72e2cf3bf57fa8293b3748 /common/gtk-3.0/3.20/sass
parent753130a3ba5386d485d519b4a93aea4d184c4850 (diff)
downloadsolarc-theme-ca76d0e2e55cb9a6b69a29c19225c22bb50c6f96.tar.gz
solarc-theme-ca76d0e2e55cb9a6b69a29c19225c22bb50c6f96.tar.xz
solarc-theme-ca76d0e2e55cb9a6b69a29c19225c22bb50c6f96.zip
use accent color for menu highlight (fix #135)
Diffstat (limited to 'common/gtk-3.0/3.20/sass')
-rw-r--r--common/gtk-3.0/3.20/sass/_common.scss13
1 files changed, 6 insertions, 7 deletions
diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss
index 279c598..ed35b4c 100644
--- a/common/gtk-3.0/3.20/sass/_common.scss
+++ b/common/gtk-3.0/3.20/sass/_common.scss
@@ -1599,14 +1599,10 @@ menu,
menuitem {
min-height: 16px;
min-width: 40px;
- padding: 4px;
- border: solid transparent;
- border-width: 1px 0 1px 0;
+ padding: 5px;
&:hover {
- color: $fg_color;
- background-color: if($variant == 'light', transparentize(black, 0.96), transparentize(white, 0.95));
- border: solid if($variant == 'light', transparentize(black, 0.92), transparentize(white, 0.93));
- border-width: 1px 0 1px 0;
+ color: $selected_fg_color;
+ background-color: $selected_bg_color;
}
&:disabled {
color: $insensitive_fg_color;
@@ -2015,6 +2011,7 @@ switch {
// the borders of checks and radios are
// too similar in luminosity to the selected background color, hence
// we need special casing.
+ menuitem #{$w}#{$s}:hover,
.view #{$w}#{$s}:selected,
treeview.#{$w}#{$s}:selected,
row:selected #{$w}#{$s},
@@ -2125,6 +2122,7 @@ scale {
}
// Troughs in selected list-rows and infobars
+ menuitem:hover &,
row:selected &,
infobar & {
background-color: transparentize(black, 0.8);
@@ -2180,6 +2178,7 @@ scale {
}
// Selected list-row and infobar sliders
+ menuitem:hover &,
row:selected &,
infobar & {
background-clip: border-box;