From 15936ec9d35b68c5492072b68447b764bbc629d9 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Sat, 3 Oct 2015 12:47:22 +0200 Subject: fix default-decorations under elementary OS --- common/gtk-3.0/3.14/sass/_common.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'common/gtk-3.0/3.14/sass/_common.scss') diff --git a/common/gtk-3.0/3.14/sass/_common.scss b/common/gtk-3.0/3.14/sass/_common.scss index 4051cc4..8ed1d94 100644 --- a/common/gtk-3.0/3.14/sass/_common.scss +++ b/common/gtk-3.0/3.14/sass/_common.scss @@ -1138,6 +1138,16 @@ GtkComboBox { border-color: opacify($header_border, 1); } } + &.default-decoration, + .csd &.default-decoration { + padding-top: 5px; // less padding for ssd + padding-bottom: 5px; // + background-color: opacify($header_bg, 1); + border-bottom-width: 0; + + //&:backdrop { background-color: opacify($header_bg_backdrop, 1); } + &:backdrop { background-color: opacify($header_bg, 1); } + } } .titlebar { @@ -2695,6 +2705,11 @@ GtkVolumeButton.button { padding: 8px; } .header-bar, .titlebar, .header-bar.selection-mode, .titlebar.selection-mode { + &.default-decoration .button.titlebutton { // no vertical padding for ssd buttons + padding-top: 0px; // already handled by the titlebar-padding + padding-bottom: 0px; + } + .button.titlebutton { padding: 7px 4px; -- cgit v1.2.3