Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/JugglerX/hugo-whisper-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/scss/libraries/hamburgers/types/_minus.scss')
-rwxr-xr-xassets/scss/libraries/hamburgers/types/_minus.scss34
1 files changed, 34 insertions, 0 deletions
diff --git a/assets/scss/libraries/hamburgers/types/_minus.scss b/assets/scss/libraries/hamburgers/types/_minus.scss
new file mode 100755
index 0000000..415f8dc
--- /dev/null
+++ b/assets/scss/libraries/hamburgers/types/_minus.scss
@@ -0,0 +1,34 @@
+@if index($hamburger-types, minus) {
+ /*
+ * Minus
+ */
+ .hamburger--minus {
+ .hamburger-inner {
+ &::before,
+ &::after {
+ transition: bottom 0.08s 0s ease-out,
+ top 0.08s 0s ease-out,
+ opacity 0s linear;
+ }
+ }
+
+ &.is-active {
+ .hamburger-inner {
+ &::before,
+ &::after {
+ opacity: 0;
+ transition: bottom 0.08s ease-out,
+ top 0.08s ease-out,
+ opacity 0s 0.08s linear;
+ }
+ &::before {
+ top: 0;
+ }
+
+ &::after {
+ bottom: 0;
+ }
+ }
+ }
+ }
+}