[gtk/gtk-3-24] Adwaita: Propagate bg color to titlebar separator descendants
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24] Adwaita: Propagate bg color to titlebar separator descendants
- Date: Fri, 9 Nov 2018 07:52:12 +0000 (UTC)
commit f0e5b5bf88129f16312f88392e05f99ffa940500
Author: Adrien Plazas <kekun plazas laposte net>
Date: Tue Jul 24 14:37:57 2018 +0200
Adwaita: Propagate bg color to titlebar separator descendants
Gives the same background color to all separators descending from a
title bar than to its direct childrens.
This prevents separators which are in a titlebar but not direct children
from the widget with the titlebar style class from being almost
transparent and hence it prevent them from revealing the clear color of
the window's titlebar (black).
https://gitlab.gnome.org/GNOME/gtk/issues/1231
gtk/theme/Adwaita/_common.scss | 2 +-
gtk/theme/Adwaita/gtk-contained-dark.css | 2 +-
gtk/theme/Adwaita/gtk-contained.css | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index ac0d05d0bd..db6347f598 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1765,7 +1765,7 @@ headerbar { // headerbar border rounding
box-shadow: none;
}
- > separator { background-color: $borders_color; } // FIXME: use darker border?
+ separator { background-color: $borders_color; } // FIXME: use darker border?
@extend %titlebar;
}
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 64973dca37..51667bd253 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -686,7 +686,7 @@ window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerb
window.csd > .titlebar:not(headerbar) { padding: 0; background-color: transparent; background-image: none;
border-style: none; border-color: transparent; box-shadow: none; }
-.titlebar:not(headerbar) > separator { background-color: #24212a; }
+.titlebar:not(headerbar) separator { background-color: #24212a; }
window.devel headerbar.titlebar:not(.selection-mode) { background: transparent
-gtk-icontheme("system-run-symbolic") 90% 0/256px 256px no-repeat, linear-gradient(to left, #393b4f 8%,
#3d3846 25%); color: rgba(238, 238, 236, 0.1); }
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 5b0becc435..23cb8c46f4 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -694,7 +694,7 @@ window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerb
window.csd > .titlebar:not(headerbar) { padding: 0; background-color: transparent; background-image: none;
border-style: none; border-color: transparent; box-shadow: none; }
-.titlebar:not(headerbar) > separator { background-color: #b6b6b3; }
+.titlebar:not(headerbar) separator { background-color: #b6b6b3; }
window.devel headerbar.titlebar:not(.selection-mode) { background: transparent
-gtk-icontheme("system-run-symbolic") 90% 0/256px 256px no-repeat, linear-gradient(to left, #d6dee7 8%,
#e8e8e7 25%); color: rgba(46, 52, 54, 0.1); }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]