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,99 @@
1
+ .tabs {
2
+ &.tabs-transparent {
3
+ background-color: transparent;
4
+
5
+ .tab a,
6
+ .tab.disabled a,
7
+ .tab.disabled a:hover {
8
+ color: rgba(255,255,255,0.7);
9
+ }
10
+
11
+ .tab a:hover,
12
+ .tab a.active {
13
+ color: #fff;
14
+ }
15
+
16
+ .indicator {
17
+ background-color: #fff;
18
+ }
19
+ }
20
+
21
+ &.tabs-fixed-width {
22
+ display: flex;
23
+
24
+ .tab {
25
+ -webkit-box-flex: 1;
26
+ -webkit-flex-grow: 1;
27
+ -ms-flex-positive: 1;
28
+ flex-grow: 1;
29
+ }
30
+ }
31
+
32
+ position: relative;
33
+ overflow-x: auto;
34
+ overflow-y: hidden;
35
+ height: 48px;
36
+ width: 100%;
37
+ background-color: $tabs-bg-color;
38
+ margin: 0 auto;
39
+ white-space: nowrap;
40
+
41
+ .tab {
42
+ display: inline-block;
43
+ text-align: center;
44
+ line-height: 48px;
45
+ height: 48px;
46
+ padding: 0;
47
+ margin: 0;
48
+ text-transform: uppercase;
49
+
50
+ a {
51
+ &:hover,
52
+ &.active {
53
+ background-color: transparent;
54
+ color: $tabs-text-color;
55
+ }
56
+
57
+ color: rgba($tabs-text-color, .7);
58
+ display: block;
59
+ width: 100%;
60
+ height: 100%;
61
+ padding: 0 24px;
62
+ font-size: 14px;
63
+ text-overflow: ellipsis;
64
+ overflow: hidden;
65
+ transition: color .28s ease;
66
+ }
67
+
68
+ &.disabled a,
69
+ &.disabled a:hover {
70
+ color: rgba($tabs-text-color, .7);
71
+ cursor: default;
72
+ }
73
+ }
74
+ .indicator {
75
+ position: absolute;
76
+ bottom: 0;
77
+ height: 2px;
78
+ background-color: $tabs-underline-color;
79
+ will-change: left, right;
80
+ }
81
+ }
82
+
83
+ // Fixed sideNav hide on smaller
84
+ @media #{$medium-and-down} {
85
+ .tabs {
86
+ display: flex;
87
+
88
+ .tab {
89
+ -webkit-box-flex: 1;
90
+ -webkit-flex-grow: 1;
91
+ -ms-flex-positive: 1;
92
+ flex-grow: 1;
93
+
94
+ a {
95
+ padding: 0 12px;
96
+ }
97
+ }
98
+ }
99
+ }
@@ -0,0 +1,65 @@
1
+ #toast-container {
2
+ display:block;
3
+ position: fixed;
4
+ z-index: 10000;
5
+
6
+ @media #{$small-and-down} {
7
+ min-width: 100%;
8
+ bottom: 0%;
9
+ }
10
+ @media #{$medium-only} {
11
+ left: 5%;
12
+ bottom: 7%;
13
+ max-width: 90%;
14
+ }
15
+ @media #{$large-and-up} {
16
+ top: 10%;
17
+ right: 7%;
18
+ max-width: 86%;
19
+ }
20
+ }
21
+
22
+ .toast {
23
+ @extend .z-depth-1;
24
+ border-radius: 2px;
25
+ top: 0;
26
+ width: auto;
27
+ clear: both;
28
+ margin-top: 10px;
29
+ position: relative;
30
+ max-width:100%;
31
+ height: auto;
32
+ min-height: $toast-height;
33
+ line-height: 1.5em;
34
+ word-break: break-all;
35
+ background-color: $toast-color;
36
+ padding: 10px 25px;
37
+ font-size: 1.1rem;
38
+ font-weight: 300;
39
+ color: $toast-text-color;
40
+
41
+ display: flex;
42
+ align-items: center;
43
+ justify-content: space-between;
44
+
45
+ .btn, .btn-flat {
46
+ margin: 0;
47
+ margin-left: 3rem;
48
+ }
49
+
50
+ &.rounded{
51
+ border-radius: 24px;
52
+ }
53
+
54
+ @media #{$small-and-down} {
55
+ width:100%;
56
+ border-radius: 0;
57
+ }
58
+ @media #{$medium-only} {
59
+ float: left;
60
+ }
61
+ @media #{$large-and-up} {
62
+ float: right;
63
+ }
64
+
65
+ }
@@ -0,0 +1,32 @@
1
+ .material-tooltip {
2
+ padding: 10px 8px;
3
+ font-size: 1rem;
4
+ z-index: 2000;
5
+ background-color: transparent;
6
+ border-radius: 2px;
7
+ color: #fff;
8
+ min-height: 36px;
9
+ line-height: 120%;
10
+ opacity: 0;
11
+ display: none;
12
+ position: absolute;
13
+ text-align: center;
14
+ max-width: calc(100% - 4px);
15
+ overflow: hidden;
16
+ left: 0;
17
+ top: 0;
18
+ pointer-events: none;
19
+ }
20
+
21
+ .backdrop {
22
+ position: absolute;
23
+ opacity: 0;
24
+ display: none;
25
+ height: 7px;
26
+ width: 14px;
27
+ border-radius: 0 0 50% 50%;
28
+ background-color: #323232;
29
+ z-index: -1;
30
+ transform-origin: 50% 0%;
31
+ transform: translate3d(0,0,0);
32
+ }
@@ -0,0 +1,61 @@
1
+
2
+ a {
3
+ text-decoration: none;
4
+ }
5
+
6
+ html{
7
+ line-height: 1.5;
8
+
9
+ @media only screen and (min-width: 0) {
10
+ font-size: 14px;
11
+ }
12
+
13
+ @media only screen and (min-width: $medium-screen) {
14
+ font-size: 14.5px;
15
+ }
16
+
17
+ @media only screen and (min-width: $large-screen) {
18
+ font-size: 15px;
19
+ }
20
+
21
+ font-family: "Roboto", sans-serif;
22
+ font-weight: normal;
23
+ color: $off-black;
24
+ }
25
+ h1, h2, h3, h4, h5, h6 {
26
+ font-weight: 400;
27
+ line-height: 1.1;
28
+ }
29
+
30
+ // Header Styles
31
+ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
32
+ h1 { font-size: $h1-fontsize; line-height: 110%; margin: ($h1-fontsize / 2) 0 ($h1-fontsize / 2.5) 0;}
33
+ h2 { font-size: $h2-fontsize; line-height: 110%; margin: ($h2-fontsize / 2) 0 ($h2-fontsize / 2.5) 0;}
34
+ h3 { font-size: $h3-fontsize; line-height: 110%; margin: ($h3-fontsize / 2) 0 ($h3-fontsize / 2.5) 0;}
35
+ h4 { font-size: $h4-fontsize; line-height: 110%; margin: ($h4-fontsize / 2) 0 ($h4-fontsize / 2.5) 0;}
36
+ h5 { font-size: $h5-fontsize; line-height: 110%; margin: ($h5-fontsize / 2) 0 ($h5-fontsize / 2.5) 0;}
37
+ h6 { font-size: $h6-fontsize; line-height: 110%; margin: ($h6-fontsize / 2) 0 ($h6-fontsize / 2.5) 0;}
38
+
39
+ // Text Styles
40
+ em { font-style: italic; }
41
+ strong { font-weight: 500; }
42
+ small { font-size: 75%; }
43
+ .light { font-weight: 300; }
44
+ .thin { font-weight: 200; }
45
+
46
+
47
+ .flow-text{
48
+ font-weight: 300;
49
+ $i: 0;
50
+ @while $i <= $intervals {
51
+ @media only screen and (min-width : 360 + ($i * $interval-size)) {
52
+ font-size: 1.2rem * (1 + (.02 * $i));
53
+ }
54
+ $i: $i + 1;
55
+ }
56
+
57
+ // Handle below 360px screen
58
+ @media only screen and (max-width: 360px) {
59
+ font-size: 1.2rem;
60
+ }
61
+ }
@@ -0,0 +1,314 @@
1
+ // ==========================================================================
2
+ // Materialize variables
3
+ // ==========================================================================
4
+ //
5
+ // Table of Contents:
6
+ //
7
+ // 1. Colors
8
+ // 2. Badges
9
+ // 3. Buttons
10
+ // 4. Cards
11
+ // 5. Collapsible
12
+ // 6. Chips
13
+ // 7. Date Picker
14
+ // 8. Dropdown
15
+ // 10. Forms
16
+ // 11. Global
17
+ // 12. Grid
18
+ // 13. Navigation Bar
19
+ // 14. Side Navigation
20
+ // 15. Photo Slider
21
+ // 16. Spinners | Loaders
22
+ // 17. Tabs
23
+ // 18. Tables
24
+ // 19. Toasts
25
+ // 20. Typography
26
+ // 21. Footer
27
+ // 22. Flow Text
28
+ // 23. Collections
29
+ // 24. Progress Bar
30
+
31
+
32
+
33
+ // 1. Colors
34
+ // ==========================================================================
35
+
36
+ $primary-color: #2AB8F6; // color("materialize-red", "lighten-2") !default;
37
+ $primary-color-light: lighten($primary-color, 15%) !default;
38
+ $primary-color-dark: darken($primary-color, 15%) !default;
39
+
40
+ $secondary-color: #3C56F7; // color("teal", "lighten-1") !default;
41
+ $secondary-color-dark: #0723D6;
42
+ $success-color: #21F878; // color("green", "base") !default;
43
+ $error-color: color("red", "base") !default;
44
+ $link-color: #0723D6;// color("light-blue", "darken-1") !default;
45
+
46
+
47
+ // 2. Badges
48
+ // ==========================================================================
49
+
50
+ $badge-bg-color: $secondary-color !default;
51
+
52
+
53
+ // 3. Buttons
54
+ // ==========================================================================
55
+
56
+ // Shared styles
57
+ $button-border: none !default;
58
+ $button-background-focus: lighten($secondary-color, 4%) !default;
59
+ $button-font-size: 1.3rem !default;
60
+ $button-height: 36px !default;
61
+ $button-padding: 0 2rem !default;
62
+ $button-radius: 2px !default;
63
+
64
+ // Disabled styles
65
+ $button-disabled-background: #DFDFDF !default;
66
+ $button-disabled-color: #9F9F9F !default;
67
+
68
+ // Raised buttons
69
+ $button-raised-background: $secondary-color !default;
70
+ $button-raised-background-hover: lighten($button-raised-background, 5%) !default;
71
+ $button-raised-color: #fff !default;
72
+
73
+ // Large buttons
74
+ $button-large-icon-font-size: 1.6rem !default;
75
+ $button-large-height: $button-height * 1.5 !default;
76
+
77
+ // Flat buttons
78
+ $button-flat-color: #343434 !default;
79
+ $button-flat-disabled-color: lighten(#999, 10%) !default;
80
+
81
+ // Floating buttons
82
+ $button-floating-background: $secondary-color !default;
83
+ $button-floating-background-hover: $button-floating-background !default;
84
+ $button-floating-color: #fff !default;
85
+ $button-floating-size: 40px !default;
86
+ $button-floating-large-size: 56px !default;
87
+ $button-floating-radius: 50% !default;
88
+
89
+
90
+ // 4. Cards
91
+ // ==========================================================================
92
+
93
+ $card-padding: 20px !default;
94
+ $card-bg-color: #fff !default;
95
+ $card-link-color: color("orange", "accent-2") !default;
96
+ $card-link-color-light: lighten($card-link-color, 20%) !default;
97
+
98
+
99
+ // 5. Collapsible
100
+ // ==========================================================================
101
+
102
+ $collapsible-height: 3rem !default;
103
+ $collapsible-header-color: #fff !default;
104
+ $collapsible-border-color: #ddd !default;
105
+
106
+
107
+ // 6. Chips
108
+ // ==========================================================================
109
+
110
+ $chip-bg-color: #e4e4e4 !default;
111
+ $chip-border-color: #9e9e9e !default;
112
+ $chip-selected-color: #26a69a !default;
113
+ $chip-margin: 5px !default;
114
+
115
+
116
+ // 7. Date Picker
117
+ // ==========================================================================
118
+
119
+ $datepicker-weekday-bg: darken($secondary-color, 7%) !default;
120
+ $datepicker-date-bg: $secondary-color !default;
121
+ $datepicker-year: rgba(255, 255, 255, .4) !default;
122
+ $datepicker-focus: rgba(0,0,0, .05) !default;
123
+ $datepicker-selected: $secondary-color !default;
124
+ $datepicker-selected-outfocus: desaturate(lighten($secondary-color, 35%), 15%) !default;
125
+
126
+
127
+ // 8. Dropdown
128
+ // ==========================================================================
129
+
130
+ $dropdown-bg-color: #fff !default;
131
+ $dropdown-hover-bg-color: #eee !default;
132
+ $dropdown-color: $secondary-color !default;
133
+ $dropdown-item-height: 50px !default;
134
+
135
+
136
+ // 9. Fonts
137
+ // ==========================================================================
138
+
139
+ $roboto-font-path: "../fonts/roboto/" !default;
140
+
141
+
142
+ // 10. Forms
143
+ // ==========================================================================
144
+
145
+ // Text Inputs + Textarea
146
+ $input-height: 3rem !default;
147
+ $input-border-color: color("grey", "base") !default;
148
+ $input-border: 1px solid $input-border-color !default;
149
+ $input-background: #fff !default;
150
+ $input-error-color: $error-color !default;
151
+ $input-success-color: $success-color !default;
152
+ $input-focus-color: $secondary-color !default;
153
+ $input-font-size: 1rem !default;
154
+ $input-margin: 0 0 20px 0 !default;
155
+ $input-padding: 0 !default;
156
+ $input-transition: all .3s !default;
157
+ $label-font-size: .8rem !default;
158
+ $input-disabled-color: rgba(0,0,0, .26) !default;
159
+ $input-disabled-solid-color: #BDBDBD !default;
160
+ $input-disabled-border: 1px dotted $input-disabled-color !default;
161
+ $input-invalid-border: 1px solid $input-error-color !default;
162
+ $placeholder-text-color: lighten($input-border-color, 20%) !default;
163
+
164
+ // Radio Buttons
165
+ $radio-fill-color: $secondary-color !default;
166
+ $radio-empty-color: #5a5a5a !default;
167
+ $radio-border: 2px solid $radio-fill-color !default;
168
+
169
+ // Range
170
+ $range-height: 14px !default;
171
+ $range-width: 14px !default;
172
+ $track-height: 3px !default;
173
+
174
+ // Select
175
+ $select-border: 1px solid #f2f2f2 !default;
176
+ $select-background: rgba(255, 255, 255, 0.90) !default;
177
+ $select-focus: 1px solid lighten($secondary-color, 47%) !default;
178
+ $select-padding: 5px !default;
179
+ $select-radius: 2px !default;
180
+ $select-disabled-color: rgba(0,0,0,.3) !default;
181
+
182
+ // Switches
183
+ $switch-bg-color: $secondary-color !default;
184
+ $switch-checked-lever-bg: desaturate(lighten($secondary-color, 25%), 25%) !default;
185
+ $switch-unchecked-bg: #F1F1F1 !default;
186
+ $switch-unchecked-lever-bg: #818181 !default;
187
+ $switch-radius: 15px !default;
188
+
189
+
190
+ // 11. Global
191
+ // ==========================================================================
192
+
193
+ // Media Query Ranges
194
+ $small-screen-up: 601px !default;
195
+ $medium-screen-up: 993px !default;
196
+ $large-screen-up: 1201px !default;
197
+ $small-screen: 600px !default;
198
+ $medium-screen: 992px !default;
199
+ $large-screen: 1200px !default;
200
+
201
+ $medium-and-up: "only screen and (min-width : #{$small-screen-up})" !default;
202
+ $large-and-up: "only screen and (min-width : #{$medium-screen-up})" !default;
203
+ $small-and-down: "only screen and (max-width : #{$small-screen})" !default;
204
+ $medium-and-down: "only screen and (max-width : #{$medium-screen})" !default;
205
+ $medium-only: "only screen and (min-width : #{$small-screen-up}) and (max-width : #{$medium-screen})" !default;
206
+
207
+
208
+ // 12. Grid
209
+ // ==========================================================================
210
+
211
+ $num-cols: 12 !default;
212
+ $gutter-width: 1.5rem !default;
213
+ $element-top-margin: $gutter-width/3 !default;
214
+ $element-bottom-margin: ($gutter-width*2)/3 !default;
215
+
216
+
217
+ // 13. Navigation Bar
218
+ // ==========================================================================
219
+
220
+ $navbar-height: 64px !default;
221
+ $navbar-height-mobile: 56px !default;
222
+ $navbar-font-size: 1rem !default;
223
+ $navbar-font-color: #fff !default;
224
+ $navbar-brand-font-size: 2.1rem !default;
225
+
226
+ // 14. Side Navigation
227
+ // ==========================================================================
228
+
229
+ $sidenav-font-size: 14px !default;
230
+ $sidenav-font-color: rgba(0,0,0,.87) !default;
231
+ $sidenav-bg-color: #fff !default;
232
+ $sidenav-padding: 16px !default;
233
+ $sidenav-item-height: 48px !default;
234
+
235
+
236
+ // 15. Photo Slider
237
+ // ==========================================================================
238
+
239
+ $slider-bg-color: color('grey', 'base') !default;
240
+ $slider-bg-color-light: color('grey', 'lighten-2') !default;
241
+ $slider-indicator-color: color('green', 'base') !default;
242
+
243
+
244
+ // 16. Spinners | Loaders
245
+ // ==========================================================================
246
+
247
+ $spinner-default-color: $secondary-color !default;
248
+
249
+
250
+ // 17. Tabs
251
+ // ==========================================================================
252
+
253
+ $tabs-underline-color: $primary-color-light !default;
254
+ $tabs-text-color: $primary-color !default;
255
+ $tabs-bg-color: #fff !default;
256
+
257
+
258
+ // 18. Tables
259
+ // ==========================================================================
260
+
261
+ $table-border-color: #d0d0d0 !default;
262
+ $table-striped-color: #f2f2f2 !default;
263
+
264
+
265
+ // 19. Toasts
266
+ // ==========================================================================
267
+
268
+ $toast-height: 48px !default;
269
+ $toast-color: #323232 !default;
270
+ $toast-text-color: #fff !default;
271
+
272
+
273
+ // 20. Typography
274
+ // ==========================================================================
275
+
276
+ $off-black: rgba(0, 0, 0, 0.87) !default;
277
+ // Header Styles
278
+ $h1-fontsize: 4.2rem !default;
279
+ $h2-fontsize: 3.56rem !default;
280
+ $h3-fontsize: 2.92rem !default;
281
+ $h4-fontsize: 2.28rem !default;
282
+ $h5-fontsize: 1.64rem !default;
283
+ $h6-fontsize: 1rem !default;
284
+
285
+
286
+ // 21. Footer
287
+ // ==========================================================================
288
+
289
+ $footer-bg-color: $primary-color !default;
290
+
291
+
292
+ // 22. Flow Text
293
+ // ==========================================================================
294
+
295
+ $range : $large-screen - $small-screen !default;
296
+ $intervals: 20 !default;
297
+ $interval-size: $range / $intervals !default;
298
+
299
+
300
+ // 23. Collections
301
+ // ==========================================================================
302
+
303
+ $collection-border-color: #e0e0e0 !default;
304
+ $collection-bg-color: #fff !default;
305
+ $collection-active-bg-color: $secondary-color !default;
306
+ $collection-active-color: lighten($secondary-color, 55%) !default;
307
+ $collection-hover-bg-color: #ddd !default;
308
+ $collection-link-color: $secondary-color !default;
309
+
310
+
311
+ // 24. Progress Bar
312
+ // ==========================================================================
313
+
314
+ $progress-bar-color: $secondary-color !default;