jekyll-theme-mrwooo-solid-state 0.1.92 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -0
  3. data/_includes/head.html +3 -2
  4. data/_sass/base/_page.scss +59 -0
  5. data/_sass/base/_reset.scss +76 -0
  6. data/_sass/base/_typography.scss +219 -0
  7. data/_sass/components/_actions.scss +101 -0
  8. data/_sass/components/_box.scss +26 -0
  9. data/_sass/components/_button.scss +89 -0
  10. data/_sass/components/_contact.scss +43 -0
  11. data/_sass/components/_features.scss +71 -0
  12. data/_sass/components/_form.scss +235 -0
  13. data/_sass/components/_icon.scss +17 -0
  14. data/_sass/components/_icons.scss +28 -0
  15. data/_sass/components/_image.scss +60 -0
  16. data/_sass/components/_list.scss +56 -0
  17. data/_sass/components/_pagination.scss +75 -0
  18. data/_sass/components/_row.scss +35 -0
  19. data/_sass/components/_section.scss +13 -0
  20. data/_sass/components/_table.scss +81 -0
  21. data/_sass/fonts/FontAwesome.otf +0 -0
  22. data/_sass/fonts/fontawesome-webfont.eot +0 -0
  23. data/_sass/fonts/fontawesome-webfont.svg +2671 -0
  24. data/_sass/fonts/fontawesome-webfont.ttf +0 -0
  25. data/_sass/fonts/fontawesome-webfont.woff +0 -0
  26. data/_sass/fonts/fontawesome-webfont.woff2 +0 -0
  27. data/_sass/layout/_banner.scss +140 -0
  28. data/_sass/layout/_footer.scss +143 -0
  29. data/_sass/layout/_header.scss +140 -0
  30. data/_sass/layout/_menu.scss +127 -0
  31. data/_sass/layout/_wrapper.scss +303 -0
  32. data/_sass/libs/_breakpoints.scss +223 -0
  33. data/_sass/libs/_functions.scss +90 -0
  34. data/_sass/libs/_html-grid.scss +149 -0
  35. data/_sass/libs/_mixins.scss +63 -0
  36. data/_sass/libs/_vars.scss +54 -0
  37. data/_sass/libs/_vendor.scss +376 -0
  38. data/_sass/main.scss +57 -0
  39. data/_sass/noscript.scss +38 -0
  40. data/assets/sass/.keep +0 -0
  41. data/assets/sass/base/_page.scss +59 -0
  42. data/assets/sass/base/_reset.scss +76 -0
  43. data/assets/sass/base/_typography.scss +219 -0
  44. data/assets/sass/components/_actions.scss +101 -0
  45. data/assets/sass/components/_box.scss +26 -0
  46. data/assets/sass/components/_button.scss +89 -0
  47. data/assets/sass/components/_contact.scss +43 -0
  48. data/assets/sass/components/_features.scss +71 -0
  49. data/assets/sass/components/_form.scss +235 -0
  50. data/assets/sass/components/_icon.scss +17 -0
  51. data/assets/sass/components/_icons.scss +28 -0
  52. data/assets/sass/components/_image.scss +60 -0
  53. data/assets/sass/components/_list.scss +56 -0
  54. data/assets/sass/components/_pagination.scss +75 -0
  55. data/assets/sass/components/_row.scss +35 -0
  56. data/assets/sass/components/_section.scss +13 -0
  57. data/assets/sass/components/_table.scss +81 -0
  58. data/assets/{css → sass}/images/close.svg +0 -0
  59. data/assets/sass/layout/_banner.scss +140 -0
  60. data/assets/sass/layout/_footer.scss +143 -0
  61. data/assets/sass/layout/_header.scss +140 -0
  62. data/assets/sass/layout/_menu.scss +127 -0
  63. data/assets/sass/layout/_wrapper.scss +303 -0
  64. data/assets/sass/libs/_breakpoints.scss +223 -0
  65. data/assets/sass/libs/_functions.scss +90 -0
  66. data/assets/sass/libs/_html-grid.scss +149 -0
  67. data/assets/sass/libs/_mixins.scss +63 -0
  68. data/assets/sass/libs/_vars.scss +54 -0
  69. data/assets/sass/libs/_vendor.scss +376 -0
  70. data/assets/sass/main.scss +58 -0
  71. data/assets/sass/noscript.scss +38 -0
  72. metadata +70 -7
  73. data/_sass/main.sass +0 -4110
  74. data/assets/css/font-awesome.min.css +0 -4
  75. data/assets/css/main.css +0 -4110
  76. data/assets/css/noscript.css +0 -39
