diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2015-12-30 10:36:28 -0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2016-01-03 00:42:51 -0800 |
commit | 64a06adfc05a9dacb542a7925f375b22be141ad0 (patch) | |
tree | bf1d3cd44fed88885de9697eac93b5e1023de42c /gtk/theme | |
parent | 2eb7e6a85a1a7959c0b26501d8eac5e93ee7eb95 (diff) | |
download | gtk+-64a06adfc05a9dacb542a7925f375b22be141ad0.tar.gz |
treeview: don't use wide-separators/separator-height
Those style properties are on their way out; instead, use min-height
with the separator style class to obtain the height.
Diffstat (limited to 'gtk/theme')
-rw-r--r-- | gtk/theme/Adwaita/_common.scss | 7 | ||||
-rw-r--r-- | gtk/theme/Adwaita/gtk-contained-dark.css | 6 | ||||
-rw-r--r-- | gtk/theme/Adwaita/gtk-contained.css | 6 |
3 files changed, 13 insertions, 6 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 3dd623c101..951d19aeb9 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -1352,8 +1352,11 @@ treeview.view { &:backdrop { color: $backdrop_insensitive_color; } } - &.separator:backdrop { - color: transparentize(black, 0.9); + &.separator { + min-height: 2px; + &:backdrop { + color: transparentize(black, 0.9); + } } &:backdrop { diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 0d6a13014c..70b7b4f6c8 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -1998,8 +1998,10 @@ treeview.view { color: #648eba; } treeview.view:disabled:backdrop { color: #5d6767; } - treeview.view.separator:backdrop { - color: rgba(0, 0, 0, 0.1); } + treeview.view.separator { + min-height: 2px; } + treeview.view.separator:backdrop { + color: rgba(0, 0, 0, 0.1); } treeview.view:backdrop { border-left-color: #676b6b; border-top: #393f3f; } diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index c217e6509d..50703a064c 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -1998,8 +1998,10 @@ treeview.view { color: #80b1e4; } treeview.view:disabled:backdrop { color: #c3c3c0; } - treeview.view.separator:backdrop { - color: rgba(0, 0, 0, 0.1); } + treeview.view.separator { + min-height: 2px; } + treeview.view.separator:backdrop { + color: rgba(0, 0, 0, 0.1); } treeview.view:backdrop { border-left-color: #babbbb; border-top: #e8e8e7; } |