summaryrefslogtreecommitdiffstats
path: root/src/objects/_status-indicator.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/objects/_status-indicator.scss')
-rw-r--r--src/objects/_status-indicator.scss15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/objects/_status-indicator.scss b/src/objects/_status-indicator.scss
index 6bcb547..b316f69 100644
--- a/src/objects/_status-indicator.scss
+++ b/src/objects/_status-indicator.scss
@@ -4,8 +4,7 @@
4@include iro.props-namespace('status-indicator') { 4@include iro.props-namespace('status-indicator') {
5 @include iro.props-store(( 5 @include iro.props-store((
6 --dims: ( 6 --dims: (
7 --100: fn.global-dim(--size --100), 7 --size: fn.global-dim(--size --125),
8 --125: fn.global-dim(--size --125),
9 ), 8 ),
10 ), 'dims'); 9 ), 'dims');
11 10
@@ -20,17 +19,11 @@
20 19
21 @include iro.bem-object(iro.props-namespace()) { 20 @include iro.bem-object(iro.props-namespace()) {
22 display: inline-block; 21 display: inline-block;
23 width: fn.dim(--100); 22 width: fn.dim(--size);
24 height: fn.dim(--100); 23 height: fn.dim(--size);
25 border-radius: fn.dim(--100); 24 border-radius: 10em;
26 background-color: fn.color(--default); 25 background-color: fn.color(--default);
27 26
28 @include iro.bem-modifier('125') {
29 width: fn.dim(--125);
30 height: fn.dim(--125);
31 border-radius: fn.dim(--125);
32 }
33
34 @each $color in 'green' 'yellow' 'red' { 27 @each $color in 'green' 'yellow' 'red' {
35 @include iro.bem-is($color) { 28 @include iro.bem-is($color) {
36 background-color: fn.color(--#{$color}); 29 background-color: fn.color(--#{$color});