materialize-sass 0.97.0 → 1.0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitattributes +1 -0
- data/.gitignore +3 -0
- data/README.md +48 -10
- data/Rakefile +129 -1
- data/assets/javascripts/materialize/anime.min.js +417 -0
- data/assets/javascripts/materialize/autocomplete.js +504 -0
- data/assets/javascripts/materialize/buttons.js +409 -0
- data/assets/javascripts/materialize/cards.js +34 -0
- data/assets/javascripts/materialize/carousel.js +797 -0
- data/assets/javascripts/materialize/cash.js +990 -0
- data/assets/javascripts/materialize/characterCounter.js +180 -0
- data/assets/javascripts/materialize/chips.js +564 -0
- data/assets/javascripts/materialize/collapsible.js +337 -0
- data/assets/javascripts/materialize/component.js +57 -0
- data/assets/javascripts/materialize/datepicker.js +935 -0
- data/assets/javascripts/materialize/dropdown.js +659 -0
- data/assets/javascripts/materialize/extras/nouislider.js +2147 -0
- data/assets/javascripts/materialize/extras/nouislider.min.js +1 -0
- data/assets/javascripts/materialize/forms.js +244 -0
- data/assets/javascripts/materialize/global.js +408 -0
- data/assets/javascripts/materialize/materialbox.js +513 -0
- data/assets/javascripts/materialize/modal.js +449 -0
- data/assets/javascripts/materialize/parallax.js +173 -0
- data/assets/javascripts/materialize/pushpin.js +179 -0
- data/assets/javascripts/materialize/range.js +310 -0
- data/assets/javascripts/materialize/scrollspy.js +328 -0
- data/assets/javascripts/materialize/select.js +497 -0
- data/assets/javascripts/materialize/sidenav.js +655 -0
- data/assets/javascripts/materialize/slider.js +424 -0
- data/assets/javascripts/materialize/tabs.js +476 -0
- data/assets/javascripts/materialize/tapTarget.js +364 -0
- data/assets/javascripts/materialize/timepicker.js +647 -0
- data/assets/javascripts/materialize/toasts.js +355 -0
- data/assets/javascripts/materialize/tooltip.js +351 -0
- data/{app/assets → assets}/javascripts/materialize/waves.js +42 -47
- data/assets/javascripts/materialize-sprockets.js +29 -0
- data/assets/javascripts/materialize.js +12374 -0
- data/assets/stylesheets/materialize/components/_badges.scss +55 -0
- data/assets/stylesheets/materialize/components/_buttons.scss +322 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_cards.scss +72 -29
- data/assets/stylesheets/materialize/components/_carousel.scss +90 -0
- data/assets/stylesheets/materialize/components/_chips.scss +90 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_collapsible.scss +23 -17
- data/assets/stylesheets/materialize/components/_color-classes.scss +32 -0
- data/{app/assets/stylesheets/materialize/components/_color.scss → assets/stylesheets/materialize/components/_color-variables.scss} +22 -64
- data/assets/stylesheets/materialize/components/_datepicker.scss +191 -0
- data/assets/stylesheets/materialize/components/_dropdown.scss +85 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_global.scss +197 -144
- data/{app/assets → assets}/stylesheets/materialize/components/_grid.scss +57 -18
- data/assets/stylesheets/materialize/components/_icons-material-design.scss +5 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_materialbox.scss +15 -13
- data/{app/assets → assets}/stylesheets/materialize/components/_modal.scss +18 -14
- data/{app/assets → assets}/stylesheets/materialize/components/_navbar.scss +89 -25
- data/assets/stylesheets/materialize/components/_normalize.scss +447 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_preloader.scss +5 -3
- data/assets/stylesheets/materialize/components/_pulse.scss +34 -0
- data/assets/stylesheets/materialize/components/_sidenav.scss +208 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_slider.scss +2 -2
- data/{app/assets → assets}/stylesheets/materialize/components/_table_of_contents.scss +5 -5
- data/assets/stylesheets/materialize/components/_tabs.scss +99 -0
- data/assets/stylesheets/materialize/components/_tapTarget.scss +103 -0
- data/assets/stylesheets/materialize/components/_timepicker.scss +183 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_toast.scss +17 -22
- data/assets/stylesheets/materialize/components/_tooltip.scss +32 -0
- data/assets/stylesheets/materialize/components/_transitions.scss +13 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_typography.scss +11 -9
- data/assets/stylesheets/materialize/components/_variables.scss +349 -0
- data/assets/stylesheets/materialize/components/_waves.scss +114 -0
- data/assets/stylesheets/materialize/components/forms/_checkboxes.scss +200 -0
- data/assets/stylesheets/materialize/components/forms/_file-input.scss +44 -0
- data/assets/stylesheets/materialize/components/forms/_forms.scss +22 -0
- data/assets/stylesheets/materialize/components/forms/_input-fields.scss +354 -0
- data/assets/stylesheets/materialize/components/forms/_radio-buttons.scss +115 -0
- data/assets/stylesheets/materialize/components/forms/_range.scss +161 -0
- data/assets/stylesheets/materialize/components/forms/_select.scss +190 -0
- data/assets/stylesheets/materialize/components/forms/_switches.scss +89 -0
- data/assets/stylesheets/materialize/extras/nouislider.css +406 -0
- data/{app/assets → assets}/stylesheets/materialize.scss +13 -10
- data/lib/materialize-sass/engine.rb +11 -6
- data/lib/materialize-sass/helpers.rb +38 -0
- data/lib/materialize-sass/version.rb +1 -1
- data/lib/materialize-sass.rb +13 -28
- data/materialize-sass.gemspec +5 -5
- metadata +97 -105
- data/app/assets/fonts/material-design-icons/LICENSE.txt +0 -428
- data/app/assets/fonts/material-design-icons/Material-Design-Icons.eot +0 -0
- data/app/assets/fonts/material-design-icons/Material-Design-Icons.svg +0 -769
- data/app/assets/fonts/material-design-icons/Material-Design-Icons.ttf +0 -0
- data/app/assets/fonts/material-design-icons/Material-Design-Icons.woff +0 -0
- data/app/assets/fonts/material-design-icons/Material-Design-Icons.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
- data/app/assets/javascripts/materialize/animation.js +0 -9
- data/app/assets/javascripts/materialize/buttons.js +0 -61
- data/app/assets/javascripts/materialize/cards.js +0 -27
- data/app/assets/javascripts/materialize/character_counter.js +0 -59
- data/app/assets/javascripts/materialize/collapsible.js +0 -139
- data/app/assets/javascripts/materialize/date_picker/picker.date.js +0 -1430
- data/app/assets/javascripts/materialize/date_picker/picker.js +0 -1123
- data/app/assets/javascripts/materialize/dropdown.js +0 -178
- data/app/assets/javascripts/materialize/forms.js +0 -456
- data/app/assets/javascripts/materialize/global.js +0 -36
- data/app/assets/javascripts/materialize/hammer.min.js +0 -1
- data/app/assets/javascripts/materialize/init.js +0 -136
- data/app/assets/javascripts/materialize/jquery.easing.1.3.js +0 -205
- data/app/assets/javascripts/materialize/jquery.hammer.js +0 -33
- data/app/assets/javascripts/materialize/jquery.timeago.min.js +0 -1
- data/app/assets/javascripts/materialize/leanModal.js +0 -178
- data/app/assets/javascripts/materialize/materialbox.js +0 -249
- data/app/assets/javascripts/materialize/parallax.js +0 -58
- data/app/assets/javascripts/materialize/prism.js +0 -8
- data/app/assets/javascripts/materialize/pushpin.js +0 -62
- data/app/assets/javascripts/materialize/scrollFire.js +0 -44
- data/app/assets/javascripts/materialize/scrollspy.js +0 -284
- data/app/assets/javascripts/materialize/sideNav.js +0 -312
- data/app/assets/javascripts/materialize/slider.js +0 -301
- data/app/assets/javascripts/materialize/tabs.js +0 -136
- data/app/assets/javascripts/materialize/toasts.js +0 -125
- data/app/assets/javascripts/materialize/tooltip.js +0 -166
- data/app/assets/javascripts/materialize/transitions.js +0 -154
- data/app/assets/javascripts/materialize/velocity.min.js +0 -4
- data/app/assets/javascripts/materialize-sprockets.js +0 -27
- data/app/assets/javascripts/materialize.js +0 -6159
- data/app/assets/stylesheets/materialize/components/_buttons.scss +0 -157
- data/app/assets/stylesheets/materialize/components/_dropdown.scss +0 -40
- data/app/assets/stylesheets/materialize/components/_form.scss +0 -886
- data/app/assets/stylesheets/materialize/components/_icons-material-design.scss +0 -3257
- data/app/assets/stylesheets/materialize/components/_mixins.scss +0 -5
- data/app/assets/stylesheets/materialize/components/_normalize.scss +0 -427
- data/app/assets/stylesheets/materialize/components/_prefixer.scss +0 -376
- data/app/assets/stylesheets/materialize/components/_roboto.scss +0 -38
- data/app/assets/stylesheets/materialize/components/_sideNav.scss +0 -111
- data/app/assets/stylesheets/materialize/components/_tabs.scss +0 -47
- data/app/assets/stylesheets/materialize/components/_tooltip.scss +0 -34
- data/app/assets/stylesheets/materialize/components/_variables.scss +0 -152
- data/app/assets/stylesheets/materialize/components/_waves.scss +0 -167
- data/app/assets/stylesheets/materialize/components/date_picker/_default.date.scss +0 -435
- data/app/assets/stylesheets/materialize/components/date_picker/_default.scss +0 -201
- data/app/assets/stylesheets/materialize/components/date_picker/_default.time.scss +0 -125
@@ -1,157 +0,0 @@
|
|
1
|
-
// shared styles
|
2
|
-
.btn, .btn-flat {
|
3
|
-
border: none;
|
4
|
-
border-radius: 2px;
|
5
|
-
display: inline-block;
|
6
|
-
height: $button-height;
|
7
|
-
line-height: $button-line-height;
|
8
|
-
// margin-bottom: 15px;
|
9
|
-
outline: 0;
|
10
|
-
padding: 0 2rem;
|
11
|
-
text-transform: uppercase;
|
12
|
-
vertical-align: middle;
|
13
|
-
// Gets rid of tap active state
|
14
|
-
-webkit-tap-highlight-color: transparent;
|
15
|
-
}
|
16
|
-
// Disabled shared style
|
17
|
-
.btn.disabled, .btn-floating.disabled, .btn-large.disabled, .btn:disabled, .btn-large:disabled, .btn-floating:disabled {
|
18
|
-
background-color: $button-bg-color-disabled !important;
|
19
|
-
box-shadow: none;
|
20
|
-
color: $button-color-disabled !important;
|
21
|
-
cursor: default;
|
22
|
-
* {
|
23
|
-
pointer-events: none;
|
24
|
-
}
|
25
|
-
|
26
|
-
&:hover {
|
27
|
-
background-color: $button-bg-color-disabled;
|
28
|
-
color: $button-color-disabled;
|
29
|
-
}
|
30
|
-
}
|
31
|
-
// Shared icon styles
|
32
|
-
.btn, .btn-floating, .btn-large, .btn-flat {
|
33
|
-
i {
|
34
|
-
font-size: $button-font-size-shared;
|
35
|
-
line-height: inherit;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
// Raised Button
|
40
|
-
.btn {
|
41
|
-
text-decoration:none;
|
42
|
-
color: $button-color-raised;
|
43
|
-
background-color: $button-color;
|
44
|
-
text-align: center;
|
45
|
-
letter-spacing: .5px;
|
46
|
-
@extend .z-depth-1;
|
47
|
-
@include transition(.2s ease-out);
|
48
|
-
cursor: pointer;
|
49
|
-
|
50
|
-
&:hover {
|
51
|
-
background-color: lighten($button-color, 5%);
|
52
|
-
@extend .z-depth-1-half;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
|
56
|
-
// Floating button
|
57
|
-
.btn-floating {
|
58
|
-
display: inline-block;
|
59
|
-
color: $button-color-raised;
|
60
|
-
position: relative;
|
61
|
-
overflow: hidden;
|
62
|
-
z-index: 1;
|
63
|
-
width: $button-floating-size;
|
64
|
-
height: $button-floating-size;
|
65
|
-
line-height: $button-floating-size;
|
66
|
-
padding: 0;
|
67
|
-
background-color: $button-color;
|
68
|
-
border-radius: 50%;
|
69
|
-
@extend .z-depth-1;
|
70
|
-
transition: .3s;
|
71
|
-
cursor: pointer;
|
72
|
-
vertical-align: middle;
|
73
|
-
|
74
|
-
i {
|
75
|
-
width: inherit;
|
76
|
-
display: inline-block;
|
77
|
-
text-align: center;
|
78
|
-
color: $button-color-raised;
|
79
|
-
font-size: $button-large-icon-font-size;
|
80
|
-
line-height: $button-floating-size;
|
81
|
-
}
|
82
|
-
|
83
|
-
&:hover {
|
84
|
-
@extend .z-depth-1-half;
|
85
|
-
}
|
86
|
-
&:before {
|
87
|
-
border-radius: 0;
|
88
|
-
}
|
89
|
-
&.btn-large {
|
90
|
-
width: $button-floating-size * 1.5;
|
91
|
-
height: $button-floating-size * 1.5;
|
92
|
-
i{
|
93
|
-
line-height: $button-floating-size * 1.5;
|
94
|
-
}
|
95
|
-
}
|
96
|
-
|
97
|
-
}
|
98
|
-
// button fix
|
99
|
-
button.btn-floating {
|
100
|
-
border: none;
|
101
|
-
}
|
102
|
-
|
103
|
-
// Fixed Action Button
|
104
|
-
.fixed-action-btn {
|
105
|
-
position: fixed;
|
106
|
-
right: 23px;
|
107
|
-
bottom: 23px;
|
108
|
-
padding-top: 15px;
|
109
|
-
margin-bottom: 0;
|
110
|
-
z-index: 998;
|
111
|
-
|
112
|
-
ul {
|
113
|
-
left: 0;
|
114
|
-
right: 0;
|
115
|
-
text-align: center;
|
116
|
-
position: absolute;
|
117
|
-
bottom: 64px;
|
118
|
-
margin: 0;
|
119
|
-
|
120
|
-
li {
|
121
|
-
margin-bottom: 15px;
|
122
|
-
}
|
123
|
-
|
124
|
-
a.btn-floating {
|
125
|
-
opacity: 0;
|
126
|
-
}
|
127
|
-
}
|
128
|
-
}
|
129
|
-
|
130
|
-
// Flat button
|
131
|
-
.btn-flat {
|
132
|
-
box-shadow: none;
|
133
|
-
background-color: transparent;
|
134
|
-
color: $button-color-flat;
|
135
|
-
cursor: pointer;
|
136
|
-
|
137
|
-
&.disabled {
|
138
|
-
color: lighten(#999, 10%);
|
139
|
-
cursor: default;
|
140
|
-
}
|
141
|
-
}
|
142
|
-
|
143
|
-
// Large button
|
144
|
-
.btn-large {
|
145
|
-
@extend .btn;
|
146
|
-
height: $button-height * 1.5;
|
147
|
-
line-height: 56px;
|
148
|
-
|
149
|
-
i {
|
150
|
-
font-size: $button-large-icon-font-size;
|
151
|
-
}
|
152
|
-
}
|
153
|
-
|
154
|
-
// Block button
|
155
|
-
.btn-block {
|
156
|
-
display: block;
|
157
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
.dropdown-content {
|
2
|
-
@extend .z-depth-1;
|
3
|
-
background-color: $dropdown-bg-color;
|
4
|
-
margin: 0;
|
5
|
-
display: none;
|
6
|
-
min-width: 100px;
|
7
|
-
max-height: 650px;
|
8
|
-
overflow-y: auto;
|
9
|
-
opacity: 0;
|
10
|
-
position: absolute;
|
11
|
-
z-index: 999;
|
12
|
-
will-change: width, height;
|
13
|
-
|
14
|
-
li {
|
15
|
-
clear: both;
|
16
|
-
color: $off-black;
|
17
|
-
cursor: pointer;
|
18
|
-
line-height: 1.5rem;
|
19
|
-
width: 100%;
|
20
|
-
text-align: left;
|
21
|
-
text-transform: none;
|
22
|
-
|
23
|
-
&:hover, &.active {
|
24
|
-
background-color: $dropdown-hover-bg-color;
|
25
|
-
}
|
26
|
-
|
27
|
-
& > a, & > span {
|
28
|
-
font-size: 1.2rem;
|
29
|
-
color: $dropdown-color;
|
30
|
-
display: block;
|
31
|
-
padding: 1rem 1rem;
|
32
|
-
}
|
33
|
-
|
34
|
-
// Icon alignment override
|
35
|
-
& > a > i {
|
36
|
-
height: inherit;
|
37
|
-
line-height: inherit;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
}
|