kmaterialize 2.3.3-1.0.6 → 2.3.3-1.0.7
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/button/_buttons.scss +13 -0
- package/dist/css/materialize.colors.min.css +1 -1
- package/dist/css/materialize.css +22 -4
- 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
|
@@ -23,6 +23,19 @@
|
|
|
23
23
|
);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
// .btn/.btn-large/.btn-small carry no color of their own - only the
|
|
27
|
+
// .filled/.tonal/.elevated/.outlined/.text modifiers do - so a bare
|
|
28
|
+
// .btn with none of those had no background or text color at all,
|
|
29
|
+
// same "invisible button" bug as .btn.text and .btn.elevated before
|
|
30
|
+
// they were fixed. Default to filled, same as v1's plain .btn always
|
|
31
|
+
// being a real visible button. Modifier classes still win (two
|
|
32
|
+
// classes beats one on specificity), and .btn-floating/.btn-flat
|
|
33
|
+
// already have their own complete color rules elsewhere so are
|
|
34
|
+
// deliberately excluded here.
|
|
35
|
+
.btn, .btn-large, .btn-small {
|
|
36
|
+
@include btn-filled;
|
|
37
|
+
}
|
|
38
|
+
|
|
26
39
|
// Icon
|
|
27
40
|
.btn.icon-left, .btn.icon-right {
|
|
28
41
|
position: relative;
|
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.7 (https://materializeweb.com)
|
|
3
3
|
* Copyright 2014-2026 Materialize
|
|
4
4
|
* MIT License (https://raw.githubusercontent.com/materializecss/materialize/master/LICENSE)
|
|
5
5
|
*/
|
|
@@ -3614,15 +3614,15 @@ a {
|
|
|
3614
3614
|
clear: both;
|
|
3615
3615
|
}
|
|
3616
3616
|
|
|
3617
|
-
.z-depth-0, .pagination li.active a:focus, .pagination li.disabled a, .btn.filled:focus, .btn.tonal:focus, .btn.text, .btn-flat, .btn.disabled, .btn-floating.disabled, .btn-large.disabled, .btn-small.disabled, .btn-flat.disabled,
|
|
3617
|
+
.z-depth-0, .pagination li.active a:focus, .pagination li.disabled a, .btn:focus, .btn-large:focus, .btn-small:focus, .btn.filled:focus, .btn.tonal:focus, .btn.text, .btn-flat, .btn.disabled, .btn-floating.disabled, .btn-large.disabled, .btn-small.disabled, .btn-flat.disabled,
|
|
3618
3618
|
.btn:disabled, .btn-floating:disabled, .btn-large:disabled, .btn-small:disabled, .btn-flat:disabled,
|
|
3619
|
-
.btn[disabled], .btn-floating[disabled], .btn-large[disabled], .btn-small[disabled], .btn-flat[disabled], .filled.btn-floating:focus, .tonal.btn-floating:focus, .text.btn-floating, .filled.btn-large:focus, .tonal.btn-large:focus, .text.btn-large, .filled.btn-small:focus, .tonal.btn-small:focus, .text.btn-small {
|
|
3619
|
+
.btn[disabled], .btn-floating[disabled], .btn-large[disabled], .btn-small[disabled], .btn-flat[disabled], .btn-floating:focus, .filled.btn-floating:focus, .tonal.btn-floating:focus, .text.btn-floating, .filled.btn-large:focus, .tonal.btn-large:focus, .text.btn-large, .filled.btn-small:focus, .tonal.btn-small:focus, .text.btn-small {
|
|
3620
3620
|
-webkit-box-shadow: none !important;
|
|
3621
3621
|
box-shadow: none !important;
|
|
3622
3622
|
}
|
|
3623
3623
|
|
|
3624
3624
|
/* 2dp elevation modified*/
|
|
3625
|
-
.z-depth-1, .sidenav, .dropdown-content, .collapsible, .pagination li.active a:hover, .card-panel, .card, .btn.filled:hover, .btn.tonal:hover, .btn.elevated, .btn.elevated:focus, .filled.btn-floating:hover, .tonal.btn-floating:hover, .elevated.btn-floating, .elevated.btn-floating:focus, .btn-floating, .filled.btn-large:hover, .tonal.btn-large:hover, .elevated.btn-large, .elevated.btn-large:focus, .filled.btn-small:hover, .tonal.btn-small:hover, .elevated.btn-small, .elevated.btn-small:focus {
|
|
3625
|
+
.z-depth-1, .sidenav, .dropdown-content, .collapsible, .pagination li.active a:hover, .card-panel, .card, .btn:hover, .btn-large:hover, .btn-small:hover, .btn.filled:hover, .btn.tonal:hover, .btn.elevated, .btn.elevated:focus, .btn-floating:hover, .filled.btn-floating:hover, .tonal.btn-floating:hover, .elevated.btn-floating, .elevated.btn-floating:focus, .btn-floating, .filled.btn-large:hover, .tonal.btn-large:hover, .elevated.btn-large, .elevated.btn-large:focus, .filled.btn-small:hover, .tonal.btn-small:hover, .elevated.btn-small, .elevated.btn-small:focus {
|
|
3626
3626
|
-webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
|
|
3627
3627
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
|
|
3628
3628
|
}
|
|
@@ -5102,6 +5102,24 @@ body {
|
|
|
5102
5102
|
background-color: var(--md-sys-color-primary-container);
|
|
5103
5103
|
}
|
|
5104
5104
|
|
|
5105
|
+
.btn, .btn-small, .btn-large, .btn-floating {
|
|
5106
|
+
color: var(--md-sys-color-on-primary);
|
|
5107
|
+
background-color: var(--md-sys-color-primary);
|
|
5108
|
+
}
|
|
5109
|
+
.btn:hover, .btn-floating:hover, .btn:focus, .btn-floating:focus, .btn-large:hover, .btn-large:focus, .btn-small:hover, .btn-small:focus {
|
|
5110
|
+
color: var(--md-sys-color-on-primary);
|
|
5111
|
+
}
|
|
5112
|
+
.btn:hover, .btn-floating:hover, .btn-large:hover, .btn-small:hover {
|
|
5113
|
+
background-color: color-mix(in srgb, var(--md-sys-color-primary), var(--md-sys-color-on-primary) 16%);
|
|
5114
|
+
}
|
|
5115
|
+
.btn:focus, .btn-floating:focus, .btn-large:focus, .btn-small:focus {
|
|
5116
|
+
background-color: color-mix(in srgb, var(--md-sys-color-primary), var(--md-sys-color-on-primary) 20%);
|
|
5117
|
+
}
|
|
5118
|
+
.btn:focus-visible, .btn-floating:focus-visible, .btn-large:focus-visible, .btn-small:focus-visible {
|
|
5119
|
+
outline: 3px solid var(--md-sys-color-secondary);
|
|
5120
|
+
outline-offset: 2px;
|
|
5121
|
+
}
|
|
5122
|
+
|
|
5105
5123
|
.btn.icon-left, .icon-left.btn-small, .icon-left.btn-large, .icon-left.btn-floating, .btn.icon-right, .icon-right.btn-small, .icon-right.btn-large, .icon-right.btn-floating {
|
|
5106
5124
|
position: relative;
|
|
5107
5125
|
}
|