[gtk+/wip/matthiasc/gadget] Adwaita: Adapt to changes in separator rendering
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/gadget] Adwaita: Adapt to changes in separator rendering
- Date: Fri, 27 Nov 2015 03:44:07 +0000 (UTC)
commit 5c9a0ee3ddf63a0863915800523c9a4fb0acafaf
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Nov 26 22:36:00 2015 -0500
Adwaita: Adapt to changes in separator rendering
Set the background for separators, to make them show up.
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 c35d84f..fd9c890 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2557,7 +2557,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 aa6663e..271dc25 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -3580,7 +3580,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 7f3019e..8b5fe3d 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -3742,7 +3742,9 @@ scrolledwindow junction {
background-color: #e5e5e5; }
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]