kmaterialize 2.3.3-1.0.38 → 2.3.3-1.0.39
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/components/card/_cards.scss +17 -1
- package/dist/css/materialize.colors.min.css +1 -1
- package/dist/css/materialize.css +12 -2
- package/dist/css/materialize.min.css +2 -2
- package/dist/js/materialize.cjs.js +2 -2
- package/dist/js/materialize.d.ts +1 -1
- package/dist/js/materialize.js +2 -2
- package/dist/js/materialize.min.js +2 -2
- package/dist/js/materialize.mjs +2 -2
- package/package.json +1 -1
|
@@ -231,6 +231,21 @@
|
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
+
/// Match the card corners when its image is the only section.
|
|
235
|
+
> .card-image:only-child {
|
|
236
|
+
border-radius: inherit;
|
|
237
|
+
|
|
238
|
+
> img {
|
|
239
|
+
border-radius: inherit;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/// Keep the title scrim inside the rounded bottom corners.
|
|
243
|
+
> .card-title.gradient {
|
|
244
|
+
border-bottom-left-radius: inherit;
|
|
245
|
+
border-bottom-right-radius: inherit;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
234
249
|
// Sticky Action Section
|
|
235
250
|
&.sticky-action {
|
|
236
251
|
.card-action {
|
|
@@ -259,7 +274,8 @@
|
|
|
259
274
|
}
|
|
260
275
|
|
|
261
276
|
.card-title {
|
|
262
|
-
|
|
277
|
+
/// Keep image overlay titles light in both themes.
|
|
278
|
+
color: var(--md-sys-color-surface-light);
|
|
263
279
|
position: absolute;
|
|
264
280
|
bottom: 0;
|
|
265
281
|
left: 0;
|
package/dist/css/materialize.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Materialize v2.3.3-1.0.
|
|
2
|
+
* Materialize v2.3.3-1.0.39 (https://materializeweb.com)
|
|
3
3
|
* Copyright 2014-2026 Materialize
|
|
4
4
|
* MIT License (https://raw.githubusercontent.com/materializecss/materialize/master/LICENSE)
|
|
5
5
|
*/
|
|
@@ -15184,6 +15184,16 @@ table span.badge {
|
|
|
15184
15184
|
-ms-flex-positive: 1;
|
|
15185
15185
|
flex-grow: 1;
|
|
15186
15186
|
}
|
|
15187
|
+
.card > .card-image:only-child {
|
|
15188
|
+
border-radius: inherit;
|
|
15189
|
+
}
|
|
15190
|
+
.card > .card-image:only-child > img {
|
|
15191
|
+
border-radius: inherit;
|
|
15192
|
+
}
|
|
15193
|
+
.card > .card-image:only-child > .card-title.gradient {
|
|
15194
|
+
border-bottom-left-radius: inherit;
|
|
15195
|
+
border-bottom-right-radius: inherit;
|
|
15196
|
+
}
|
|
15187
15197
|
.card.sticky-action .card-action {
|
|
15188
15198
|
z-index: 2;
|
|
15189
15199
|
}
|
|
@@ -15205,7 +15215,7 @@ table span.badge {
|
|
|
15205
15215
|
width: 100%;
|
|
15206
15216
|
}
|
|
15207
15217
|
.card .card-image .card-title {
|
|
15208
|
-
color: var(--md-sys-color-surface);
|
|
15218
|
+
color: var(--md-sys-color-surface-light);
|
|
15209
15219
|
position: absolute;
|
|
15210
15220
|
bottom: 0;
|
|
15211
15221
|
left: 0;
|