[gtk+] Adwaita: Update separator styling
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: Update separator styling
- Date: Tue, 15 Dec 2015 13:43:45 +0000 (UTC)
commit 20e1ff44e8d7142ac2b7bec70e38078505cd0150
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Dec 14 15:56:56 2015 -0500
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 59c452d..8de9e9c 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 7414d8c..52ce6be 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 28b9589..ef83a14 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; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]