Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kakawait/hugo-tranquilpeak-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/scss/utils/mixins/_sidebar.scss')
-rwxr-xr-xsrc/scss/utils/mixins/_sidebar.scss9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/scss/utils/mixins/_sidebar.scss b/src/scss/utils/mixins/_sidebar.scss
index d5ca2ec..e68fd7a 100755
--- a/src/scss/utils/mixins/_sidebar.scss
+++ b/src/scss/utils/mixins/_sidebar.scss
@@ -41,8 +41,9 @@
}
}
// Used to animate the sidebar (pushed effect)
+ @include prefix(transition, 'width 0.5s, margin-left 0.5s', 'webkit' 'moz');
&.pushed {
- @include prefix(transform, translate3d(#{map-get($sidebar, md-screen-width)}, 0, 0), 'webkit' 'moz');
+ margin-left: #{map-get($sidebar, md-screen-width)};
}
}
@@ -103,8 +104,9 @@
}
}
// Used to animate the sidebar (pushed effect)
+ @include prefix(transition, 'width 0.5s, margin-left 0.5s', 'webkit' 'moz');
&.pushed {
- @include prefix(transform, translate3d(#{map-get($sidebar, lg-screen-width)}, 0, 0), 'webkit' 'moz');
+ margin-left: #{map-get($sidebar, lg-screen-width)};
}
}
@@ -194,7 +196,8 @@
}
}
// Used to animate the sidebar (pushed effect)
+ @include prefix(transition, 'width 0.5s, margin-left 0.5s', 'webkit' 'moz');
&.pushed {
- @include prefix(transform, translate3d(#{map-get($sidebar, xlg-screen-width)}, 0, 0), 'webkit' 'moz');
+ margin-left: #{map-get($sidebar, xlg-screen-width)};
}
}