diff options
author | Horst3180 | 2016-02-19 11:06:17 +0100 |
---|---|---|
committer | Horst3180 | 2016-02-19 11:06:17 +0100 |
commit | f0c0620ab86cfce7d4d5ee1ba51a232c45d8735e (patch) | |
tree | bf09074a6cf742b1dc7a10582f26d6b8bdae3eed /common/gtk-3.0/3.20/sass | |
parent | 35f30835d2540d71241e24818024e785d51b90e3 (diff) | |
download | solarc-theme-f0c0620ab86cfce7d4d5ee1ba51a232c45d8735e.tar.gz solarc-theme-f0c0620ab86cfce7d4d5ee1ba51a232c45d8735e.tar.xz solarc-theme-f0c0620ab86cfce7d4d5ee1ba51a232c45d8735e.zip |
dialog fixes
Diffstat (limited to 'common/gtk-3.0/3.20/sass')
-rw-r--r-- | common/gtk-3.0/3.20/sass/_common.scss | 35 |
1 files changed, 17 insertions, 18 deletions
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; } } } |