aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.20/sass
diff options
context:
space:
mode:
authorHorst31802016-03-31 19:58:44 +0200
committerHorst31802016-03-31 19:58:44 +0200
commitf42f5a31e94af67ea5bd1251c9e7498c0559bb51 (patch)
tree853ff59a38ed7679d2b1e8f5aedbccd3142a102e /common/gtk-3.0/3.20/sass
parentf4e661f7170e75b0b463c03086ba37874893e7ad (diff)
downloadsolarc-theme-f42f5a31e94af67ea5bd1251c9e7498c0559bb51.tar.gz
solarc-theme-f42f5a31e94af67ea5bd1251c9e7498c0559bb51.tar.xz
solarc-theme-f42f5a31e94af67ea5bd1251c9e7498c0559bb51.zip
add some backdrop transitions
Diffstat (limited to 'common/gtk-3.0/3.20/sass')
-rw-r--r--common/gtk-3.0/3.20/sass/_common.scss5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss
index 9953dc6..86d1f3f 100644
--- a/common/gtk-3.0/3.20/sass/_common.scss
+++ b/common/gtk-3.0/3.20/sass/_common.scss
@@ -3,6 +3,7 @@
}
$ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
+$backdrop_transition: 200ms ease-out;
$asset_suffix: if($variant=='dark', '-dark', ''); // use dark assets in dark variant
$darker_asset_suffix: if($darker=='true', '-dark', $asset_suffix);
@@ -962,6 +963,8 @@ headerbar,
}
&:backdrop {
+ transition: $backdrop_transition;
+
color: transparentize($header_fg, 0.3);
background-color: opacify($header_bg_backdrop, 1);
@@ -3007,6 +3010,8 @@ decoration {
box-shadow: 0 0 0 1px if($darker=='true' or $variant == 'dark', transparentize(darken($header_bg, 7%), 0.1), $_wm_border),
0 8px 8px 0 transparent,
0 5px 5px 0 if($variant == 'light', opacify($_wm_border, 0.1), transparentize($_wm_border, 0.2));
+
+ transition: $backdrop_transition;
}
.fullscreen &,
.tiled & {