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.
Files changed (153) hide show
  1. checksums.yaml +5 -5
  2. data/.gitattributes +1 -0
  3. data/.gitignore +3 -0
  4. data/README.md +48 -10
  5. data/Rakefile +129 -1
  6. data/assets/javascripts/materialize/anime.min.js +417 -0
  7. data/assets/javascripts/materialize/autocomplete.js +504 -0
  8. data/assets/javascripts/materialize/buttons.js +409 -0
  9. data/assets/javascripts/materialize/cards.js +34 -0
  10. data/assets/javascripts/materialize/carousel.js +797 -0
  11. data/assets/javascripts/materialize/cash.js +990 -0
  12. data/assets/javascripts/materialize/characterCounter.js +180 -0
  13. data/assets/javascripts/materialize/chips.js +564 -0
  14. data/assets/javascripts/materialize/collapsible.js +337 -0
  15. data/assets/javascripts/materialize/component.js +57 -0
  16. data/assets/javascripts/materialize/datepicker.js +935 -0
  17. data/assets/javascripts/materialize/dropdown.js +659 -0
  18. data/assets/javascripts/materialize/extras/nouislider.js +2147 -0
  19. data/assets/javascripts/materialize/extras/nouislider.min.js +1 -0
  20. data/assets/javascripts/materialize/forms.js +244 -0
  21. data/assets/javascripts/materialize/global.js +408 -0
  22. data/assets/javascripts/materialize/materialbox.js +513 -0
  23. data/assets/javascripts/materialize/modal.js +449 -0
  24. data/assets/javascripts/materialize/parallax.js +173 -0
  25. data/assets/javascripts/materialize/pushpin.js +179 -0
  26. data/assets/javascripts/materialize/range.js +310 -0
  27. data/assets/javascripts/materialize/scrollspy.js +328 -0
  28. data/assets/javascripts/materialize/select.js +497 -0
  29. data/assets/javascripts/materialize/sidenav.js +655 -0
  30. data/assets/javascripts/materialize/slider.js +424 -0
  31. data/assets/javascripts/materialize/tabs.js +476 -0
  32. data/assets/javascripts/materialize/tapTarget.js +364 -0
  33. data/assets/javascripts/materialize/timepicker.js +647 -0
  34. data/assets/javascripts/materialize/toasts.js +355 -0
  35. data/assets/javascripts/materialize/tooltip.js +351 -0
  36. data/{app/assets → assets}/javascripts/materialize/waves.js +42 -47
  37. data/assets/javascripts/materialize-sprockets.js +29 -0
  38. data/assets/javascripts/materialize.js +12374 -0
  39. data/assets/stylesheets/materialize/components/_badges.scss +55 -0
  40. data/assets/stylesheets/materialize/components/_buttons.scss +322 -0
  41. data/{app/assets → assets}/stylesheets/materialize/components/_cards.scss +72 -29
  42. data/assets/stylesheets/materialize/components/_carousel.scss +90 -0
  43. data/assets/stylesheets/materialize/components/_chips.scss +90 -0
  44. data/{app/assets → assets}/stylesheets/materialize/components/_collapsible.scss +23 -17
  45. data/assets/stylesheets/materialize/components/_color-classes.scss +32 -0
  46. data/{app/assets/stylesheets/materialize/components/_color.scss → assets/stylesheets/materialize/components/_color-variables.scss} +22 -64
  47. data/assets/stylesheets/materialize/components/_datepicker.scss +191 -0
  48. data/assets/stylesheets/materialize/components/_dropdown.scss +85 -0
  49. data/{app/assets → assets}/stylesheets/materialize/components/_global.scss +197 -144
  50. data/{app/assets → assets}/stylesheets/materialize/components/_grid.scss +57 -18
  51. data/assets/stylesheets/materialize/components/_icons-material-design.scss +5 -0
  52. data/{app/assets → assets}/stylesheets/materialize/components/_materialbox.scss +15 -13
  53. data/{app/assets → assets}/stylesheets/materialize/components/_modal.scss +18 -14
  54. data/{app/assets → assets}/stylesheets/materialize/components/_navbar.scss +89 -25
  55. data/assets/stylesheets/materialize/components/_normalize.scss +447 -0
  56. data/{app/assets → assets}/stylesheets/materialize/components/_preloader.scss +5 -3
  57. data/assets/stylesheets/materialize/components/_pulse.scss +34 -0
  58. data/assets/stylesheets/materialize/components/_sidenav.scss +208 -0
  59. data/{app/assets → assets}/stylesheets/materialize/components/_slider.scss +2 -2
  60. data/{app/assets → assets}/stylesheets/materialize/components/_table_of_contents.scss +5 -5
  61. data/assets/stylesheets/materialize/components/_tabs.scss +99 -0
  62. data/assets/stylesheets/materialize/components/_tapTarget.scss +103 -0
  63. data/assets/stylesheets/materialize/components/_timepicker.scss +183 -0
  64. data/{app/assets → assets}/stylesheets/materialize/components/_toast.scss +17 -22
  65. data/assets/stylesheets/materialize/components/_tooltip.scss +32 -0
  66. data/assets/stylesheets/materialize/components/_transitions.scss +13 -0
  67. data/{app/assets → assets}/stylesheets/materialize/components/_typography.scss +11 -9
  68. data/assets/stylesheets/materialize/components/_variables.scss +349 -0
  69. data/assets/stylesheets/materialize/components/_waves.scss +114 -0
  70. data/assets/stylesheets/materialize/components/forms/_checkboxes.scss +200 -0
  71. data/assets/stylesheets/materialize/components/forms/_file-input.scss +44 -0
  72. data/assets/stylesheets/materialize/components/forms/_forms.scss +22 -0
  73. data/assets/stylesheets/materialize/components/forms/_input-fields.scss +354 -0
  74. data/assets/stylesheets/materialize/components/forms/_radio-buttons.scss +115 -0
  75. data/assets/stylesheets/materialize/components/forms/_range.scss +161 -0
  76. data/assets/stylesheets/materialize/components/forms/_select.scss +190 -0
  77. data/assets/stylesheets/materialize/components/forms/_switches.scss +89 -0
  78. data/assets/stylesheets/materialize/extras/nouislider.css +406 -0
  79. data/{app/assets → assets}/stylesheets/materialize.scss +13 -10
  80. data/lib/materialize-sass/engine.rb +11 -6
  81. data/lib/materialize-sass/helpers.rb +38 -0
  82. data/lib/materialize-sass/version.rb +1 -1
  83. data/lib/materialize-sass.rb +13 -28
  84. data/materialize-sass.gemspec +5 -5
  85. metadata +97 -105
  86. data/app/assets/fonts/material-design-icons/LICENSE.txt +0 -428
  87. data/app/assets/fonts/material-design-icons/Material-Design-Icons.eot +0 -0
  88. data/app/assets/fonts/material-design-icons/Material-Design-Icons.svg +0 -769
  89. data/app/assets/fonts/material-design-icons/Material-Design-Icons.ttf +0 -0
  90. data/app/assets/fonts/material-design-icons/Material-Design-Icons.woff +0 -0
  91. data/app/assets/fonts/material-design-icons/Material-Design-Icons.woff2 +0 -0
  92. data/app/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
  93. data/app/assets/fonts/roboto/Roboto-Bold.woff +0 -0
  94. data/app/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
  95. data/app/assets/fonts/roboto/Roboto-Light.ttf +0 -0
  96. data/app/assets/fonts/roboto/Roboto-Light.woff +0 -0
  97. data/app/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
  98. data/app/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
  99. data/app/assets/fonts/roboto/Roboto-Medium.woff +0 -0
  100. data/app/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
  101. data/app/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
  102. data/app/assets/fonts/roboto/Roboto-Regular.woff +0 -0
  103. data/app/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
  104. data/app/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
  105. data/app/assets/fonts/roboto/Roboto-Thin.woff +0 -0
  106. data/app/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
  107. data/app/assets/javascripts/materialize/animation.js +0 -9
  108. data/app/assets/javascripts/materialize/buttons.js +0 -61
  109. data/app/assets/javascripts/materialize/cards.js +0 -27
  110. data/app/assets/javascripts/materialize/character_counter.js +0 -59
  111. data/app/assets/javascripts/materialize/collapsible.js +0 -139
  112. data/app/assets/javascripts/materialize/date_picker/picker.date.js +0 -1430
  113. data/app/assets/javascripts/materialize/date_picker/picker.js +0 -1123
  114. data/app/assets/javascripts/materialize/dropdown.js +0 -178
  115. data/app/assets/javascripts/materialize/forms.js +0 -456
  116. data/app/assets/javascripts/materialize/global.js +0 -36
  117. data/app/assets/javascripts/materialize/hammer.min.js +0 -1
  118. data/app/assets/javascripts/materialize/init.js +0 -136
  119. data/app/assets/javascripts/materialize/jquery.easing.1.3.js +0 -205
  120. data/app/assets/javascripts/materialize/jquery.hammer.js +0 -33
  121. data/app/assets/javascripts/materialize/jquery.timeago.min.js +0 -1
  122. data/app/assets/javascripts/materialize/leanModal.js +0 -178
  123. data/app/assets/javascripts/materialize/materialbox.js +0 -249
  124. data/app/assets/javascripts/materialize/parallax.js +0 -58
  125. data/app/assets/javascripts/materialize/prism.js +0 -8
  126. data/app/assets/javascripts/materialize/pushpin.js +0 -62
  127. data/app/assets/javascripts/materialize/scrollFire.js +0 -44
  128. data/app/assets/javascripts/materialize/scrollspy.js +0 -284
  129. data/app/assets/javascripts/materialize/sideNav.js +0 -312
  130. data/app/assets/javascripts/materialize/slider.js +0 -301
  131. data/app/assets/javascripts/materialize/tabs.js +0 -136
  132. data/app/assets/javascripts/materialize/toasts.js +0 -125
  133. data/app/assets/javascripts/materialize/tooltip.js +0 -166
  134. data/app/assets/javascripts/materialize/transitions.js +0 -154
  135. data/app/assets/javascripts/materialize/velocity.min.js +0 -4
  136. data/app/assets/javascripts/materialize-sprockets.js +0 -27
  137. data/app/assets/javascripts/materialize.js +0 -6159
  138. data/app/assets/stylesheets/materialize/components/_buttons.scss +0 -157
  139. data/app/assets/stylesheets/materialize/components/_dropdown.scss +0 -40
  140. data/app/assets/stylesheets/materialize/components/_form.scss +0 -886
  141. data/app/assets/stylesheets/materialize/components/_icons-material-design.scss +0 -3257
  142. data/app/assets/stylesheets/materialize/components/_mixins.scss +0 -5
  143. data/app/assets/stylesheets/materialize/components/_normalize.scss +0 -427
  144. data/app/assets/stylesheets/materialize/components/_prefixer.scss +0 -376
  145. data/app/assets/stylesheets/materialize/components/_roboto.scss +0 -38
  146. data/app/assets/stylesheets/materialize/components/_sideNav.scss +0 -111
  147. data/app/assets/stylesheets/materialize/components/_tabs.scss +0 -47
  148. data/app/assets/stylesheets/materialize/components/_tooltip.scss +0 -34
  149. data/app/assets/stylesheets/materialize/components/_variables.scss +0 -152
  150. data/app/assets/stylesheets/materialize/components/_waves.scss +0 -167
  151. data/app/assets/stylesheets/materialize/components/date_picker/_default.date.scss +0 -435
  152. data/app/assets/stylesheets/materialize/components/date_picker/_default.scss +0 -201
  153. 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
