From 20e1ff44e8d7142ac2b7bec70e38078505cd0150 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 14 Dec 2015 15:56:56 -0500 Subject: [PATCH] Adwaita: Update separator styling Separators no longer draw a line with the foreground color, but instead just draw background. --- gtk/theme/Adwaita/_common.scss | 4 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 59c452d3ed..8de9e9c88f 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -2553,7 +2553,9 @@ scrolledwindow { separator { // always disable separators // -GtkWidget-wide-separators: true; - color: transparentize(black, 0.9); + background: transparentize(black, 0.9); + min-width: 1px; + min-height: 1px; // Font and File button separators button.file &.vertical, diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 7414d8c726..52ce6be18c 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -3625,7 +3625,9 @@ scrolledwindow junction { background-color: #323737; } separator { - color: rgba(0, 0, 0, 0.1); } + background: rgba(0, 0, 0, 0.1); + min-width: 1px; + min-height: 1px; } button.file separator.vertical, button.font separator.vertical { -GtkWidget-wide-separators: true; } diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 28b95897fe..ef83a14645 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -3787,7 +3787,9 @@ scrolledwindow junction { background-color: #e1e1df; } separator { - color: rgba(0, 0, 0, 0.1); } + background: rgba(0, 0, 0, 0.1); + min-width: 1px; + min-height: 1px; } button.file separator.vertical, button.font separator.vertical { -GtkWidget-wide-separators: true; }