@materializecss/materialize 1.1.0-alpha → 1.1.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.
Files changed (85) hide show
  1. package/Gruntfile.js +115 -132
  2. package/LICENSE +21 -21
  3. package/README.md +97 -97
  4. package/dist/css/materialize.css +8462 -8987
  5. package/dist/css/materialize.min.css +7 -7
  6. package/dist/js/materialize.js +12669 -12791
  7. package/dist/js/materialize.min.js +6 -6
  8. package/extras/noUiSlider/nouislider.css +406 -406
  9. package/extras/noUiSlider/nouislider.js +2147 -2147
  10. package/extras/noUiSlider/nouislider.min.js +0 -0
  11. package/js/anime.min.js +34 -34
  12. package/js/autocomplete.js +479 -479
  13. package/js/buttons.js +354 -354
  14. package/js/cards.js +40 -40
  15. package/js/carousel.js +732 -717
  16. package/js/cash.js +960 -960
  17. package/js/characterCounter.js +136 -136
  18. package/js/chips.js +486 -486
  19. package/js/collapsible.js +275 -275
  20. package/js/component.js +44 -44
  21. package/js/datepicker.js +983 -976
  22. package/js/dropdown.js +669 -668
  23. package/js/forms.js +275 -275
  24. package/js/global.js +424 -424
  25. package/js/materialbox.js +453 -453
  26. package/js/modal.js +382 -382
  27. package/js/parallax.js +138 -138
  28. package/js/pushpin.js +148 -148
  29. package/js/range.js +263 -263
  30. package/js/scrollspy.js +295 -295
  31. package/js/select.js +310 -451
  32. package/js/sidenav.js +583 -583
  33. package/js/slider.js +359 -359
  34. package/js/tabs.js +402 -402
  35. package/js/tapTarget.js +315 -315
  36. package/js/timepicker.js +648 -647
  37. package/js/toasts.js +322 -322
  38. package/js/tooltip.js +320 -320
  39. package/js/waves.js +614 -614
  40. package/package.json +82 -74
  41. package/sass/_style.scss +929 -0
  42. package/sass/components/_badges.scss +55 -55
  43. package/sass/components/_buttons.scss +322 -322
  44. package/sass/components/_cards.scss +195 -195
  45. package/sass/components/_carousel.scss +90 -90
  46. package/sass/components/_chips.scss +96 -96
  47. package/sass/components/_collapsible.scss +91 -91
  48. package/sass/components/_collection.scss +107 -0
  49. package/sass/components/_color-classes.scss +32 -32
  50. package/sass/components/_color-variables.scss +370 -370
  51. package/sass/components/_datepicker.scss +191 -191
  52. package/sass/components/_dropdown.scss +84 -84
  53. package/sass/components/_global.scss +642 -771
  54. package/sass/components/_grid.scss +158 -156
  55. package/sass/components/_icons-material-design.scss +5 -5
  56. package/sass/components/_materialbox.scss +42 -42
  57. package/sass/components/_modal.scss +97 -97
  58. package/sass/components/_navbar.scss +208 -208
  59. package/sass/components/_normalize.scss +447 -447
  60. package/sass/components/_preloader.scss +334 -334
  61. package/sass/components/_pulse.scss +34 -34
  62. package/sass/components/_sidenav.scss +214 -214
  63. package/sass/components/_slider.scss +91 -91
  64. package/sass/components/_table_of_contents.scss +33 -33
  65. package/sass/components/_tabs.scss +99 -99
  66. package/sass/components/_tapTarget.scss +103 -103
  67. package/sass/components/_timepicker.scss +183 -183
  68. package/sass/components/_toast.scss +58 -58
  69. package/sass/components/_tooltip.scss +32 -32
  70. package/sass/components/_transitions.scss +12 -12
  71. package/sass/components/_typography.scss +62 -60
  72. package/sass/components/_variables.scss +352 -349
  73. package/sass/components/_waves.scss +187 -187
  74. package/sass/components/forms/_checkboxes.scss +200 -200
  75. package/sass/components/forms/_file-input.scss +44 -44
  76. package/sass/components/forms/_forms.scss +22 -22
  77. package/sass/components/forms/_input-fields.scss +379 -379
  78. package/sass/components/forms/_radio-buttons.scss +115 -115
  79. package/sass/components/forms/_range.scss +161 -161
  80. package/sass/components/forms/_select.scss +199 -199
  81. package/sass/components/forms/_switches.scss +91 -91
  82. package/sass/ghpages-materialize.scss +7 -0
  83. package/sass/materialize.scss +42 -41
  84. package/CHANGELOG.md +0 -76
  85. package/HISTORY.md +0 -527
