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
@@ -0,0 +1,85 @@
|
|
1
|
+
.dropdown-content {
|
2
|
+
&:focus {
|
3
|
+
outline: 0;
|
4
|
+
}
|
5
|
+
|
6
|
+
|
7
|
+
@extend .z-depth-1;
|
8
|
+
background-color: $dropdown-bg-color;
|
9
|
+
margin: 0;
|
10
|
+
display: none;
|
11
|
+
min-width: 100px;
|
12
|
+
overflow-y: auto;
|
13
|
+
opacity: 0;
|
14
|
+
position: absolute;
|
15
|
+
left: 0;
|
16
|
+
top: 0;
|
17
|
+
z-index: 9999; // TODO: Check if this doesn't break other things
|
18
|
+
transform-origin: 0 0;
|
19
|
+
|
20
|
+
|
21
|
+
li {
|
22
|
+
&:hover, &.active {
|
23
|
+
background-color: $dropdown-hover-bg-color;
|
24
|
+
}
|
25
|
+
|
26
|
+
&:focus {
|
27
|
+
outline: none;
|
28
|
+
}
|
29
|
+
|
30
|
+
&.divider {
|
31
|
+
min-height: 0;
|
32
|
+
height: 1px;
|
33
|
+
}
|
34
|
+
|
35
|
+
& > a, & > span {
|
36
|
+
font-size: 16px;
|
37
|
+
color: $dropdown-color;
|
38
|
+
display: block;
|
39
|
+
line-height: 22px;
|
40
|
+
padding: (($dropdown-item-height - 22) / 2) 16px;
|
41
|
+
}
|
42
|
+
|
43
|
+
& > span > label {
|
44
|
+
top: 1px;
|
45
|
+
left: 0;
|
46
|
+
height: 18px;
|
47
|
+
}
|
48
|
+
|
49
|
+
// Icon alignment override
|
50
|
+
& > a > i {
|
51
|
+
height: inherit;
|
52
|
+
line-height: inherit;
|
53
|
+
float: left;
|
54
|
+
margin: 0 24px 0 0;
|
55
|
+
width: 24px;
|
56
|
+
}
|
57
|
+
|
58
|
+
|
59
|
+
clear: both;
|
60
|
+
color: $off-black;
|
61
|
+
cursor: pointer;
|
62
|
+
min-height: $dropdown-item-height;
|
63
|
+
line-height: 1.5rem;
|
64
|
+
width: 100%;
|
65
|
+
text-align: left;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
body.keyboard-focused {
|
70
|
+
.dropdown-content li:focus {
|
71
|
+
background-color: darken($dropdown-hover-bg-color, 8%);
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
// Input field specificity bugfix
|
76
|
+
.input-field.col .dropdown-content [type="checkbox"] + label {
|
77
|
+
top: 1px;
|
78
|
+
left: 0;
|
79
|
+
height: 18px;
|
80
|
+
transform: none;
|
81
|
+
}
|
82
|
+
|
83
|
+
.dropdown-trigger {
|
84
|
+
cursor: pointer;
|
85
|
+
}
|
@@ -1,6 +1,3 @@
|
|
1
|
-
@charset "UTF-8";
|
2
|
-
|
3
|
-
|
4
1
|
//Default styles
|
5
2
|
|
6
3
|
html {
|
@@ -20,8 +17,23 @@ main {
|
|
20
17
|
// flex: 1 0 auto;
|
21
18
|
}
|
22
19
|
|
20
|
+
button,
|
21
|
+
input,
|
22
|
+
optgroup,
|
23
|
+
select,
|
24
|
+
textarea {
|
25
|
+
font-family: $font-stack;
|
26
|
+
}
|
27
|
+
|
23
28
|
ul {
|
24
|
-
|
29
|
+
&:not(.browser-default) {
|
30
|
+
padding-left: 0;
|
31
|
+
list-style-type: none;
|
32
|
+
|
33
|
+
& > li {
|
34
|
+
list-style-type: none;
|
35
|
+
}
|
36
|
+
}
|
25
37
|
}
|
26
38
|
|
27
39
|
a {
|
@@ -35,22 +47,11 @@ a {
|
|
35
47
|
|
36
48
|
// Positioning
|
37
49
|
.valign-wrapper {
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
.valign {
|
42
|
-
display: block;
|
43
|
-
}
|
50
|
+
display: flex;
|
51
|
+
align-items: center;
|
44
52
|
}
|
45
53
|
|
46
54
|
|
47
|
-
ul {
|
48
|
-
padding: 0;
|
49
|
-
li {
|
50
|
-
list-style-type: none;
|
51
|
-
}
|
52
|
-
}
|
53
|
-
|
54
55
|
// classic clearfix
|
55
56
|
.clearfix {
|
56
57
|
clear: both;
|
@@ -61,28 +62,51 @@ ul {
|
|
61
62
|
.z-depth-0 {
|
62
63
|
box-shadow: none !important;
|
63
64
|
}
|
64
|
-
|
65
|
-
|
65
|
+
|
66
|
+
/* 2dp elevation modified*/
|
67
|
+
.z-depth-1 {
|
68
|
+
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),
|
69
|
+
0 3px 1px -2px rgba(0,0,0,0.12),
|
70
|
+
0 1px 5px 0 rgba(0,0,0,0.2);
|
66
71
|
}
|
67
|
-
.z-depth-1-half{
|
68
|
-
box-shadow: 0
|
72
|
+
.z-depth-1-half {
|
73
|
+
box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
|
69
74
|
}
|
70
|
-
|
71
|
-
|
75
|
+
|
76
|
+
/* 6dp elevation modified*/
|
77
|
+
.z-depth-2 {
|
78
|
+
box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14),
|
79
|
+
0 1px 10px 0 rgba(0,0,0,0.12),
|
80
|
+
0 2px 4px -1px rgba(0,0,0,0.3);
|
72
81
|
}
|
73
|
-
|
74
|
-
|
82
|
+
|
83
|
+
/* 12dp elevation modified*/
|
84
|
+
.z-depth-3 {
|
85
|
+
box-shadow: 0 8px 17px 2px rgba(0,0,0,0.14),
|
86
|
+
0 3px 14px 2px rgba(0,0,0,0.12),
|
87
|
+
0 5px 5px -3px rgba(0, 0, 0, 0.2);
|
75
88
|
}
|
76
|
-
|
77
|
-
|
89
|
+
|
90
|
+
/* 16dp elevation */
|
91
|
+
.z-depth-4 {
|
92
|
+
box-shadow: 0 16px 24px 2px rgba(0,0,0,0.14),
|
93
|
+
0 6px 30px 5px rgba(0,0,0,0.12),
|
94
|
+
0 8px 10px -7px rgba(0,0,0,0.2);
|
78
95
|
}
|
79
|
-
|
80
|
-
|
96
|
+
|
97
|
+
/* 24dp elevation */
|
98
|
+
.z-depth-5 {
|
99
|
+
box-shadow: 0 24px 38px 3px rgba(0,0,0,0.14),
|
100
|
+
0 9px 46px 8px rgba(0,0,0,0.12),
|
101
|
+
0 11px 15px -7px rgba(0,0,0,0.2);
|
81
102
|
}
|
82
103
|
|
83
|
-
.hoverable
|
104
|
+
.hoverable {
|
84
105
|
transition: box-shadow .25s;
|
85
|
-
|
106
|
+
|
107
|
+
&:hover {
|
108
|
+
box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
109
|
+
}
|
86
110
|
}
|
87
111
|
|
88
112
|
// Dividers
|
@@ -142,14 +166,19 @@ video.responsive-video {
|
|
142
166
|
.pagination {
|
143
167
|
|
144
168
|
li {
|
145
|
-
|
146
|
-
font-size: 1.2rem;
|
147
|
-
padding: 0 10px;
|
148
|
-
line-height: 30px;
|
169
|
+
display: inline-block;
|
149
170
|
border-radius: 2px;
|
150
171
|
text-align: center;
|
151
|
-
|
152
|
-
|
172
|
+
vertical-align: top;
|
173
|
+
height: 30px;
|
174
|
+
|
175
|
+
a {
|
176
|
+
color: #444;
|
177
|
+
display: inline-block;
|
178
|
+
font-size: 1.2rem;
|
179
|
+
padding: 0 10px;
|
180
|
+
line-height: 30px;
|
181
|
+
}
|
153
182
|
|
154
183
|
&.active a { color: #fff; }
|
155
184
|
|
@@ -188,32 +217,67 @@ video.responsive-video {
|
|
188
217
|
}
|
189
218
|
}
|
190
219
|
|
220
|
+
// Breadcrumbs
|
221
|
+
.breadcrumb {
|
222
|
+
display: inline-block;
|
223
|
+
font-size: 18px;
|
224
|
+
color: rgba(255,255,255, .7);
|
225
|
+
|
226
|
+
i,
|
227
|
+
[class^="mdi-"], [class*="mdi-"],
|
228
|
+
i.material-icons {
|
229
|
+
display: inline-block;
|
230
|
+
float: left;
|
231
|
+
font-size: 24px;
|
232
|
+
}
|
233
|
+
|
234
|
+
&:before {
|
235
|
+
content: '\E5CC';
|
236
|
+
color: rgba(255,255,255, .7);
|
237
|
+
vertical-align: top;
|
238
|
+
display: inline-block;
|
239
|
+
font-family: 'Material Icons';
|
240
|
+
font-weight: normal;
|
241
|
+
font-style: normal;
|
242
|
+
font-size: 25px;
|
243
|
+
margin: 0 10px 0 8px;
|
244
|
+
-webkit-font-smoothing: antialiased;
|
245
|
+
float: left;
|
246
|
+
}
|
247
|
+
|
248
|
+
&:first-child:before {
|
249
|
+
display: none;
|
250
|
+
}
|
251
|
+
|
252
|
+
&:last-child {
|
253
|
+
color: #fff;
|
254
|
+
}
|
255
|
+
}
|
191
256
|
|
192
257
|
// Parallax
|
193
258
|
.parallax-container {
|
194
259
|
position: relative;
|
195
260
|
overflow: hidden;
|
196
261
|
height: 500px;
|
197
|
-
}
|
198
|
-
|
199
|
-
.parallax {
|
200
|
-
position: absolute;
|
201
|
-
top: 0;
|
202
|
-
left: 0;
|
203
|
-
right: 0;
|
204
|
-
bottom: 0;
|
205
|
-
z-index: -1;
|
206
262
|
|
207
|
-
|
208
|
-
display: none;
|
263
|
+
.parallax {
|
209
264
|
position: absolute;
|
210
|
-
|
265
|
+
top: 0;
|
266
|
+
left: 0;
|
267
|
+
right: 0;
|
211
268
|
bottom: 0;
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
269
|
+
z-index: -1;
|
270
|
+
|
271
|
+
img {
|
272
|
+
opacity: 0;
|
273
|
+
position: absolute;
|
274
|
+
left: 50%;
|
275
|
+
bottom: 0;
|
276
|
+
min-width: 100%;
|
277
|
+
min-height: 100%;
|
278
|
+
transform: translate3d(0,0,0);
|
279
|
+
transform: translateX(-50%);
|
280
|
+
}
|
217
281
|
}
|
218
282
|
}
|
219
283
|
|
@@ -267,29 +331,39 @@ ul.staggered-list li {
|
|
267
331
|
display: none !important;
|
268
332
|
}
|
269
333
|
}
|
334
|
+
.hide-on-extra-large-only {
|
335
|
+
@media #{$extra-large-and-up} {
|
336
|
+
display: none !important;
|
337
|
+
}
|
338
|
+
}
|
339
|
+
.show-on-extra-large {
|
340
|
+
@media #{$extra-large-and-up} {
|
341
|
+
display: block !important;
|
342
|
+
}
|
343
|
+
}
|
270
344
|
.show-on-large {
|
271
345
|
@media #{$large-and-up} {
|
272
|
-
display:
|
346
|
+
display: block !important;
|
273
347
|
}
|
274
348
|
}
|
275
349
|
.show-on-medium {
|
276
350
|
@media only screen and (min-width: $small-screen) and (max-width: $medium-screen) {
|
277
|
-
display:
|
351
|
+
display: block !important;
|
278
352
|
}
|
279
353
|
}
|
280
354
|
.show-on-small {
|
281
355
|
@media #{$small-and-down} {
|
282
|
-
display:
|
356
|
+
display: block !important;
|
283
357
|
}
|
284
358
|
}
|
285
359
|
.show-on-medium-and-up {
|
286
360
|
@media #{$medium-and-up} {
|
287
|
-
display:
|
361
|
+
display: block !important;
|
288
362
|
}
|
289
363
|
}
|
290
364
|
.show-on-medium-and-down {
|
291
365
|
@media #{$medium-and-down} {
|
292
|
-
display:
|
366
|
+
display: block !important;
|
293
367
|
}
|
294
368
|
}
|
295
369
|
|
@@ -302,18 +376,20 @@ ul.staggered-list li {
|
|
302
376
|
}
|
303
377
|
|
304
378
|
// Footer
|
305
|
-
|
306
|
-
margin-top: 20px;
|
379
|
+
.page-footer {
|
307
380
|
padding-top: 20px;
|
381
|
+
color: $footer-font-color;
|
308
382
|
background-color: $footer-bg-color;
|
309
383
|
|
310
384
|
.footer-copyright {
|
311
385
|
overflow: hidden;
|
312
|
-
height: 50px;
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
386
|
+
min-height: 50px;
|
387
|
+
display: flex;
|
388
|
+
align-items: center;
|
389
|
+
justify-content: space-between;
|
390
|
+
padding: 10px 0px;
|
391
|
+
color: $footer-copyright-font-color;
|
392
|
+
background-color: $footer-copyright-bg-color;
|
317
393
|
}
|
318
394
|
}
|
319
395
|
|
@@ -325,24 +401,27 @@ table, th, td {
|
|
325
401
|
table {
|
326
402
|
width:100%;
|
327
403
|
display: table;
|
404
|
+
border-collapse: collapse;
|
405
|
+
border-spacing: 0;
|
328
406
|
|
329
|
-
&.
|
330
|
-
|
331
|
-
|
332
|
-
}
|
333
|
-
|
334
|
-
&.striped > tbody {
|
335
|
-
> tr:nth-child(odd) {
|
336
|
-
background-color: $table-striped-color;
|
407
|
+
&.striped {
|
408
|
+
tr {
|
409
|
+
border-bottom: none;
|
337
410
|
}
|
338
411
|
|
339
|
-
>
|
340
|
-
|
412
|
+
> tbody {
|
413
|
+
> tr:nth-child(odd) {
|
414
|
+
background-color: $table-striped-color;
|
415
|
+
}
|
416
|
+
|
417
|
+
> tr > td {
|
418
|
+
border-radius: 0;
|
419
|
+
}
|
341
420
|
}
|
342
421
|
}
|
343
422
|
|
344
|
-
&.
|
345
|
-
|
423
|
+
&.highlight > tbody > tr {
|
424
|
+
transition: background-color .25s ease;
|
346
425
|
&:hover {
|
347
426
|
background-color: $table-striped-color;
|
348
427
|
}
|
@@ -351,13 +430,11 @@ table {
|
|
351
430
|
&.centered {
|
352
431
|
thead tr th, tbody tr td {
|
353
432
|
text-align: center;
|
354
|
-
|
355
433
|
}
|
356
434
|
}
|
357
|
-
|
358
435
|
}
|
359
436
|
|
360
|
-
|
437
|
+
tr {
|
361
438
|
border-bottom: 1px solid $table-border-color;
|
362
439
|
}
|
363
440
|
|
@@ -379,6 +456,10 @@ td, th{
|
|
379
456
|
display: block;
|
380
457
|
position: relative;
|
381
458
|
|
459
|
+
td:empty:before {
|
460
|
+
content: '\00a0';
|
461
|
+
}
|
462
|
+
|
382
463
|
th,
|
383
464
|
td {
|
384
465
|
margin: 0;
|
@@ -420,21 +501,16 @@ td, th{
|
|
420
501
|
min-height: 1.25em;
|
421
502
|
text-align: left;
|
422
503
|
}
|
423
|
-
tr {
|
504
|
+
tr {
|
505
|
+
border-bottom: none;
|
506
|
+
padding: 0 10px;
|
507
|
+
}
|
424
508
|
|
425
509
|
/* sort out borders */
|
426
510
|
thead {
|
427
511
|
border: 0;
|
428
512
|
border-right: 1px solid $table-border-color;
|
429
513
|
}
|
430
|
-
|
431
|
-
&.bordered {
|
432
|
-
th { border-bottom: 0; border-left: 0; }
|
433
|
-
td { border-left: 0; border-right: 0; border-bottom: 0; }
|
434
|
-
tr { border: 0; }
|
435
|
-
tbody tr { border-right: 1px solid $table-border-color; }
|
436
|
-
}
|
437
|
-
|
438
514
|
}
|
439
515
|
|
440
516
|
}
|
@@ -450,7 +526,7 @@ td, th{
|
|
450
526
|
|
451
527
|
.collection-item {
|
452
528
|
background-color: $collection-bg-color;
|
453
|
-
line-height:
|
529
|
+
line-height: $collection-line-height;
|
454
530
|
padding: 10px 20px;
|
455
531
|
margin: 0;
|
456
532
|
border-bottom: 1px solid $collection-border-color;
|
@@ -461,7 +537,9 @@ td, th{
|
|
461
537
|
padding-left: 72px;
|
462
538
|
position: relative;
|
463
539
|
|
464
|
-
.
|
540
|
+
// Don't style circles inside preloader classes.
|
541
|
+
&:not(.circle-clipper) > .circle,
|
542
|
+
:not(.circle-clipper) > .circle {
|
465
543
|
position: absolute;
|
466
544
|
width: 42px;
|
467
545
|
height: 42px;
|
@@ -503,12 +581,16 @@ td, th{
|
|
503
581
|
&.active {
|
504
582
|
background-color: $collection-active-bg-color;
|
505
583
|
color: $collection-active-color;
|
584
|
+
|
585
|
+
.secondary-content {
|
586
|
+
color: #fff;
|
587
|
+
}
|
506
588
|
}
|
507
589
|
}
|
508
590
|
a.collection-item{
|
509
591
|
display: block;
|
510
|
-
|
511
|
-
color: $
|
592
|
+
transition: .25s;
|
593
|
+
color: $collection-link-color;
|
512
594
|
&:not(.active) {
|
513
595
|
&:hover {
|
514
596
|
background-color: $collection-hover-bg-color;
|
@@ -536,42 +618,19 @@ td, th{
|
|
536
618
|
float: right;
|
537
619
|
color: $secondary-color;
|
538
620
|
}
|
621
|
+
.collapsible .collection {
|
622
|
+
margin: 0;
|
623
|
+
border: none;
|
624
|
+
}
|
539
625
|
|
540
626
|
|
541
|
-
// Badges
|
542
|
-
span.badge {
|
543
|
-
min-width: 3rem;
|
544
|
-
padding: 0 6px;
|
545
|
-
text-align: center;
|
546
|
-
font-size: 1rem;
|
547
|
-
line-height: inherit;
|
548
|
-
color: color('grey', 'darken-1');
|
549
|
-
position: absolute;
|
550
|
-
right: 15px;
|
551
|
-
@include box-sizing(border-box);
|
552
|
-
|
553
|
-
&.new {
|
554
|
-
font-weight: 300;
|
555
|
-
font-size: 0.8rem;
|
556
|
-
color: #fff;
|
557
|
-
background-color: $badge-bg-color;
|
558
|
-
border-radius: 2px;
|
559
|
-
}
|
560
|
-
&.new:after {
|
561
|
-
content: " new";
|
562
|
-
}
|
563
|
-
}
|
564
627
|
|
565
628
|
// Responsive Videos
|
566
629
|
.video-container {
|
567
630
|
position: relative;
|
568
631
|
padding-bottom: 56.25%;
|
569
|
-
padding-top: 30px;
|
570
632
|
height: 0;
|
571
633
|
overflow: hidden;
|
572
|
-
&.no-controls {
|
573
|
-
padding-top: 0;
|
574
|
-
}
|
575
634
|
|
576
635
|
iframe, object, embed {
|
577
636
|
position: absolute;
|
@@ -594,12 +653,11 @@ span.badge {
|
|
594
653
|
overflow: hidden;
|
595
654
|
.determinate {
|
596
655
|
position: absolute;
|
597
|
-
background-color: inherit;
|
598
656
|
top: 0;
|
599
657
|
left: 0;
|
600
658
|
bottom: 0;
|
601
659
|
background-color: $progress-bar-color;
|
602
|
-
|
660
|
+
transition: width .3s linear;
|
603
661
|
}
|
604
662
|
.indeterminate {
|
605
663
|
background-color: $progress-bar-color;
|
@@ -612,7 +670,7 @@ span.badge {
|
|
612
670
|
bottom: 0;
|
613
671
|
will-change: left, right;
|
614
672
|
// Custom bezier
|
615
|
-
|
673
|
+
animation: indeterminate 2.1s cubic-bezier(0.650, 0.815, 0.735, 0.395) infinite;
|
616
674
|
|
617
675
|
}
|
618
676
|
&:after {
|
@@ -624,34 +682,34 @@ span.badge {
|
|
624
682
|
bottom: 0;
|
625
683
|
will-change: left, right;
|
626
684
|
// Custom bezier
|
627
|
-
|
628
|
-
|
685
|
+
animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.840, 0.440, 1.000) infinite;
|
686
|
+
animation-delay: 1.15s;
|
629
687
|
}
|
630
688
|
}
|
631
689
|
}
|
632
|
-
@
|
690
|
+
@keyframes indeterminate {
|
633
691
|
0% {
|
634
|
-
|
635
|
-
|
636
|
-
|
692
|
+
left: -35%;
|
693
|
+
right:100%;
|
694
|
+
}
|
637
695
|
60% {
|
638
|
-
|
639
|
-
|
696
|
+
left: 100%;
|
697
|
+
right: -90%;
|
640
698
|
}
|
641
699
|
100% {
|
642
|
-
|
643
|
-
|
700
|
+
left: 100%;
|
701
|
+
right: -90%;
|
644
702
|
}
|
645
703
|
}
|
646
704
|
|
647
|
-
@
|
705
|
+
@keyframes indeterminate-short {
|
648
706
|
0% {
|
649
|
-
|
650
|
-
|
707
|
+
left: -200%;
|
708
|
+
right: 100%;
|
651
709
|
}
|
652
710
|
60% {
|
653
|
-
|
654
|
-
|
711
|
+
left: 107%;
|
712
|
+
right: -8%;
|
655
713
|
}
|
656
714
|
100% {
|
657
715
|
left: 107%;
|
@@ -688,11 +746,6 @@ span.badge {
|
|
688
746
|
|
689
747
|
// No Text Select
|
690
748
|
.no-select {
|
691
|
-
-webkit-touch-callout: none;
|
692
|
-
-webkit-user-select: none;
|
693
|
-
-khtml-user-select: none;
|
694
|
-
-moz-user-select: none;
|
695
|
-
-ms-user-select: none;
|
696
749
|
user-select: none;
|
697
750
|
}
|
698
751
|
|