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,147 @@
1
+ .container {
2
+ margin: 0 auto;
3
+ max-width: 1280px;
4
+ width: 90%;
5
+ }
6
+ @media #{$medium-and-up} {
7
+ .container {
8
+ width: 85%;
9
+ }
10
+ }
11
+ @media #{$large-and-up} {
12
+ .container {
13
+ width: 70%;
14
+ }
15
+ }
16
+ .container .row {
17
+ margin-left: (-1 * $gutter-width / 2);
18
+ margin-right: (-1 * $gutter-width / 2);
19
+ }
20
+
21
+ .section {
22
+ padding-top: 1rem;
23
+ padding-bottom: 1rem;
24
+
25
+ &.no-pad {
26
+ padding: 0;
27
+ }
28
+ &.no-pad-bot {
29
+ padding-bottom: 0;
30
+ }
31
+ &.no-pad-top {
32
+ padding-top: 0;
33
+ }
34
+ }
35
+
36
+
37
+ .row {
38
+ margin-left: auto;
39
+ margin-right: auto;
40
+ margin-bottom: 20px;
41
+
42
+ // Clear floating children
43
+ &:after {
44
+ content: "";
45
+ display: table;
46
+ clear: both;
47
+ }
48
+
49
+ .col {
50
+ float: left;
51
+ box-sizing: border-box;
52
+ padding: 0 $gutter-width / 2;
53
+ min-height: 1px;
54
+
55
+ &[class*="push-"],
56
+ &[class*="pull-"] {
57
+ position: relative;
58
+ }
59
+
60
+ $i: 1;
61
+ @while $i <= $num-cols {
62
+ $perc: unquote((100 / ($num-cols / $i)) + "%");
63
+ &.s#{$i} {
64
+ width: $perc;
65
+ margin-left: auto;
66
+ left: auto;
67
+ right: auto;
68
+ }
69
+ $i: $i + 1;
70
+ }
71
+
72
+ $i: 1;
73
+ @while $i <= $num-cols {
74
+ $perc: unquote((100 / ($num-cols / $i)) + "%");
75
+ &.offset-s#{$i} {
76
+ margin-left: $perc;
77
+ }
78
+ &.pull-s#{$i} {
79
+ right: $perc;
80
+ }
81
+ &.push-s#{$i} {
82
+ left: $perc;
83
+ }
84
+ $i: $i + 1;
85
+ }
86
+
87
+ @media #{$medium-and-up} {
88
+
89
+ $i: 1;
90
+ @while $i <= $num-cols {
91
+ $perc: unquote((100 / ($num-cols / $i)) + "%");
92
+ &.m#{$i} {
93
+ width: $perc;
94
+ margin-left: auto;
95
+ left: auto;
96
+ right: auto;
97
+ }
98
+ $i: $i + 1
99
+ }
100
+
101
+ $i: 1;
102
+ @while $i <= $num-cols {
103
+ $perc: unquote((100 / ($num-cols / $i)) + "%");
104
+ &.offset-m#{$i} {
105
+ margin-left: $perc;
106
+ }
107
+ &.pull-m#{$i} {
108
+ right: $perc;
109
+ }
110
+ &.push-m#{$i} {
111
+ left: $perc;
112
+ }
113
+ $i: $i + 1;
114
+ }
115
+ }
116
+
117
+ @media #{$large-and-up} {
118
+
119
+ $i: 1;
120
+ @while $i <= $num-cols {
121
+ $perc: unquote((100 / ($num-cols / $i)) + "%");
122
+ &.l#{$i} {
123
+ width: $perc;
124
+ margin-left: auto;
125
+ left: auto;
126
+ right: auto;
127
+ }
128
+ $i: $i + 1;
129
+ }
130
+
131
+ $i: 1;
132
+ @while $i <= $num-cols {
133
+ $perc: unquote((100 / ($num-cols / $i)) + "%");
134
+ &.offset-l#{$i} {
135
+ margin-left: $perc;
136
+ }
137
+ &.pull-l#{$i} {
138
+ right: $perc;
139
+ }
140
+ &.push-l#{$i} {
141
+ left: $perc;
142
+ }
143
+ $i: $i + 1;
144
+ }
145
+ }
146
+ }
147
+ }
@@ -0,0 +1,5 @@
1
+ /* This is needed for some mobile phones to display the Google Icon font properly */
2
+ .material-icons {
3
+ text-rendering: optimizeLegibility;
4
+ font-feature-settings: 'liga';
5
+ }
@@ -0,0 +1,42 @@
1
+ .materialboxed {
2
+ display: block;
3
+ cursor: zoom-in;
4
+ position: relative;
5
+ transition: opacity .4s;
6
+
7
+ &:hover {
8
+ &:not(.active) {
9
+ opacity: .8;
10
+ }
11
+ will-change: left, top, width, height;
12
+ }
13
+ }
14
+
15
+ .materialboxed.active {
16
+ cursor: zoom-out;
17
+ }
18
+
19
+ #materialbox-overlay {
20
+ position:fixed;
21
+ top:0;
22
+ left:0;
23
+ right: 0;
24
+ bottom: 0;
25
+ background-color: #292929;
26
+ z-index: 1000;
27
+
28
+ will-change: opacity;
29
+ }
30
+ .materialbox-caption {
31
+ position: fixed;
32
+ display: none;
33
+ color: #fff;
34
+ line-height: 50px;
35
+ bottom: 0;
36
+ width: 100%;
37
+ text-align: center;
38
+ padding: 0% 15%;
39
+ height: 50px;
40
+ z-index: 1000;
41
+ -webkit-font-smoothing: antialiased;
42
+ }
@@ -0,0 +1,5 @@
1
+ // @mixin box-shadow-2($args1, $args2) {
2
+ // -webkit-box-shadow: $args1, $args2;
3
+ // -moz-box-shadow: $args1, $args2;
4
+ // box-shadow: $args1, $args2;
5
+ // }
@@ -0,0 +1,90 @@
1
+ .modal {
2
+ @extend .z-depth-4;
3
+
4
+ display: none;
5
+ position: fixed;
6
+ left: 0;
7
+ right: 0;
8
+ background-color: #fafafa;
9
+ padding: 0;
10
+ max-height: 70%;
11
+ width: 55%;
12
+ margin: auto;
13
+ overflow-y: auto;
14
+
15
+ border-radius: 2px;
16
+ will-change: top, opacity;
17
+
18
+ @media #{$medium-and-down} {
19
+ width: 80%;
20
+ }
21
+
22
+ h1,h2,h3,h4 {
23
+ margin-top: 0;
24
+ }
25
+
26
+ .modal-content {
27
+ padding: 24px;
28
+ }
29
+ .modal-close {
30
+ cursor: pointer;
31
+ }
32
+
33
+ .modal-footer {
34
+ border-radius: 0 0 2px 2px;
35
+ background-color: #fafafa;
36
+ padding: 4px 6px;
37
+ height: 56px;
38
+ width: 100%;
39
+
40
+ .btn, .btn-flat {
41
+ float: right;
42
+ margin: 6px 0;
43
+ }
44
+ }
45
+ }
46
+ .modal-overlay {
47
+ position: fixed;
48
+ z-index: 999;
49
+ top: -100px;
50
+ left: 0;
51
+ bottom: 0;
52
+ right: 0;
53
+ height: 125%;
54
+ width: 100%;
55
+ background: #000;
56
+ display: none;
57
+
58
+ will-change: opacity;
59
+ }
60
+
61
+ // Modal with fixed action footer
62
+ .modal.modal-fixed-footer {
63
+ padding: 0;
64
+ height: 70%;
65
+
66
+ .modal-content {
67
+ position: absolute;
68
+ height: calc(100% - 56px);
69
+ max-height: 100%;
70
+ width: 100%;
71
+ overflow-y: auto;
72
+ }
73
+
74
+ .modal-footer {
75
+ border-top: 1px solid rgba(0,0,0,.1);
76
+ position: absolute;
77
+ bottom: 0;
78
+ }
79
+ }
80
+
81
+ // Modal Bottom Sheet Style
82
+ .modal.bottom-sheet {
83
+ top: auto;
84
+ bottom: -100%;
85
+ margin: 0;
86
+ width: 100%;
87
+ max-height: 45%;
88
+ border-radius: 0;
89
+ will-change: bottom, opacity;
90
+ }
@@ -0,0 +1,190 @@
1
+ nav {
2
+ &.nav-extended {
3
+ height: auto;
4
+
5
+ .nav-wrapper {
6
+ height: auto;
7
+ }
8
+ }
9
+
10
+ color: $navbar-font-color;
11
+ @extend .z-depth-1;
12
+ background-color: $primary-color;
13
+ width: 100%;
14
+ height: $navbar-height-mobile;
15
+ line-height: $navbar-height-mobile;
16
+
17
+ a { color: $navbar-font-color; }
18
+
19
+ i,
20
+ [class^="mdi-"], [class*="mdi-"],
21
+ i.material-icons {
22
+ display: block;
23
+ font-size: 24px;
24
+ height: $navbar-height-mobile;
25
+ line-height: $navbar-height-mobile;
26
+ }
27
+
28
+ .nav-wrapper {
29
+ position: relative;
30
+ height: 100%;
31
+ }
32
+
33
+ @media #{$large-and-up} {
34
+ a.button-collapse { display: none; }
35
+ }
36
+
37
+
38
+ // Collapse button
39
+ .button-collapse {
40
+ float: left;
41
+ position: relative;
42
+ z-index: 1;
43
+ height: $navbar-height-mobile;
44
+ margin: 0 18px;
45
+
46
+ i {
47
+ height: $navbar-height-mobile;
48
+ line-height: $navbar-height-mobile;
49
+ }
50
+ }
51
+
52
+
53
+ // Logo
54
+ .brand-logo {
55
+ position: absolute;
56
+ color: $navbar-font-color;
57
+ display: inline-block;
58
+ font-size: $navbar-brand-font-size;
59
+ padding: 0;
60
+ white-space: nowrap;
61
+
62
+ &.center {
63
+ left: 50%;
64
+ transform: translateX(-50%);
65
+ }
66
+
67
+ @media #{$medium-and-down} {
68
+ left: 50%;
69
+ transform: translateX(-50%);
70
+
71
+ &.left, &.right {
72
+ padding: 0;
73
+ transform: none;
74
+ }
75
+
76
+ &.left { left: 0.5rem; }
77
+ &.right {
78
+ right: 0.5rem;
79
+ left: auto;
80
+ }
81
+ }
82
+
83
+ &.right {
84
+ right: 0.5rem;
85
+ padding: 0;
86
+ }
87
+
88
+ i,
89
+ [class^="mdi-"], [class*="mdi-"],
90
+ i.material-icons {
91
+ float: left;
92
+ margin-right: 15px;
93
+ }
94
+ }
95
+
96
+
97
+ // Navbar Links
98
+ ul {
99
+ margin: 0;
100
+
101
+ li {
102
+ transition: background-color .3s;
103
+ float: left;
104
+ padding: 0;
105
+
106
+ &.active {
107
+ background-color: rgba(0,0,0,.1);
108
+ }
109
+ }
110
+ a {
111
+ transition: background-color .3s;
112
+ font-size: $navbar-font-size;
113
+ color: $navbar-font-color;
114
+ display: block;
115
+ padding: 0 15px;
116
+ cursor: pointer;
117
+
118
+ &.btn, &.btn-large, &.btn-flat, &.btn-floating {
119
+ margin-top: -2px;
120
+ margin-left: 15px;
121
+ margin-right: 15px;
122
+ }
123
+
124
+ &:hover {
125
+ background-color: rgba(0,0,0,.1);
126
+ }
127
+ }
128
+
129
+ &.left {
130
+ float: left;
131
+ }
132
+ }
133
+
134
+ // Navbar Search Form
135
+ form {
136
+ height: 100%;
137
+ }
138
+
139
+ .input-field {
140
+ margin: 0;
141
+ height: 100%;
142
+
143
+ input {
144
+ height: 100%;
145
+ font-size: 1.2rem;
146
+ border: none;
147
+ padding-left: 2rem;
148
+
149
+ &:focus, &[type=text]:valid, &[type=password]:valid,
150
+ &[type=email]:valid, &[type=url]:valid, &[type=date]:valid {
151
+ border: none;
152
+ box-shadow: none;
153
+ }
154
+ }
155
+
156
+ label {
157
+ top: 0;
158
+ left: 0;
159
+
160
+ i {
161
+ color: rgba(255,255,255,.7);
162
+ transition: color .3s;
163
+ }
164
+ &.active i { color: $navbar-font-color; }
165
+ &.active {
166
+ transform: translateY(0);
167
+ }
168
+ }
169
+ }
170
+ }
171
+
172
+ // Fixed Navbar
173
+ .navbar-fixed {
174
+ position: relative;
175
+ height: $navbar-height-mobile;
176
+ z-index: 997;
177
+
178
+ nav {
179
+ position: fixed;
180
+ }
181
+ }
182
+ @media #{$medium-and-up} {
183
+ nav, nav .nav-wrapper i, nav a.button-collapse, nav a.button-collapse i {
184
+ height: $navbar-height;
185
+ line-height: $navbar-height;
186
+ }
187
+ .navbar-fixed {
188
+ height: $navbar-height;
189
+ }
190
+ }