[libadwaita/wip/exalm/headerbar-icon] stylesheet: Style GtkWindowControls icon properly
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/headerbar-icon] stylesheet: Style GtkWindowControls icon properly
- Date: Mon, 1 Nov 2021 11:40:52 +0000 (UTC)
commit 3eeee4941556137bb66550399507d56d00b778b1
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Nov 1 16:40:51 2021 +0500
stylesheet: Style GtkWindowControls icon properly
src/stylesheet/widgets/_header-bar.scss | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/src/stylesheet/widgets/_header-bar.scss b/src/stylesheet/widgets/_header-bar.scss
index c803904f..3bfee745 100644
--- a/src/stylesheet/widgets/_header-bar.scss
+++ b/src/stylesheet/widgets/_header-bar.scss
@@ -42,12 +42,16 @@ headerbar {
}
windowcontrols {
- button {
+ > button {
min-height: 22px;
min-width: 22px;
margin: 0;
padding: 4px;
}
+
+ > .icon {
+ margin: 7px;
+ }
}
}
@@ -89,7 +93,7 @@ headerbar {
windowcontrols {
border-spacing: 3px;
- button {
+ > button {
min-width: 24px;
padding: 5px;
margin: 0;
@@ -112,6 +116,10 @@ windowcontrols {
&:hover > image { background-color: $button_hover_color; }
&:hover:active > image { background-color: $button_active_color; }
}
+
+ > .icon {
+ margin: 9px;
+ }
}
/******************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]