diff options
Diffstat (limited to 'common/gtk-3.0/3.14/sass')
-rw-r--r-- | common/gtk-3.0/3.14/sass/_common.scss | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/common/gtk-3.0/3.14/sass/_common.scss b/common/gtk-3.0/3.14/sass/_common.scss index 34e4284..8f34cf9 100644 --- a/common/gtk-3.0/3.14/sass/_common.scss +++ b/common/gtk-3.0/3.14/sass/_common.scss @@ -1917,7 +1917,8 @@ GtkSwitch { background-image: -gtk-scaled(url("assets/switch#{$l}#{$asset_suffix}.png"),url("assets/switch#{$l}#{$asset_suffix}@2.png")); } - .list-row:selected GtkSwitch.trough#{$k} { + .list-row:selected GtkSwitch.trough#{$k}, + GtkInfoBar GtkSwitch.trough#{$k} { background-image: -gtk-scaled(url("assets/switch#{$l}-selected.png"),url("assets/switch#{$l}-selected@2.png")); } @@ -1952,7 +1953,8 @@ GtkSwitch { // too similar in luminosity to the selected background color, hence // we need special casing. GtkTreeView.view.#{$w}#{$s}:selected, - .list-row:selected .#{$w}#{$s} { + .list-row:selected .#{$w}#{$s}, + GtkInfoBar .#{$w}#{$s} { -gtk-icon-source: -gtk-scaled(url("assets/#{$a}#{$as}-selected.png"), url("assets/#{$a}#{$as}-selected@2.png")); } @@ -2028,8 +2030,9 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { border-color: darken($selected_bg_color, 10%); } } - //selected list-row sliders - .list-row:selected & { + //selected list-row and infobar sliders + .list-row:selected &, + GtkInfoBar & { background-image: linear-gradient(to bottom, $selected_fg_color); border-color: $selected_fg_color; @@ -2075,8 +2078,9 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { } &:insensitive { } } - // troughs in selected list-rows - .list-row:selected & { + // troughs in selected list-rows and infobars + .list-row:selected &, + GtkInfoBar & { background-image: linear-gradient(to bottom, transparentize(black, 0.8)); &.highlight { @@ -2118,6 +2122,8 @@ GtkProgressBar { &.osd { background-color: $selected_bg_color; } + .list-row:selected &, + GtkInfoBar & { background-color: $selected_fg_color; } } .osd .scale.progressbar { @@ -2136,6 +2142,8 @@ GtkProgressBar.trough { box-shadow: none; //FIXME: there is a margin on top } + .list-row:selected &, + GtkInfoBar & { background-color: transparentize(black, 0.8); } } /************* |