material-sass 4.0.0.alpha5 → 4.0.0.alpha6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/material/addons-materialise/textarea-autosize.js +7 -5
  3. data/app/assets/javascripts/material/addons-materialise/wave.js +11 -8
  4. data/app/assets/javascripts/material/src/floating-label.js +5 -5
  5. data/app/assets/javascripts/material/src/navdrawer.js +7 -7
  6. data/app/assets/javascripts/material/src/tab-switch.js +15 -18
  7. data/app/assets/javascripts/material/src/util.js +1 -1
  8. data/app/assets/javascripts/material.js +24 -27
  9. data/app/assets/stylesheets/material/_mixins.scss +2 -0
  10. data/app/assets/stylesheets/material/_utilities.scss +3 -0
  11. data/app/assets/stylesheets/material/_variables.scss +24 -2
  12. data/app/assets/stylesheets/material/base/_base.scss +5 -482
  13. data/app/assets/stylesheets/material/base/_grid.scss +11 -0
  14. data/app/assets/stylesheets/material/base/_normalize.scss +253 -0
  15. data/app/assets/stylesheets/material/base/_reboot.scss +239 -0
  16. data/app/assets/stylesheets/material/base/_typography.scss +0 -10
  17. data/app/assets/stylesheets/material/bootstrap/_alert.scss +0 -1
  18. data/app/assets/stylesheets/material/bootstrap/_breadcrumb.scss +15 -10
  19. data/app/assets/stylesheets/material/bootstrap/_button-group.scss +21 -42
  20. data/app/assets/stylesheets/material/bootstrap/_carousel.scss +81 -126
  21. data/app/assets/stylesheets/material/bootstrap/_close.scss +1 -4
  22. data/app/assets/stylesheets/material/bootstrap/_custom-form.scss +14 -16
  23. data/app/assets/stylesheets/material/bootstrap/_form.scss +95 -52
  24. data/app/assets/stylesheets/material/bootstrap/_media.scss +6 -67
  25. data/app/assets/stylesheets/material/bootstrap/_nav.scss +23 -45
  26. data/app/assets/stylesheets/material/bootstrap/_pagination.scss +4 -14
  27. data/app/assets/stylesheets/material/bootstrap/_popover.scss +7 -5
  28. data/app/assets/stylesheets/material/bootstrap/_responsive-embed.scss +18 -5
  29. data/app/assets/stylesheets/material/bootstrap/{_animation.scss → _transition.scss} +11 -2
  30. data/app/assets/stylesheets/material/material/_card.scss +185 -123
  31. data/app/assets/stylesheets/material/material/_chip.scss +12 -12
  32. data/app/assets/stylesheets/material/material/_data-table.scss +0 -2
  33. data/app/assets/stylesheets/material/material/_dialog.scss +23 -17
  34. data/app/assets/stylesheets/material/material/_expansion-panel.scss +42 -183
  35. data/app/assets/stylesheets/material/material/_menu.scss +19 -4
  36. data/app/assets/stylesheets/material/material/_navdrawer.scss +16 -12
  37. data/app/assets/stylesheets/material/material/_progress-circular.scss +2 -2
  38. data/app/assets/stylesheets/material/material/_progress.scss +68 -92
  39. data/app/assets/stylesheets/material/material/_selection-control.scss +11 -28
  40. data/app/assets/stylesheets/material/material/_tab.scss +52 -117
  41. data/app/assets/stylesheets/material/material/_text-field-floating-label.scss +9 -4
  42. data/app/assets/stylesheets/material/material/_text-field-input-group.scss +37 -35
  43. data/app/assets/stylesheets/material/material/_text-field.scss +41 -32
  44. data/app/assets/stylesheets/material/material/_toolbar.scss +192 -306
  45. data/app/assets/stylesheets/material/material/_tooltip.scss +19 -20
  46. data/app/assets/stylesheets/material/material.scss +2 -2
  47. data/app/assets/stylesheets/material/mixins/_border-radius.scss +9 -19
  48. data/app/assets/stylesheets/material/mixins/_breakpoint.scss +11 -3
  49. data/app/assets/stylesheets/material/mixins/_form.scss +15 -30
  50. data/app/assets/stylesheets/material/mixins/_grid-framework.scss +58 -0
  51. data/app/assets/stylesheets/material/mixins/_grid.scss +6 -78
  52. data/app/assets/stylesheets/material/mixins/_transform.scss +9 -0
  53. data/app/assets/stylesheets/material/utilities/_border.scss +31 -5
  54. data/app/assets/stylesheets/material/utilities/_display.scss +37 -8
  55. data/app/assets/stylesheets/material/utilities/_flex.scss +140 -0
  56. data/app/assets/stylesheets/material/utilities/_float.scss +5 -3
  57. data/app/assets/stylesheets/material/utilities/_position.scss +24 -0
  58. data/app/assets/stylesheets/material/utilities/_sizing.scss +16 -0
  59. data/app/assets/stylesheets/material/utilities/_spacing.scss +56 -46
  60. data/app/assets/stylesheets/material/utilities/_text.scss +5 -3
  61. data/app/assets/stylesheets/material/variables/_grid.scss +16 -10
  62. data/app/assets/stylesheets/material/variables/_spacer.scss +22 -3
  63. data/app/assets/stylesheets/material/variables/_typography.scss +2 -0
  64. data/app/assets/stylesheets/material/variables/_variable-bootstrap.scss +24 -17
  65. data/app/assets/stylesheets/material/variables/_variable-material.scss +47 -52
  66. data/lib/material-sass/version.rb +1 -1
  67. metadata +9 -2
