Change Switcher labels and close it when clicking outside

This commit is contained in:
2021-11-16 23:47:24 +01:00
parent a9d42dcc0d
commit 8a53079fa1
2 changed files with 27 additions and 12 deletions

View File

@@ -74,7 +74,6 @@
span {
display: inline-flex;
flex-flow: column;
transition: transform 0.8s var(--ease-quart);
}
// Dot
i {
@@ -113,9 +112,6 @@
}
&__button {
span {
transform: rotate3d(70deg, 120deg, 180deg) translateZ(0);
}
i {
&:nth-child(1) { transform: translate3d(-7px, 8px, 0); }
&:nth-child(2) { transform: translate3d(7px, -2px, 0); }