aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-whisper-theme/assets/scss/libraries/hamburgers/types/_stand.scss
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-10-01 14:32:43 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-10-01 14:32:43 +0200
commit9ccf652c00457e46eaf46fc4cb8f6d0ee582c5ef (patch)
treeb02c0a9a15de80acb3661163d469da41cd6aa8c3 /themes/hugo-whisper-theme/assets/scss/libraries/hamburgers/types/_stand.scss
downloadrfid-9ccf652c00457e46eaf46fc4cb8f6d0ee582c5ef.tar.gz
rfid-9ccf652c00457e46eaf46fc4cb8f6d0ee582c5ef.zip
Initial commit
Diffstat (limited to 'themes/hugo-whisper-theme/assets/scss/libraries/hamburgers/types/_stand.scss')
-rwxr-xr-xthemes/hugo-whisper-theme/assets/scss/libraries/hamburgers/types/_stand.scss45
1 files changed, 45 insertions, 0 deletions
diff --git a/themes/hugo-whisper-theme/assets/scss/libraries/hamburgers/types/_stand.scss b/themes/hugo-whisper-theme/assets/scss/libraries/hamburgers/types/_stand.scss
new file mode 100755
index 0000000..f391d14
--- /dev/null
+++ b/themes/hugo-whisper-theme/assets/scss/libraries/hamburgers/types/_stand.scss
@@ -0,0 +1,45 @@
+@if index($hamburger-types, stand) {
+ /*
+ * Stand
+ */
+ .hamburger--stand {
+ .hamburger-inner {
+ transition: transform 0.075s 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19),
+ background-color 0s 0.075s linear;
+
+ &::before {
+ transition: top 0.075s 0.075s ease-in,
+ transform 0.075s 0s cubic-bezier(0.55, 0.055, 0.675, 0.19);
+ }
+
+ &::after {
+ transition: bottom 0.075s 0.075s ease-in,
+ transform 0.075s 0s cubic-bezier(0.55, 0.055, 0.675, 0.19);
+ }
+ }
+
+ &.is-active {
+ .hamburger-inner {
+ transform: rotate(90deg);
+ background-color: transparent !important;
+
+ transition: transform 0.075s 0s cubic-bezier(0.215, 0.61, 0.355, 1),
+ background-color 0s 0.15s linear;
+
+ &::before {
+ top: 0;
+ transform: rotate(-45deg);
+ transition: top 0.075s 0.1s ease-out,
+ transform 0.075s 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
+ }
+
+ &::after {
+ bottom: 0;
+ transform: rotate(45deg);
+ transition: bottom 0.075s 0.1s ease-out,
+ transform 0.075s 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
+ }
+ }
+ }
+ }
+}