diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-04-06 19:17:15 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-04-06 19:17:15 +0200 |
| commit | 51889773b12c576dc199fc84d0188f822ac7baae (patch) | |
| tree | d79897d463f2517573f6dfce2d1bd27ca476eb28 /src/components/molecules/buttons/help-button.module.scss | |
| parent | 47e12259d512e476326e83929efebf036b57f7c1 (diff) | |
chore: add a HelpButton component
I also added a new shape to the button base.
Diffstat (limited to 'src/components/molecules/buttons/help-button.module.scss')
| -rw-r--r-- | src/components/molecules/buttons/help-button.module.scss | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/components/molecules/buttons/help-button.module.scss b/src/components/molecules/buttons/help-button.module.scss new file mode 100644 index 0000000..42d49f6 --- /dev/null +++ b/src/components/molecules/buttons/help-button.module.scss @@ -0,0 +1,21 @@ +@use "@styles/abstracts/functions" as fun; +@use "@styles/abstracts/mixins" as mix; + +.btn { + padding: var(--spacing-xs); + + &:not(:disabled) { + &:focus { + text-decoration: none; + } + } + + @include mix.pointer("fine") { + padding: var(--spacing-2xs); + } +} + +.icon { + color: var(--color-primary-dark); + font-weight: 600; +} |
