reftests: Fix treeview-fixed-height test

Convert -gtk-gradient() to linear-gradient in the CSS.
This commit is contained in:
Benjamin Otte 2019-03-27 04:53:56 +01:00
parent 7935f9d3b8
commit d5175526f9

View File

@ -54,23 +54,19 @@ GtkCheckButton:selected {
/* GRADIENTS */
button, .notebook tab:active, .slider {
background-image: -gtk-gradient (linear, left top, left bottom,
from (shade (@color_base, 1.2)), to (@color_base));
background-image: linear-gradient(to bottom, shade (@color_base, 1.2), @color_base);
}
button:active, .notebook tab, .trough {
background-image: -gtk-gradient (linear, left top, left bottom,
from (shade (@color_base, 0.8)), to (@color_base));
background-image: linear-gradient(to bottom, shade (@color_base, 0.8), @color_base);
}
button.vertical, .slider.vertical {
background-image: -gtk-gradient (linear, left top, right top,
from (shade (@color_base, 1.2)), to (@color_base));
background-image: linear-gradient(to right, shade (@color_base, 1.2), @color_base);
}
button.vertical:active, .trough.vertical {
background-image: -gtk-gradient (linear, left top, right top,
from (shade (@color_base, 0.8)), to (@color_base));
background-image: linear-gradient(to right, shade (@color_base, 0.8), @color_base);
}
column-header > .button {
@ -78,14 +74,12 @@ column-header > .button {
}
.progressbar {
background-image: -gtk-gradient (linear, left top, left bottom,
from (shade (@color_sel, 1.2)), to (@color_sel));
background-image: linear-gradient(to bottom, shade (@color_sel, 1.2), @color_sel);
border-color: shade (@color_sel, 0.7);
}
.progressbar.vertical {
background-image: -gtk-gradient (linear, left top, right top,
from (shade (@color_sel, 1.2)), to (@color_sel));
background-image: linear-gradient(to right, shade (@color_sel, 1.2), @color_sel);
}
/* SPACING */