@@ -0,0 +1,101 @@
1
+ ///
2
+ /// Solid State by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Actions */
8
+
9
+ ul.actions {
10
+ @include vendor('display', 'flex');
11
+ cursor: default;
12
+ list-style: none;
13
+ margin-left: (_size(element-margin) * -0.5);
14
+ padding-left: 0;
15
+
16
+ li {
17
+ padding: 0 0 0 (_size(element-margin) * 0.5);
18
+ vertical-align: middle;
19
+ }
20
+
21
+ &.special {
22
+ @include vendor('justify-content', 'center');
23
+ width: 100%;
24
+ margin-left: 0;
25
+
26
+ li {
27
+ &:first-child {
28
+ padding-left: 0;
29
+ }
30
+ }
31
+ }
32
+
33
+ &.stacked {
34
+ @include vendor('flex-direction', 'column');
35
+ margin-left: 0;
36
+
37
+ li {
38
+ padding: (_size(element-margin) * 0.65) 0 0 0;
39
+
40
+ &:first-child {
41
+ padding-top: 0;
42
+ }
43
+ }
44
+ }
45
+
46
+ &.fit {
47
+ width: calc(100% + #{_size(element-margin) * 0.5});
48
+
49
+ li {
50
+ @include vendor('flex-grow', '1');
51
+ @include vendor('flex-shrink', '1');
52
+ width: 100%;
53
+
54
+ > * {
55
+ width: 100%;
56
+ }
57
+ }
58
+
59
+ &.stacked {
60
+ width: 100%;
61
+ }
62
+ }
63
+
64
+ @include breakpoint('<=xsmall') {
65
+ &:not(.fixed) {
66
+ @include vendor('flex-direction', 'column');
67
+ margin-left: 0;
68
+ width: 100% !important;
69
+
70
+ li {
71
+ @include vendor('flex-grow', '1');
72
+ @include vendor('flex-shrink', '1');
73
+ padding: (_size(element-margin) * 0.5) 0 0 0;
74
+ text-align: center;
75
+ width: 100%;
76
+
77
+ > * {
78
+ width: 100%;
79
+ }
80
+
81
+ &:first-child {
82
+ padding-top: 0;
83
+ }
84
+
85
+ input[type="submit"],
86
+ input[type="reset"],
87
+ input[type="button"],
88
+ button,
89
+ .button {
90
+ width: 100%;
91
+
92
+ &.icon {
93
+ &:before {
94
+ margin-left: -0.5rem;
95
+ }
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+ }
@@ -0,0 +1,26 @@
1
+ ///
2
+ /// Solid State by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Box */
8
+
9
+ .box {
10
+ border-radius: _size(border-radius);
11
+ border: solid 2px _palette(border);
12
+ margin-bottom: _size(element-margin);
13
+ padding: 1.5em;
14
+
15
+ > :last-child,
16
+ > :last-child > :last-child,
17
+ > :last-child > :last-child > :last-child {
18
+ margin-bottom: 0;
19
+ }
20
+
21
+ &.alt {
22
+ border: 0;
23
+ border-radius: 0;
24
+ padding: 0;
25
+ }
26
+ }
@@ -0,0 +1,89 @@
1
+ ///
2
+ /// Solid State by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Button */
8
+
9
+ input[type="submit"],
10
+ input[type="reset"],
11
+ input[type="button"],
12
+ button,
13
+ .button {
14
+ @include vendor('appearance', 'none');
15
+ @include vendor('transition', 'background-color #{_duration(transition)} ease-in-out');
16
+ background-color: transparent;
17
+ border-radius: _size(border-radius);
18
+ border: 0;
19
+ box-shadow: inset 0 0 0 2px _palette(border);
20
+ color: _palette(fg-bold) !important;
21
+ cursor: pointer;
22
+ display: inline-block;
23
+ font-family: _font(family-heading);
24
+ font-size: 0.8em;
25
+ font-weight: _font(weight-heading-bold);
26
+ height: 3.75em;
27
+ letter-spacing: _font(kern-heading);
28
+ line-height: 3.75em;
29
+ padding: 0 2.25em;
30
+ text-align: center;
31
+ text-decoration: none;
32
+ text-transform: uppercase;
33
+ white-space: nowrap;
34
+
35
+ &:hover {
36
+ background-color: _palette(border-bg);
37
+ }
38
+
39
+ &:active {
40
+ background-color: _palette(border2-bg);
41
+ }
42
+
43
+ &.icon {
44
+ &:before {
45
+ margin-right: 0.5em;
46
+ color: _palette(fg-light);
47
+ }
48
+ }
49
+
50
+ &.primary {
51
+ background-color: _palette(accent);
52
+ box-shadow: none;
53
+
54
+ &:hover {
55
+ background-color: desaturate(lighten(_palette(accent), 3), 1.5);
56
+ }
57
+
58
+ &:active {
59
+ background-color: saturate(darken(_palette(accent), 3), 1.5);
60
+ }
61
+
62
+ &.icon {
63
+ &:before {
64
+ color: mix(_palette(fg-bold), _palette(accent), 25%);
65
+ }
66
+ }
67
+ }
68
+
69
+ &.fit {
70
+ width: 100%;
71
+ }
72
+
73
+ &.small {
74
+ font-size: 0.6em;
75
+ }
76
+
77
+ &.large {
78
+ font-size: 1em;
79
+ }
80
+
81
+ &.disabled,
82
+ &:disabled {
83
+ opacity: 0.25;
84
+ }
85
+
86
+ @include breakpoint('<=xsmall') {
87
+ padding: 0;
88
+ }
89
+ }
@@ -0,0 +1,43 @@
1
+ ///
2
+ /// Solid State by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Contact */
8
+
9
+ ul.contact {
10
+ list-style: none;
11
+ padding: 0;
12
+
13
+ li {
14
+ @include icon;
15
+ margin: (_size(element-margin) * 1.25) 0 0 0;
16
+ padding: 0 0 0 3.25em;
17
+ position: relative;
18
+
19
+ &:before {
20
+ border-radius: 100%;
21
+ border: solid 2px _palette(border);
22
+ display: inline-block;
23
+ font-size: 0.8em;
24
+ height: 2.5em;
25
+ left: 0;
26
+ line-height: 2.35em;
27
+ position: absolute;
28
+ text-align: center;
29
+ top: 0;
30
+ width: 2.5em;
31
+ }
32
+
33
+ &:first-child {
34
+ margin-top: 0;
35
+ }
36
+ }
37
+
38
+ @include breakpoint('<=small') {
39
+ li {
40
+ margin: (_size(element-margin) * 0.75) 0 0 0;
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,71 @@
1
+ ///
2
+ /// Solid State by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Features */
8
+
9
+ .features {
10
+ @include vendor('display', 'flex');
11
+ @include vendor('flex-wrap', 'wrap');
12
+ margin: 0 0 _size(element-margin) 0;
13
+
14
+ article {
15
+ @include padding(1.75em, 1.75em);
16
+ background-color: desaturate(lighten(_palette(bg), 3), 1.5);
17
+ border-radius: _size(border-radius);
18
+ margin: (_size(section-spacing, large) * 0.5) _size(section-spacing, large) (_size(section-spacing, large) * 0.5) 0;
19
+ width: calc(50% - #{_size(section-spacing, large) * 0.5});
20
+
21
+ &:nth-child(2n) {
22
+ margin-right: 0;
23
+ }
24
+
25
+ .image {
26
+ border-radius: _size(border-radius) _size(border-radius) 0 0;
27
+ display: block;
28
+ margin-bottom: 1.75em;
29
+ margin-left: -1.75em;
30
+ margin-top: -1.75em;
31
+ position: relative;
32
+ width: calc(100% + #{3.5em});
33
+
34
+ img {
35
+ border-radius: _size(border-radius) _size(border-radius) 0 0;
36
+ width: 100%;
37
+ }
38
+ }
39
+ }
40
+
41
+ @include breakpoint('<=medium') {
42
+ article {
43
+ margin: (_size(section-spacing, medium) * 0.5) _size(section-spacing, medium) (_size(section-spacing, medium) * 0.5) 0;
44
+ width: calc(50% - #{_size(section-spacing, medium) * 0.5});
45
+ }
46
+ }
47
+
48
+ @include breakpoint('<=small') {
49
+ article {
50
+ @include padding(1.5em, 1.5em);
51
+ margin: (_size(section-spacing, small) * 0.5) _size(section-spacing, small) (_size(section-spacing, small) * 0.5) 0;
52
+ width: calc(50% - #{_size(section-spacing, small) * 0.5} - 1px);
53
+
54
+ .image {
55
+ margin-bottom: 1.5em;
56
+ margin-left: -1.5em;
57
+ margin-top: -1.5em;
58
+ width: calc(100% + #{3em});
59
+ }
60
+ }
61
+ }
62
+
63
+ @include breakpoint('<=xsmall') {
64
+ display: block;
65
+
66
+ article {
67
+ width: 100%;
68
+ margin: 0 0 _size(element-margin) 0 !important;
69
+ }
70
+ }
71
+ }
@@ -0,0 +1,235 @@
1
+ ///
2
+ /// Solid State by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Form */
8
+
9
+ form {
10
+ margin: 0 0 _size(element-margin) 0;
11
+
12
+ > :last-child {
13
+ margin-bottom: 0;
14
+ }
15
+
16
+ > .fields {
17
+ $gutter: (_size(element-margin) * 0.75);
18
+
19
+ @include vendor('display', 'flex');
20
+ @include vendor('flex-wrap', 'wrap');
21
+ width: calc(100% + #{$gutter * 2});
22
+ margin: ($gutter * -1) 0 _size(element-margin) ($gutter * -1);
23
+
24
+ > .field {
25
+ @include vendor('flex-grow', '0');
26
+ @include vendor('flex-shrink', '0');
27
+ padding: $gutter 0 0 $gutter;
28
+ width: calc(100% - #{$gutter * 1});
29
+
30
+ &.half {
31
+ width: calc(50% - #{$gutter * 0.5});
32
+ }
33
+
34
+ &.third {
35
+ width: calc(#{100% / 3} - #{$gutter * (1 / 3)});
36
+ }
37
+
38
+ &.quarter {
39
+ width: calc(25% - #{$gutter * 0.25});
40
+ }
41
+ }
42
+ }
43
+
44
+ @include breakpoint('<=xsmall') {
45
+ > .fields {
46
+ $gutter: (_size(element-margin) * 0.75);
47
+
48
+ width: calc(100% + #{$gutter * 2});
49
+ margin: ($gutter * -1) 0 _size(element-margin) ($gutter * -1);
50
+
51
+ > .field {
52
+ padding: $gutter 0 0 $gutter;
53
+ width: calc(100% - #{$gutter * 1});
54
+
55
+ &.half {
56
+ width: calc(100% - #{$gutter * 1});
57
+ }
58
+
59
+ &.third {
60
+ width: calc(100% - #{$gutter * 1});
61
+ }
62
+
63
+ &.quarter {
64
+ width: calc(100% - #{$gutter * 1});
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+
71
+ label {
72
+ color: _palette(fg-bold);
73
+ display: block;
74
+ font-family: _font(family-heading);
75
+ font-size: 0.8em;
76
+ font-weight: _font(weight-heading-bold);
77
+ letter-spacing: _font(kern-heading);
78
+ margin: 0 0 (_size(element-margin) * 0.35) 0;
79
+ text-transform: uppercase;
80
+ }
81
+
82
+ input[type="text"],
83
+ input[type="password"],
84
+ input[type="email"],
85
+ input[type="tel"],
86
+ select,
87
+ textarea {
88
+ @include vendor('appearance', 'none');
89
+ background: _palette(border-bg);
90
+ border-radius: _size(border-radius);
91
+ border: none;
92
+ border: solid 2px _palette(border);
93
+ color: inherit;
94
+ display: block;
95
+ outline: 0;
96
+ padding: 0 1em;
97
+ text-decoration: none;
98
+ width: 100%;
99
+
100
+ &:invalid {
101
+ box-shadow: none;
102
+ }
103
+
104
+ &:focus {
105
+ border-color: desaturate(lighten(_palette(accent), 6), 3);
106
+ }
107
+ }
108
+
109
+ select {
110
+ background-image: svg-url("<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'><path d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='#{_palette(border)}' /></svg>");
111
+ background-size: 1.25rem;
112
+ background-repeat: no-repeat;
113
+ background-position: calc(100% - 1rem) center;
114
+ height: _size(element-height);
115
+ padding-right: _size(element-height);
116
+ text-overflow: ellipsis;
117
+
118
+ option {
119
+ color: _palette(fg-bold);
120
+ background: _palette(bg);
121
+ }
122
+
123
+ &:focus {
124
+ &::-ms-value {
125
+ background-color: transparent;
126
+ }
127
+ }
128
+
129
+ &::-ms-expand {
130
+ display: none;
131
+ }
132
+ }
133
+
134
+ input[type="text"],
135
+ input[type="password"],
136
+ input[type="email"],
137
+ select {
138
+ height: _size(element-height);
139
+ }
140
+
141
+ textarea {
142
+ padding: 0.75em 1em;
143
+ }
144
+
145
+ input[type="checkbox"],
146
+ input[type="radio"], {
147
+ @include vendor('appearance', 'none');
148
+ display: block;
149
+ float: left;
150
+ margin-right: -2em;
151
+ opacity: 0;
152
+ width: 1em;
153
+ z-index: -1;
154
+
155
+ & + label {
156
+ @include icon;
157
+ color: _palette(fg);
158
+ cursor: pointer;
159
+ display: inline-block;
160
+ font-size: 1em;
161
+ font-family: _font(family);
162
+ text-transform: none;
163
+ letter-spacing: 0;
164
+ font-weight: _font(weight);
165
+ padding-left: (_size(element-height) * 0.6) + 0.75em;
166
+ padding-right: 0.75em;
167
+ position: relative;
168
+
169
+ &:before {
170
+ background: _palette(border-bg);
171
+ border-radius: _size(border-radius);
172
+ border: solid 2px _palette(border);
173
+ content: '';
174
+ display: inline-block;
175
+ height: (_size(element-height) * 0.6);
176
+ left: 0;
177
+ line-height: (_size(element-height) * 0.575);
178
+ position: absolute;
179
+ text-align: center;
180
+ top: 0;
181
+ width: (_size(element-height) * 0.6);
182
+ }
183
+ }
184
+
185
+ &:checked + label {
186
+ &:before {
187
+ background: _palette(fg-bold);
188
+ border-color: _palette(fg-bold);
189
+ content: '\f00c';
190
+ color: _palette(bg);
191
+ }
192
+ }
193
+
194
+ &:focus + label {
195
+ &:before {
196
+ border-color: _palette(accent);
197
+ }
198
+ }
199
+ }
200
+
201
+ input[type="checkbox"] {
202
+ & + label {
203
+ &:before {
204
+ border-radius: _size(border-radius);
205
+ }
206
+ }
207
+ }
208
+
209
+ input[type="radio"] {
210
+ & + label {
211
+ &:before {
212
+ border-radius: 100%;
213
+ }
214
+ }
215
+ }
216
+
217
+ ::-webkit-input-placeholder {
218
+ color: _palette(fg-light) !important;
219
+ opacity: 1.0;
220
+ }
221
+
222
+ :-moz-placeholder {
223
+ color: _palette(fg-light) !important;
224
+ opacity: 1.0;
225
+ }
226
+
227
+ ::-moz-placeholder {
228
+ color: _palette(fg-light) !important;
229
+ opacity: 1.0;
230
+ }
231
+
232
+ :-ms-input-placeholder {
233
+ color: _palette(fg-light) !important;
234
+ opacity: 1.0;
235
+ }