@@ -1,482 +1,5 @@
1
- /*
2
- * includes normalize and reboot from bootstrap's (v4.0.0-alpha.5)
3
- */
4
-
5
- /* normalize.css v4.0.0 | MIT License | github.com/necolas/normalize.css */
6
- body {
7
- margin: 0;
8
- }
9
-
10
- html {
11
- font-family: sans-serif;
12
- -webkit-text-size-adjust: 100%;
13
- -ms-text-size-adjust: 100%;
14
- }
15
-
16
- // display definitions
17
- article,
18
- aside,
19
- details,
20
- figcaption,
21
- figure,
22
- footer,
23
- header,
24
- main,
25
- menu,
26
- nav,
27
- section,
28
- summary {
29
- display: block;
30
- }
31
-
32
- audio,
33
- canvas,
34
- progress,
35
- video {
36
- display: inline-block;
37
- }
38
-
39
- audio:not([controls]) {
40
- display: none;
41
- height: 0;
42
- }
43
-
44
- progress {
45
- vertical-align: baseline;
46
- }
47
-
48
- template,
49
- [hidden] {
50
- display: none;
51
- }
52
-
53
- // embedded content
54
- img {
55
- border-style: none;
56
- }
57
-
58
- svg:not(:root) {
59
- overflow: hidden;
60
- }
61
-
62
- // forms
63
- button,
64
- input,
65
- select,
66
- textarea {
67
- font: inherit;
68
- }
69
-
70
- button,
71
- input,
72
- select,
73
- textarea {
74
- margin: 0;
75
- }
76
-
77
- button,
78
- input,
79
- select {
80
- overflow: visible;
81
- }
82
-
83
- button,
84
- select {
85
- text-transform: none;
86
- }
87
-
88
- button,
89
- [type="button"],
90
- [type="reset"],
91
- [type="submit"] {
92
- cursor: pointer;
93
- html & {
94
- -webkit-appearance: button;
95
- }
96
- }
97
-
98
- button::-moz-focus-inner,
99
- input::-moz-focus-inner {
100
- border: 0;
101
- padding: 0;
102
- }
103
-
104
- button:-moz-focusring,
105
- input:-moz-focusring {
106
- outline: 1px dotted ButtonText;
107
- }
108
-
109
- fieldset {
110
- border: 1px solid #c0c0c0;
111
- margin: 0 2px;
112
- padding: 0.35em 0.625em 0.75em;
113
- }
114
-
115
- legend {
116
- box-sizing: border-box;
117
- color: inherit;
118
- display: table;
119
- max-width: 100%;
120
- padding: 0;
121
- white-space: normal;
122
- }
123
-
124
- optgroup {
125
- font-weight: bold;
126
- }
127
-
128
- textarea {
129
- overflow: auto;
130
- }
131
-
132
- [disabled] {
133
- cursor: default;
134
- }
135
-
136
- [type="checkbox"],
137
- [type="radio"] {
138
- box-sizing: border-box;
139
- padding: 0;
140
- }
141
-
142
- [type="number"]::-webkit-inner-spin-button,
143
- [type="number"]::-webkit-outer-spin-button {
144
- height: auto;
145
- }
146
-
147
- [type="search"] {
148
- -webkit-appearance: textfield;
149
- }
150
-
151
- [type="search"]::-webkit-search-cancel-button,
152
- [type="search"]::-webkit-search-decoration {
153
- -webkit-appearance: none;
154
- }
155
-
156
- // grouping content
157
- code,
158
- kbd,
159
- pre,
160
- samp {
161
- font-family: monospace, monospace;
162
- font-size: 1em;
163
- }
164
-
165
- figure {
166
- margin: 1em 40px;
167
- }
168
-
169
- hr {
170
- box-sizing: content-box;
171
- height: 0;
172
- overflow: visible;
173
- }
174
-
175
- // links
176
- a {
177
- background-color: transparent;
178
- }
179
-
180
- a:active,
181
- a:hover {
182
- outline-width: 0;
183
- }
184
-
185
- // text-level semantics
186
- abbr[title] {
187
- border-bottom: 0;
188
- text-decoration: underline;
189
- text-decoration: underline dotted;
190
- }
191
-
192
- b,
193
- strong {
194
- font-weight: bolder;
195
- }
196
-
197
- dfn {
198
- font-style: italic;
199
- }
200
-
201
- h1 {
202
- font-size: 2em;
203
- margin: 0.67em 0;
204
- }
205
-
206
- mark {
207
- background-color: #ff0;
208
- color: #000;
209
- }
210
-
211
- small {
212
- font-size: 80%;
213
- }
214
-
215
- sub,
216
- sup {
217
- font-size: 75%;
218
- line-height: 0;
219
- position: relative;
220
- vertical-align: baseline;
221
- }
222
-
223
- sub {
224
- bottom: -0.25em;
225
- }
226
-
227
- sup {
228
- top: -0.5em;
229
- }
230
-
231
- /* reboot */
232
- // box-sizing
233
- html {
234
- box-sizing: border-box;
235
- }
236
-
237
- *,
238
- *::after,
239
- *::before {
240
- box-sizing: inherit;
241
- }
242
-
243
- // http://getbootstrap.com/getting-started/#support-ie10-width
244
- @at-root {
245
- @-ms-viewport { width: device-width; }
246
- }
247
-
248
- // reboot
249
- body {
250
- background-color: $body-bg;
251
- color: $body-color;
252
- font-family: $font-family-base;
253
- font-size: $font-size-base;
254
- line-height: $line-height-base;
255
- }
256
-
257
- html {
258
- font-size: $font-size-root;
259
- -ms-overflow-style: scrollbar;
260
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
261
- }
262
-
263
- [hidden] {
264
- display: none !important;
265
- }
266
-
267
- [tabindex="-1"]:focus {
268
- outline: 0 !important;
269
- }
270
-
271
- // clickable elements
272
- a,
273
- area,
274
- button,
275
- input,
276
- label,
277
- select,
278
- summary,
279
- textarea,
280
- [role="button"] {
281
- touch-action: manipulation;
282
- }
283
-
284
- [role="button"] {
285
- cursor: pointer;
286
- }
287
-
288
- // code
289
- pre {
290
- margin-top: 0;
291
- margin-bottom: $spacer-md-y;
292
- overflow: auto;
293
- }
294
-
295
- // figures
296
- figure {
297
- margin: 0 0 $spacer-md-y;
298
- }
299
-
300
- // forms
301
- button,
302
- input,
303
- select,
304
- textarea {
305
- border-radius: 0;
306
- line-height: inherit;
307
- margin: 0;
308
- }
309
-
310
- button {
311
- // active, focus, hover
312
- &:focus {
313
- outline: 1px dotted;
314
- outline: 5px auto -webkit-focus-ring-color;
315
- }
316
- }
317
-
318
- fieldset {
319
- border: 0;
320
- margin: 0;
321
- min-width: 0;
322
- padding: 0;
323
- }
324
-
325
- input[type="checkbox"],
326
- input[type="radio"] {
327
- // disabled
328
- &:disabled {
329
- cursor: $cursor-disabled;
330
- }
331
- }
332
-
333
- input[type="date"],
334
- input[type="datetime-local"],
335
- input[type="month"],
336
- input[type="time"] {
337
- -webkit-appearance: listbox;
338
- }
339
-
340
- input[type="search"] {
341
- -webkit-appearance: none;
342
- }
343
-
344
- label {
345
- display: inline-block;
346
- margin-bottom: 0;
347
- }
348
-
349
- legend {
350
- display: block;
351
- margin-bottom: $spacer-sm-y;
352
- padding: 0;
353
- width: 100%;
354
- @include typography-headline;
355
- }
356
-
357
- output {
358
- display: inline-block;
359
- }
360
-
361
- select[multiple],
362
- select[size] {
363
- overflow: auto;
364
- }
365
-
366
- textarea {
367
- resize: vertical;
368
- }
369
-
370
- // images
371
- img {
372
- vertical-align: middle;
373
- }
374
-
375
- // links
376
- a {
377
- color: $link-color;
378
- text-decoration: $link-decoration;
379
-
380
- // active, focus, hover
381
- @include active-focus-hover {
382
- color: $link-color-active;
383
- text-decoration: $link-decoration-active;
384
- }
385
-
386
- &:focus {
387
- @include tab-focus;
388
- }
389
- }
390
-
391
- a:not([href]):not([tabindex]) {
392
- color: inherit;
393
- text-decoration: none;
394
-
395
- // active, focus, hover
396
- @include active-focus-hover {
397
- color: inherit;
398
-
399
- @if ($link-decoration-active != "none") {
400
- text-decoration: none;
401
- }
402
- }
403
-
404
- &:focus {
405
- outline: 0;
406
- }
407
- }
408
-
409
- // tables
410
- caption {
411
- caption-side: bottom;
412
- color: $table-caption-color;
413
- min-height: $table-thead-cell-height;
414
- padding: $table-thead-padding-y $table-cell-padding-x-alt;
415
- text-align: left;
416
- vertical-align: middle;
417
- @include typography-caption;
418
- }
419
-
420
- table {
421
- background-color: $table-bg;
422
- border-collapse: collapse;
423
- border-spacing: 0;
424
- }
425
-
426
- th {
427
- text-align: left;
428
- }
429
-
430
- // typography
431
- abbr[data-original-title],
432
- abbr[title] {
433
- border-bottom: 1px dotted $abbr-border-color;
434
- cursor: help;
435
- }
436
-
437
- address {
438
- font-style: normal;
439
- line-height: inherit;
440
- margin-bottom: $spacer-md-y;
441
- }
442
-
443
- blockquote {
444
- margin: 0 0 $spacer-md-y;
445
- }
446
-
447
- dd {
448
- margin-bottom: $spacer-sm-y;
449
- margin-left: 0;
450
- }
451
-
452
- dl {
453
- margin-top: 0;
454
- margin-bottom: $spacer-md-y;
455
- }
456
-
457
- dt {
458
- font-weight: $dt-font-weight;
459
- }
460
-
461
- h1, h2, h3, h4, h5, h6 {
462
- margin-top: 0;
463
- margin-bottom: $spacer-sm-y;
464
- }
465
-
466
- ol,
467
- ul {
468
- margin-top: 0;
469
- margin-bottom: $spacer-md-y;
470
- }
471
-
472
- ol ol,
473
- ol ul,
474
- ul ol,
475
- ul ul {
476
- margin-bottom: 0;
477
- }
478
-
479
- p {
480
- margin-top: 0;
481
- margin-bottom: $spacer-md-y;
482
- }
1
+ //
2
+ // includes normalize and reboot from bootstrap's (v4.0.0-alpha.6)
3
+ //
4
+ @import "_normalize.scss";
5
+ @import "_reboot.scss";
@@ -28,4 +28,15 @@
28
28
  .row {
29
29
  @include make-row;
30
30
  }
31
+
32
+ .no-gutters {
33
+ margin-right: 0;
34
+ margin-left: 0;
35
+
36
+ > .col,
37
+ > [class*="col-"] {
38
+ padding-right: 0;
39
+ padding-left: 0;
40
+ }
41
+ }
31
42
  }