summaryrefslogtreecommitdiffstats
path: root/src/objects/_checkbox.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-03-13 12:33:32 +0100
committerVolpeon <git@volpeon.ink>2022-03-13 12:33:32 +0100
commitecb57d0b722d12250ffb93db7c305d5c86928ee9 (patch)
treed561572e917a76731403a5c2ab5dc79b38e2c694 /src/objects/_checkbox.scss
parentMore table options (diff)
downloadiro-design-ecb57d0b722d12250ffb93db7c305d5c86928ee9.tar.gz
iro-design-ecb57d0b722d12250ffb93db7c305d5c86928ee9.tar.bz2
iro-design-ecb57d0b722d12250ffb93db7c305d5c86928ee9.zip
Radio, check, switch: Removed right margin, added standalone option
Diffstat (limited to 'src/objects/_checkbox.scss')
-rw-r--r--src/objects/_checkbox.scss9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/objects/_checkbox.scss b/src/objects/_checkbox.scss
index f5c599b..412efda 100644
--- a/src/objects/_checkbox.scss
+++ b/src/objects/_checkbox.scss
@@ -9,7 +9,6 @@
9 --border-width: fn.global-dim(--border-width --medium), 9 --border-width: fn.global-dim(--border-width --medium),
10 --pad-x: fn.global-dim(--size --65), 10 --pad-x: fn.global-dim(--size --65),
11 --pad-y: fn.global-dim(--size --65), 11 --pad-y: fn.global-dim(--size --65),
12 --margin-right: fn.global-dim(--size --325),
13 ), 12 ),
14 ), 'dims'); 13 ), 'dims');
15 14
@@ -46,7 +45,7 @@
46 display: inline-flex; 45 display: inline-flex;
47 position: relative; 46 position: relative;
48 align-items: flex-start; 47 align-items: flex-start;
49 margin-right: calc(-1 * fn.dim(--pad-x) + fn.dim(--margin-right)); 48 margin-right: calc(-1 * fn.dim(--pad-x));
50 margin-left: calc(-1 * fn.dim(--pad-x)); 49 margin-left: calc(-1 * fn.dim(--pad-x));
51 padding: fn.dim(--pad-y) fn.dim(--pad-x); 50 padding: fn.dim(--pad-y) fn.dim(--pad-x);
52 51
@@ -190,6 +189,12 @@
190 } 189 }
191 } 190 }
192 191
192 @include iro.bem-modifier('standalone') {
193 @include iro.bem-elem('box') {
194 margin-top: 0;
195 }
196 }
197
193 @include iro.bem-modifier('accent') { 198 @include iro.bem-modifier('accent') {
194 @include iro.bem-elem('native') { 199 @include iro.bem-elem('native') {
195 &:checked { 200 &:checked {