@@ -1,33 +1,33 @@
1
- /***************
2
- Nav List
3
- ***************/
4
- .table-of-contents {
5
- &.fixed {
6
- position: fixed;
7
- }
8
-
9
- li {
10
- padding: 2px 0;
11
- }
12
- a {
13
- display: inline-block;
14
- font-weight: 300;
15
- color: #757575;
16
- padding-left: 16px;
17
- height: 1.5rem;
18
- line-height: 1.5rem;
19
- letter-spacing: .4;
20
- display: inline-block;
21
-
22
- &:hover {
23
- color: lighten(#757575, 20%);
24
- padding-left: 15px;
25
- border-left: 1px solid $primary-color;
26
- }
27
- &.active {
28
- font-weight: 500;
29
- padding-left: 14px;
30
- border-left: 2px solid $primary-color;
31
- }
32
- }
33
- }
1
+ /***************
2
+ Nav List
3
+ ***************/
4
+ .table-of-contents {
5
+ &.fixed {
6
+ position: fixed;
7
+ }
8
+
9
+ li {
10
+ padding: 2px 0;
11
+ }
12
+ a {
13
+ display: inline-block;
14
+ font-weight: 300;
15
+ color: #757575;
16
+ padding-left: 16px;
17
+ height: 1.5rem;
18
+ line-height: 1.5rem;
19
+ letter-spacing: .4;
20
+ display: inline-block;
21
+
22
+ &:hover {
23
+ color: lighten(#757575, 20%);
24
+ padding-left: 15px;
25
+ border-left: 1px solid $primary-color;
26
+ }
27
+ &.active {
28
+ font-weight: 500;
29
+ padding-left: 14px;
30
+ border-left: 2px solid $primary-color;
31
+ }
32
+ }
33
+ }
@@ -1,99 +1,99 @@
1
- .tabs {
2
- &.tabs-transparent {
3
- background-color: transparent;
4
-
5
- .tab a,
6
- .tab.disabled a,
7
- .tab.disabled a:hover {
8
- color: rgba(255,255,255,0.7);
9
- }
10
-
11
- .tab a:hover,
12
- .tab a.active {
13
- color: #fff;
14
- }
15
-
16
- .indicator {
17
- background-color: #fff;
18
- }
19
- }
20
-
21
- &.tabs-fixed-width {
22
- display: flex;
23
-
24
- .tab {
25
- flex-grow: 1;
26
- }
27
- }
28
-
29
- position: relative;
30
- overflow-x: auto;
31
- overflow-y: hidden;
32
- height: 48px;
33
- width: 100%;
34
- background-color: $tabs-bg-color;
35
- margin: 0 auto;
36
- white-space: nowrap;
37
-
38
- .tab {
39
- display: inline-block;
40
- text-align: center;
41
- line-height: 48px;
42
- height: 48px;
43
- padding: 0;
44
- margin: 0;
45
- text-transform: uppercase;
46
-
47
- a {
48
- &:focus,
49
- &:focus.active {
50
- background-color: transparentize($tabs-underline-color, .8);
51
- outline: none;
52
- }
53
-
54
- &:hover,
55
- &.active {
56
- background-color: transparent;
57
- color: $tabs-text-color;
58
- }
59
-
60
- color: rgba($tabs-text-color, .7);
61
- display: block;
62
- width: 100%;
63
- height: 100%;
64
- padding: 0 24px;
65
- font-size: 14px;
66
- text-overflow: ellipsis;
67
- overflow: hidden;
68
- transition: color .28s ease, background-color .28s ease;
69
- }
70
-
71
- &.disabled a,
72
- &.disabled a:hover {
73
- color: rgba($tabs-text-color, .4);
74
- cursor: default;
75
- }
76
- }
77
- .indicator {
78
- position: absolute;
79
- bottom: 0;
80
- height: 2px;
81
- background-color: $tabs-underline-color;
82
- will-change: left, right;
83
- }
84
- }
85
-
86
- // Fixed Sidenav hide on smaller
87
- @media #{$medium-and-down} {
88
- .tabs {
89
- display: flex;
90
-
91
- .tab {
92
- flex-grow: 1;
93
-
94
- a {
95
- padding: 0 12px;
96
- }
97
- }
98
- }
99
- }
1
+ .tabs {
2
+ &.tabs-transparent {
3
+ background-color: transparent;
4
+
5
+ .tab a,
6
+ .tab.disabled a,
7
+ .tab.disabled a:hover {
8
+ color: rgba(255,255,255,0.7);
9
+ }
10
+
11
+ .tab a:hover,
12
+ .tab a.active {
13
+ color: #fff;
14
+ }
15
+
16
+ .indicator {
17
+ background-color: #fff;
18
+ }
19
+ }
20
+
21
+ &.tabs-fixed-width {
22
+ display: flex;
23
+
24
+ .tab {
25
+ flex-grow: 1;
26
+ }
27
+ }
28
+
29
+ position: relative;
30
+ overflow-x: auto;
31
+ overflow-y: hidden;
32
+ height: 48px;
33
+ width: 100%;
34
+ background-color: $tabs-bg-color;
35
+ margin: 0 auto;
36
+ white-space: nowrap;
37
+
38
+ .tab {
39
+ display: inline-block;
40
+ text-align: center;
41
+ line-height: 48px;
42
+ height: 48px;
43
+ padding: 0;
44
+ margin: 0;
45
+ text-transform: uppercase;
46
+
47
+ a {
48
+ &:focus,
49
+ &:focus.active {
50
+ background-color: transparentize($tabs-underline-color, .8);
51
+ outline: none;
52
+ }
53
+
54
+ &:hover,
55
+ &.active {
56
+ background-color: transparent;
57
+ color: $tabs-text-color;
58
+ }
59
+
60
+ color: rgba($tabs-text-color, .7);
61
+ display: block;
62
+ width: 100%;
63
+ height: 100%;
64
+ padding: 0 24px;
65
+ font-size: 14px;
66
+ text-overflow: ellipsis;
67
+ overflow: hidden;
68
+ transition: color .28s ease, background-color .28s ease;
69
+ }
70
+
71
+ &.disabled a,
72
+ &.disabled a:hover {
73
+ color: rgba($tabs-text-color, .4);
74
+ cursor: default;
75
+ }
76
+ }
77
+ .indicator {
78
+ position: absolute;
79
+ bottom: 0;
80
+ height: 2px;
81
+ background-color: $tabs-underline-color;
82
+ will-change: left, right;
83
+ }
84
+ }
85
+
86
+ // Fixed Sidenav hide on smaller
87
+ @media #{$medium-and-down} {
88
+ .tabs {
89
+ display: flex;
90
+
91
+ .tab {
92
+ flex-grow: 1;
93
+
94
+ a {
95
+ padding: 0 12px;
96
+ }
97
+ }
98
+ }
99
+ }
@@ -1,103 +1,103 @@
1
- .tap-target-wrapper {
2
- width: 800px;
3
- height: 800px;
4
- position: fixed;
5
- z-index: 1000;
6
- visibility: hidden;
7
- transition: visibility 0s .3s;
8
- }
9
-
10
- .tap-target-wrapper.open {
11
- visibility: visible;
12
- transition: visibility 0s;
13
-
14
- .tap-target {
15
- transform: scale(1);
16
- opacity: .95;
17
- transition:
18
- transform .3s cubic-bezier(.42,0,.58,1),
19
- opacity .3s cubic-bezier(.42,0,.58,1);
20
- }
21
-
22
- .tap-target-wave::before {
23
- transform: scale(1);
24
- }
25
- .tap-target-wave::after {
26
- visibility: visible;
27
- animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
28
- transition:
29
- opacity .3s,
30
- transform .3s,
31
- visibility 0s 1s;
32
- }
33
- }
34
-
35
- .tap-target {
36
- position: absolute;
37
- font-size: 1rem;
38
- border-radius: 50%;
39
- background-color: $primary-color;
40
- box-shadow: 0 20px 20px 0 rgba(0,0,0,0.14), 0 10px 50px 0 rgba(0,0,0,0.12), 0 30px 10px -20px rgba(0,0,0,0.2);
41
- width: 100%;
42
- height: 100%;
43
- opacity: 0;
44
- transform: scale(0);
45
- transition:
46
- transform .3s cubic-bezier(.42,0,.58,1),
47
- opacity .3s cubic-bezier(.42,0,.58,1);
48
- }
49
-
50
- .tap-target-content {
51
- position: relative;
52
- display: table-cell;
53
- }
54
-
55
- .tap-target-wave {
56
- &::before,
57
- &::after {
58
- content: '';
59
- display: block;
60
- position: absolute;
61
- width: 100%;
62
- height: 100%;
63
- border-radius: 50%;
64
- background-color: #ffffff;
65
- }
66
- &::before {
67
- transform: scale(0);
68
- transition: transform .3s;
69
- }
70
- &::after {
71
- visibility: hidden;
72
- transition:
73
- opacity .3s,
74
- transform .3s,
75
- visibility 0s;
76
- z-index: -1;
77
- }
78
-
79
- position: absolute;
80
- border-radius: 50%;
81
- z-index: 10001;
82
- }
83
-
84
- .tap-target-origin {
85
- &:not(.btn),
86
- &:not(.btn):hover {
87
- background: none;
88
- }
89
-
90
- top: 50%;
91
- left: 50%;
92
- transform: translate(-50%,-50%);
93
-
94
- z-index: 10002;
95
- position: absolute !important;
96
- }
97
-
98
- @media only screen and (max-width: 600px) {
99
- .tap-target, .tap-target-wrapper {
100
- width: 600px;
101
- height: 600px;
102
- }
103
- }
1
+ .tap-target-wrapper {
2
+ width: 800px;
3
+ height: 800px;
4
+ position: fixed;
5
+ z-index: 1000;
6
+ visibility: hidden;
7
+ transition: visibility 0s .3s;
8
+ }
9
+
10
+ .tap-target-wrapper.open {
11
+ visibility: visible;
12
+ transition: visibility 0s;
13
+
14
+ .tap-target {
15
+ transform: scale(1);
16
+ opacity: .95;
17
+ transition:
18
+ transform .3s cubic-bezier(.42,0,.58,1),
19
+ opacity .3s cubic-bezier(.42,0,.58,1);
20
+ }
21
+
22
+ .tap-target-wave::before {
23
+ transform: scale(1);
24
+ }
25
+ .tap-target-wave::after {
26
+ visibility: visible;
27
+ animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
28
+ transition:
29
+ opacity .3s,
30
+ transform .3s,
31
+ visibility 0s 1s;
32
+ }
33
+ }
34
+
35
+ .tap-target {
36
+ position: absolute;
37
+ font-size: 1rem;
38
+ border-radius: 50%;
39
+ background-color: $primary-color;
40
+ box-shadow: 0 20px 20px 0 rgba(0,0,0,0.14), 0 10px 50px 0 rgba(0,0,0,0.12), 0 30px 10px -20px rgba(0,0,0,0.2);
41
+ width: 100%;
42
+ height: 100%;
43
+ opacity: 0;
44
+ transform: scale(0);
45
+ transition:
46
+ transform .3s cubic-bezier(.42,0,.58,1),
47
+ opacity .3s cubic-bezier(.42,0,.58,1);
48
+ }
49
+
50
+ .tap-target-content {
51
+ position: relative;
52
+ display: table-cell;
53
+ }
54
+
55
+ .tap-target-wave {
56
+ &::before,
57
+ &::after {
58
+ content: '';
59
+ display: block;
60
+ position: absolute;
61
+ width: 100%;
62
+ height: 100%;
63
+ border-radius: 50%;
64
+ background-color: #ffffff;
65
+ }
66
+ &::before {
67
+ transform: scale(0);
68
+ transition: transform .3s;
69
+ }
70
+ &::after {
71
+ visibility: hidden;
72
+ transition:
73
+ opacity .3s,
74
+ transform .3s,
75
+ visibility 0s;
76
+ z-index: -1;
77
+ }
78
+
79
+ position: absolute;
80
+ border-radius: 50%;
81
+ z-index: 10001;
82
+ }
83
+
84
+ .tap-target-origin {
85
+ &:not(.btn),
86
+ &:not(.btn):hover {
87
+ background: none;
88
+ }
89
+
90
+ top: 50%;
91
+ left: 50%;
92
+ transform: translate(-50%,-50%);
93
+
94
+ z-index: 10002;
95
+ position: absolute !important;
96
+ }
97
+
98
+ @media only screen and (max-width: 600px) {
99
+ .tap-target, .tap-target-wrapper {
100
+ width: 600px;
101
+ height: 600px;
102
+ }
103
+ }