diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-04-14 19:12:54 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-04-14 19:24:46 +0200 |
| commit | 15fd9f4a6ecf947c7648c6b7865b97c40124fde1 (patch) | |
| tree | 528ef96e731b0dd9c3c15d398b75f2877473289e /src/components/molecules/buttons/main-nav-button.module.scss | |
| parent | 872b0c172a38db4f440dc6044eb1d5725c03abb1 (diff) | |
chore: add a MainNav component
Diffstat (limited to 'src/components/molecules/buttons/main-nav-button.module.scss')
| -rw-r--r-- | src/components/molecules/buttons/main-nav-button.module.scss | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/components/molecules/buttons/main-nav-button.module.scss b/src/components/molecules/buttons/main-nav-button.module.scss deleted file mode 100644 index bc1ed19..0000000 --- a/src/components/molecules/buttons/main-nav-button.module.scss +++ /dev/null @@ -1,37 +0,0 @@ -@use "@styles/abstracts/functions" as fun; - -.checkbox { - position: absolute; - top: calc(#{fun.convert-px(50)} / 2); - left: calc(#{fun.convert-px(50)} / 2); - opacity: 0; - cursor: pointer; -} - -.label { - display: block; - cursor: pointer; - - .icon { - &__wrapper { - --icon-size: #{fun.convert-px(50)}; - } - - &--active { - background: transparent; - border: transparent; - - &::before { - top: 0; - transform-origin: 50% 50%; - transform: rotate(-45deg); - } - - &::after { - bottom: 0; - transform-origin: 50% 50%; - transform: rotate(45deg); - } - } - } -} |
