aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-whisper-theme/assets/scss/libraries/hamburgers/types/_boring.scss
diff options
context:
space:
mode:
Diffstat (limited to 'themes/hugo-whisper-theme/assets/scss/libraries/hamburgers/types/_boring.scss')
-rwxr-xr-xthemes/hugo-whisper-theme/assets/scss/libraries/hamburgers/types/_boring.scss30
1 files changed, 30 insertions, 0 deletions
diff --git a/themes/hugo-whisper-theme/assets/scss/libraries/hamburgers/types/_boring.scss b/themes/hugo-whisper-theme/assets/scss/libraries/hamburgers/types/_boring.scss
new file mode 100755
index 0000000..23214b4
--- /dev/null
+++ b/themes/hugo-whisper-theme/assets/scss/libraries/hamburgers/types/_boring.scss
@@ -0,0 +1,30 @@
+@if index($hamburger-types, boring) {
+ /*
+ * Boring
+ */
+ .hamburger--boring {
+ .hamburger-inner {
+ &,
+ &::before,
+ &::after {
+ transition-property: none;
+ }
+ }
+
+ &.is-active {
+ .hamburger-inner {
+ transform: rotate(45deg);
+
+ &::before {
+ top: 0;
+ opacity: 0;
+ }
+
+ &::after {
+ bottom: 0;
+ transform: rotate(-90deg);
+ }
+ }
+ }
+ }
+}