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 ++++++- common/gtk-3.0/3.18/gtk-dark.css | 7 ++++++- common/gtk-3.0/3.18/gtk-darker.css | 7 ++++++- common/gtk-3.0/3.18/gtk-solid-dark.css | 7 ++++++- common/gtk-3.0/3.18/gtk-solid-darker.css | 7 ++++++- common/gtk-3.0/3.18/gtk-solid.css | 7 ++++++- common/gtk-3.0/3.18/gtk.css | 7 ++++++- common/gtk-3.0/3.18/sass/_common.scss | 7 ++++++- 14 files changed, 84 insertions(+), 14 deletions(-) (limited to 'common') 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); diff --git a/common/gtk-3.0/3.18/gtk-dark.css b/common/gtk-3.0/3.18/gtk-dark.css index 8015a12..5d36bf1 100644 --- a/common/gtk-3.0/3.18/gtk-dark.css +++ b/common/gtk-3.0/3.18/gtk-dark.css @@ -2519,11 +2519,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.18/gtk-darker.css b/common/gtk-3.0/3.18/gtk-darker.css index e8bd476..ec7a025 100644 --- a/common/gtk-3.0/3.18/gtk-darker.css +++ b/common/gtk-3.0/3.18/gtk-darker.css @@ -2522,11 +2522,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.18/gtk-solid-dark.css b/common/gtk-3.0/3.18/gtk-solid-dark.css index 6f3bd8d..11fd0c5 100644 --- a/common/gtk-3.0/3.18/gtk-solid-dark.css +++ b/common/gtk-3.0/3.18/gtk-solid-dark.css @@ -2519,11 +2519,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.18/gtk-solid-darker.css b/common/gtk-3.0/3.18/gtk-solid-darker.css index 89cb073..18ee29d 100644 --- a/common/gtk-3.0/3.18/gtk-solid-darker.css +++ b/common/gtk-3.0/3.18/gtk-solid-darker.css @@ -2522,11 +2522,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.18/gtk-solid.css b/common/gtk-3.0/3.18/gtk-solid.css index e7b2c5e..fddb2f5 100644 --- a/common/gtk-3.0/3.18/gtk-solid.css +++ b/common/gtk-3.0/3.18/gtk-solid.css @@ -2526,11 +2526,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.18/gtk.css b/common/gtk-3.0/3.18/gtk.css index 89ab1f7..9b8ab26 100644 --- a/common/gtk-3.0/3.18/gtk.css +++ b/common/gtk-3.0/3.18/gtk.css @@ -2526,11 +2526,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.18/sass/_common.scss b/common/gtk-3.0/3.18/sass/_common.scss index ec870bc..0428cf9 100644 --- a/common/gtk-3.0/3.18/sass/_common.scss +++ b/common/gtk-3.0/3.18/sass/_common.scss @@ -2807,7 +2807,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