Skip to content

Commit 8f865c6

Browse files
committed
feat: add c-no-transition and c-no-layout-transition
1 parent f4c34e3 commit 8f865c6

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

scss/_transitions.scss

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,28 @@
4848
transition: transform $layout-transition-speed, margin-left $layout-transition-speed, margin-right $layout-transition-speed, width $layout-transition-speed, z-index 0s ease 0s;
4949
}
5050
}
51+
52+
.c-no-layout-transition {
53+
.c-wrapper,
54+
.c-sidebar {
55+
transition: none;
56+
57+
.c-sidebar-header,
58+
.c-sidebar-nav-title,
59+
.c-sidebar-nav-divider,
60+
.c-sidebar-nav-link,
61+
.c-sidebar-nav-icon,
62+
.c-sidebar-nav-dropdown,
63+
.c-sidebar-nav-dropdown-toggle,
64+
.c-sidebar-nav-dropdown-items,
65+
.c-sidebar-nav-label,
66+
.c-sidebar-footer,
67+
.c-sidebar-minimizer {
68+
transition: none;
69+
}
70+
}
71+
}
72+
73+
.c-no-transition {
74+
transition: none;
75+
}

0 commit comments

Comments
 (0)