From daa3013be474a2e158936b06ea152c543679b661 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 14 Oct 2023 08:07:45 +0200 Subject: Update --- src/objects/_text-field.scss | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/objects/_text-field.scss') diff --git a/src/objects/_text-field.scss b/src/objects/_text-field.scss index baed043..4f1fd1b 100644 --- a/src/objects/_text-field.scss +++ b/src/objects/_text-field.scss @@ -32,14 +32,14 @@ @include iro.props-namespace('text-field') { @include iro.props-store(( --dims: ( - --pad-x: fn.global-dim(--size --125), - --pad-y: fn.global-dim(--size --125), - --border: fn.global-dim(--border --thin), - --border-radius: 2px, + --pad-x: fn.global-dim(--size --125), + --pad-y: fn.global-dim(--size --125), + --border: fn.global-dim(--border --thin), + --rounding: 2px, --extended: ( - --pad: fn.global-dim(--size --50), - --border-radius: 6px, + --pad: fn.global-dim(--size --50), + --rounding: 6px, ), --focus: ( @@ -97,7 +97,7 @@ position: relative; min-width: 0; - border-radius: fn.dim(--border-radius); + border-radius: fn.dim(--rounding); background-color: fn.color(--bg); @include iro.bem-elem('bg') { @@ -108,7 +108,7 @@ bottom: 0; left: 0; border: fn.dim(--border) solid fn.color(--border); - border-radius: fn.dim(--border-radius); + border-radius: fn.dim(--rounding); box-shadow: fn.color(--shadow); pointer-events: none; } @@ -144,7 +144,7 @@ bottom: $focus-border-offset; left: $focus-border-offset; border: fn.dim(--focus --border) solid fn.color(--focus --border); - border-radius: calc(fn.dim(--border-radius) - $focus-border-offset); + border-radius: calc(fn.dim(--rounding) - $focus-border-offset); box-shadow: fn.color(--focus --shadow); } } @@ -158,13 +158,13 @@ padding: fn.dim(--extended --pad); @include iro.bem-multi('&', 'elem' 'bg') { - border-radius: calc(fn.dim(--border-radius) + fn.dim(--extended --pad)); + border-radius: calc(fn.dim(--rounding) + fn.dim(--extended --pad)); } @include iro.bem-elem('native') { &:focus { @include iro.bem-sibling-elem('bg') { - border-radius: calc(fn.dim(--extended --border-radius) - $focus-border-offset); + border-radius: calc(fn.dim(--extended --rounding) - $focus-border-offset); } } } -- cgit v1.2.3-70-g09d2