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,187 @@
1
+
2
+
3
+ .card-panel {
4
+ transition: box-shadow .25s;
5
+ padding: $card-padding;
6
+ margin: $element-top-margin 0 $element-bottom-margin 0;
7
+ border-radius: 2px;
8
+ @extend .z-depth-1;
9
+ background-color: $card-bg-color;
10
+ }
11
+
12
+ .card {
13
+ position: relative;
14
+ margin: $element-top-margin 0 $element-bottom-margin 0;
15
+ background-color: $card-bg-color;
16
+ transition: box-shadow .25s;
17
+ border-radius: 2px;
18
+ @extend .z-depth-1;
19
+
20
+
21
+ .card-title {
22
+ font-size: 24px;
23
+ font-weight: 300;
24
+ &.activator {
25
+ cursor: pointer;
26
+ }
27
+ }
28
+
29
+ // Card Sizes
30
+ &.small, &.medium, &.large {
31
+ position: relative;
32
+
33
+ .card-image {
34
+ max-height: 60%;
35
+ overflow: hidden;
36
+ }
37
+ .card-image + .card-content {
38
+ max-height: 40%;
39
+ }
40
+ .card-content {
41
+ max-height: 100%;
42
+ overflow: hidden;
43
+ }
44
+ .card-action {
45
+ position: absolute;
46
+ bottom: 0;
47
+ left: 0;
48
+ right: 0;
49
+ }
50
+ }
51
+
52
+ &.small {
53
+ height: 300px;
54
+ }
55
+
56
+ &.medium {
57
+ height: 400px;
58
+ }
59
+
60
+ &.large {
61
+ height: 500px;
62
+ }
63
+
64
+ // Horizontal Cards
65
+ &.horizontal {
66
+ &.small, &.medium, &.large {
67
+ .card-image {
68
+ height: 100%;
69
+ max-height: none;
70
+ overflow: visible;
71
+
72
+ img {
73
+ height: 100%;
74
+ }
75
+ }
76
+ }
77
+
78
+ display: flex;
79
+
80
+ .card-image {
81
+ max-width: 50%;
82
+ img {
83
+ border-radius: 2px 0 0 2px;
84
+ max-width: 100%;
85
+ width: auto;
86
+ }
87
+ }
88
+
89
+ .card-stacked {
90
+ display: flex;
91
+ flex-direction: column;
92
+ flex: 1;
93
+ position: relative;
94
+
95
+ .card-content {
96
+ flex-grow: 1;
97
+ }
98
+ }
99
+ }
100
+
101
+ // Sticky Action Section
102
+ &.sticky-action {
103
+ .card-action {
104
+ z-index: 2;
105
+ }
106
+
107
+ .card-reveal {
108
+ z-index: 1;
109
+ padding-bottom: 64px;
110
+ }
111
+ }
112
+
113
+
114
+
115
+
116
+ .card-image {
117
+ position: relative;
118
+
119
+ // Image background for content
120
+ img {
121
+ display: block;
122
+ border-radius: 2px 2px 0 0;
123
+ position: relative;
124
+ left: 0;
125
+ right: 0;
126
+ top: 0;
127
+ bottom: 0;
128
+ width: 100%;
129
+ }
130
+
131
+ .card-title {
132
+ color: $card-bg-color;
133
+ position: absolute;
134
+ bottom: 0;
135
+ left: 0;
136
+ padding: $card-padding;
137
+ }
138
+
139
+ }
140
+
141
+ .card-content {
142
+ padding: $card-padding;
143
+ border-radius: 0 0 2px 2px;
144
+
145
+ p {
146
+ margin: 0;
147
+ color: inherit;
148
+ }
149
+ .card-title {
150
+ line-height: 48px;
151
+ }
152
+ }
153
+
154
+ .card-action {
155
+ position: relative;
156
+ background-color: inherit;
157
+ border-top: 1px solid rgba(160,160,160,.2);
158
+ padding: $card-padding;
159
+
160
+ a:not(.btn):not(.btn-large):not(.btn-floating) {
161
+ color: $card-link-color;
162
+ margin-right: $card-padding;
163
+ transition: color .3s ease;
164
+ text-transform: uppercase;
165
+
166
+ &:hover { color: $card-link-color-light; }
167
+ }
168
+ }
169
+
170
+ .card-reveal {
171
+ padding: $card-padding;
172
+ position: absolute;
173
+ background-color: $card-bg-color;
174
+ width: 100%;
175
+ overflow-y: auto;
176
+ left: 0;
177
+ top: 100%;
178
+ height: 100%;
179
+ z-index: 3;
180
+ display: none;
181
+
182
+ .card-title {
183
+ cursor: pointer;
184
+ display: block;
185
+ }
186
+ }
187
+ }
@@ -0,0 +1,85 @@
1
+ .carousel {
2
+ &.carousel-slider {
3
+ top: 0;
4
+ left: 0;
5
+ height: 0;
6
+
7
+ .carousel-fixed-item {
8
+ &.with-indicators {
9
+ bottom: 68px;
10
+ }
11
+
12
+ position: absolute;
13
+ left: 0;
14
+ right: 0;
15
+ bottom: 20px;
16
+ z-index: 1;
17
+ }
18
+
19
+ .carousel-item {
20
+ width: 100%;
21
+ height: 100%;
22
+ min-height: 400px;
23
+ position: absolute;
24
+ top: 0;
25
+ left: 0;
26
+
27
+ h2 {
28
+ font-size: 24px;
29
+ font-weight: 500;
30
+ line-height: 32px;
31
+ }
32
+
33
+ p {
34
+ font-size: 15px;
35
+ }
36
+ }
37
+ }
38
+
39
+ overflow: hidden;
40
+ position: relative;
41
+ width: 100%;
42
+ height: 400px;
43
+ perspective: 500px;
44
+ transform-style: preserve-3d;
45
+ transform-origin: 0% 50%;
46
+
47
+ .carousel-item {
48
+ display: none;
49
+ width: 200px;
50
+ height: 400px;
51
+ position: absolute;
52
+ top: 0;
53
+ left: 0;
54
+
55
+ img {
56
+ width: 100%;
57
+ }
58
+ }
59
+
60
+ .indicators {
61
+ position: absolute;
62
+ text-align: center;
63
+ left: 0;
64
+ right: 0;
65
+ bottom: 0;
66
+ margin: 0;
67
+
68
+ .indicator-item {
69
+ &.active {
70
+ background-color: #fff;
71
+ }
72
+
73
+ display: inline-block;
74
+ position: relative;
75
+ cursor: pointer;
76
+ height: 8px;
77
+ width: 8px;
78
+ margin: 24px 4px;
79
+ background-color: rgba(255,255,255,.5);
80
+
81
+ transition: background-color .3s;
82
+ border-radius: 50%;
83
+ }
84
+ }
85
+ }
@@ -0,0 +1,83 @@
1
+ .chip {
2
+ display: inline-block;
3
+ height: 32px;
4
+ font-size: 13px;
5
+ font-weight: 500;
6
+ color: rgba(0,0,0,.6);
7
+ line-height: 32px;
8
+ padding: 0 12px;
9
+ border-radius: 16px;
10
+ background-color: $chip-bg-color;
11
+ margin-bottom: $chip-margin;
12
+ margin-right: $chip-margin;
13
+
14
+ img {
15
+ float: left;
16
+ margin: 0 8px 0 -12px;
17
+ height: 32px;
18
+ width: 32px;
19
+ border-radius: 50%;
20
+ }
21
+
22
+ .close {
23
+ cursor: pointer;
24
+ float: right;
25
+ font-size: 16px;
26
+ line-height: 32px;
27
+ padding-left: 8px;
28
+ }
29
+ }
30
+
31
+ .chips {
32
+ border: none;
33
+ border-bottom: 1px solid $chip-border-color;
34
+ box-shadow: none;
35
+ margin: $input-margin;
36
+ min-height: 45px;
37
+ outline: none;
38
+ transition: all .3s;
39
+
40
+ &.focus {
41
+ border-bottom: 1px solid $chip-selected-color;
42
+ box-shadow: 0 1px 0 0 $chip-selected-color;
43
+ }
44
+
45
+ &:hover {
46
+ cursor: text;
47
+ }
48
+
49
+ .chip.selected {
50
+ background-color: $chip-selected-color;
51
+ color: #fff;
52
+ }
53
+
54
+ .input {
55
+ background: none;
56
+ border: 0;
57
+ color: rgba(0,0,0,.6);
58
+ display: inline-block;
59
+ font-size: $input-font-size;
60
+ height: $input-height;
61
+ line-height: 32px;
62
+ outline: 0;
63
+ margin: 0;
64
+ padding: 0 !important;
65
+ width: 120px !important;
66
+ }
67
+
68
+ .input:focus {
69
+ border: 0 !important;
70
+ box-shadow: none !important;
71
+ }
72
+ }
73
+
74
+ // Form prefix
75
+ .prefix ~ .chips {
76
+ margin-left: 3rem;
77
+ width: 92%;
78
+ width: calc(100% - 3rem);
79
+ }
80
+ .chips:empty ~ label {
81
+ font-size: 0.8rem;
82
+ transform: translateY(-140%);
83
+ }
@@ -0,0 +1,90 @@
1
+ .collapsible {
2
+ border-top: 1px solid $collapsible-border-color;
3
+ border-right: 1px solid $collapsible-border-color;
4
+ border-left: 1px solid $collapsible-border-color;
5
+ margin: $element-top-margin 0 $element-bottom-margin 0;
6
+ @extend .z-depth-1;
7
+ }
8
+
9
+ .collapsible-header {
10
+ display: block;
11
+ cursor: pointer;
12
+ min-height: $collapsible-height;
13
+ line-height: $collapsible-height;
14
+ padding: 0 1rem;
15
+ background-color: $collapsible-header-color;
16
+ border-bottom: 1px solid $collapsible-border-color;
17
+
18
+ i {
19
+ width: 2rem;
20
+ font-size: 1.6rem;
21
+ line-height: $collapsible-height;
22
+ display: block;
23
+ float: left;
24
+ text-align: center;
25
+ margin-right: 1rem;
26
+ }
27
+ }
28
+
29
+ .collapsible-body {
30
+ display: none;
31
+ border-bottom: 1px solid $collapsible-border-color;
32
+ box-sizing: border-box;
33
+
34
+ p {
35
+ margin: 0;
36
+ padding: 2rem;
37
+ }
38
+ }
39
+
40
+ // sideNav collapsible styling
41
+ .side-nav,
42
+ .side-nav.fixed {
43
+
44
+ .collapsible {
45
+ border: none;
46
+ box-shadow: none;
47
+
48
+ li { padding: 0; }
49
+ }
50
+
51
+ .collapsible-header {
52
+ background-color: transparent;
53
+ border: none;
54
+ line-height: inherit;
55
+ height: inherit;
56
+ padding: 0 $sidenav-padding;
57
+
58
+ &:hover { background-color: rgba(0,0,0,.05); }
59
+ i { line-height: inherit; }
60
+ }
61
+
62
+ .collapsible-body {
63
+ border: 0;
64
+ background-color: $collapsible-header-color;
65
+
66
+ li a {
67
+ padding: 0 (7.5px + $sidenav-padding)
68
+ 0 (15px + $sidenav-padding);
69
+ }
70
+ }
71
+
72
+ }
73
+
74
+ // Popout Collapsible
75
+
76
+ .collapsible.popout {
77
+ border: none;
78
+ box-shadow: none;
79
+ > li {
80
+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
81
+ // transform: scaleX(.92);
82
+ margin: 0 24px;
83
+ transition: margin .35s cubic-bezier(0.250, 0.460, 0.450, 0.940);
84
+ }
85
+ > li.active {
86
+ box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
87
+ margin: 16px 0;
88
+ // transform: scaleX(1);
89
+ }
90
+ }