matcha-core 1.1.13 → 1.1.15
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.
- package/core.scss +35 -2
- package/matcha-core.css +2518 -1164
- package/matcha-core.min.css +1 -1
- package/package.json +1 -1
package/core.scss
CHANGED
|
@@ -658,10 +658,10 @@ $helper-breakpoints: (
|
|
|
658
658
|
@while $index <= 96 {
|
|
659
659
|
$size: $index;
|
|
660
660
|
.fs#{$infix}-#{$size} {
|
|
661
|
-
font-size:
|
|
661
|
+
font-size: #{$size}px;
|
|
662
662
|
}
|
|
663
663
|
.fs#{$infix}-#{$size}--force {
|
|
664
|
-
font-size:
|
|
664
|
+
font-size: #{$size}px !important;
|
|
665
665
|
}
|
|
666
666
|
$index: $index + 1;
|
|
667
667
|
}
|
|
@@ -1310,3 +1310,36 @@ $helper-breakpoints: (
|
|
|
1310
1310
|
}
|
|
1311
1311
|
}
|
|
1312
1312
|
@include generate-line-clamp-classes($helper-breakpoints);
|
|
1313
|
+
|
|
1314
|
+
// -----------------------------------------------------------------------------------------------------
|
|
1315
|
+
// @ Masonry
|
|
1316
|
+
// -----------------------------------------------------------------------------------------------------
|
|
1317
|
+
@mixin generate-masonry-classes($helper-breakpoints){
|
|
1318
|
+
@each $breakpoint, $materialBreakpoint in $helper-breakpoints {
|
|
1319
|
+
@include media-breakpoint($materialBreakpoint) {
|
|
1320
|
+
$infix: if($materialBreakpoint == null, "", "-#{$breakpoint}");
|
|
1321
|
+
@for $i from 1 through 12 {
|
|
1322
|
+
// Classes para borda geral
|
|
1323
|
+
.masonry#{$infix}-#{$i}{
|
|
1324
|
+
column-count: $i;
|
|
1325
|
+
> *{
|
|
1326
|
+
break-inside: avoid;
|
|
1327
|
+
display: inline-block;
|
|
1328
|
+
width: 100%;
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
@for $i from 0 through 12 {
|
|
1333
|
+
$size: $i * 4;
|
|
1334
|
+
// Classes para borda geral
|
|
1335
|
+
.masonry-gap#{$infix}-#{$size}{
|
|
1336
|
+
column-gap: #{$size}px;
|
|
1337
|
+
> *{
|
|
1338
|
+
margin-bottom: #{$size}px;
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
@include generate-masonry-classes($helper-breakpoints);
|