[gtk+] Adwaita: Fix a padding problem in action bars
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: Fix a padding problem in action bars
- Date: Sun, 14 Feb 2016 19:56:39 +0000 (UTC)
commit 3c9a63bcb1336449f76432606fc7dcc838c5a1a4
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Feb 14 14:54:49 2016 -0500
Adwaita: Fix a padding problem in action bars
Padding adds up. A selector like "actionbar box" matches any box
inside an actionbar, so nested boxes accumulate more and more
padding. The intention clearly was to just give padding to the
topmost box that is the direct child of the actionbar's revealer.
https://bugzilla.gnome.org/show_bug.cgi?id=762036
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 d2ecb8f..595124b 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2817,7 +2817,7 @@ frame border,
&:backdrop { border-color: $backdrop_borders_color; }
}
-actionbar box {
+actionbar > revealer > box {
padding: 6px;
border-width: 1px 0 0;
}
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index ddef74f..5ffd775 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -3452,7 +3452,7 @@ frame border,
.frame:backdrop {
border-color: #1f2222; }
-actionbar box {
+actionbar > revealer > box {
padding: 6px;
border-width: 1px 0 0; }
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index c8e2410..f82592b 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -3585,7 +3585,7 @@ frame border,
.frame:backdrop {
border-color: #a5a5a1; }
-actionbar box {
+actionbar > revealer > box {
padding: 6px;
border-width: 1px 0 0; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]