diff options
Diffstat (limited to 'src/objects/_checkbox.scss')
-rw-r--r-- | src/objects/_checkbox.scss | 9 |
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 { |