diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-04-08 22:36:24 +0200 | 
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-04-08 23:31:58 +0200 | 
| commit | 0b3146f7278929c4d1b33dd8f94f34e351e5e5a9 (patch) | |
| tree | 6a784b197a283a7da07c2e1df80a29fee8b3790a /src/components/atoms/forms/forms.module.scss | |
| parent | 61278678ea8a8febee0574cd0f6006492d7b15cb (diff) | |
chore: add a Settings modal component
Diffstat (limited to 'src/components/atoms/forms/forms.module.scss')
| -rw-r--r-- | src/components/atoms/forms/forms.module.scss | 23 | 
1 files changed, 10 insertions, 13 deletions
| diff --git a/src/components/atoms/forms/forms.module.scss b/src/components/atoms/forms/forms.module.scss index 689a318..279c185 100644 --- a/src/components/atoms/forms/forms.module.scss +++ b/src/components/atoms/forms/forms.module.scss @@ -1,7 +1,12 @@  @use "@styles/abstracts/functions" as fun; +@use "@styles/abstracts/mixins" as mix; + +.item { +  margin: var(--spacing-xs) 0; +  max-width: 45ch; +}  .field { -  width: 100%;    padding: var(--spacing-2xs) var(--spacing-xs);    background: var(--color-bg-tertiary);    border: fun.convert-px(2) solid var(--color-border); @@ -10,6 +15,10 @@    &--select {      cursor: pointer; + +    @include mix.pointer("fine") { +      padding: fun.convert-px(3) var(--spacing-xs); +    }    }    &--textarea { @@ -41,15 +50,3 @@      }    }  } - -.label { -  display: block; -  color: var(--color-primary-darker); -  font-size: var(--font-size-sm); -  font-variant: small-caps; -  font-weight: 600; -} - -.required { -  color: var(--color-secondary); -} | 
