Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

Safer drawer transition implementation #379

Merged
merged 2 commits into from
Mar 31, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions assets/timber.scss.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -2026,21 +2026,17 @@ label.error {
}

.is-moved-by-drawer {
@include transition($drawerTransition);

.js-drawer-open-left & {
@include transform(translateX($drawerNavWidth));
@include transition($drawerTransition);
}

.js-drawer-open-right & {
@include transform(translateX(-$drawerCartWidth));
@include transition($drawerTransition);
}
}

.is-moved-by-drawer.is-transitioning {
@include transition($drawerTransition);
}

.drawer__header {
display: table;
height: 70px;
Expand Down