@materializecss/materialize 1.2.0 → 1.2.1

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 (82) hide show
  1. package/Gruntfile.js +722 -712
  2. package/LICENSE +21 -21
  3. package/README.md +91 -91
  4. package/dist/css/materialize.css +68 -135
  5. package/dist/css/materialize.min.css +12 -12
  6. package/dist/js/materialize.js +1112 -1112
  7. package/dist/js/materialize.min.js +6 -6
  8. package/extras/noUiSlider/nouislider.css +403 -403
  9. package/extras/noUiSlider/nouislider.js +2147 -2147
  10. package/js/anime.min.js +34 -34
  11. package/js/autocomplete.js +479 -479
  12. package/js/buttons.js +354 -354
  13. package/js/cards.js +40 -40
  14. package/js/carousel.js +732 -732
  15. package/js/cash.js +960 -960
  16. package/js/characterCounter.js +136 -136
  17. package/js/chips.js +486 -486
  18. package/js/collapsible.js +275 -275
  19. package/js/component.js +44 -44
  20. package/js/datepicker.js +983 -983
  21. package/js/dropdown.js +669 -669
  22. package/js/forms.js +285 -285
  23. package/js/global.js +428 -428
  24. package/js/materialbox.js +453 -453
  25. package/js/modal.js +382 -382
  26. package/js/parallax.js +138 -138
  27. package/js/pushpin.js +148 -148
  28. package/js/range.js +263 -263
  29. package/js/scrollspy.js +295 -295
  30. package/js/select.js +391 -391
  31. package/js/sidenav.js +583 -583
  32. package/js/slider.js +359 -359
  33. package/js/tabs.js +402 -402
  34. package/js/tapTarget.js +315 -315
  35. package/js/timepicker.js +712 -712
  36. package/js/toasts.js +325 -325
  37. package/js/tooltip.js +320 -320
  38. package/js/waves.js +614 -614
  39. package/package.json +87 -84
  40. package/sass/_style.scss +929 -929
  41. package/sass/components/_badges.scss +55 -55
  42. package/sass/components/_buttons.scss +322 -322
  43. package/sass/components/_cards.scss +195 -195
  44. package/sass/components/_carousel.scss +90 -90
  45. package/sass/components/_chips.scss +96 -96
  46. package/sass/components/_collapsible.scss +91 -91
  47. package/sass/components/_collection.scss +106 -106
  48. package/sass/components/_color-classes.scss +32 -32
  49. package/sass/components/_color-variables.scss +370 -370
  50. package/sass/components/_datepicker.scss +191 -191
  51. package/sass/components/_dropdown.scss +84 -84
  52. package/sass/components/_global.scss +646 -646
  53. package/sass/components/_grid.scss +158 -158
  54. package/sass/components/_icons-material-design.scss +5 -5
  55. package/sass/components/_materialbox.scss +42 -42
  56. package/sass/components/_modal.scss +97 -97
  57. package/sass/components/_navbar.scss +208 -208
  58. package/sass/components/_normalize.scss +447 -447
  59. package/sass/components/_preloader.scss +334 -334
  60. package/sass/components/_pulse.scss +34 -34
  61. package/sass/components/_sidenav.scss +214 -214
  62. package/sass/components/_slider.scss +91 -91
  63. package/sass/components/_table_of_contents.scss +33 -33
  64. package/sass/components/_tabs.scss +99 -99
  65. package/sass/components/_tapTarget.scss +103 -103
  66. package/sass/components/_timepicker.scss +199 -199
  67. package/sass/components/_toast.scss +58 -58
  68. package/sass/components/_tooltip.scss +32 -32
  69. package/sass/components/_transitions.scss +12 -12
  70. package/sass/components/_typography.scss +62 -62
  71. package/sass/components/_variables.scss +352 -352
  72. package/sass/components/_waves.scss +187 -187
  73. package/sass/components/forms/_checkboxes.scss +200 -200
  74. package/sass/components/forms/_file-input.scss +44 -44
  75. package/sass/components/forms/_forms.scss +22 -22
  76. package/sass/components/forms/_input-fields.scss +388 -388
  77. package/sass/components/forms/_radio-buttons.scss +115 -115
  78. package/sass/components/forms/_range.scss +161 -161
  79. package/sass/components/forms/_select.scss +199 -199
  80. package/sass/components/forms/_switches.scss +91 -91
  81. package/sass/ghpages-materialize.scss +7 -7
  82. package/sass/materialize.scss +42 -42
