From 905b61a0cf015d7ea68d30e78edef3dc9f41075b Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Tue, 2 Feb 2016 19:22:00 +0100 Subject: fix app-menu button padding --- common/gtk-3.0/3.16/gtk-dark.css | 7 ++++++- common/gtk-3.0/3.16/gtk-darker.css | 7 ++++++- common/gtk-3.0/3.16/gtk-solid-dark.css | 7 ++++++- common/gtk-3.0/3.16/gtk-solid-darker.css | 7 ++++++- common/gtk-3.0/3.16/gtk-solid.css | 7 ++++++- common/gtk-3.0/3.16/gtk.css | 7 ++++++- common/gtk-3.0/3.16/sass/_common.scss | 7 ++++++- 7 files changed, 42 insertions(+), 7 deletions(-) (limited to 'common/gtk-3.0/3.16') diff --git a/common/gtk-3.0/3.16/gtk-dark.css b/common/gtk-3.0/3.16/gtk-dark.css index 7623c73..d1ad57a 100644 --- a/common/gtk-3.0/3.16/gtk-dark.css +++ b/common/gtk-3.0/3.16/gtk-dark.css @@ -2413,11 +2413,16 @@ GtkVolumeButton.button { .header-bar .button.titlebutton, .titlebar .button.titlebutton { - padding: 8px 4px; + padding-left: 4px; + padding-right: 4px; border-color: transparent; background-color: transparent; background-image: none; background-color: rgba(47, 52, 63, 0); } + .header-bar .button.titlebutton:not(GtkMenuButton), + .titlebar .button.titlebutton:not(GtkMenuButton) { + padding-top: 8px; + padding-bottom: 8px; } .header-bar .button.titlebutton:hover, .titlebar .button.titlebutton:hover { color: rgba(207, 218, 231, 0.8); diff --git a/common/gtk-3.0/3.16/gtk-darker.css b/common/gtk-3.0/3.16/gtk-darker.css index f5e9658..abce44f 100644 --- a/common/gtk-3.0/3.16/gtk-darker.css +++ b/common/gtk-3.0/3.16/gtk-darker.css @@ -2416,11 +2416,16 @@ GtkVolumeButton.button { .header-bar .button.titlebutton, .titlebar .button.titlebutton { - padding: 8px 4px; + padding-left: 4px; + padding-right: 4px; border-color: transparent; background-color: transparent; background-image: none; background-color: rgba(47, 52, 63, 0); } + .header-bar .button.titlebutton:not(GtkMenuButton), + .titlebar .button.titlebutton:not(GtkMenuButton) { + padding-top: 8px; + padding-bottom: 8px; } .header-bar .button.titlebutton:hover, .titlebar .button.titlebutton:hover { color: rgba(207, 218, 231, 0.8); diff --git a/common/gtk-3.0/3.16/gtk-solid-dark.css b/common/gtk-3.0/3.16/gtk-solid-dark.css index b37bd79..c2b0cc5 100644 --- a/common/gtk-3.0/3.16/gtk-solid-dark.css +++ b/common/gtk-3.0/3.16/gtk-solid-dark.css @@ -2413,11 +2413,16 @@ GtkVolumeButton.button { .header-bar .button.titlebutton, .titlebar .button.titlebutton { - padding: 8px 4px; + padding-left: 4px; + padding-right: 4px; border-color: transparent; background-color: transparent; background-image: none; background-color: rgba(47, 52, 63, 0); } + .header-bar .button.titlebutton:not(GtkMenuButton), + .titlebar .button.titlebutton:not(GtkMenuButton) { + padding-top: 8px; + padding-bottom: 8px; } .header-bar .button.titlebutton:hover, .titlebar .button.titlebutton:hover { color: rgba(207, 218, 231, 0.8); diff --git a/common/gtk-3.0/3.16/gtk-solid-darker.css b/common/gtk-3.0/3.16/gtk-solid-darker.css index be326d7..d10cb25 100644 --- a/common/gtk-3.0/3.16/gtk-solid-darker.css +++ b/common/gtk-3.0/3.16/gtk-solid-darker.css @@ -2416,11 +2416,16 @@ GtkVolumeButton.button { .header-bar .button.titlebutton, .titlebar .button.titlebutton { - padding: 8px 4px; + padding-left: 4px; + padding-right: 4px; border-color: transparent; background-color: transparent; background-image: none; background-color: rgba(47, 52, 63, 0); } + .header-bar .button.titlebutton:not(GtkMenuButton), + .titlebar .button.titlebutton:not(GtkMenuButton) { + padding-top: 8px; + padding-bottom: 8px; } .header-bar .button.titlebutton:hover, .titlebar .button.titlebutton:hover { color: rgba(207, 218, 231, 0.8); diff --git a/common/gtk-3.0/3.16/gtk-solid.css b/common/gtk-3.0/3.16/gtk-solid.css index d99f494..d165856 100644 --- a/common/gtk-3.0/3.16/gtk-solid.css +++ b/common/gtk-3.0/3.16/gtk-solid.css @@ -2416,11 +2416,16 @@ GtkVolumeButton.button { .header-bar .button.titlebutton, .titlebar .button.titlebutton { - padding: 8px 4px; + padding-left: 4px; + padding-right: 4px; border-color: transparent; background-color: transparent; background-image: none; background-color: rgba(231, 232, 235, 0); } + .header-bar .button.titlebutton:not(GtkMenuButton), + .titlebar .button.titlebutton:not(GtkMenuButton) { + padding-top: 8px; + padding-bottom: 8px; } .header-bar .button.titlebutton:hover, .titlebar .button.titlebutton:hover { color: rgba(82, 93, 118, 0.8); diff --git a/common/gtk-3.0/3.16/gtk.css b/common/gtk-3.0/3.16/gtk.css index b9db7d1..a50bb8f 100644 --- a/common/gtk-3.0/3.16/gtk.css +++ b/common/gtk-3.0/3.16/gtk.css @@ -2416,11 +2416,16 @@ GtkVolumeButton.button { .header-bar .button.titlebutton, .titlebar .button.titlebutton { - padding: 8px 4px; + padding-left: 4px; + padding-right: 4px; border-color: transparent; background-color: transparent; background-image: none; background-color: rgba(231, 232, 235, 0); } + .header-bar .button.titlebutton:not(GtkMenuButton), + .titlebar .button.titlebutton:not(GtkMenuButton) { + padding-top: 8px; + padding-bottom: 8px; } .header-bar .button.titlebutton:hover, .titlebar .button.titlebutton:hover { color: rgba(82, 93, 118, 0.8); diff --git a/common/gtk-3.0/3.16/sass/_common.scss b/common/gtk-3.0/3.16/sass/_common.scss index 6421ad6..89c2697 100644 --- a/common/gtk-3.0/3.16/sass/_common.scss +++ b/common/gtk-3.0/3.16/sass/_common.scss @@ -2805,7 +2805,12 @@ GtkVolumeButton.button { padding: 8px; } .button.titlebutton { @extend .image-button; - padding: 8px 4px; + &:not(GtkMenuButton) { + padding-top: 8px; + padding-bottom: 8px; + } + padding-left: 4px; + padding-right: 4px; @include button(undecorated); background-color: transparentize($header_bg, 1); -- cgit v1.2.3