diff options
Diffstat (limited to 'common/gtk-3.0/3.14/sass')
-rw-r--r-- | common/gtk-3.0/3.14/sass/_common.scss | 15 | ||||
-rw-r--r-- | common/gtk-3.0/3.14/sass/_transparent_widgets.scss | 3 |
2 files changed, 18 insertions, 0 deletions
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; diff --git a/common/gtk-3.0/3.14/sass/_transparent_widgets.scss b/common/gtk-3.0/3.14/sass/_transparent_widgets.scss index c97956c..b04ed38 100644 --- a/common/gtk-3.0/3.14/sass/_transparent_widgets.scss +++ b/common/gtk-3.0/3.14/sass/_transparent_widgets.scss @@ -120,6 +120,9 @@ GeditWindow.background.csd { background-color: transparent; .pane-separator { background-color: $dark_sidebar_border; } + + > .titlebar.default-decoration, + > .titlebar.default-decoration:backdrop { background-color: opacify($header_bg, 1); } // fix for elementary OS } .gedit-bottom-panel-paned { background-color: $base_color; } |