dr-jekylls-materials 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +41 -0
  4. data/_includes/footer.html +36 -0
  5. data/_includes/header.html +21 -0
  6. data/_includes/icon-github.html +1 -0
  7. data/_layouts/default.html +15 -0
  8. data/_layouts/home.html +20 -0
  9. data/_layouts/page.html +5 -0
  10. data/_layouts/post.html +91 -0
  11. data/_sass/components/_buttons.scss +281 -0
  12. data/_sass/components/_cards.scss +187 -0
  13. data/_sass/components/_carousel.scss +85 -0
  14. data/_sass/components/_chips.scss +83 -0
  15. data/_sass/components/_collapsible.scss +90 -0
  16. data/_sass/components/_color.scss +412 -0
  17. data/_sass/components/_dropdown.scss +65 -0
  18. data/_sass/components/_global.scss +800 -0
  19. data/_sass/components/_grid.scss +147 -0
  20. data/_sass/components/_icons-material-design.scss +5 -0
  21. data/_sass/components/_materialbox.scss +42 -0
  22. data/_sass/components/_mixins.scss +5 -0
  23. data/_sass/components/_modal.scss +90 -0
  24. data/_sass/components/_navbar.scss +190 -0
  25. data/_sass/components/_normalize.scss +424 -0
  26. data/_sass/components/_prefixer.scss +384 -0
  27. data/_sass/components/_preloader.scss +334 -0
  28. data/_sass/components/_roboto.scss +49 -0
  29. data/_sass/components/_sideNav.scss +208 -0
  30. data/_sass/components/_slider.scss +92 -0
  31. data/_sass/components/_table_of_contents.scss +33 -0
  32. data/_sass/components/_tabs.scss +99 -0
  33. data/_sass/components/_toast.scss +65 -0
  34. data/_sass/components/_tooltip.scss +32 -0
  35. data/_sass/components/_typography.scss +61 -0
  36. data/_sass/components/_variables.scss +314 -0
  37. data/_sass/components/_waves.scss +177 -0
  38. data/_sass/components/date_picker/_default.date.scss +435 -0
  39. data/_sass/components/date_picker/_default.scss +201 -0
  40. data/_sass/components/date_picker/_default.time.scss +125 -0
  41. data/_sass/components/forms/_checkboxes.scss +220 -0
  42. data/_sass/components/forms/_file-input.scss +38 -0
  43. data/_sass/components/forms/_forms.scss +22 -0
  44. data/_sass/components/forms/_input-fields.scss +286 -0
  45. data/_sass/components/forms/_radio-buttons.scss +117 -0
  46. data/_sass/components/forms/_range.scss +159 -0
  47. data/_sass/components/forms/_select.scss +121 -0
  48. data/_sass/components/forms/_switches.scss +78 -0
  49. metadata +134 -0
