summaryrefslogtreecommitdiffstats
path: root/src/objects/_radio.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/_radio.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/_radio.scss')
-rw-r--r--src/objects/_radio.scss9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/objects/_radio.scss b/src/objects/_radio.scss
index 9482c5b..c740833 100644
--- a/src/objects/_radio.scss
+++ b/src/objects/_radio.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
@@ -136,6 +135,12 @@
136 } 135 }
137 } 136 }
138 137
138 @include iro.bem-modifier('standalone') {
139 @include iro.bem-elem('circle') {
140 margin-top: 0;
141 }
142 }
143
139 @include iro.bem-modifier('accent') { 144 @include iro.bem-modifier('accent') {
140 @include iro.bem-elem('native') { 145 @include iro.bem-elem('native') {
141 &:checked { 146 &:checked {