matcha-core 1.1.10 → 1.1.12
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 +23 -14
- package/matcha-core.css +23355 -9161
- package/matcha-core.min.css +1 -1
- package/package.json +1 -1
package/core.scss
CHANGED
|
@@ -38,7 +38,8 @@ $breakpoints: (
|
|
|
38
38
|
|
|
39
39
|
// Re-map the breakpoints for the helper classes
|
|
40
40
|
$helper-breakpoints: (
|
|
41
|
-
|
|
41
|
+
initial: null,
|
|
42
|
+
xs: 'xs',
|
|
42
43
|
sm: 'gt-xs',
|
|
43
44
|
md: 'gt-sm',
|
|
44
45
|
lg: 'gt-md',
|
|
@@ -1089,13 +1090,19 @@ $helper-breakpoints: (
|
|
|
1089
1090
|
}
|
|
1090
1091
|
}
|
|
1091
1092
|
}
|
|
1093
|
+
// Classe para borda nula
|
|
1094
|
+
.b#{$infix}-none,
|
|
1095
|
+
.border#{$infix}-none {
|
|
1096
|
+
border: none;
|
|
1097
|
+
}
|
|
1098
|
+
.b#{$infix}-none--force,
|
|
1099
|
+
.border#{$infix}-none--force {
|
|
1100
|
+
border: none !important;
|
|
1101
|
+
}
|
|
1092
1102
|
}
|
|
1093
1103
|
}
|
|
1094
1104
|
|
|
1095
|
-
|
|
1096
|
-
.border-none {
|
|
1097
|
-
border: none !important;
|
|
1098
|
-
}
|
|
1105
|
+
|
|
1099
1106
|
}
|
|
1100
1107
|
@include generate-border-size-classes($helper-breakpoints);
|
|
1101
1108
|
|
|
@@ -1150,7 +1157,7 @@ $helper-breakpoints: (
|
|
|
1150
1157
|
@include media-breakpoint($materialBreakpoint) {
|
|
1151
1158
|
$infix: if($materialBreakpoint == null, "", "-#{$breakpoint}");
|
|
1152
1159
|
|
|
1153
|
-
@for $i from 0 through
|
|
1160
|
+
@for $i from 0 through 12 {
|
|
1154
1161
|
$radius-value: $i * 2;
|
|
1155
1162
|
$radius-suffix: "-#{$radius-value}";
|
|
1156
1163
|
|
|
@@ -1162,35 +1169,35 @@ $helper-breakpoints: (
|
|
|
1162
1169
|
// Classes para bordas individuais
|
|
1163
1170
|
@each $direction, $abbrev in $radius-directions {
|
|
1164
1171
|
@if $direction == bottom {
|
|
1165
|
-
.radius
|
|
1172
|
+
.radius-#{$direction}#{$infix}#{$radius-suffix} {
|
|
1166
1173
|
border-radius: 0 0 #{$radius-value}px #{$radius-value}px; // Sem !important
|
|
1167
1174
|
}
|
|
1168
1175
|
|
|
1169
|
-
.radius
|
|
1176
|
+
.radius-#{$direction}#{$infix}#{$radius-suffix}--force {
|
|
1170
1177
|
border-radius: 0 0 #{$radius-value}px #{$radius-value}px !important; // Com !important
|
|
1171
1178
|
}
|
|
1172
1179
|
} @else if $direction == top {
|
|
1173
|
-
.radius
|
|
1180
|
+
.radius-#{$direction}#{$infix}#{$radius-suffix} {
|
|
1174
1181
|
border-radius: #{$radius-value}px #{$radius-value}px 0 0; // Sem !important
|
|
1175
1182
|
}
|
|
1176
1183
|
|
|
1177
|
-
.radius
|
|
1184
|
+
.radius-#{$direction}#{$infix}#{$radius-suffix}--force {
|
|
1178
1185
|
border-radius: #{$radius-value}px #{$radius-value}px 0 0 !important; // Com !important
|
|
1179
1186
|
}
|
|
1180
1187
|
} @else if $direction == left {
|
|
1181
|
-
.radius
|
|
1188
|
+
.radius-#{$direction}#{$infix}#{$radius-suffix} {
|
|
1182
1189
|
border-radius: #{$radius-value}px 0 0 #{$radius-value}px; // Sem !important
|
|
1183
1190
|
}
|
|
1184
1191
|
|
|
1185
|
-
.radius
|
|
1192
|
+
.radius-#{$direction}#{$infix}#{$radius-suffix}--force {
|
|
1186
1193
|
border-radius: #{$radius-value}px 0 0 #{$radius-value}px !important; // Com !important
|
|
1187
1194
|
}
|
|
1188
1195
|
} @else if $direction == right {
|
|
1189
|
-
.radius
|
|
1196
|
+
.radius-#{$direction}#{$infix}#{$radius-suffix} {
|
|
1190
1197
|
border-radius: 0 #{$radius-value}px #{$radius-value}px 0; // Sem !important
|
|
1191
1198
|
}
|
|
1192
1199
|
|
|
1193
|
-
.radius
|
|
1200
|
+
.radius-#{$direction}#{$infix}#{$radius-suffix}--force {
|
|
1194
1201
|
border-radius: 0 #{$radius-value}px #{$radius-value}px 0 !important; // Com !important
|
|
1195
1202
|
}
|
|
1196
1203
|
}
|
|
@@ -1285,6 +1292,7 @@ $helper-breakpoints: (
|
|
|
1285
1292
|
display: -webkit-box;
|
|
1286
1293
|
-webkit-box-orient: vertical;
|
|
1287
1294
|
-webkit-line-clamp: $i;
|
|
1295
|
+
line-clamp: $i;
|
|
1288
1296
|
text-overflow: ellipsis;
|
|
1289
1297
|
word-break: break-word;
|
|
1290
1298
|
white-space: initial;
|
|
@@ -1296,6 +1304,7 @@ $helper-breakpoints: (
|
|
|
1296
1304
|
display: block;
|
|
1297
1305
|
-webkit-box-orient: horizontal;
|
|
1298
1306
|
-webkit-line-clamp: none;
|
|
1307
|
+
line-clamp: none;
|
|
1299
1308
|
}
|
|
1300
1309
|
}
|
|
1301
1310
|
}
|