aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.16/sass
diff options
context:
space:
mode:
Diffstat (limited to 'common/gtk-3.0/3.16/sass')
-rw-r--r--common/gtk-3.0/3.16/sass/_common.scss20
1 files changed, 14 insertions, 6 deletions
diff --git a/common/gtk-3.0/3.16/sass/_common.scss b/common/gtk-3.0/3.16/sass/_common.scss
index 7046ae5..23c7752 100644
--- a/common/gtk-3.0/3.16/sass/_common.scss
+++ b/common/gtk-3.0/3.16/sass/_common.scss
@@ -2025,7 +2025,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"));
}
@@ -2060,7 +2061,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"));
}
@@ -2136,8 +2138,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;
@@ -2183,8 +2186,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 {
@@ -2226,6 +2230,8 @@ GtkProgressBar {
&.osd {
background-color: $selected_bg_color;
}
+ .list-row:selected &,
+ GtkInfoBar & { background-color: $selected_fg_color; }
}
.osd .scale.progressbar {
@@ -2244,6 +2250,8 @@ GtkProgressBar.trough {
box-shadow: none;
//FIXME: there is a margin on top
}
+ .list-row:selected &,
+ GtkInfoBar & { background-color: transparentize(black, 0.8); }
}
/*************