2024-12-17 17:49:05 +01:00
|
|
|
#burger.open {
|
|
|
|
display: block !important;
|
|
|
|
|
|
|
|
@mixin transform-n-animation slidein, 0.4s, translate(0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#burger.close {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-12-17 19:35:47 +01:00
|
|
|
/* content sliding open */
|
2024-12-17 17:49:05 +01:00
|
|
|
#container.open {
|
|
|
|
@mixin transform-n-animation open, 0.4s, translate(210px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes open {
|
|
|
|
0.00% {
|
|
|
|
transform: translate(0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: translate(210px, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-12-17 19:35:47 +01:00
|
|
|
/* content closing */
|
2024-12-17 17:49:05 +01:00
|
|
|
#container.close {
|
|
|
|
animation: close 0.3s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes close {
|
|
|
|
0.00% {
|
|
|
|
transform: translate(210px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: translate(0, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes slidein {
|
|
|
|
0.00% {
|
|
|
|
transform: translate(-200px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: translate(0, 0);
|
|
|
|
}
|
|
|
|
}
|