[gtk/wip/baedert/for-master: 5/6] Adwaita: Remove padding from popover.menu
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 5/6] Adwaita: Remove padding from popover.menu
- Date: Fri, 18 Oct 2019 09:47:00 +0000 (UTC)
commit 83f86893c725729f37041743b817ac878eddae78
Author: Timm Bäder <mail baedert org>
Date: Fri Oct 18 11:43:47 2019 +0200
Adwaita: Remove padding from popover.menu
The padding belongs to the contents subnode in this case.
gtk/theme/Adwaita/_common.scss | 2 ++
gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++
gtk/theme/Adwaita/gtk-contained.css | 2 ++
3 files changed, 6 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 0c07a3ccf8..4568416ba3 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -4785,6 +4785,8 @@ menubar {
}
popover.menu {
+ padding: 0px;
+
& button.image-button.model {
padding: 0;
border: none;
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index e3448253f0..1e64a95f84 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -2077,6 +2077,8 @@ menubar > item:disabled { color: #919190; box-shadow: none; }
menubar .csd.popup decoration { border-radius: 0; }
+popover.menu { padding: 0px; }
+
popover.menu button.image-button.model { padding: 0; border: none; background: none; box-shadow: none; }
popover.menu button.image-button.model:selected { border: none; color: #ffffff; background: #15539e; }
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 374fb16356..46c1757580 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -2093,6 +2093,8 @@ menubar > item:disabled { color: #929595; box-shadow: none; }
menubar .csd.popup decoration { border-radius: 0; }
+popover.menu { padding: 0px; }
+
popover.menu button.image-button.model { padding: 0; border: none; background: none; box-shadow: none; }
popover.menu button.image-button.model:selected { border: none; color: #ffffff; background: #3584e4; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]