diff options
author | Thibaud Lepretre <thibaud.lepretre@gmail.com> | 2019-07-15 17:38:17 +0300 |
---|---|---|
committer | Thibaud Lepretre <thibaud.lepretre@gmail.com> | 2021-08-11 15:01:49 +0300 |
commit | 03d39e34aa2324c509b2e6187a2932f01bca075f (patch) | |
tree | 7ca2fc7c0171b918ce492a5ec0302f0c3ae5126a /src/scss/utils/mixins/_bottom-bar.scss | |
parent | 2cdeb4e6ad3561dea3acab37a147834fef400868 (diff) |
Revert #293
Diffstat (limited to 'src/scss/utils/mixins/_bottom-bar.scss')
-rwxr-xr-x | src/scss/utils/mixins/_bottom-bar.scss | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/scss/utils/mixins/_bottom-bar.scss b/src/scss/utils/mixins/_bottom-bar.scss index 91c7cbb..4552f3b 100755 --- a/src/scss/utils/mixins/_bottom-bar.scss +++ b/src/scss/utils/mixins/_bottom-bar.scss @@ -27,26 +27,20 @@ /// Mixin helper to pushed bottom bar from medium sidebar size @mixin bottom-bar-pushed-md { - @include prefix(transition, 'width 0.5s, margin-left 0.5s', 'webkit' 'moz'); &.pushed { - margin-left: #{map-get($sidebar, md-screen-width)}; - width: calc(100% - #{map-get($sidebar, md-screen-width)}); + @include prefix(transform, translate3d(#{map-get($sidebar, md-screen-width)}, 0, 0), 'webkit' 'moz'); } } /// Mixin helper to pushed bottom bar from large sidebar size @mixin bottom-bar-pushed-lg { - @include prefix(transition, 'width 0.5s, margin-left 0.5s', 'webkit' 'moz'); &.pushed { - margin-left: #{map-get($sidebar, lg-screen-width)}; - width: calc(100% - #{map-get($sidebar, lg-screen-width)}); + @include prefix(transform, translate3d(#{map-get($sidebar, lg-screen-width)}, 0, 0), 'webkit' 'moz'); } } /// Mixin helper to pushed bottom bar from extra large sidebar size @mixin bottom-bar-pushed-xlg { - @include prefix(transition, 'width 0.5s, margin-left 0.5s', 'webkit' 'moz'); &.pushed { - margin-left: #{map-get($sidebar, xlg-screen-width)}; - width: calc(100% - #{map-get($sidebar, xlg-screen-width)}); + @include prefix(transform, translate3d(#{map-get($sidebar, xlg-screen-width)}, 0, 0), 'webkit' 'moz'); } -}
\ No newline at end of file +} |