diff options
| author | Volpeon <git@volpeon.ink> | 2022-02-12 12:13:52 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2022-02-12 12:13:52 +0100 |
| commit | b45574b83da655d9b5e48d5ef5ce7f2e147e3bbf (patch) | |
| tree | f27cb293a2591da5a8045a6a062232f44334fe65 /src | |
| parent | Added dark color palette (diff) | |
| download | iro-design-b45574b83da655d9b5e48d5ef5ce7f2e147e3bbf.tar.gz iro-design-b45574b83da655d9b5e48d5ef5ce7f2e147e3bbf.tar.bz2 iro-design-b45574b83da655d9b5e48d5ef5ce7f2e147e3bbf.zip | |
Text field update
Diffstat (limited to 'src')
| -rw-r--r-- | src/layouts/_card.scss | 4 | ||||
| -rw-r--r-- | src/objects/_text-field.scss | 18 |
2 files changed, 9 insertions, 13 deletions
diff --git a/src/layouts/_card.scss b/src/layouts/_card.scss index 75c16ff..19e097c 100644 --- a/src/layouts/_card.scss +++ b/src/layouts/_card.scss | |||
| @@ -30,6 +30,10 @@ | |||
| 30 | padding: 0; | 30 | padding: 0; |
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | @include iro.bem-modifier('gapless') { | ||
| 34 | gap: 0; | ||
| 35 | } | ||
| 36 | |||
| 33 | @include iro.bem-elem('block') { | 37 | @include iro.bem-elem('block') { |
| 34 | flex: 0 0 auto; | 38 | flex: 0 0 auto; |
| 35 | 39 | ||
diff --git a/src/objects/_text-field.scss b/src/objects/_text-field.scss index 1bd7ea1..b18b404 100644 --- a/src/objects/_text-field.scss +++ b/src/objects/_text-field.scss | |||
| @@ -89,7 +89,6 @@ | |||
| 89 | @include iro.bem-object(iro.props-namespace()) { | 89 | @include iro.bem-object(iro.props-namespace()) { |
| 90 | position: relative; | 90 | position: relative; |
| 91 | min-width: 0; | 91 | min-width: 0; |
| 92 | padding: fn.dim(--pad-y) fn.dim(--pad-x); | ||
| 93 | background-color: fn.color(--bg); | 92 | background-color: fn.color(--bg); |
| 94 | 93 | ||
| 95 | @include iro.bem-elem('bg') { | 94 | @include iro.bem-elem('bg') { |
| @@ -106,9 +105,11 @@ | |||
| 106 | } | 105 | } |
| 107 | 106 | ||
| 108 | @include iro.bem-elem('native') { | 107 | @include iro.bem-elem('native') { |
| 109 | width: 100%; | 108 | box-sizing: border-box; |
| 110 | color: fn.color(--text); | 109 | width: 100%; |
| 111 | resize: none; | 110 | padding: fn.dim(--pad-y) fn.dim(--pad-x); |
| 111 | color: fn.color(--text); | ||
| 112 | resize: none; | ||
| 112 | 113 | ||
| 113 | &::placeholder { | 114 | &::placeholder { |
| 114 | opacity: 1; | 115 | opacity: 1; |
| @@ -167,15 +168,6 @@ | |||
| 167 | } | 168 | } |
| 168 | } | 169 | } |
| 169 | 170 | ||
| 170 | @include iro.bem-modifier('fill') { | ||
| 171 | padding: 0; | ||
| 172 | |||
| 173 | @include iro.bem-elem('native') { | ||
| 174 | box-sizing: border-box; | ||
| 175 | padding: fn.dim(--pad-y) fn.dim(--pad-x); | ||
| 176 | } | ||
| 177 | } | ||
| 178 | |||
| 179 | @include iro.bem-is('disabled') { | 171 | @include iro.bem-is('disabled') { |
| 180 | background-color: fn.color(--disabled --bg); | 172 | background-color: fn.color(--disabled --bg); |
| 181 | box-shadow: fn.color(--disabled --shadow); | 173 | box-shadow: fn.color(--disabled --shadow); |