@@ -0,0 +1,800 @@
1
+ //Default styles
2
+
3
+ html {
4
+ box-sizing: border-box;
5
+ }
6
+ *, *:before, *:after {
7
+ box-sizing: inherit;
8
+ }
9
+
10
+ body {
11
+ // display: flex;
12
+ // min-height: 100vh;
13
+ // flex-direction: column;
14
+ }
15
+
16
+ main {
17
+ // flex: 1 0 auto;
18
+ }
19
+
20
+ ul {
21
+ &:not(.browser-default) {
22
+ padding-left: 0;
23
+ list-style-type: none;
24
+
25
+ li {
26
+ list-style-type: none;
27
+ }
28
+ }
29
+ }
30
+
31
+ a {
32
+ color: $link-color;
33
+ text-decoration: none;
34
+
35
+ // Gets rid of tap active state
36
+ -webkit-tap-highlight-color: transparent;
37
+ }
38
+
39
+
40
+ // Positioning
41
+ .valign-wrapper {
42
+ display: flex;
43
+ align-items: center;
44
+
45
+ .valign {
46
+ display: block;
47
+ }
48
+ }
49
+
50
+
51
+ // classic clearfix
52
+ .clearfix {
53
+ clear: both;
54
+ }
55
+
56
+
57
+ // Z-levels
58
+ .z-depth-0 {
59
+ box-shadow: none !important;
60
+ }
61
+ .z-depth-1 {
62
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
63
+ }
64
+ .z-depth-1-half {
65
+ 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);
66
+ }
67
+ .z-depth-2 {
68
+ box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
69
+ }
70
+ .z-depth-3 {
71
+ box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.3);
72
+ }
73
+ .z-depth-4 {
74
+ box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.3);
75
+ }
76
+ .z-depth-5 {
77
+ box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.3);
78
+ }
79
+
80
+ .hoverable {
81
+ transition: box-shadow .25s;
82
+ box-shadow: 0;
83
+ }
84
+
85
+ .hoverable:hover {
86
+ transition: box-shadow .25s;
87
+ box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
88
+ }
89
+
90
+ // Dividers
91
+
92
+ .divider {
93
+ height: 1px;
94
+ overflow: hidden;
95
+ background-color: color("grey", "lighten-2");
96
+ }
97
+
98
+
99
+ // Blockquote
100
+
101
+ blockquote {
102
+ margin: 20px 0;
103
+ padding-left: 1.5rem;
104
+ border-left: 5px solid $primary-color;
105
+ }
106
+
107
+ // Icon Styles
108
+
109
+ i {
110
+ line-height: inherit;
111
+
112
+ &.left {
113
+ float: left;
114
+ margin-right: 15px;
115
+ }
116
+ &.right {
117
+ float: right;
118
+ margin-left: 15px;
119
+ }
120
+ &.tiny {
121
+ font-size: 1rem;
122
+ }
123
+ &.small {
124
+ font-size: 2rem;
125
+ }
126
+ &.medium {
127
+ font-size: 4rem;
128
+ }
129
+ &.large {
130
+ font-size: 6rem;
131
+ }
132
+ }
133
+
134
+ // Images
135
+ img.responsive-img,
136
+ video.responsive-video {
137
+ max-width: 100%;
138
+ height: auto;
139
+ }
140
+
141
+
142
+ // Pagination
143
+
144
+ .pagination {
145
+
146
+ li {
147
+ display: inline-block;
148
+ border-radius: 2px;
149
+ text-align: center;
150
+ vertical-align: top;
151
+ height: 30px;
152
+
153
+ a {
154
+ color: #444;
155
+ display: inline-block;
156
+ font-size: 1.2rem;
157
+ padding: 0 10px;
158
+ line-height: 30px;
159
+ }
160
+
161
+ &.active a { color: #fff; }
162
+
163
+ &.active { background-color: $primary-color; }
164
+
165
+ &.disabled a {
166
+ cursor: default;
167
+ color: #999;
168
+ }
169
+
170
+ i {
171
+ font-size: 2rem;
172
+ }
173
+ }
174
+
175
+
176
+ li.pages ul li {
177
+ display: inline-block;
178
+ float: none;
179
+ }
180
+ }
181
+ @media #{$medium-and-down} {
182
+ .pagination {
183
+ width: 100%;
184
+
185
+ li.prev,
186
+ li.next {
187
+ width: 10%;
188
+ }
189
+
190
+ li.pages {
191
+ width: 80%;
192
+ overflow: hidden;
193
+ white-space: nowrap;
194
+ }
195
+ }
196
+ }
197
+
198
+ // Breadcrumbs
199
+ .breadcrumb {
200
+ font-size: 18px;
201
+ color: rgba(255,255,255, .7);
202
+
203
+ i,
204
+ [class^="mdi-"], [class*="mdi-"],
205
+ i.material-icons {
206
+ display: inline-block;
207
+ float: left;
208
+ font-size: 24px;
209
+ }
210
+
211
+ &:before {
212
+ content: '\E5CC';
213
+ color: rgba(255,255,255, .7);
214
+ vertical-align: top;
215
+ display: inline-block;
216
+ font-family: 'Material Icons';
217
+ font-weight: normal;
218
+ font-style: normal;
219
+ font-size: 25px;
220
+ margin: 0 10px 0 8px;
221
+ -webkit-font-smoothing: antialiased;
222
+ }
223
+
224
+ &:first-child:before {
225
+ display: none;
226
+ }
227
+
228
+ &:last-child {
229
+ color: #fff;
230
+ }
231
+ }
232
+
233
+
234
+ // Parallax
235
+ .parallax-container {
236
+ position: relative;
237
+ overflow: hidden;
238
+ height: 500px;
239
+ }
240
+
241
+ .parallax {
242
+ position: absolute;
243
+ top: 0;
244
+ left: 0;
245
+ right: 0;
246
+ bottom: 0;
247
+ z-index: -1;
248
+
249
+ img {
250
+ display: none;
251
+ position: absolute;
252
+ left: 50%;
253
+ bottom: 0;
254
+ min-width: 100%;
255
+ min-height: 100%;
256
+ -webkit-transform: translate3d(0,0,0);
257
+ transform: translate3d(0,0,0);
258
+ transform: translateX(-50%);
259
+ }
260
+ }
261
+
262
+ // Pushpin
263
+ .pin-top, .pin-bottom {
264
+ position: relative;
265
+ }
266
+ .pinned {
267
+ position: fixed !important;
268
+ }
269
+
270
+ /*********************
271
+ Transition Classes
272
+ **********************/
273
+
274
+ ul.staggered-list li {
275
+ opacity: 0;
276
+ }
277
+
278
+ .fade-in {
279
+ opacity: 0;
280
+ transform-origin: 0 50%;
281
+ }
282
+
283
+
284
+ /*********************
285
+ Media Query Classes
286
+ **********************/
287
+ .hide-on-small-only, .hide-on-small-and-down {
288
+ @media #{$small-and-down} {
289
+ display: none !important;
290
+ }
291
+ }
292
+ .hide-on-med-and-down {
293
+ @media #{$medium-and-down} {
294
+ display: none !important;
295
+ }
296
+ }
297
+ .hide-on-med-and-up {
298
+ @media #{$medium-and-up} {
299
+ display: none !important;
300
+ }
301
+ }
302
+ .hide-on-med-only {
303
+ @media only screen and (min-width: $small-screen) and (max-width: $medium-screen) {
304
+ display: none !important;
305
+ }
306
+ }
307
+ .hide-on-large-only {
308
+ @media #{$large-and-up} {
309
+ display: none !important;
310
+ }
311
+ }
312
+ .show-on-large {
313
+ @media #{$large-and-up} {
314
+ display: block !important;
315
+ }
316
+ }
317
+ .show-on-medium {
318
+ @media only screen and (min-width: $small-screen) and (max-width: $medium-screen) {
319
+ display: block !important;
320
+ }
321
+ }
322
+ .show-on-small {
323
+ @media #{$small-and-down} {
324
+ display: block !important;
325
+ }
326
+ }
327
+ .show-on-medium-and-up {
328
+ @media #{$medium-and-up} {
329
+ display: block !important;
330
+ }
331
+ }
332
+ .show-on-medium-and-down {
333
+ @media #{$medium-and-down} {
334
+ display: block !important;
335
+ }
336
+ }
337
+
338
+
339
+ // Center text on mobile
340
+ .center-on-small-only {
341
+ @media #{$small-and-down} {
342
+ text-align: center;
343
+ }
344
+ }
345
+
346
+ // Footer
347
+ footer.page-footer {
348
+ margin-top: 20px;
349
+ padding-top: 20px;
350
+ background-color: $footer-bg-color;
351
+
352
+ .footer-copyright {
353
+ overflow: hidden;
354
+ height: 50px;
355
+ line-height: 50px;
356
+ color: rgba(255,255,255,.8);
357
+ background-color: rgba(51,51,51,.08);
358
+ @extend .light;
359
+ }
360
+ }
361
+
362
+ // Tables
363
+ table, th, td {
364
+ border: none;
365
+ }
366
+
367
+ table {
368
+ width:100%;
369
+ display: table;
370
+
371
+ &.bordered > thead > tr,
372
+ &.bordered > tbody > tr {
373
+ border-bottom: 1px solid $table-border-color;
374
+ }
375
+
376
+ &.striped > tbody {
377
+ > tr:nth-child(odd) {
378
+ background-color: $table-striped-color;
379
+ }
380
+
381
+ > tr > td {
382
+ border-radius: 0;
383
+ }
384
+ }
385
+
386
+ &.highlight > tbody > tr {
387
+ transition: background-color .25s ease;
388
+ &:hover {
389
+ background-color: $table-striped-color;
390
+ }
391
+ }
392
+
393
+ &.centered {
394
+ thead tr th, tbody tr td {
395
+ text-align: center;
396
+ }
397
+ }
398
+
399
+ }
400
+
401
+ thead {
402
+ border-bottom: 1px solid $table-border-color;
403
+ }
404
+
405
+ td, th{
406
+ padding: 15px 5px;
407
+ display: table-cell;
408
+ text-align: left;
409
+ vertical-align: middle;
410
+ border-radius: 2px;
411
+ }
412
+
413
+ // Responsive Table
414
+ @media #{$medium-and-down} {
415
+
416
+ table.responsive-table {
417
+ width: 100%;
418
+ border-collapse: collapse;
419
+ border-spacing: 0;
420
+ display: block;
421
+ position: relative;
422
+
423
+ td:empty:before {
424
+ content: '\00a0';
425
+ }
426
+
427
+ th,
428
+ td {
429
+ margin: 0;
430
+ vertical-align: top;
431
+ }
432
+
433
+ th { text-align: left; }
434
+ thead {
435
+ display: block;
436
+ float: left;
437
+
438
+ tr {
439
+ display: block;
440
+ padding: 0 10px 0 0;
441
+
442
+ th::before {
443
+ content: "\00a0";
444
+ }
445
+ }
446
+ }
447
+ tbody {
448
+ display: block;
449
+ width: auto;
450
+ position: relative;
451
+ overflow-x: auto;
452
+ white-space: nowrap;
453
+
454
+ tr {
455
+ display: inline-block;
456
+ vertical-align: top;
457
+ }
458
+ }
459
+ th {
460
+ display: block;
461
+ text-align: right;
462
+ }
463
+ td {
464
+ display: block;
465
+ min-height: 1.25em;
466
+ text-align: left;
467
+ }
468
+ tr { padding: 0 10px; }
469
+
470
+ /* sort out borders */
471
+ thead {
472
+ border: 0;
473
+ border-right: 1px solid $table-border-color;
474
+ }
475
+
476
+ &.bordered {
477
+ th { border-bottom: 0; border-left: 0; }
478
+ td { border-left: 0; border-right: 0; border-bottom: 0; }
479
+ tr { border: 0; }
480
+ tbody tr { border-right: 1px solid $table-border-color; }
481
+ }
482
+
483
+ }
484
+
485
+ }
486
+
487
+
488
+ // Collections
489
+ .collection {
490
+ margin: $element-top-margin 0 $element-bottom-margin 0;
491
+ border: 1px solid $collection-border-color;
492
+ border-radius: 2px;
493
+ overflow: hidden;
494
+ position: relative;
495
+
496
+ .collection-item {
497
+ background-color: $collection-bg-color;
498
+ line-height: 1.5rem;
499
+ padding: 10px 20px;
500
+ margin: 0;
501
+ border-bottom: 1px solid $collection-border-color;
502
+
503
+ // Avatar Collection
504
+ &.avatar {
505
+ min-height: 84px;
506
+ padding-left: 72px;
507
+ position: relative;
508
+
509
+ .circle {
510
+ position: absolute;
511
+ width: 42px;
512
+ height: 42px;
513
+ overflow: hidden;
514
+ left: 15px;
515
+ display: inline-block;
516
+ vertical-align: middle;
517
+ }
518
+ i.circle {
519
+ font-size: 18px;
520
+ line-height: 42px;
521
+ color: #fff;
522
+ background-color: #999;
523
+ text-align: center;
524
+ }
525
+
526
+
527
+ .title {
528
+ font-size: 16px;
529
+ }
530
+
531
+ p {
532
+ margin: 0;
533
+ }
534
+
535
+ .secondary-content {
536
+ position: absolute;
537
+ top: 16px;
538
+ right: 16px;
539
+ }
540
+
541
+ }
542
+
543
+
544
+ &:last-child {
545
+ border-bottom: none;
546
+ }
547
+
548
+ &.active {
549
+ background-color: $collection-active-bg-color;
550
+ color: $collection-active-color;
551
+
552
+ .secondary-content {
553
+ color: #fff;
554
+ }
555
+ }
556
+ }
557
+ a.collection-item{
558
+ display: block;
559
+ transition: .25s;
560
+ color: $collection-link-color;
561
+ &:not(.active) {
562
+ &:hover {
563
+ background-color: $collection-hover-bg-color;
564
+ }
565
+ }
566
+ }
567
+
568
+ &.with-header {
569
+ .collection-header {
570
+ background-color: $collection-bg-color;
571
+ border-bottom: 1px solid $collection-border-color;
572
+ padding: 10px 20px;
573
+ }
574
+ .collection-item {
575
+ padding-left: 30px;
576
+ }
577
+ .collection-item.avatar {
578
+ padding-left: 72px;
579
+ }
580
+ }
581
+
582
+ }
583
+ // Made less specific to allow easier overriding
584
+ .secondary-content {
585
+ float: right;
586
+ color: $secondary-color;
587
+ }
588
+ .collapsible .collection {
589
+ margin: 0;
590
+ border: none;
591
+ }
592
+
593
+
594
+
595
+ // Badges
596
+ span.badge {
597
+ min-width: 3rem;
598
+ padding: 0 6px;
599
+ margin-left: 14px;
600
+ text-align: center;
601
+ font-size: 1rem;
602
+ line-height: inherit;
603
+ color: color('grey', 'darken-1');
604
+ float: right;
605
+ box-sizing: border-box;
606
+
607
+ &.new {
608
+ font-weight: 300;
609
+ font-size: 0.8rem;
610
+ color: #fff;
611
+ background-color: $badge-bg-color;
612
+ border-radius: 2px;
613
+ }
614
+ &.new:after {
615
+ content: " new";
616
+ }
617
+
618
+ &[data-badge-caption]::after {
619
+ content: " " attr(data-badge-caption);
620
+ }
621
+ }
622
+ nav ul a span.badge {
623
+ display: inline-block;
624
+ float: none;
625
+ margin-left: 4px;
626
+ line-height: 22px;
627
+ height: 22px;
628
+ }
629
+ .side-nav span.badge.new,
630
+ .collapsible span.badge.new {
631
+ &::before {
632
+ content: '';
633
+ position: absolute;
634
+ top: 10px;
635
+ right: 0;
636
+ bottom: 10px;
637
+ left: 0;
638
+ background-color: $badge-bg-color;
639
+ border-radius: 2px;
640
+ z-index: -1;
641
+ }
642
+
643
+ position: relative;
644
+ background-color: transparent;
645
+ }
646
+ .collapsible span.badge.new {
647
+ z-index: 1;
648
+ }
649
+
650
+
651
+
652
+ // Responsive Videos
653
+ .video-container {
654
+ position: relative;
655
+ padding-bottom: 56.25%;
656
+ height: 0;
657
+ overflow: hidden;
658
+
659
+ iframe, object, embed {
660
+ position: absolute;
661
+ top: 0;
662
+ left: 0;
663
+ width: 100%;
664
+ height: 100%;
665
+ }
666
+ }
667
+
668
+ // Progress Bar
669
+ .progress {
670
+ position: relative;
671
+ height: 4px;
672
+ display: block;
673
+ width: 100%;
674
+ background-color: lighten($progress-bar-color, 40%);
675
+ border-radius: 2px;
676
+ margin: $element-top-margin 0 $element-bottom-margin 0;
677
+ overflow: hidden;
678
+ .determinate {
679
+ position: absolute;
680
+ top: 0;
681
+ left: 0;
682
+ bottom: 0;
683
+ background-color: $progress-bar-color;
684
+ transition: width .3s linear;
685
+ }
686
+ .indeterminate {
687
+ background-color: $progress-bar-color;
688
+ &:before {
689
+ content: '';
690
+ position: absolute;
691
+ background-color: inherit;
692
+ top: 0;
693
+ left:0;
694
+ bottom: 0;
695
+ will-change: left, right;
696
+ // Custom bezier
697
+ animation: indeterminate 2.1s cubic-bezier(0.650, 0.815, 0.735, 0.395) infinite;
698
+
699
+ }
700
+ &:after {
701
+ content: '';
702
+ position: absolute;
703
+ background-color: inherit;
704
+ top: 0;
705
+ left:0;
706
+ bottom: 0;
707
+ will-change: left, right;
708
+ // Custom bezier
709
+ animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.840, 0.440, 1.000) infinite;
710
+ animation-delay: 1.15s;
711
+ }
712
+ }
713
+ }
714
+ @keyframes indeterminate {
715
+ 0% {
716
+ left: -35%;
717
+ right:100%;
718
+ }
719
+ 60% {
720
+ left: 100%;
721
+ right: -90%;
722
+ }
723
+ 100% {
724
+ left: 100%;
725
+ right: -90%;
726
+ }
727
+ }
728
+
729
+ @keyframes indeterminate-short {
730
+ 0% {
731
+ left: -200%;
732
+ right: 100%;
733
+ }
734
+ 60% {
735
+ left: 107%;
736
+ right: -8%;
737
+ }
738
+ 100% {
739
+ left: 107%;
740
+ right: -8%;
741
+ }
742
+ }
743
+
744
+
745
+ /*******************
746
+ Utility Classes
747
+ *******************/
748
+
749
+ .hide {
750
+ display: none !important;
751
+ }
752
+
753
+ // Text Align
754
+ .left-align {
755
+ text-align: left;
756
+ }
757
+ .right-align {
758
+ text-align: right
759
+ }
760
+ .center, .center-align {
761
+ text-align: center;
762
+ }
763
+
764
+ .left {
765
+ float: left !important;
766
+ }
767
+ .right {
768
+ float: right !important;
769
+ }
770
+
771
+ // No Text Select
772
+ .no-select {
773
+ -webkit-touch-callout: none;
774
+ -webkit-user-select: none;
775
+ -khtml-user-select: none;
776
+ -moz-user-select: none;
777
+ -ms-user-select: none;
778
+ user-select: none;
779
+ }
780
+
781
+ .circle {
782
+ border-radius: 50%;
783
+ }
784
+
785
+ .center-block {
786
+ display: block;
787
+ margin-left: auto;
788
+ margin-right: auto;
789
+ }
790
+
791
+ .truncate {
792
+ display: block;
793
+ white-space: nowrap;
794
+ overflow: hidden;
795
+ text-overflow: ellipsis;
796
+ }
797
+
798
+ .no-padding {
799
+ padding: 0 !important;
800
+ }