mediacube-ui-v2 0.0.189 → 0.0.190
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.
|
@@ -123,7 +123,11 @@
|
|
|
123
123
|
$i: 1;
|
|
124
124
|
|
|
125
125
|
@each $key, $value in $map {
|
|
126
|
-
|
|
126
|
+
@if $i < length($map) {
|
|
127
|
+
$sep: ", ";
|
|
128
|
+
} @else {
|
|
129
|
+
$sep: "";
|
|
130
|
+
}
|
|
127
131
|
$output: $output + "#{$key}#{$sep}#{available-names($value, $level + 1)}";
|
|
128
132
|
$i: $i + 1;
|
|
129
133
|
}
|
package/dist/styles/mixins.scss
CHANGED
|
@@ -61,7 +61,11 @@
|
|
|
61
61
|
|
|
62
62
|
@mixin responsive-font($responsive, $min, $max: false, $fallback: false) {
|
|
63
63
|
$responsive-unitless: calc(#{$responsive} / (#{$responsive} - #{$responsive} + 1));
|
|
64
|
-
|
|
64
|
+
@if unit($responsive) == 'vh' {
|
|
65
|
+
$dimension: 'height';
|
|
66
|
+
} @else {
|
|
67
|
+
$dimension: 'width';
|
|
68
|
+
}
|
|
65
69
|
$min-breakpoint: calc(#{$min} / #{$responsive-unitless} * 100);
|
|
66
70
|
|
|
67
71
|
@media (max-#{$dimension}: #{$min-breakpoint}) {
|
|
@@ -218,14 +222,26 @@
|
|
|
218
222
|
|
|
219
223
|
@mixin default-link($main-color: $color-black, $second-color: $color-purple, $is-important: false) {
|
|
220
224
|
& {
|
|
221
|
-
|
|
225
|
+
@if $is-important {
|
|
226
|
+
color: $main-color !important;
|
|
227
|
+
} @else {
|
|
228
|
+
color: $main-color;
|
|
229
|
+
}
|
|
222
230
|
}
|
|
223
231
|
&:hover,
|
|
224
232
|
&:focus {
|
|
225
|
-
|
|
233
|
+
@if $is-important {
|
|
234
|
+
color: $second-color !important;
|
|
235
|
+
} @else {
|
|
236
|
+
color: $second-color;
|
|
237
|
+
}
|
|
226
238
|
}
|
|
227
239
|
&:active {
|
|
228
|
-
|
|
240
|
+
@if $is-important {
|
|
241
|
+
color: sasscolor.adjust($second-color, $lightness: 8%) !important;
|
|
242
|
+
} @else {
|
|
243
|
+
color: sasscolor.adjust($second-color, $lightness: 8%);
|
|
244
|
+
}
|
|
229
245
|
}
|
|
230
246
|
}
|
|
231
247
|
|