package/sass/_style.scss CHANGED
@@ -1,929 +1,929 @@
1
- $border-color: rgba(0,0,0,.14);
2
- $font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3
-
4
- /***************
5
- HTML Styles
6
- ***************/
7
- body {
8
- //background-color: #fcfcfc;
9
- color: $off-black;
10
- line-height: 1.6;
11
- font-size: 16px;
12
- -webkit-font-smoothing: antialiased;
13
- }
14
-
15
- p.box {
16
- padding: 20px;
17
- }
18
- p {
19
- padding: 0;
20
-
21
- }
22
-
23
- h5 > span {
24
- font-size: 14px;
25
- margin-left: 15px;
26
- color: #777;
27
- }
28
-
29
- nav {
30
- // background-color: color("materialize-red", "lighten-2");
31
-
32
- a {
33
- color: rgba(0,0,0,.87);
34
- }
35
- ul li a:hover, ul li.active {
36
- background-color: color("materialize-red", "lighten-1");
37
- }
38
- }
39
-
40
- td, th {
41
- padding: 15px 10px;
42
- }
43
-
44
- .header {
45
- color: color("materialize-red", "lighten-2");
46
- font-weight: 300;
47
- }
48
-
49
- .preview {
50
- background-color: #FFF;
51
- border: 1px solid #eee;
52
- padding: 20px 20px;
53
- }
54
-
55
- .method-header {
56
- font-family: 'Inconsolata', Monaco, Consolas, 'Andale Mono', monospace;
57
- margin-top: 15px;
58
- padding-top: 30px;
59
- }
60
-
61
- header, main, footer {
62
- padding-left: 300px;
63
- }
64
- .parallax-demo header,
65
- .parallax-demo main,
66
- .parallax-demo footer {
67
- padding-left: 0;
68
- }
69
- footer.example {
70
- padding-left: 0;
71
- }
72
-
73
- @media #{$medium-and-down} {
74
- header, main, footer {
75
- padding-left: 0;
76
- }
77
- h5 > span {
78
- display: block;
79
- margin: 0 0 15px 0;
80
- }
81
-
82
- }
83
-
84
- /********************
85
- Index Page Styles
86
- ********************/
87
-
88
- // custom styled sidebar
89
- ul.sidenav.sidenav-fixed li.logo {
90
- text-align: center;
91
- margin-top: 32px;
92
- margin-bottom: 136px;
93
-
94
- &:hover,
95
- #logo-container:hover {
96
- background-color: transparent;
97
- }
98
- }
99
- ul.sidenav.sidenav-fixed {
100
- overflow: hidden;
101
- box-shadow: none;
102
- border-right: 1px solid $border-color;
103
-
104
- > li:last-child {
105
- margin-bottom: 160px;
106
- }
107
-
108
-
109
- li {
110
- line-height: 44px;
111
-
112
- &.active {
113
- background-color: rgba(50,50,50,.06);
114
- }
115
-
116
- a {
117
- font-size: 13px;
118
- line-height: 44px;
119
- height: 44px;
120
- padding: 0 30px;
121
-
122
- .new.badge {
123
- margin-top: calc(22px - 11px);
124
- }
125
- }
126
- }
127
-
128
- ul.collapsible-accordion {
129
- background-color: #FFF;
130
-
131
- a.collapsible-header {
132
- padding: 0 30px;
133
- }
134
-
135
- .collapsible-body li a {
136
- font-weight: 400;
137
- padding: 0 37.5px 0 45px;
138
- }
139
- }
140
-
141
- // Only show scrollbar on hover
142
- &:hover {
143
- overflow-y: auto;
144
- }
145
- }
146
-
147
- .bold > a {
148
- font-weight: bold;
149
- }
150
-
151
- #logo-container {
152
- height: 57px;
153
- margin-bottom: 32px;
154
- }
155
-
156
- .current-version-number {
157
- color: rgba(0,0,0,0.53);
158
- }
159
-
160
- @media #{$medium-and-down} {
161
- footer.page-footer .container {
162
- text-align: center;
163
- }
164
- }
165
-
166
- nav.top-nav {
167
- height: 110px;
168
- box-shadow: none;
169
- border-bottom: 1px solid $border-color;
170
- background-color: transparent;
171
-
172
- h1.header {
173
- margin: 0;
174
- padding-top: 22px;
175
- }
176
- }
177
- a.sidenav-trigger.top-nav {
178
- position: absolute;
179
- text-align: center;
180
- height: 48px;
181
- width: 48px;
182
- top: 28px;
183
- float: none;
184
- margin-left: 1.5rem;
185
- color: color("materialize-red", "lighten-3");
186
- font-size: 36px;
187
- z-index: 2;
188
-
189
- i {
190
- font-size: 32px;
191
- }
192
- }
193
-
194
- @media #{$small-and-down} {
195
- a.sidenav-trigger.top-nav {
196
- left: 0;
197
- }
198
-
199
- ul.sidenav.sidenav-fixed {
200
- border: 0;
201
- }
202
- }
203
-
204
- @media #{$medium-and-down} {
205
- nav .nav-wrapper {
206
- text-align: center;
207
-
208
- a.page-title {
209
- font-size: 36px;
210
- }
211
- }
212
- }
213
-
214
- @media #{$medium-and-up} {
215
- main > .container,
216
- body > .page-footer > .container,
217
- .top-nav > .container,
218
- #index-banner > .container,
219
- .github-commit > .container {
220
- width: 100%;
221
- }
222
- }
223
-
224
-
225
- #front-page-logo {
226
- display: inline-block;
227
- height: 100%;
228
- pointer-events: none;
229
- }
230
-
231
- @media only screen and (max-width: 992px) {
232
- #front-page-nav ul.sidenav {
233
- li {
234
- float: none;
235
- padding: 0 15px;
236
-
237
- &:hover { background-color: #ddd; }
238
- .active { background-color: transparent; }
239
- }
240
- a {
241
- color: #444;
242
- }
243
- }
244
- }
245
-
246
-
247
- #responsive-img {
248
- width: 80%;
249
- display:block;
250
- margin: 0 auto;
251
- }
252
-
253
- #index-banner {
254
- border-bottom: 1px solid $border-color;
255
-
256
- .container {
257
- position: relative;
258
- }
259
- .header {
260
- // color: #FFF;
261
- }
262
- h4 {
263
- margin-bottom: 40px;
264
- line-height: 44px;
265
- color: rgba(0,0,0,.7);
266
- }
267
- h1 {
268
- margin-top: 16px;
269
- }
270
- }
271
- @media #{$medium-and-down} {
272
- #index-banner {
273
- h1 {
274
- margin-top: 60px;
275
- }
276
- h4 {
277
- margin-bottom: 15px;
278
- }
279
- }
280
- }
281
- @media #{$small-and-down} {
282
- #index-banner {
283
- h4 {
284
- margin-bottom: 0;
285
- }
286
- }
287
- }
288
-
289
- // Latest commit widget
290
- .github-commit {
291
- color: rgba(0,0,0,0.53);
292
- border-top: 1px solid $border-color;
293
- padding: 14px 0;
294
- height: 64px;
295
- line-height: 36px;
296
- font-size: .9rem;
297
-
298
- .sha {
299
- margin: 0 6px 0 6px;
300
- }
301
- }
302
- @media #{$medium-and-down} {
303
- .github-commit {
304
- text-align: center;
305
- }
306
- }
307
-
308
- #download-button,
309
- #upgrade-button {
310
- &:hover {
311
- background-color: lighten(color("materialize-red", "base"), 30%);
312
- }
313
- background-color: color("materialize-red", "lighten-2");
314
- width: 260px;
315
- height: 70px;
316
- margin: 4px;
317
- padding: 0;
318
- line-height: 70px;
319
- font-size: 18px;
320
- font-weight: 400;
321
- }
322
-
323
- .promo{
324
- width: 100%;
325
-
326
- i {
327
- margin: 40px 0;
328
- color: color("materialize-red", "lighten-2");
329
- font-size: 7rem;
330
- display: block;
331
- }
332
- }
333
-
334
- .promo-caption {
335
- font-size: 1.7rem;
336
- font-weight: 500;
337
- margin-top: 5px;
338
- margin-bottom: 0;
339
-
340
- }
341
-
342
- #front-page-nav {
343
- background-color: #FFF;
344
- position: relative;
345
- a {
346
- color: color("materialize-red", "lighten-2");
347
- }
348
- li {
349
- &:hover {
350
- background-color: color("materialize-red", "lighten-5");
351
- }
352
- &.active {
353
- background-color: color("materialize-red", "lighten-5");
354
- }
355
- }
356
- .container {
357
- height: inherit;
358
- }
359
- }
360
-
361
- // Grid doc styles
362
-
363
- .col.grid-example {
364
- border: 1px solid #eee;
365
- margin: 7px 0;
366
- text-align: center;
367
- line-height: 50px;
368
- font-size: 28px;
369
- background-color: tomato;
370
- color: white;
371
- padding: 0;
372
-
373
- span {
374
- font-weight: 100;
375
- line-height: 50px;
376
- }
377
- }
378
-
379
- .promo-example {
380
- overflow: hidden;
381
- }
382
-
383
-
384
- /*******************
385
- Flat Site Mockup
386
- *******************/
387
-
388
- #site-layout-example-left {
389
- background-color: color("blue-grey", "lighten-2");
390
- height: 300px;
391
- }
392
- #site-layout-example-right {
393
- background-color: color("teal", "lighten-1");
394
- height: 300px;
395
- }
396
- #site-layout-example-top {
397
- background-color: color("red", "lighten-2");
398
- height: 42px;
399
- }
400
-
401
- .flat-text-header {
402
- height: 35px;
403
- width: 80%;
404
- background-color: rgba(255,255,255,.15);
405
- display: block;
406
- margin: 27px auto;
407
- }
408
- .flat-text {
409
- height: 25px;
410
- width: 80%;
411
- background-color: rgba(0,0,0,.15);
412
- display: block;
413
- margin: 27px auto;
414
- &.small {
415
- width: 25%;
416
- height: 25px;
417
- background-color: rgba(0,0,0,.15);
418
- }
419
- &.full-width {
420
- width: 100%;
421
- }
422
- }
423
-
424
- /**********************
425
- **********************/
426
-
427
- /*****************
428
- Chrome Browser
429
- *****************/
430
- $bottomColor: #E2E2E1;
431
- $topColor: lighten($bottomColor, 2%);
432
-
433
- $border: $bottomColor;
434
-
435
- $width: 100%;
436
- $height: auto;
437
-
438
- .browser-window {
439
- text-align: left;
440
- width: $width;
441
- height: $height;
442
- display: inline-block;
443
- border-radius: 5px 5px 2px 2px;
444
- background-color: #fff;
445
- margin: 20px 0px;
446
- overflow: hidden;
447
-
448
- .top-bar {
449
- height: 30px;
450
- border-radius: 5px 5px 0 0;
451
- border-top: thin solid lighten($topColor, 1%);
452
- border-bottom: thin solid darken($bottomColor, 1%);
453
- background: linear-gradient($topColor, $bottomColor);
454
- }
455
- }
456
-
457
- .browser-window .circle {
458
- height: 10px;
459
- width: 10px;
460
- display: inline-block;
461
- border-radius: 50%;
462
- background-color: lighten($topColor, 10%);
463
- margin-right: 1px;
464
- }
465
- #close-circle {
466
- background-color: #FF5C5A;
467
- }
468
- #minimize-circle {
469
- background-color: #FFBB50;
470
- }
471
- #maximize-circle {
472
- background-color: #1BC656;
473
- }
474
- .browser-window .circles { margin: 5px 12px; }
475
- .browser-window .content {
476
- margin: 0;
477
- width: 100%;
478
- // min-height: 100%;
479
- display: inline-block;
480
- border-radius: 0 0 5px 5px;
481
- background-color: #fafafa;
482
- }
483
- .browser-window .row {
484
- margin: 0;
485
- }
486
-
487
- .clear { clear: both; }
488
-
489
- /**********************
490
- **********************/
491
-
492
-
493
- // Color Wheel
494
- .dynamic-color {
495
-
496
- .red, .pink, .purple, .deep-purple, .indigo, .blue, .light-blue, .cyan, .teal, .green, .light-green, .lime, .yellow, .amber, .orange, .deep-orange, .brown , .grey, .blue-grey, .black, .white, .transparent {
497
- height: 55px;
498
- width: 100%;
499
- padding: 0 15px;
500
- font-weight: 500;
501
- font-size: 12px;
502
- display: flex;
503
- justify-content: center;
504
- flex-direction: column;
505
- box-sizing: border-box;
506
- }
507
- .col {
508
- margin-bottom: 55px;
509
- }
510
- }
511
-
512
- .center {
513
- text-align: center;
514
- vertical-align: middle;
515
- }
516
-
517
- // Icons
518
- .material-icons.icon-demo {
519
- line-height: 50px;
520
- }
521
- .icon-container i {
522
- font-size: 3em;
523
- margin-bottom: 10px;
524
- }
525
- .icon-container .icon-preview {
526
- height: 120px;
527
- text-align: center;
528
- }
529
- .icon-container span {
530
- display: block;
531
- }
532
-
533
- .icon-holder {
534
- display: block;
535
- text-align: center;
536
- width: 150px;
537
- height: 115px;
538
-
539
- float: left;
540
- margin: 0 0px 15px 0px;
541
- p {
542
- margin: 0 0;
543
- }
544
- }
545
-
546
- // tabs
547
- .tabs-wrapper {
548
- position: relative;
549
- height: 48px;
550
- @extend .hide-on-small-only;
551
-
552
- .row.pinned {
553
- position: fixed;
554
- width: 100%;
555
- top: 0;
556
- z-index: 10;
557
- }
558
- }
559
-
560
-
561
- // Tables
562
- thead {
563
- color: rgba(0, 0, 0, .6);
564
- }
565
-
566
-
567
- // Shadow demo styling
568
- .shadow-demo {
569
- background-color: color("teal", "lighten-1");
570
- width: 100px;
571
- height: 100px;
572
- margin: 20px auto;
573
-
574
- @media only screen and (max-width: $small-screen) {
575
- width: 150px;
576
- height: 150px;
577
- }
578
- }
579
-
580
- // parallax demo
581
- .parallax-container {
582
-
583
- .text-center {
584
- position: absolute;
585
- top: 50%;
586
- left: 0;
587
- right: 0;
588
- margin-top: -27px;
589
- }
590
-
591
- }
592
-
593
- // Table of contents
594
- ul.table-of-contents {
595
- margin-top: 0;
596
- padding-top: 48px;
597
-
598
- a {
599
- &.active {
600
- color: rgba(0,0,0,.8);
601
- }
602
- color: rgba(0,0,0,.55);
603
- font-weight: 400;
604
- }
605
- }
606
-
607
-
608
-
609
- // Prism Styling
610
- code, pre {
611
- position: relative;
612
- font-size: 1.1rem;
613
- }
614
-
615
- .directory-markup {
616
- font-size: 1rem;
617
- line-height: 1.1rem !important;
618
- }
619
- :not(pre) > code[class*="language-"] {
620
- padding: .1em .25em;
621
- border: solid 1px rgba(51,51,51,0.12);
622
- }
623
-
624
- // Styles code blocks
625
- pre[class*="language-"] {
626
- &:before {
627
- position: absolute;
628
- padding: 1px 5px;
629
- background: hsl(30, 10%, 90%);
630
- top: 0;
631
- left: 0;
632
- font-family: $font-stack;
633
- -webkit-font-smoothing: antialiased;
634
- color: #555;
635
- content:attr(class);
636
- font-size: .9rem;
637
- border: solid 1px rgba(51, 51, 51, 0.12);
638
- border-top: none;
639
- border-left: none;
640
- }
641
- padding: 25px 12px 7px 12px;
642
- border: solid 1px rgba(51, 51, 51, 0.12);
643
- background: rgba(246, 246, 246, .2);
644
- }
645
-
646
- pre[class*="language-"],
647
- code[class*="language-"] {
648
- line-height: 1.3;
649
- }
650
-
651
- // Styles one-liners
652
- :not(pre) > code[class*="language-"] {
653
- background: rgba(246, 246, 246, .3);
654
- }
655
-
656
- // copy code icons
657
- .copyMessage, .copyButton {
658
- color: #757575;
659
- position: absolute;
660
- }
661
-
662
- .copyMessage {
663
- font-size: 14px;
664
- transition: all 0.2s ease-in;
665
- opacity: 0;
666
- right: 45px;
667
- top: 15px;
668
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,Cantarell, "Helvetica Neue", sans-serif;
669
- }
670
-
671
- .copyButton {
672
- top: 10px;
673
- right: 10px;
674
- cursor: pointer;
675
- }
676
-
677
- .toc-wrapper {
678
- &.pin-bottom {
679
- margin-top: 84px;
680
- }
681
-
682
- position: relative;
683
- margin-top: 42px;
684
- }
685
-
686
- // Footer styling
687
- footer{
688
- font-size: .9rem;
689
- }
690
- body.parallax-demo footer {
691
- margin-top: 0;
692
- }
693
- .docs-footer {
694
- margin-top: 40px;
695
- background-color: transparent;
696
- border-top: 1px solid $border-color;
697
- color: inherit;
698
-
699
- .footer-copyright {
700
- color: inherit;
701
- background-color: transparent;
702
- }
703
- }
704
-
705
- //About page styling
706
- .image-container {
707
- width: 100%;
708
- img {
709
- max-width: 100%;
710
- }
711
- }
712
-
713
-
714
- // Mobile page styling
715
-
716
- .mobile-image {
717
- @media #{$small-and-down} {
718
- max-width: 100%;
719
- }
720
- }
721
-
722
- // Waves page styling
723
- .waves-color-demo {
724
- .collection-item {
725
- height: 37px;
726
- line-height: 37px;
727
- box-sizing: content-box;
728
-
729
- code {
730
- line-height: 37px;
731
- }
732
- }
733
- .btn {
734
- &:not(.waves-light) {
735
- background-color: color("shades", "white");
736
- color: #212121;
737
- }
738
- }
739
- }
740
-
741
- // Card Page styling
742
- .card-panel span, .card-content p{
743
- -webkit-font-smoothing: antialiased;
744
- }
745
-
746
- #images .card-panel .row {
747
- margin-bottom: 0;
748
- }
749
-
750
- // Pushpin Demo styles
751
- .pushpin-demo {
752
- position: relative;
753
- height: 100px;
754
- }
755
- #pushpin-demo-1 {
756
- display: block;
757
- height: inherit;
758
- background-color: #ddd;
759
- }
760
-
761
- // Valign Demo
762
- .valign-demo {
763
- height: 400px;
764
- background-color: #ddd;
765
- }
766
- .talign-demo {
767
- height: 100px;
768
- background-color: #ddd;
769
- }
770
-
771
- // Transitions demos
772
- #staggered-test li,
773
- #image-test {
774
- opacity: 0;
775
-
776
- }
777
-
778
- // Transifex Styling
779
-
780
- #tx-live-lang-container {
781
- background-color: #fcfcfc;
782
- z-index: 999;
783
-
784
- #tx-live-lang-picker {
785
- background-color: #fcfcfc;
786
-
787
- li {
788
- color: $off-black;
789
- &:hover{
790
- color: inherit;
791
- background-color: color("materialize-red", "lighten-5");
792
- }
793
- }
794
-
795
- }
796
-
797
- .txlive-langselector-toggle {
798
- border-bottom: 2px solid color("materialize-red", "lighten-2");
799
- }
800
-
801
- .txlive-langselector-current {
802
- color: $off-black;
803
- }
804
-
805
- .txlive-langselector-marker {
806
- border-bottom: 4px solid rgba(0,0,0,.61);
807
- }
808
-
809
-
810
- }
811
-
812
-
813
- // Thanks for Downloading
814
- #download-thanks {
815
- display: none;
816
- }
817
-
818
-
819
- // Twitter widget
820
- #twitter-widget-0 {
821
- width: 300px !important;
822
- }
823
-
824
- // Version dropdown
825
- #nav-mobile li.version {
826
- position: absolute;
827
- top: 100px;
828
- left: 0;
829
- right: 0;
830
- font-family: "Inconsolata";
831
- text-align: center;
832
-
833
- .dropdown-trigger {
834
- font-family: "Inconsolata";
835
- margin: 0 auto;
836
- display: inline-block;
837
- padding: 0 10px;
838
- border-bottom: 1px solid rgba(0,0,0, .2);
839
-
840
- .caret {
841
- position: relative;
842
- top: 10px;
843
- fill: rgba(0,0,0,.6);
844
- }
845
- }
846
- }
847
-
848
- #version-dropdown {
849
- text-align: left;
850
-
851
- li > a {
852
- padding: 0 10px;
853
-
854
- }
855
-
856
- a {
857
- height: 50px;
858
- line-height: 50px;
859
- }
860
-
861
- }
862
-
863
- // Search
864
- #nav-mobile li.search {
865
- &:hover { background-color: #fff; }
866
-
867
- position: absolute;
868
- left: 0;
869
- right: 0;
870
- top: 160px;
871
- margin-top: 1px;
872
- padding: 1px 0 0 0;
873
- z-index: 2;
874
-
875
- .search-wrapper {
876
- &.focused .search-results:not(:empty) {
877
- border-bottom: 1px solid $border-color;
878
- }
879
-
880
- color: #777;
881
- margin-top: -1px;
882
- border-top: 1px solid $border-color;
883
- transition: margin .25s ease;
884
-
885
- input#search {
886
- &:focus {
887
- outline: none;
888
- box-shadow: none;
889
- }
890
-
891
- color: #777;
892
- display: block;
893
- font-size: 16px;
894
- font-weight: 300;
895
- width: 100%;
896
- height: 62px;
897
- margin: 0;
898
- box-sizing: border-box;
899
- padding: 0 45px 0 30px;
900
- border: 0;
901
- }
902
-
903
- i.material-icons {
904
- position: absolute;
905
- top: 21px;
906
- right: 10px;
907
- cursor: pointer;
908
- }
909
- }
910
-
911
-
912
- .search-results {
913
- margin: 0;
914
- border-top: 1px solid $border-color;
915
- background-color: #fff;
916
-
917
- a {
918
- &:hover,
919
- &.focused {
920
- background-color: #eee;
921
- outline: none;
922
- }
923
-
924
- font-size: 12px;
925
- white-space: nowrap;
926
- display: block;
927
- }
928
- }
929
- }
1
+ $border-color: rgba(0,0,0,.14);
2
+ $font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3
+
4
+ /***************
5
+ HTML Styles
6
+ ***************/
7
+ body {
8
+ //background-color: #fcfcfc;
9
+ color: $off-black;
10
+ line-height: 1.6;
11
+ font-size: 16px;
12
+ -webkit-font-smoothing: antialiased;
13
+ }
14
+
15
+ p.box {
16
+ padding: 20px;
17
+ }
18
+ p {
19
+ padding: 0;
20
+
21
+ }
22
+
23
+ h5 > span {
24
+ font-size: 14px;
25
+ margin-left: 15px;
26
+ color: #777;
27
+ }
28
+
29
+ nav {
30
+ // background-color: color("materialize-red", "lighten-2");
31
+
32
+ a {
33
+ color: rgba(0,0,0,.87);
34
+ }
35
+ ul li a:hover, ul li.active {
36
+ background-color: color("materialize-red", "lighten-1");
37
+ }
38
+ }
39
+
40
+ td, th {
41
+ padding: 15px 10px;
42
+ }
43
+
44
+ .header {
45
+ color: color("materialize-red", "lighten-2");
46
+ font-weight: 300;
47
+ }
48
+
49
+ .preview {
50
+ background-color: #FFF;
51
+ border: 1px solid #eee;
52
+ padding: 20px 20px;
53
+ }
54
+
55
+ .method-header {
56
+ font-family: 'Inconsolata', Monaco, Consolas, 'Andale Mono', monospace;
57
+ margin-top: 15px;
58
+ padding-top: 30px;
59
+ }
60
+
61
+ header, main, footer {
62
+ padding-left: 300px;
63
+ }
64
+ .parallax-demo header,
65
+ .parallax-demo main,
66
+ .parallax-demo footer {
67
+ padding-left: 0;
68
+ }
69
+ footer.example {
70
+ padding-left: 0;
71
+ }
72
+
73
+ @media #{$medium-and-down} {
74
+ header, main, footer {
75
+ padding-left: 0;
76
+ }
77
+ h5 > span {
78
+ display: block;
79
+ margin: 0 0 15px 0;
80
+ }
81
+
82
+ }
83
+
84
+ /********************
85
+ Index Page Styles
86
+ ********************/
87
+
88
+ // custom styled sidebar
89
+ ul.sidenav.sidenav-fixed li.logo {
90
+ text-align: center;
91
+ margin-top: 32px;
92
+ margin-bottom: 136px;
93
+
94
+ &:hover,
95
+ #logo-container:hover {
96
+ background-color: transparent;
97
+ }
98
+ }
99
+ ul.sidenav.sidenav-fixed {
100
+ overflow: hidden;
101
+ box-shadow: none;
102
+ border-right: 1px solid $border-color;
103
+
104
+ > li:last-child {
105
+ margin-bottom: 160px;
106
+ }
107
+
108
+
109
+ li {
110
+ line-height: 44px;
111
+
112
+ &.active {
113
+ background-color: rgba(50,50,50,.06);
114
+ }
115
+
116
+ a {
117
+ font-size: 13px;
118
+ line-height: 44px;
119
+ height: 44px;
120
+ padding: 0 30px;
121
+
122
+ .new.badge {
123
+ margin-top: calc(22px - 11px);
124
+ }
125
+ }
126
+ }
127
+
128
+ ul.collapsible-accordion {
129
+ background-color: #FFF;
130
+
131
+ a.collapsible-header {
132
+ padding: 0 30px;
133
+ }
134
+
135
+ .collapsible-body li a {
136
+ font-weight: 400;
137
+ padding: 0 37.5px 0 45px;
138
+ }
139
+ }
140
+
141
+ // Only show scrollbar on hover
142
+ &:hover {
143
+ overflow-y: auto;
144
+ }
145
+ }
146
+
147
+ .bold > a {
148
+ font-weight: bold;
149
+ }
150
+
151
+ #logo-container {
152
+ height: 57px;
153
+ margin-bottom: 32px;
154
+ }
155
+
156
+ .current-version-number {
157
+ color: rgba(0,0,0,0.53);
158
+ }
159
+
160
+ @media #{$medium-and-down} {
161
+ footer.page-footer .container {
162
+ text-align: center;
163
+ }
164
+ }
165
+
166
+ nav.top-nav {
167
+ height: 110px;
168
+ box-shadow: none;
169
+ border-bottom: 1px solid $border-color;
170
+ background-color: transparent;
171
+
172
+ h1.header {
173
+ margin: 0;
174
+ padding-top: 22px;
175
+ }
176
+ }
177
+ a.sidenav-trigger.top-nav {
178
+ position: absolute;
179
+ text-align: center;
180
+ height: 48px;
181
+ width: 48px;
182
+ top: 28px;
183
+ float: none;
184
+ margin-left: 1.5rem;
185
+ color: color("materialize-red", "lighten-3");
186
+ font-size: 36px;
187
+ z-index: 2;
188
+
189
+ i {
190
+ font-size: 32px;
191
+ }
192
+ }
193
+
194
+ @media #{$small-and-down} {
195
+ a.sidenav-trigger.top-nav {
196
+ left: 0;
197
+ }
198
+
199
+ ul.sidenav.sidenav-fixed {
200
+ border: 0;
201
+ }
202
+ }
203
+
204
+ @media #{$medium-and-down} {
205
+ nav .nav-wrapper {
206
+ text-align: center;
207
+
208
+ a.page-title {
209
+ font-size: 36px;
210
+ }
211
+ }
212
+ }
213
+
214
+ @media #{$medium-and-up} {
215
+ main > .container,
216
+ body > .page-footer > .container,
217
+ .top-nav > .container,
218
+ #index-banner > .container,
219
+ .github-commit > .container {
220
+ width: 100%;
221
+ }
222
+ }
223
+
224
+
225
+ #front-page-logo {
226
+ display: inline-block;
227
+ height: 100%;
228
+ pointer-events: none;
229
+ }
230
+
231
+ @media only screen and (max-width: 992px) {
232
+ #front-page-nav ul.sidenav {
233
+ li {
234
+ float: none;
235
+ padding: 0 15px;
236
+
237
+ &:hover { background-color: #ddd; }
238
+ .active { background-color: transparent; }
239
+ }
240
+ a {
241
+ color: #444;
242
+ }
243
+ }
244
+ }
245
+
246
+
247
+ #responsive-img {
248
+ width: 80%;
249
+ display:block;
250
+ margin: 0 auto;
251
+ }
252
+
253
+ #index-banner {
254
+ border-bottom: 1px solid $border-color;
255
+
256
+ .container {
257
+ position: relative;
258
+ }
259
+ .header {
260
+ // color: #FFF;
261
+ }
262
+ h4 {
263
+ margin-bottom: 40px;
264
+ line-height: 44px;
265
+ color: rgba(0,0,0,.7);
266
+ }
267
+ h1 {
268
+ margin-top: 16px;
269
+ }
270
+ }
271
+ @media #{$medium-and-down} {
272
+ #index-banner {
273
+ h1 {
274
+ margin-top: 60px;
275
+ }
276
+ h4 {
277
+ margin-bottom: 15px;
278
+ }
279
+ }
280
+ }
281
+ @media #{$small-and-down} {
282
+ #index-banner {
283
+ h4 {
284
+ margin-bottom: 0;
285
+ }
286
+ }
287
+ }
288
+
289
+ // Latest commit widget
290
+ .github-commit {
291
+ color: rgba(0,0,0,0.53);
292
+ border-top: 1px solid $border-color;
293
+ padding: 14px 0;
294
+ height: 64px;
295
+ line-height: 36px;
296
+ font-size: .9rem;
297
+
298
+ .sha {
299
+ margin: 0 6px 0 6px;
300
+ }
301
+ }
302
+ @media #{$medium-and-down} {
303
+ .github-commit {
304
+ text-align: center;
305
+ }
306
+ }
307
+
308
+ #download-button,
309
+ #upgrade-button {
310
+ &:hover {
311
+ background-color: lighten(color("materialize-red", "base"), 30%);
312
+ }
313
+ background-color: color("materialize-red", "lighten-2");
314
+ width: 260px;
315
+ height: 70px;
316
+ margin: 4px;
317
+ padding: 0;
318
+ line-height: 70px;
319
+ font-size: 18px;
320
+ font-weight: 400;
321
+ }
322
+
323
+ .promo{
324
+ width: 100%;
325
+
326
+ i {
327
+ margin: 40px 0;
328
+ color: color("materialize-red", "lighten-2");
329
+ font-size: 7rem;
330
+ display: block;
331
+ }
332
+ }
333
+
334
+ .promo-caption {
335
+ font-size: 1.7rem;
336
+ font-weight: 500;
337
+ margin-top: 5px;
338
+ margin-bottom: 0;
339
+
340
+ }
341
+
342
+ #front-page-nav {
343
+ background-color: #FFF;
344
+ position: relative;
345
+ a {
346
+ color: color("materialize-red", "lighten-2");
347
+ }
348
+ li {
349
+ &:hover {
350
+ background-color: color("materialize-red", "lighten-5");
351
+ }
352
+ &.active {
353
+ background-color: color("materialize-red", "lighten-5");
354
+ }
355
+ }
356
+ .container {
357
+ height: inherit;
358
+ }
359
+ }
360
+
361
+ // Grid doc styles
362
+
363
+ .col.grid-example {
364
+ border: 1px solid #eee;
365
+ margin: 7px 0;
366
+ text-align: center;
367
+ line-height: 50px;
368
+ font-size: 28px;
369
+ background-color: tomato;
370
+ color: white;
371
+ padding: 0;
372
+
373
+ span {
374
+ font-weight: 100;
375
+ line-height: 50px;
376
+ }
377
+ }
378
+
379
+ .promo-example {
380
+ overflow: hidden;
381
+ }
382
+
383
+
384
+ /*******************
385
+ Flat Site Mockup
386
+ *******************/
387
+
388
+ #site-layout-example-left {
389
+ background-color: color("blue-grey", "lighten-2");
390
+ height: 300px;
391
+ }
392
+ #site-layout-example-right {
393
+ background-color: color("teal", "lighten-1");
394
+ height: 300px;
395
+ }
396
+ #site-layout-example-top {
397
+ background-color: color("red", "lighten-2");
398
+ height: 42px;
399
+ }
400
+
401
+ .flat-text-header {
402
+ height: 35px;
403
+ width: 80%;
404
+ background-color: rgba(255,255,255,.15);
405
+ display: block;
406
+ margin: 27px auto;
407
+ }
408
+ .flat-text {
409
+ height: 25px;
410
+ width: 80%;
411
+ background-color: rgba(0,0,0,.15);
412
+ display: block;
413
+ margin: 27px auto;
414
+ &.small {
415
+ width: 25%;
416
+ height: 25px;
417
+ background-color: rgba(0,0,0,.15);
418
+ }
419
+ &.full-width {
420
+ width: 100%;
421
+ }
422
+ }
423
+
424
+ /**********************
425
+ **********************/
426
+
427
+ /*****************
428
+ Chrome Browser
429
+ *****************/
430
+ $bottomColor: #E2E2E1;
431
+ $topColor: lighten($bottomColor, 2%);
432
+
433
+ $border: $bottomColor;
434
+
435
+ $width: 100%;
436
+ $height: auto;
437
+
438
+ .browser-window {
439
+ text-align: left;
440
+ width: $width;
441
+ height: $height;
442
+ display: inline-block;
443
+ border-radius: 5px 5px 2px 2px;
444
+ background-color: #fff;
445
+ margin: 20px 0px;
446
+ overflow: hidden;
447
+
448
+ .top-bar {
449
+ height: 30px;
450
+ border-radius: 5px 5px 0 0;
451
+ border-top: thin solid lighten($topColor, 1%);
452
+ border-bottom: thin solid darken($bottomColor, 1%);
453
+ background: linear-gradient($topColor, $bottomColor);
454
+ }
455
+ }
456
+
457
+ .browser-window .circle {
458
+ height: 10px;
459
+ width: 10px;
460
+ display: inline-block;
461
+ border-radius: 50%;
462
+ background-color: lighten($topColor, 10%);
463
+ margin-right: 1px;
464
+ }
465
+ #close-circle {
466
+ background-color: #FF5C5A;
467
+ }
468
+ #minimize-circle {
469
+ background-color: #FFBB50;
470
+ }
471
+ #maximize-circle {
472
+ background-color: #1BC656;
473
+ }
474
+ .browser-window .circles { margin: 5px 12px; }
475
+ .browser-window .content {
476
+ margin: 0;
477
+ width: 100%;
478
+ // min-height: 100%;
479
+ display: inline-block;
480
+ border-radius: 0 0 5px 5px;
481
+ background-color: #fafafa;
482
+ }
483
+ .browser-window .row {
484
+ margin: 0;
485
+ }
486
+
487
+ .clear { clear: both; }
488
+
489
+ /**********************
490
+ **********************/
491
+
492
+
493
+ // Color Wheel
494
+ .dynamic-color {
495
+
496
+ .red, .pink, .purple, .deep-purple, .indigo, .blue, .light-blue, .cyan, .teal, .green, .light-green, .lime, .yellow, .amber, .orange, .deep-orange, .brown , .grey, .blue-grey, .black, .white, .transparent {
497
+ height: 55px;
498
+ width: 100%;
499
+ padding: 0 15px;
500
+ font-weight: 500;
501
+ font-size: 12px;
502
+ display: flex;
503
+ justify-content: center;
504
+ flex-direction: column;
505
+ box-sizing: border-box;
506
+ }
507
+ .col {
508
+ margin-bottom: 55px;
509
+ }
510
+ }
511
+
512
+ .center {
513
+ text-align: center;
514
+ vertical-align: middle;
515
+ }
516
+
517
+ // Icons
518
+ .material-icons.icon-demo {
519
+ line-height: 50px;
520
+ }
521
+ .icon-container i {
522
+ font-size: 3em;
523
+ margin-bottom: 10px;
524
+ }
525
+ .icon-container .icon-preview {
526
+ height: 120px;
527
+ text-align: center;
528
+ }
529
+ .icon-container span {
530
+ display: block;
531
+ }
532
+
533
+ .icon-holder {
534
+ display: block;
535
+ text-align: center;
536
+ width: 150px;
537
+ height: 115px;
538
+
539
+ float: left;
540
+ margin: 0 0px 15px 0px;
541
+ p {
542
+ margin: 0 0;
543
+ }
544
+ }
545
+
546
+ // tabs
547
+ .tabs-wrapper {
548
+ position: relative;
549
+ height: 48px;
550
+ @extend .hide-on-small-only;
551
+
552
+ .row.pinned {
553
+ position: fixed;
554
+ width: 100%;
555
+ top: 0;
556
+ z-index: 10;
557
+ }
558
+ }
559
+
560
+
561
+ // Tables
562
+ thead {
563
+ color: rgba(0, 0, 0, .6);
564
+ }
565
+
566
+
567
+ // Shadow demo styling
568
+ .shadow-demo {
569
+ background-color: color("teal", "lighten-1");
570
+ width: 100px;
571
+ height: 100px;
572
+ margin: 20px auto;
573
+
574
+ @media only screen and (max-width: $small-screen) {
575
+ width: 150px;
576
+ height: 150px;
577
+ }
578
+ }
579
+
580
+ // parallax demo
581
+ .parallax-container {
582
+
583
+ .text-center {
584
+ position: absolute;
585
+ top: 50%;
586
+ left: 0;
587
+ right: 0;
588
+ margin-top: -27px;
589
+ }
590
+
591
+ }
592
+
593
+ // Table of contents
594
+ ul.table-of-contents {
595
+ margin-top: 0;
596
+ padding-top: 48px;
597
+
598
+ a {
599
+ &.active {
600
+ color: rgba(0,0,0,.8);
601
+ }
602
+ color: rgba(0,0,0,.55);
603
+ font-weight: 400;
604
+ }
605
+ }
606
+
607
+
608
+
609
+ // Prism Styling
610
+ code, pre {
611
+ position: relative;
612
+ font-size: 1.1rem;
613
+ }
614
+
615
+ .directory-markup {
616
+ font-size: 1rem;
617
+ line-height: 1.1rem !important;
618
+ }
619
+ :not(pre) > code[class*="language-"] {
620
+ padding: .1em .25em;
621
+ border: solid 1px rgba(51,51,51,0.12);
622
+ }
623
+
624
+ // Styles code blocks
625
+ pre[class*="language-"] {
626
+ &:before {
627
+ position: absolute;
628
+ padding: 1px 5px;
629
+ background: hsl(30, 10%, 90%);
630
+ top: 0;
631
+ left: 0;
632
+ font-family: $font-stack;
633
+ -webkit-font-smoothing: antialiased;
634
+ color: #555;
635
+ content:attr(class);
636
+ font-size: .9rem;
637
+ border: solid 1px rgba(51, 51, 51, 0.12);
638
+ border-top: none;
639
+ border-left: none;
640
+ }
641
+ padding: 25px 12px 7px 12px;
642
+ border: solid 1px rgba(51, 51, 51, 0.12);
643
+ background: rgba(246, 246, 246, .2);
644
+ }
645
+
646
+ pre[class*="language-"],
647
+ code[class*="language-"] {
648
+ line-height: 1.3;
649
+ }
650
+
651
+ // Styles one-liners
652
+ :not(pre) > code[class*="language-"] {
653
+ background: rgba(246, 246, 246, .3);
654
+ }
655
+
656
+ // copy code icons
657
+ .copyMessage, .copyButton {
658
+ color: #757575;
659
+ position: absolute;
660
+ }
661
+
662
+ .copyMessage {
663
+ font-size: 14px;
664
+ transition: all 0.2s ease-in;
665
+ opacity: 0;
666
+ right: 45px;
667
+ top: 15px;
668
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,Cantarell, "Helvetica Neue", sans-serif;
669
+ }
670
+
671
+ .copyButton {
672
+ top: 10px;
673
+ right: 10px;
674
+ cursor: pointer;
675
+ }
676
+
677
+ .toc-wrapper {
678
+ &.pin-bottom {
679
+ margin-top: 84px;
680
+ }
681
+
682
+ position: relative;
683
+ margin-top: 42px;
684
+ }
685
+
686
+ // Footer styling
687
+ footer{
688
+ font-size: .9rem;
689
+ }
690
+ body.parallax-demo footer {
691
+ margin-top: 0;
692
+ }
693
+ .docs-footer {
694
+ margin-top: 40px;
695
+ background-color: transparent;
696
+ border-top: 1px solid $border-color;
697
+ color: inherit;
698
+
699
+ .footer-copyright {
700
+ color: inherit;
701
+ background-color: transparent;
702
+ }
703
+ }
704
+
705
+ //About page styling
706
+ .image-container {
707
+ width: 100%;
708
+ img {
709
+ max-width: 100%;
710
+ }
711
+ }
712
+
713
+
714
+ // Mobile page styling
715
+
716
+ .mobile-image {
717
+ @media #{$small-and-down} {
718
+ max-width: 100%;
719
+ }
720
+ }
721
+
722
+ // Waves page styling
723
+ .waves-color-demo {
724
+ .collection-item {
725
+ height: 37px;
726
+ line-height: 37px;
727
+ box-sizing: content-box;
728
+
729
+ code {
730
+ line-height: 37px;
731
+ }
732
+ }
733
+ .btn {
734
+ &:not(.waves-light) {
735
+ background-color: color("shades", "white");
736
+ color: #212121;
737
+ }
738
+ }
739
+ }
740
+
741
+ // Card Page styling
742
+ .card-panel span, .card-content p{
743
+ -webkit-font-smoothing: antialiased;
744
+ }
745
+
746
+ #images .card-panel .row {
747
+ margin-bottom: 0;
748
+ }
749
+
750
+ // Pushpin Demo styles
751
+ .pushpin-demo {
752
+ position: relative;
753
+ height: 100px;
754
+ }
755
+ #pushpin-demo-1 {
756
+ display: block;
757
+ height: inherit;
758
+ background-color: #ddd;
759
+ }
760
+
761
+ // Valign Demo
762
+ .valign-demo {
763
+ height: 400px;
764
+ background-color: #ddd;
765
+ }
766
+ .talign-demo {
767
+ height: 100px;
768
+ background-color: #ddd;
769
+ }
770
+
771
+ // Transitions demos
772
+ #staggered-test li,
773
+ #image-test {
774
+ opacity: 0;
775
+
776
+ }
777
+
778
+ // Transifex Styling
779
+
780
+ #tx-live-lang-container {
781
+ background-color: #fcfcfc;
782
+ z-index: 999;
783
+
784
+ #tx-live-lang-picker {
785
+ background-color: #fcfcfc;
786
+
787
+ li {
788
+ color: $off-black;
789
+ &:hover{
790
+ color: inherit;
791
+ background-color: color("materialize-red", "lighten-5");
792
+ }
793
+ }
794
+
795
+ }
796
+
797
+ .txlive-langselector-toggle {
798
+ border-bottom: 2px solid color("materialize-red", "lighten-2");
799
+ }
800
+
801
+ .txlive-langselector-current {
802
+ color: $off-black;
803
+ }
804
+
805
+ .txlive-langselector-marker {
806
+ border-bottom: 4px solid rgba(0,0,0,.61);
807
+ }
808
+
809
+
810
+ }
811
+
812
+
813
+ // Thanks for Downloading
814
+ #download-thanks {
815
+ display: none;
816
+ }
817
+
818
+
819
+ // Twitter widget
820
+ #twitter-widget-0 {
821
+ width: 300px !important;
822
+ }
823
+
824
+ // Version dropdown
825
+ #nav-mobile li.version {
826
+ position: absolute;
827
+ top: 100px;
828
+ left: 0;
829
+ right: 0;
830
+ font-family: "Inconsolata";
831
+ text-align: center;
832
+
833
+ .dropdown-trigger {
834
+ font-family: "Inconsolata";
835
+ margin: 0 auto;
836
+ display: inline-block;
837
+ padding: 0 10px;
838
+ border-bottom: 1px solid rgba(0,0,0, .2);
839
+
840
+ .caret {
841
+ position: relative;
842
+ top: 10px;
843
+ fill: rgba(0,0,0,.6);
844
+ }
845
+ }
846
+ }
847
+
848
+ #version-dropdown {
849
+ text-align: left;
850
+
851
+ li > a {
852
+ padding: 0 10px;
853
+
854
+ }
855
+
856
+ a {
857
+ height: 50px;
858
+ line-height: 50px;
859
+ }
860
+
861
+ }
862
+
863
+ // Search
864
+ #nav-mobile li.search {
865
+ &:hover { background-color: #fff; }
866
+
867
+ position: absolute;
868
+ left: 0;
869
+ right: 0;
870
+ top: 160px;
871
+ margin-top: 1px;
872
+ padding: 1px 0 0 0;
873
+ z-index: 2;
874
+
875
+ .search-wrapper {
876
+ &.focused .search-results:not(:empty) {
877
+ border-bottom: 1px solid $border-color;
878
+ }
879
+
880
+ color: #777;
881
+ margin-top: -1px;
882
+ border-top: 1px solid $border-color;
883
+ transition: margin .25s ease;
884
+
885
+ input#search {
886
+ &:focus {
887
+ outline: none;
888
+ box-shadow: none;
889
+ }
890
+
891
+ color: #777;
892
+ display: block;
893
+ font-size: 16px;
894
+ font-weight: 300;
895
+ width: 100%;
896
+ height: 62px;
897
+ margin: 0;
898
+ box-sizing: border-box;
899
+ padding: 0 45px 0 30px;
900
+ border: 0;
901
+ }
902
+
903
+ i.material-icons {
904
+ position: absolute;
905
+ top: 21px;
906
+ right: 10px;
907
+ cursor: pointer;
908
+ }
909
+ }
910
+
911
+
912
+ .search-results {
913
+ margin: 0;
914
+ border-top: 1px solid $border-color;
915
+ background-color: #fff;
916
+
917
+ a {
918
+ &:hover,
919
+ &.focused {
920
+ background-color: #eee;
921
+ outline: none;
922
+ }
923
+
924
+ font-size: 12px;
925
+ white-space: nowrap;
926
+ display: block;
927
+ }
928
+ }
929
+ }