aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.14/sass/_common.scss
diff options
context:
space:
mode:
authorHorst31802015-10-03 12:47:22 +0200
committerHorst31802015-10-03 12:47:22 +0200
commit15936ec9d35b68c5492072b68447b764bbc629d9 (patch)
tree1e461a11e21f50acf99dfb600ed1a92051ae7723 /common/gtk-3.0/3.14/sass/_common.scss
parent58695b1e7c229c26ed0f1eba61f8ca16147e8348 (diff)
downloadsolarc-theme-15936ec9d35b68c5492072b68447b764bbc629d9.tar.gz
solarc-theme-15936ec9d35b68c5492072b68447b764bbc629d9.tar.xz
solarc-theme-15936ec9d35b68c5492072b68447b764bbc629d9.zip
fix default-decorations under elementary OS
Diffstat (limited to 'common/gtk-3.0/3.14/sass/_common.scss')
-rw-r--r--common/gtk-3.0/3.14/sass/_common.scss15
1 files changed, 15 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;