From f0c0620ab86cfce7d4d5ee1ba51a232c45d8735e Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Fri, 19 Feb 2016 11:06:17 +0100 Subject: dialog fixes --- common/gtk-3.0/3.20/sass/_common.scss | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'common/gtk-3.0/3.20/sass/_common.scss') diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss index 9d422f0..c339b5b 100644 --- a/common/gtk-3.0/3.20/sass/_common.scss +++ b/common/gtk-3.0/3.20/sass/_common.scss @@ -1138,7 +1138,6 @@ headerbar { } // Separator in Gnome Tweak Tool separator { background-color: $header_border; } - } // Only extending headerbar avoids some problems (Gnome Documents searchbar) @@ -1146,6 +1145,11 @@ headerbar { separator.titlebutton { @extend %header_separator; } @extend %header_widgets; + + entry, button, separator { + margin-top: 6px; + margin-bottom: 6px; + } } %header_separator { @@ -1164,11 +1168,6 @@ headerbar { %header_widgets { - entry, button, separator { - margin-top: 6px; - margin-bottom: 6px; - } - // Headerbar Entries entry, spinbutton { @include entry(header-normal); @@ -2508,11 +2507,10 @@ calendar { // Dialogs // messagedialog { // Message Dialog styling - -GtkDialog-button-spacing: 0; .titlebar { background-color: $header_bg; border-bottom: 1px solid darken($header_bg, 7%) } - .dialog-action-area button { padding: 2px; } + .dialog-action-area button { padding: 8px; min-height: 0; } &.csd { // rounded bottom border styling for csd version &.background { @@ -2521,28 +2519,29 @@ messagedialog { // Message Dialog styling border: none; } .dialog-action-area button { - padding: 2px; - border-radius: 0; + border-bottom-style: none; @extend %middle_button; - - &:hover, &:active, &:disabled { - @extend %middle_button; - } - &:first-child{ @extend %first_button; } &:last-child { @extend %last_button; } + &:only-child { @extend %single_button; } } %middle_button { + border-radius: 0; border-right-style: none; - border-bottom-style: none; } %last_button { - border-bottom-right-radius: 3px; + border-radius: 0 0 3px 0; + border-right-style: none; } %first_button { + border-radius: 0 0 0 3px; border-left-style: none; - border-bottom-left-radius: 3px; + } + %single_button { + border-radius: 0 0 3px 3px; + border-left-style: none; + border-right-style: none; } } } -- cgit v1.2.3