@oruga-ui/theme-oruga 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +4 -3
  2. package/dist/oruga.css +2 -2
  3. package/dist/scss/components/_autocomplete.scss +15 -15
  4. package/dist/scss/components/_button.scss +175 -162
  5. package/dist/scss/components/_carousel.scss +199 -177
  6. package/dist/scss/components/_checkbox.scss +130 -122
  7. package/dist/scss/components/_collapse.scss +11 -9
  8. package/dist/scss/components/_datepicker.scss +408 -416
  9. package/dist/scss/components/_datetimepicker.scss +8 -8
  10. package/dist/scss/components/_dropdown.scss +224 -206
  11. package/dist/scss/components/_field.scss +107 -106
  12. package/dist/scss/components/_icon.scss +44 -40
  13. package/dist/scss/components/_input.scss +127 -112
  14. package/dist/scss/components/_loading.scss +27 -24
  15. package/dist/scss/components/_menu.scss +100 -63
  16. package/dist/scss/components/_modal.scss +66 -66
  17. package/dist/scss/components/_notification.scss +146 -134
  18. package/dist/scss/components/_pagination.scss +227 -198
  19. package/dist/scss/components/_radio.scss +95 -74
  20. package/dist/scss/components/_select.scss +143 -120
  21. package/dist/scss/components/_sidebar.scss +120 -104
  22. package/dist/scss/components/_skeleton.scss +55 -55
  23. package/dist/scss/components/_slider.scss +166 -156
  24. package/dist/scss/components/_steps.scss +300 -287
  25. package/dist/scss/components/_switch.scss +115 -128
  26. package/dist/scss/components/_table.scss +363 -330
  27. package/dist/scss/components/_tabs.scss +295 -280
  28. package/dist/scss/components/_taginput.scss +95 -93
  29. package/dist/scss/components/_timepicker.scss +74 -68
  30. package/dist/scss/components/_tooltip.scss +522 -424
  31. package/dist/scss/components/_upload.scss +51 -48
  32. package/dist/scss/oruga.scss +0 -1
  33. package/dist/scss/utils/_animations.scss +97 -97
  34. package/dist/scss/utils/_base.scss +31 -14
  35. package/dist/scss/utils/_helpers.scss +65 -65
  36. package/dist/scss/utils/_root.scss +37 -44
  37. package/dist/scss/utils/_variables.scss +44 -44
  38. package/dist/theme.js +1 -1
  39. package/package.json +26 -25
@@ -7,7 +7,7 @@ $select-border-style: solid !default;
7
7
  $select-border-width: 1px !default;