- list-style-type: none;
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
- @include flexbox();
39
- @include align(center);
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
- .z-depth-1{
65
- box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
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 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
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
- .z-depth-2{
71
- box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
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
- .z-depth-3{
74
- box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
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
- .z-depth-4{
77
- box-shadow: 0 16px 28px 0 rgba(0, 0, 0, 0.22), 0 25px 55px 0 rgba(0, 0, 0, 0.21);
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
- .z-depth-5{
80
- box-shadow: 0 27px 24px 0 rgba(0, 0, 0, 0.2), 0 40px 77px 0 rgba(0, 0, 0, 0.22);
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:hover {
104
+ .hoverable {
84
105
  transition: box-shadow .25s;
85
- box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
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
- float: left;
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
- a { color: #444; }
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
- img {
208
- display: none;
263
+ .parallax {
209
264
  position: absolute;
210
- left: 50%;
265
+ top: 0;
266
+ left: 0;
267
+ right: 0;
211
268
  bottom: 0;
212
- min-width: 100%;
213
- min-height: 100%;
214
- -webkit-transform: translate3d(0,0,0);
215
- transform: translate3d(0,0,0);
216
- transform: translateX(-50%);
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: initial !important;
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: initial !important;
351
+ display: block !important;
278
352
  }
279
353
  }
280
354
  .show-on-small {
281
355
  @media #{$small-and-down} {
282
- display: initial !important;
356
+ display: block !important;
283
357
  }
284
358
  }
285
359
  .show-on-medium-and-up {
286
360
  @media #{$medium-and-up} {
287
- display: initial !important;
361
+ display: block !important;
288
362
  }
289
363
  }
290
364
  .show-on-medium-and-down {
291
365
  @media #{$medium-and-down} {
292
- display: initial !important;
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
- footer.page-footer {
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
- line-height: 50px;
314
- color: rgba(255,255,255,.8);
315
- background-color: rgba(51,51,51,.08);;
316
- @extend .light;
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
- &.bordered > thead > tr,
330
- &.bordered > tbody > tr {
331
- border-bottom: 1px solid $table-border-color;
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
- > tr > td {
340
- border-radius: 0px;
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
- &.hoverable > tbody > tr {
345
- @include transition(background-color .25s ease);
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
- thead {
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 { padding: 0 10px; }
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: 1.5rem;
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
- .circle {
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
- @include transition(.25s);
511
- color: $secondary-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
- @include transition(width .3s linear);
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
- @include animation(indeterminate 2.1s cubic-bezier(0.650, 0.815, 0.735, 0.395) infinite);
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
- @include animation(indeterminate-short 2.1s cubic-bezier(0.165, 0.840, 0.440, 1.000) infinite);
628
- @include animation-delay(1.15s);
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
- @include keyframes(indeterminate) {
690
+ @keyframes indeterminate {
633
691
  0% {
634
- left: -35%;
635
- right:100%;
636
- }
692
+ left: -35%;
693
+ right:100%;
694
+ }
637
695
  60% {
638
- left: 100%;
639
- right: -90%;
696
+ left: 100%;
697
+ right: -90%;
640
698
  }
641
699
  100% {
642
- left: 100%;
643
- right: -90%;
700
+ left: 100%;
701
+ right: -90%;
644
702
  }
645
703
  }
646
704
 
647
- @include keyframes(indeterminate-short) {
705
+ @keyframes indeterminate-short {
648
706
  0% {
649
- left: -200%;
650
- right: 100%;
707
+ left: -200%;
708
+ right: 100%;
651
709
  }
652
710
  60% {
653
- left: 107%;
654
- right: -8%;
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