@materializecss/materialize 2.2.2 → 2.3.0
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/LICENSE +21 -21
- package/README.md +94 -91
- package/dist/css/materialize.colors.min.css +6 -0
- package/dist/css/materialize.css +9624 -9470
- package/dist/css/materialize.min.css +6 -6
- package/dist/css/materialize.min.css.map +1 -1
- package/dist/js/materialize.cjs.js +8370 -8239
- package/dist/js/materialize.d.ts +2552 -2593
- package/dist/js/materialize.js +8375 -8244
- package/dist/js/materialize.min.js +6 -6
- package/dist/js/materialize.mjs +8342 -8211
- package/package.json +95 -81
- package/sass/{components/_color-variables.scss → _colors.scss} +403 -402
- package/sass/{components/_global.scss → _global.scss} +490 -469
- package/sass/{components/_grid.scss → _grid.scss} +172 -172
- package/sass/{components/_table_of_contents.scss → _table_of_contents.scss} +28 -32
- package/sass/{components/_tapTarget.scss → _tapTarget.scss} +102 -102
- package/sass/{components/_typography.scss → _typography.scss} +59 -62
- package/sass/{components/_variables.scss → _variables.scss} +57 -57
- package/sass/components/forms/_forms.scss +19 -18
- package/sass/materialize.scss +48 -43
- package/sass/{components/mixins.module.scss → mixins.module.scss} +168 -159
- package/sass/components/_badges.scss +0 -75
- package/sass/components/_breadcrumb.scss +0 -27
- package/sass/components/_buttons.scss +0 -348
- package/sass/components/_cards.scss +0 -229
- package/sass/components/_carousel.scss +0 -93
- package/sass/components/_chips.scss +0 -140
- package/sass/components/_collapsible.scss +0 -83
- package/sass/components/_collection.scss +0 -114
- package/sass/components/_datepicker.scss +0 -263
- package/sass/components/_dropdown.scss +0 -82
- package/sass/components/_icons-material-design.scss +0 -6
- package/sass/components/_materialbox.scss +0 -42
- package/sass/components/_modal.scss +0 -75
- package/sass/components/_navbar.scss +0 -232
- package/sass/components/_normalize.scss +0 -349
- package/sass/components/_pagination.scss +0 -47
- package/sass/components/_preloader.scss +0 -420
- package/sass/components/_pulse.scss +0 -35
- package/sass/components/_sidenav.scss +0 -247
- package/sass/components/_slider.scss +0 -119
- package/sass/components/_tabs.scss +0 -167
- package/sass/components/_timepicker.scss +0 -294
- package/sass/components/_toast.scss +0 -68
- package/sass/components/_tooltip.scss +0 -40
- package/sass/components/_transitions.scss +0 -12
- package/sass/components/colors.module.scss +0 -74
- package/sass/components/forms/_checkboxes.scss +0 -199
- package/sass/components/forms/_file-input.scss +0 -41
- package/sass/components/forms/_input-fields.scss +0 -356
- package/sass/components/forms/_radio-buttons.scss +0 -112
- package/sass/components/forms/_range.scss +0 -158
- package/sass/components/forms/_select.scss +0 -103
- package/sass/components/forms/_switches.scss +0 -124
- package/sass/components/theme.module.scss +0 -140
- package/sass/components/tokens.module.scss +0 -272
- package/sass/components/typography.module.scss +0 -150
|
@@ -1,62 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
@use "sass:math";
|
|
3
|
-
@use './variables' as *;
|
|
4
|
-
|
|
5
|
-
a {
|
|
6
|
-
text-decoration: none;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
html{
|
|
10
|
-
// line-height: 1.5;
|
|
11
|
-
font-family: $font-stack;
|
|
12
|
-
font-weight: normal;
|
|
13
|
-
color: $text-color;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
font-size: 1.2rem;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
1
|
+
|
|
2
|
+
@use "sass:math";
|
|
3
|
+
@use './variables' as *;
|
|
4
|
+
|
|
5
|
+
a {
|
|
6
|
+
text-decoration: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
html{
|
|
10
|
+
// line-height: 1.5;
|
|
11
|
+
font-family: $font-stack;
|
|
12
|
+
font-weight: normal;
|
|
13
|
+
color: $text-color;
|
|
14
|
+
@media only screen and (min-width: 0) {
|
|
15
|
+
font-size: 14px;
|
|
16
|
+
}
|
|
17
|
+
@media only screen and (min-width: $medium-screen-up) {
|
|
18
|
+
font-size: 14.5px;
|
|
19
|
+
}
|
|
20
|
+
@media only screen and (min-width: $large-screen-up) {
|
|
21
|
+
font-size: 15px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
h1, h2, h3, h4, h5, h6 {
|
|
26
|
+
font-weight: 400;
|
|
27
|
+
line-height: 1.3;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Header Styles
|
|
31
|
+
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
|
|
32
|
+
h1 { font-size: $h1-fontsize; line-height: 110%; margin: math.div($h1-fontsize, 1.5) 0 math.div($h1-fontsize, 2.5) 0;}
|
|
33
|
+
h2 { font-size: $h2-fontsize; line-height: 110%; margin: math.div($h2-fontsize, 1.5) 0 math.div($h2-fontsize, 2.5) 0;}
|
|
34
|
+
h3 { font-size: $h3-fontsize; line-height: 110%; margin: math.div($h3-fontsize, 1.5) 0 math.div($h3-fontsize, 2.5) 0;}
|
|
35
|
+
h4 { font-size: $h4-fontsize; line-height: 110%; margin: math.div($h4-fontsize, 1.5) 0 math.div($h4-fontsize, 2.5) 0;}
|
|
36
|
+
h5 { font-size: $h5-fontsize; line-height: 110%; margin: math.div($h5-fontsize, 1.5) 0 math.div($h5-fontsize, 2.5) 0;}
|
|
37
|
+
h6 { font-size: $h6-fontsize; line-height: 110%; margin: math.div($h6-fontsize, 1.5) 0 math.div($h6-fontsize, 2.5) 0;}
|
|
38
|
+
|
|
39
|
+
// Text Styles
|
|
40
|
+
em { font-style: italic; }
|
|
41
|
+
strong { font-weight: 500; }
|
|
42
|
+
small { font-size: 75%; }
|
|
43
|
+
.light { font-weight: 300; }
|
|
44
|
+
.thin { font-weight: 200; }
|
|
45
|
+
|
|
46
|
+
.flow-text{
|
|
47
|
+
$i: 0;
|
|
48
|
+
@while $i <= $intervals {
|
|
49
|
+
@media only screen and (min-width : (360 + ($i * $interval-size))) {
|
|
50
|
+
font-size: 1.2rem * (1 + (.02 * $i));
|
|
51
|
+
}
|
|
52
|
+
$i: $i + 1;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Handle below 360px screen
|
|
56
|
+
@media only screen and (max-width: 360px) {
|
|
57
|
+
font-size: 1.2rem;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
// TypeScale
|
|
2
|
-
$md_sys_typescale_body-large_size: 16px;
|
|
3
|
-
|
|
4
|
-
@use "sass:math";
|
|
5
|
-
@use "./
|
|
6
|
-
|
|
7
|
-
// Colors
|
|
8
|
-
$success-color: colorFunc("green", "base") !default;
|
|
9
|
-
$link-color: colorFunc("light-blue", "darken-1") !default;
|
|
10
|
-
|
|
11
|
-
// Floating buttons
|
|
12
|
-
$button-floating-background: var(--md-sys-color-secondary) !default;
|
|
13
|
-
$button-floating-background-hover: var(--md-ref-palette-secondary70) !default;
|
|
14
|
-
$button-floating-background-focus: var(--md-ref-palette-secondary80) !default;
|
|
15
|
-
$button-floating-color: var(--md-sys-color-on-secondary) !default;
|
|
16
|
-
$button-floating-size: 40px !default;
|
|
17
|
-
$button-floating-radius: 16px !default;
|
|
18
|
-
|
|
19
|
-
// Dropdown
|
|
20
|
-
$dropdown-item-height: 50px !default;
|
|
21
|
-
|
|
22
|
-
// Media Query Ranges
|
|
23
|
-
$small-screen-up: 601px !default;
|
|
24
|
-
$medium-screen-up: 993px !default;
|
|
25
|
-
$large-screen-up: 1201px !default;
|
|
26
|
-
$small-screen: 600.99px !default;
|
|
27
|
-
$medium-screen: 992.99px !default;
|
|
28
|
-
$large-screen: 1200.99px !default;
|
|
29
|
-
|
|
30
|
-
$medium-and-up: "only screen and (min-width : #{$small-screen-up})" !default;
|
|
31
|
-
$large-and-up: "only screen and (min-width : #{$medium-screen-up})" !default;
|
|
32
|
-
$extra-large-and-up: "only screen and (min-width : #{$large-screen-up})" !default;
|
|
33
|
-
$small-and-down: "only screen and (max-width : #{$small-screen})" !default;
|
|
34
|
-
$medium-and-down: "only screen and (max-width : #{$medium-screen})" !default;
|
|
35
|
-
$medium-only: "only screen and (min-width : #{$small-screen-up}) and (max-width : #{$medium-screen})" !default;
|
|
36
|
-
|
|
37
|
-
// Grid
|
|
38
|
-
$num-cols: 12 !default;
|
|
39
|
-
$gutter-width: 1.5rem !default;
|
|
40
|
-
$element-top-margin: math.div($gutter-width, 3) !default;
|
|
41
|
-
$element-bottom-margin: math.div($gutter-width * 2, 3) !default;
|
|
42
|
-
|
|
43
|
-
// Typography
|
|
44
|
-
$font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !default;
|
|
45
|
-
$text-color: var(--md-sys-color-on-background) !default;
|
|
46
|
-
|
|
47
|
-
// Header Styles
|
|
48
|
-
$h1-fontsize: 4.2rem !default;
|
|
49
|
-
$h2-fontsize: 3.56rem !default;
|
|
50
|
-
$h3-fontsize: 2.92rem !default;
|
|
51
|
-
$h4-fontsize: 2.28rem !default;
|
|
52
|
-
$h5-fontsize: 1.64rem !default;
|
|
53
|
-
$h6-fontsize: 1.15rem !default;
|
|
54
|
-
|
|
55
|
-
// Flow Text
|
|
56
|
-
$intervals: 20 !default;
|
|
57
|
-
$interval-size: math.div($large-screen - $small-screen, $intervals) !default;
|
|
1
|
+
// TypeScale
|
|
2
|
+
$md_sys_typescale_body-large_size: 16px;
|
|
3
|
+
|
|
4
|
+
@use "sass:math";
|
|
5
|
+
@use "./_colors";
|
|
6
|
+
|
|
7
|
+
// Colors
|
|
8
|
+
$success-color: colorFunc("green", "base") !default;
|
|
9
|
+
$link-color: colorFunc("light-blue", "darken-1") !default;
|
|
10
|
+
|
|
11
|
+
// Floating buttons
|
|
12
|
+
$button-floating-background: var(--md-sys-color-secondary) !default;
|
|
13
|
+
$button-floating-background-hover: var(--md-ref-palette-secondary70) !default;
|
|
14
|
+
$button-floating-background-focus: var(--md-ref-palette-secondary80) !default;
|
|
15
|
+
$button-floating-color: var(--md-sys-color-on-secondary) !default;
|
|
16
|
+
$button-floating-size: 40px !default;
|
|
17
|
+
$button-floating-radius: 16px !default;
|
|
18
|
+
|
|
19
|
+
// Dropdown
|
|
20
|
+
$dropdown-item-height: 50px !default;
|
|
21
|
+
|
|
22
|
+
// Media Query Ranges
|
|
23
|
+
$small-screen-up: 601px !default;
|
|
24
|
+
$medium-screen-up: 993px !default;
|
|
25
|
+
$large-screen-up: 1201px !default;
|
|
26
|
+
$small-screen: 600.99px !default;
|
|
27
|
+
$medium-screen: 992.99px !default;
|
|
28
|
+
$large-screen: 1200.99px !default;
|
|
29
|
+
|
|
30
|
+
$medium-and-up: "only screen and (min-width : #{$small-screen-up})" !default;
|
|
31
|
+
$large-and-up: "only screen and (min-width : #{$medium-screen-up})" !default;
|
|
32
|
+
$extra-large-and-up: "only screen and (min-width : #{$large-screen-up})" !default;
|
|
33
|
+
$small-and-down: "only screen and (max-width : #{$small-screen})" !default;
|
|
34
|
+
$medium-and-down: "only screen and (max-width : #{$medium-screen})" !default;
|
|
35
|
+
$medium-only: "only screen and (min-width : #{$small-screen-up}) and (max-width : #{$medium-screen})" !default;
|
|
36
|
+
|
|
37
|
+
// Grid
|
|
38
|
+
$num-cols: 12 !default;
|
|
39
|
+
$gutter-width: 1.5rem !default;
|
|
40
|
+
$element-top-margin: math.div($gutter-width, 3) !default;
|
|
41
|
+
$element-bottom-margin: math.div($gutter-width * 2, 3) !default;
|
|
42
|
+
|
|
43
|
+
// Typography
|
|
44
|
+
$font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !default;
|
|
45
|
+
$text-color: var(--md-sys-color-on-background) !default;
|
|
46
|
+
|
|
47
|
+
// Header Styles
|
|
48
|
+
$h1-fontsize: 4.2rem !default;
|
|
49
|
+
$h2-fontsize: 3.56rem !default;
|
|
50
|
+
$h3-fontsize: 2.92rem !default;
|
|
51
|
+
$h4-fontsize: 2.28rem !default;
|
|
52
|
+
$h5-fontsize: 1.64rem !default;
|
|
53
|
+
$h6-fontsize: 1.15rem !default;
|
|
54
|
+
|
|
55
|
+
// Flow Text
|
|
56
|
+
$intervals: 20 !default;
|
|
57
|
+
$interval-size: math.div($large-screen - $small-screen, $intervals) !default;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
@forward 'input-fields';
|
|
2
|
-
@forward 'radio-buttons';
|
|
3
|
-
@forward 'checkboxes';
|
|
4
|
-
@forward 'switches';
|
|
5
|
-
@forward 'select';
|
|
6
|
-
@forward 'file-input';
|
|
7
|
-
@forward 'range';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
@forward 'input-fields';
|
|
2
|
+
@forward 'radio-buttons';
|
|
3
|
+
@forward 'checkboxes';
|
|
4
|
+
@forward 'switches';
|
|
5
|
+
@forward 'select';
|
|
6
|
+
@forward 'file-input';
|
|
7
|
+
@forward 'range';
|
|
8
|
+
@forward 'form-field';
|
|
9
|
+
|
|
10
|
+
// Remove Focus Boxes
|
|
11
|
+
select:focus {
|
|
12
|
+
outline: 1px solid var(--md-ref-palette-primary80);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
label {
|
|
16
|
+
font-size: .8rem;
|
|
17
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
18
|
+
}
|
|
19
|
+
|
package/sass/materialize.scss
CHANGED
|
@@ -1,43 +1,48 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
|
-
|
|
3
|
-
@forward "
|
|
4
|
-
@forward "
|
|
5
|
-
|
|
6
|
-
@forward "
|
|
7
|
-
@forward "
|
|
8
|
-
@forward "
|
|
9
|
-
@forward "
|
|
10
|
-
@forward "
|
|
11
|
-
@forward "
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
@forward "
|
|
16
|
-
@forward "
|
|
17
|
-
|
|
18
|
-
@forward "
|
|
19
|
-
@forward "
|
|
20
|
-
|
|
21
|
-
@forward "components/
|
|
22
|
-
@forward "components/
|
|
23
|
-
@forward "components/
|
|
24
|
-
@forward "components/
|
|
25
|
-
@forward "components/
|
|
26
|
-
@forward "components/
|
|
27
|
-
@forward "components/
|
|
28
|
-
@forward "components/
|
|
29
|
-
@forward "components/
|
|
30
|
-
@forward "components/
|
|
31
|
-
@forward "components/materialbox";
|
|
32
|
-
@forward "components/
|
|
33
|
-
@forward "components/
|
|
34
|
-
@forward "components/sidenav";
|
|
35
|
-
@forward "components/preloader";
|
|
36
|
-
@forward "components/slider";
|
|
37
|
-
@forward "components/carousel";
|
|
38
|
-
@forward "components/
|
|
39
|
-
@forward "components/
|
|
40
|
-
@forward "components/
|
|
41
|
-
@forward "components/
|
|
42
|
-
@forward
|
|
43
|
-
@forward
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
|
|
3
|
+
@forward "../node_modules/normalize.css/normalize.css";
|
|
4
|
+
@forward "./tokens.module.css";
|
|
5
|
+
@forward "./theme.module.css";
|
|
6
|
+
@forward "./typography.module.css";
|
|
7
|
+
@forward "./colors.module.css";
|
|
8
|
+
@forward "./typography";
|
|
9
|
+
@forward "./mixins.module";
|
|
10
|
+
// @forward "./colors"; // => put in seperate file
|
|
11
|
+
@forward "./variables";
|
|
12
|
+
@forward "./global";
|
|
13
|
+
@forward "./grid";
|
|
14
|
+
// animations
|
|
15
|
+
@forward "./transitions.css";
|
|
16
|
+
@forward "./pulse.css";
|
|
17
|
+
// custom
|
|
18
|
+
@forward "./table_of_contents";
|
|
19
|
+
@forward "./tapTarget";
|
|
20
|
+
|
|
21
|
+
@forward "../components/buttons/buttons";
|
|
22
|
+
@forward "../components/lists/collection";
|
|
23
|
+
@forward "../components/collapsible/collapsible"; // custom
|
|
24
|
+
@forward "../components/badges/badges";
|
|
25
|
+
@forward "../components/cards/cards";
|
|
26
|
+
@forward "../components/snackbar/toast";
|
|
27
|
+
@forward "../components/tabs/tabs";
|
|
28
|
+
@forward "../components/tooltips/tooltip";
|
|
29
|
+
@forward "../components/dropdown/dropdown";
|
|
30
|
+
@forward "../components/dialog/modal";
|
|
31
|
+
@forward "../components/dialog/materialbox"; // custom
|
|
32
|
+
@forward "../components/chips/chips";
|
|
33
|
+
@forward "../components/navigation-bar/navbar";
|
|
34
|
+
@forward "../components/navigation-drawer/sidenav";
|
|
35
|
+
@forward "../components/progress-indicators/preloader";
|
|
36
|
+
@forward "../components/carousel/slider";
|
|
37
|
+
@forward "../components/carousel/carousel";
|
|
38
|
+
@forward "../components/datepicker/datepicker";
|
|
39
|
+
@forward "../components/timepicker/timepicker";
|
|
40
|
+
@forward "../components/breadcrumb/breadcrumb"; // custom
|
|
41
|
+
@forward "../components/pagination/pagination"; //custom
|
|
42
|
+
@forward '../components/radio-button/radio-buttons';
|
|
43
|
+
@forward '../components/checkbox/checkboxes';
|
|
44
|
+
@forward '../components/switch/switches';
|
|
45
|
+
@forward '../components/sliders/range';
|
|
46
|
+
@forward '../components/text-fields/input-fields';
|
|
47
|
+
@forward '../components/text-fields/select';
|
|
48
|
+
@forward '../components/text-fields/file-input';
|