8
8
  $select-border-radius: var(--#{$prefix}base-border-radius) !default;
9
9
  $select-rounded-border-radius: var(
10
- --#{$prefix}base-border-radius-rounded
10
+ --#{$prefix}base-border-radius-rounded
11
11
  ) !default;
12
12
  $select-box-shadow: $control-box-shadow !default;
13
13
  $select-color: #363636 !default;
@@ -22,135 +22,158 @@ $select-placeholder-opacity: var(--#{$prefix}base-disabled-opacity) !default;
22
22
  /* @docs */
23
23
 
24
24
  @function svg_arrow($color) {
25
- $start: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:serif="http://www.serif.com/" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">';
26
- $content: '<g transform="matrix(5.70052,0,0,5.70052,-1329.79,-547.054)"><path d="M233.451,101.749L235.617,99.422L242.013,105.565L248.463,99.422L250.642,101.749L242.013,110.052L233.451,101.749Z" style="fill:#{$color};stroke:white;stroke-width:0.18px;"/></g>';
27
- $end: "</svg>";
25
+ $start: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:serif="http://www.serif.com/" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">';
26
+ $content: '<g transform="matrix(5.70052,0,0,5.70052,-1329.79,-547.054)"><path d="M233.451,101.749L235.617,99.422L242.013,105.565L248.463,99.422L250.642,101.749L242.013,110.052L233.451,101.749Z" style="fill:#{$color};stroke:white;stroke-width:0.18px;"/></g>';
27
+ $end: "</svg>";
28
28
 
29
- @return svg-encode("#{$start}#{$content}#{$end}");
29
+ @return svg-encode("#{$start}#{$content}#{$end}");
30
30
  }
31
31
 
32
- .o-ctrl-sel {
33
- display: inline-flex;
34
- position: relative;
32
+ .o-select {
33
+ display: inline-flex;
34
+ position: relative;
35
+
36
+ &__input {
37
+ -moz-appearance: none;
38
+ -webkit-appearance: none;
39
+ display: inline-block;
40
+ position: relative;
41
+ vertical-align: top;
42
+ cursor: pointer;
43
+ justify-content: flex-start;
44
+ align-items: center;
45
+
46
+ box-shadow: var(--#{$prefix}select-box-shadow, $select-box-shadow);
47
+ background-color: var(
48
+ --#{$prefix}select-background-color,
49
+ $select-background-color
50
+ );
51
+ border-color: var(
52
+ --#{$prefix}select-border-color,
53
+ $select-border-color
54
+ );
55
+ border-width: var(
56
+ --#{$prefix}select-border-width,
57
+ $select-border-width
58
+ );
59
+ border-style: var(
60
+ --#{$prefix}select-border-style,
61
+ $select-border-style
62
+ );
63
+ border-radius: var(
64
+ --#{$prefix}select-border-radius,
65
+ $select-border-radius
66
+ );
67
+ color: var(--#{$prefix}select-color, $select-color);
68
+ font-size: var(--#{$prefix}base-font-size, $base-font-size);
69
+ height: var(--#{$prefix}select-height, $select-height);
70
+ line-height: var(--#{$prefix}select-line-height, $select-line-height);
71
+ padding: var(--#{$prefix}select-padding, $select-padding);
72
+ margin: var(--#{$prefix}select-margin, $select-margin);
73
+
74
+ &--arrowed {
75
+ background-image: url(svg_arrow($select-arrow-color));
76
+ background-repeat: no-repeat;
77
+ background-size: var(
78
+ --#{$prefix}select-arrow-size,
79
+ $select-arrow-size
80
+ );
81
+ background-position: calc(
82
+ 100% - var(
83
+ --#{$prefix}select-arrow-size,
84
+ $select-arrow-size
85
+ ) *
86
+ 0.5
87
+ )
88
+ center;
89
+ padding-right: calc(
90
+ var(--#{$prefix}select-arrow-size, $select-arrow-size) * 2
91
+ );
92
+ }
93
+
94
+ &--placeholder {
95
+ opacity: var(
96
+ --#{$prefix}select-placeholder-opacity,
97
+ $select-placeholder-opacity
98
+ );
99
+ }
100
+
101
+ &--iconspace-left {
102
+ padding-left: var(--#{$prefix}select-height, $select-height);
103
+ }
104
+
105
+ &--iconspace-right {
106
+ padding-right: var(--#{$prefix}select-height, $select-height);
107
+ }
108
+
109
+ &[disabled] {
110
+ cursor: inherit;
111
+ }
112
+ }
113
+
114
+ // size variants
115
+ @each $name, $value in $sizes {
116
+ &--#{$name} .o-select__input {
117
+ font-size: var(--#{$prefix}select-font-size-#{$name}, $value);
118
+ }
119
+ }
120
+
121
+ // color variants
122
+ @each $name, $pair in $colors {
123
+ $color: list.nth($pair, 1);
35
124
 
36
- &--expanded {
37
- width: 100%;
38
- flex-grow: 1;
125
+ &--#{$name} .o-select__input {
126
+ --#{$prefix}focus: #{createFocus($color)};
39
127
 
40
- .o-sel {
41
- width: 100%;
128
+ border-color: var(--#{$prefix}variant-#{$name}, $color);
129
+ }
130
+ }
131
+
132
+ &--rounded .o-select__input {
133
+ border-radius: var(
134
+ --#{$prefix}select-rounded-border-radius,
135
+ $select-rounded-border-radius
136
+ );
42
137
  }
43
- }
44
- }
45
138
 
46
- .o-sel {
47
- -moz-appearance: none;
48
- -webkit-appearance: none;
49
- display: inline-block;
50
- position: relative;
51
- vertical-align: top;
52
- cursor: pointer;
53
- justify-content: flex-start;
54
- align-items: center;
55
-
56
- box-shadow: var(--#{$prefix}select-box-shadow, $select-box-shadow);
57
- background-color: var(
58
- --#{$prefix}select-background-color,
59
- $select-background-color
60
- );
61
- border-color: var(--#{$prefix}select-border-color, $select-border-color);
62
- border-width: var(--#{$prefix}select-border-width, $select-border-width);
63
- border-style: var(--#{$prefix}select-border-style, $select-border-style);
64
- border-radius: var(--#{$prefix}select-border-radius, $select-border-radius);
65
- color: var(--#{$prefix}select-color, $select-color);
66
- font-size: var(--#{$prefix}base-font-size, $base-font-size);
67
- height: var(--#{$prefix}select-height, $select-height);
68
- line-height: var(--#{$prefix}select-line-height, $select-line-height);
69
- padding: var(--#{$prefix}select-padding, $select-padding);
70
- margin: var(--#{$prefix}select-margin, $select-margin);
71
-
72
- &-arrow {
73
- background-image: url(svg_arrow($select-arrow-color));
74
- background-repeat: no-repeat;
75
- background-size: var(--#{$prefix}select-arrow-size, $select-arrow-size);
76
- background-position: calc(
77
- 100% - var(--#{$prefix}select-arrow-size, $select-arrow-size) * 0.5
78
- )
79
- center;
80
- padding-right: calc(
81
- var(--#{$prefix}select-arrow-size, $select-arrow-size) * 2
82
- );
83
- }
84
-
85
- &-iconspace-left {
86
- padding-left: var(--#{$prefix}select-height, $select-height);
87
- }
88
-
89
- &-iconspace-right {
90
- padding-right: var(--#{$prefix}select-height, $select-height);
91
- }
92
-
93
- // size variants
94
- @each $name, $value in $sizes {
95
- &--#{$name} {
96
- font-size: var(--#{$prefix}select-font-size-#{$name}, $value);
139
+ &--expanded {
140
+ width: 100%;
141
+ flex-grow: 1;
142
+
143
+ .o-select__input {
144
+ width: 100%;
145
+ }
146
+ }
147
+
148
+ &--multiple .o-select__input {
149
+ height: auto;
150
+ padding: 0;
97
151
  }
98
- }
99
152
 
100
- // color variants
101
- @each $name, $pair in $colors {
102
- $color: list.nth($pair, 1);
153
+ &__icon-left,
154
+ &__icon-right {
155
+ position: absolute;
156
+ top: 0;
157
+ height: 100%;
158
+ width: var(--#{$prefix}select-height, $select-height);
159
+ z-index: var(--#{$prefix}select-icon-zindex, $select-icon-zindex);
160
+ }
103
161
 
104
- &--#{$name} {
105
- --#{$prefix}focus: #{createFocus($color)};
162
+ &__icon-right {
163
+ right: 0;
164
+ }
165
+
166
+ &__icon-left {
167
+ left: 0;
168
+ }
106
169
 
107
- border-color: var(--#{$prefix}variant-#{$name}, $color);
170
+ // focus effect
171
+ &:focus,
172
+ &:focus-visible,
173
+ &:focus-within {
174
+ .o-select__input {
175
+ box-shadow: 0 0 0 0.25rem var(--#{$prefix}focus);
176
+ outline: none;
177
+ }
108
178
  }
109
- }
110
-
111
- &--rounded {
112
- border-radius: var(
113
- --#{$prefix}select-rounded-border-radius,
114
- $select-rounded-border-radius
115
- );
116
- }
117
-
118
- &--multiple {
119
- height: auto;
120
- padding: 0;
121
- }
122
-
123
- &--placeholder {
124
- opacity: var(
125
- --#{$prefix}select-placeholder-opacity,
126
- $select-placeholder-opacity
127
- );
128
- }
129
-
130
- &__icon-left,
131
- &__icon-right {
132
- position: absolute;
133
- top: 0;
134
- height: 100%;
135
- width: var(--#{$prefix}select-height, $select-height);
136
- z-index: var(--#{$prefix}select-icon-zindex, $select-icon-zindex);
137
- }
138
-
139
- &__icon-right {
140
- right: 0;
141
- }
142
-
143
- &__icon-left {
144
- left: 0;
145
- }
146
-
147
- &[disabled] {
148
- cursor: inherit;
149
- }
150
-
151
- // focus effect
152
- &:focus,
153
- &:focus-within {
154
- box-shadow: 0 0 0 0.25rem var(--#{$prefix}focus);
155
- }
156
179
  }
@@ -12,128 +12,144 @@ $sidebar-width: 260px !default;
12
12
  $sidebar-zindex: 100 !default;
13
13
  /* @docs */
14
14
 
15
- .o-side {
16
- position: fixed;
17
- top: 0;
18
- left: 0;
19
- height: 100%;
20
- width: 100%;
21
- display: none;
22
-
23
- &__content {
24
- position: absolute;
25
- background-color: var(
26
- --#{$prefix}sidebar-content-background-color,
27
- $sidebar-content-background-color
28
- );
29
- border-radius: var(
30
- --#{$prefix}sidebar-border-radius,
31
- $sidebar-border-radius
32
- );
33
- box-shadow: var(--#{$prefix}sidebar-box-shadow, $sidebar-box-shadow);
34
-
35
- @each $name, $pair in $colors {
36
- $color: list.nth($pair, 1);
37
- &--#{$name} {
38
- background-color: var(--#{$prefix}variant-#{$name}), $color;
39
- }
40
- }
15
+ .o-sidebar {
16
+ position: fixed;
17
+ top: 0;
18
+ left: 0;
19
+ height: 100%;
20
+ width: 100%;
21
+ display: none;
22
+
23
+ &__content {
24
+ position: absolute;
25
+ background-color: var(
26
+ --#{$prefix}sidebar-content-background-color,
27
+ $sidebar-content-background-color
28
+ );
29
+ border-radius: var(
30
+ --#{$prefix}sidebar-border-radius,
31
+ $sidebar-border-radius
32
+ );
33
+ box-shadow: var(--#{$prefix}sidebar-box-shadow, $sidebar-box-shadow);
34
+
35
+ @each $name, $pair in $colors {
36
+ $color: list.nth($pair, 1);
37
+ &--#{$name} {
38
+ background-color: var(--#{$prefix}variant-#{$name}), $color;
39
+ }
40
+ }
41
41
 
42
- // position
43
- &--right,
44
- &--left {
45
- transition: width var(--#{$prefix}transition-duration)
46
- var(--#{$prefix}transition-timing);
47
- width: var(--#{$prefix}sidebar-width, $sidebar-width);
48
- }
42
+ // position
43
+ &--right,
44
+ &--left {
45
+ transition: width var(--#{$prefix}transition-duration)
46
+ var(--#{$prefix}transition-timing);
47
+ width: var(--#{$prefix}sidebar-width, $sidebar-width);
48
+ }
49
49
 
50
- &--top,
51
- &--bottom {
52
- transition: height var(--#{$prefix}transition-duration)
53
- var(--#{$prefix}transition-timing);
54
- height: var(--#{$prefix}sidebar-width, $sidebar-width);
55
- }
50
+ &--top,
51
+ &--bottom {
52
+ transition: height var(--#{$prefix}transition-duration)
53
+ var(--#{$prefix}transition-timing);
54
+ height: var(--#{$prefix}sidebar-width, $sidebar-width);
55
+ }
56
56
 
57
- &--right {
58
- left: auto;
59
- right: 0;
60
- border-left: var(--#{$prefix}sidebar-border-width, $sidebar-border-width)
61
- solid var(--#{$prefix}sidebar-border-color, $sidebar-border-color);
62
- }
57
+ &--right {
58
+ left: auto;
59
+ right: 0;
60
+ border-left: var(
61
+ --#{$prefix}sidebar-border-width,
62
+ $sidebar-border-width
63
+ )
64
+ solid
65
+ var(--#{$prefix}sidebar-border-color, $sidebar-border-color);
66
+ }
63
67
 
64
- &--left {
65
- left: 0;
66
- right: auto;
67
- border-right: var(--#{$prefix}sidebar-border-width, $sidebar-border-width)
68
- solid var(--#{$prefix}sidebar-border-color, $sidebar-border-color);
69
- }
68
+ &--left {
69
+ left: 0;
70
+ right: auto;
71
+ border-right: var(
72
+ --#{$prefix}sidebar-border-width,
73
+ $sidebar-border-width
74
+ )
75
+ solid
76
+ var(--#{$prefix}sidebar-border-color, $sidebar-border-color);
77
+ }
70
78
 
71
- &--top {
72
- top: 0;
73
- bottom: auto;
74
- border-bottom: var(
75
- --#{$prefix}sidebar-border-width,
76
- $sidebar-border-width
77
- )
78
- solid var(--#{$prefix}sidebar-border-color, $sidebar-border-color);
79
- }
79
+ &--top {
80
+ top: 0;
81
+ bottom: auto;
82
+ border-bottom: var(
83
+ --#{$prefix}sidebar-border-width,
84
+ $sidebar-border-width
85
+ )
86
+ solid
87
+ var(--#{$prefix}sidebar-border-color, $sidebar-border-color);
88
+ }
80
89
 
81
- &--bottom {
82
- top: auto;
83
- bottom: 0;
84
- border-top: var(--#{$prefix}sidebar-border-width, $sidebar-border-width)
85
- solid var(--#{$prefix}sidebar-border-color, $sidebar-border-color);
86
- }
90
+ &--bottom {
91
+ top: auto;
92
+ bottom: 0;
93
+ border-top: var(
94
+ --#{$prefix}sidebar-border-width,
95
+ $sidebar-border-width
96
+ )
97
+ solid
98
+ var(--#{$prefix}sidebar-border-color, $sidebar-border-color);
99
+ }
87
100
 
88
- &--reduced {
89
- width: var(--#{$prefix}sidebar-reduced-width, $sidebar-reduced-width);
101
+ &--reduced {
102
+ width: var(
103
+ --#{$prefix}sidebar-reduced-width,
104
+ $sidebar-reduced-width
105
+ );
106
+ }
90
107
 
91
- &-expand {
92
- &:hover {
93
- transition: width var(--#{$prefix}transition-duration)
94
- var(--#{$prefix}transition-timing);
95
- width: var(--#{$prefix}sidebar-width, $sidebar-width);
108
+ &--hover-expand {
109
+ &:hover {
110
+ transition: width var(--#{$prefix}transition-duration)
111
+ var(--#{$prefix}transition-timing);
112
+ width: var(--#{$prefix}sidebar-width, $sidebar-width);
113
+ }
96
114
  }
97
- }
98
- }
99
115
 
100
- &--fullwidth {
101
- width: 100%;
102
- max-width: 100%;
116
+ &--fullwidth {
117
+ width: 100%;
118
+ max-width: 100%;
119
+ }
120
+
121
+ &--fullheight {
122
+ height: 100%;
123
+ max-height: 100%;
124
+ }
103
125
  }
104
126
 
105
- &--fullheight {
106
- height: 100%;
107
- max-height: 100%;
127
+ &__overlay {
128
+ position: absolute;
129
+ bottom: 0;
130
+ left: 0;
131
+ right: 0;
132
+ top: 0;
133
+ background: var(--#{$prefix}sidebar-overlay, $sidebar-overlay);
108
134
  }
109
- }
110
135
 
111
- &__overlay {
112
- position: absolute;
113
- bottom: 0;
114
- left: 0;
115
- right: 0;
116
- top: 0;
117
- background: var(--#{$prefix}sidebar-overlay, $sidebar-overlay);
118
- }
136
+ &--active {
137
+ display: block;
138
+ }
119
139
 
120
- &--active {
121
- display: block;
122
- }
140
+ &--inline {
141
+ position: relative;
123
142
 
124
- &--inline {
125
- position: relative;
143
+ .o-sidebar__overlay {
144
+ position: absolute;
145
+ }
126
146
 
127
- .o-side__overlay {
128
- position: absolute;
147
+ .o-sidebar__content {
148
+ position: relative;
149
+ }
129
150
  }
130
151
 
131
- .o-side__content {
132
- position: relative;
152
+ &:not(&--inline) {
153
+ z-index: var(--#{$prefix}sidebar-zindex, $sidebar-zindex);
133
154
  }
134
- }
135
-
136
- &:not(&--inline) {
137
- z-index: var(--#{$prefix}sidebar-zindex, $sidebar-zindex);
138
- }
139
155
  }
@@ -1,9 +1,9 @@
1
1
  /* @docs */
2
2
  $skeleton-background: linear-gradient(
3
- 90deg,
4
- $grey-lighter 25%,
5
- rgba($grey-lighter, 0.5) 50%,
6
- $grey-lighter 75%
3
+ 90deg,
4
+ $grey-lighter 25%,
5
+ rgba($grey-lighter, 0.5) 50%,
6
+ $grey-lighter 75%
7
7
  ) !default;
8
8
  $skeleton-border-radius: var(--#{$prefix}base-border-radius) !default;
9
9
  $skeleton-duration: 1.5s !default;
@@ -11,70 +11,70 @@ $skeleton-margin: 0.5rem 0 0 0 !default;
11
11
  /* @docs */
12
12
 
13
13
  @keyframes skeleton-loading {
14
- 0% {
15
- background-position: 100% 50%;
16
- }
14
+ 0% {
15
+ background-position: 100% 50%;
16
+ }
17
17
 
18
- 100% {
19
- background-position: 0 50%;
20
- }
18
+ 100% {
19
+ background-position: 0 50%;
20
+ }
21
21
  }
22
22
 
23
23
  @mixin steps-size($size, $name: null) {
24
- @if $name {
25
- line-height: var(--#{$prefix}skeleton-font-size-#{$name}, $size);
26
- } @else {
27
- line-height: var(--#{$prefix}skeleton-font-size, $size);
28
- }
24
+ @if $name {
25
+ line-height: var(--#{$prefix}skeleton-font-size-#{$name}, $size);
26
+ } @else {
27
+ line-height: var(--#{$prefix}skeleton-font-size, $size);
28
+ }
29
29
  }
30
30
 
31
- .o-sklt {
32
- display: inline-flex;
33
- flex-direction: column;
34
- vertical-align: middle;
35
- width: 100%;
36
-
37
- &__item {
31
+ .o-skeleton {
32
+ display: inline-flex;
33
+ flex-direction: column;
34
+ vertical-align: middle;
38
35
  width: 100%;
39
- background: var(--#{$prefix}skeleton-background, $skeleton-background);
40
- margin: var(--#{$prefix}skeleton-margin, $skeleton-margin);
41
36
 
42
- @include steps-size($base-font-size);
37
+ &__item {
38
+ width: 100%;
39
+ background: var(--#{$prefix}skeleton-background, $skeleton-background);
40
+ margin: var(--#{$prefix}skeleton-margin, $skeleton-margin);
43
41
 
44
- @each $name, $value in $sizes {
45
- &--#{$name} {
46
- @include steps-size($value, $name);
47
- }
48
- }
42
+ @include steps-size($base-font-size);
49
43
 
50
- &--rounded {
51
- border-radius: var(
52
- --#{$prefix}skeleton-border-radius,
53
- $skeleton-border-radius
54
- );
55
- }
44
+ @each $name, $value in $sizes {
45
+ &--#{$name} {
46
+ @include steps-size($value, $name);
47
+ }
48
+ }
56
49
 
57
- &--animated {
58
- background-size: 400% 100%;
59
- animation-name: skeleton-loading;
60
- animation-iteration-count: infinite;
61
- animation-duration: var(
62
- --#{$prefix}skeleton-duration,
63
- $skeleton-duration
64
- );
65
- }
50
+ &--rounded {
51
+ border-radius: var(
52
+ --#{$prefix}skeleton-border-radius,
53
+ $skeleton-border-radius
54
+ );
55
+ }
56
+
57
+ &--animated {
58
+ background-size: 400% 100%;
59
+ animation-name: skeleton-loading;
60
+ animation-iteration-count: infinite;
61
+ animation-duration: var(
62
+ --#{$prefix}skeleton-duration,
63
+ $skeleton-duration
64
+ );
65
+ }
66
66
 
67
- &::after {
68
- content: "\00a0";
67
+ &::after {
68
+ content: "\00a0";
69
+ }
69
70
  }
70
- }
71
71
 
72
- &--centered {
73
- align-items: center;
74
- }
72
+ &--centered {
73
+ align-items: center;
74
+ }
75
75
 
76
- &--right {
77
- align-items: flex-end;
78
- margin: var(--#{$prefix}skeleton-margin, $skeleton-margin);
79
- }
76
+ &--right {
77
+ align-items: flex-end;
78
+ margin: var(--#{$prefix}skeleton-margin, $skeleton-margin);
79
+ }
80
80
  }