jekyll-theme-ethereal 0.4.4 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/contact_script.html +2 -2
  3. data/_includes/head.html +8 -1
  4. data/_includes/panel_map.html +70 -96
  5. data/_includes/scripts.html +8 -19
  6. data/_includes/search.html +8 -6
  7. data/_layouts/default.html +4 -4
  8. data/_sass/large/base/_page.scss +0 -0
  9. data/_sass/large/base/_reset.scss +0 -0
  10. data/_sass/large/base/_typography.scss +11 -0
  11. data/_sass/large/components/_actions.scss +0 -0
  12. data/_sass/large/components/_button.scss +0 -0
  13. data/_sass/large/components/_contact-icons.scss +0 -0
  14. data/_sass/{components → large/components}/_cookieconsent.scss +0 -0
  15. data/_sass/large/components/_form.scss +0 -0
  16. data/_sass/large/components/_gallery.scss +0 -0
  17. data/_sass/large/components/_grid-icons.scss +0 -0
  18. data/_sass/large/components/_icon.scss +0 -0
  19. data/_sass/large/components/_icons.scss +0 -0
  20. data/_sass/large/components/_image.scss +0 -0
  21. data/_sass/large/components/_list.scss +0 -0
  22. data/_sass/large/components/_panel-banner.scss +0 -0
  23. data/_sass/large/components/_panel-spotlight.scss +0 -0
  24. data/_sass/large/components/_panel.scss +0 -0
  25. data/_sass/large/components/_table.scss +0 -0
  26. data/_sass/large/layout/_footer.scss +0 -0
  27. data/_sass/large/layout/_header.scss +0 -0
  28. data/_sass/large/layout/_page-wrapper.scss +0 -0
  29. data/_sass/large/layout/_wrapper.scss +0 -0
  30. data/_sass/large.scss +48 -0
  31. data/_sass/libs/_breakpoints.scss +164 -164
  32. data/_sass/libs/_functions.scss +32 -32
  33. data/_sass/libs/_mixins.scss +225 -49
  34. data/_sass/libs/_vars.scss +40 -40
  35. data/_sass/libs/_vendor.scss +331 -331
  36. data/_sass/main/base/_page.scss +99 -0
  37. data/_sass/main/base/_reset.scss +76 -0
  38. data/_sass/main/base/_typography.scss +193 -0
  39. data/_sass/main/components/_actions.scss +63 -0
  40. data/_sass/main/components/_button.scss +154 -0
  41. data/_sass/main/components/_contact-icons.scss +72 -0
  42. data/_sass/main/components/_cookieconsent.scss +403 -0
  43. data/_sass/main/components/_form.scss +253 -0
  44. data/_sass/main/components/_gallery.scss +167 -0
  45. data/_sass/main/components/_grid-icons.scss +139 -0
  46. data/_sass/main/components/_icon.scss +33 -0
  47. data/_sass/main/components/_icons.scss +28 -0
  48. data/_sass/main/components/_image.scss +169 -0
  49. data/_sass/main/components/_list.scss +56 -0
  50. data/_sass/main/components/_panel-banner.scss +52 -0
  51. data/_sass/main/components/_panel-spotlight.scss +62 -0
  52. data/_sass/main/components/_panel.scss +224 -0
  53. data/_sass/main/components/_table.scss +81 -0
  54. data/_sass/main/layout/_footer.scss +30 -0
  55. data/_sass/main/layout/_header.scss +35 -0
  56. data/_sass/main/layout/_page-wrapper.scss +22 -0
  57. data/_sass/main/layout/_wrapper.scss +85 -0
  58. data/_sass/main.scss +24 -118
  59. data/_sass/medium/base/_page.scss +0 -0
  60. data/_sass/medium/base/_reset.scss +0 -0
  61. data/_sass/medium/base/_typography.scss +0 -0
  62. data/_sass/medium/components/_actions.scss +0 -0
  63. data/_sass/medium/components/_button.scss +0 -0
  64. data/_sass/medium/components/_contact-icons.scss +0 -0
  65. data/_sass/medium/components/_cookieconsent.scss +403 -0
  66. data/_sass/medium/components/_form.scss +0 -0
  67. data/_sass/medium/components/_gallery.scss +11 -0
  68. data/_sass/medium/components/_grid-icons.scss +0 -0
  69. data/_sass/medium/components/_icon.scss +0 -0
  70. data/_sass/medium/components/_icons.scss +0 -0
  71. data/_sass/medium/components/_image.scss +0 -0
  72. data/_sass/medium/components/_list.scss +0 -0
  73. data/_sass/medium/components/_panel-banner.scss +0 -0
  74. data/_sass/medium/components/_panel-spotlight.scss +0 -0
  75. data/_sass/medium/components/_panel.scss +0 -0
  76. data/_sass/medium/components/_table.scss +0 -0
  77. data/_sass/medium/layout/_footer.scss +0 -0
  78. data/_sass/medium/layout/_header.scss +0 -0
  79. data/_sass/medium/layout/_page-wrapper.scss +0 -0
  80. data/_sass/medium/layout/_wrapper.scss +0 -0
  81. data/_sass/medium.scss +47 -0
  82. data/_sass/noscript.scss +12 -12
  83. data/_sass/short/base/_page.scss +0 -0
  84. data/_sass/short/base/_reset.scss +0 -0
  85. data/_sass/short/base/_typography.scss +0 -0
  86. data/_sass/short/components/_actions.scss +0 -0
  87. data/_sass/short/components/_button.scss +0 -0
  88. data/_sass/short/components/_contact-icons.scss +0 -0
  89. data/_sass/short/components/_cookieconsent.scss +403 -0
  90. data/_sass/short/components/_form.scss +1 -0
  91. data/_sass/short/components/_gallery.scss +0 -0
  92. data/_sass/short/components/_grid-icons.scss +0 -0
  93. data/_sass/short/components/_icon.scss +0 -0
  94. data/_sass/short/components/_icons.scss +0 -0
  95. data/_sass/short/components/_image.scss +0 -0
  96. data/_sass/short/components/_list.scss +0 -0
  97. data/_sass/short/components/_panel-banner.scss +0 -0
  98. data/_sass/short/components/_panel-spotlight.scss +0 -0
  99. data/_sass/short/components/_panel.scss +0 -0
  100. data/_sass/short/components/_table.scss +0 -0
  101. data/_sass/short/layout/_footer.scss +0 -0
  102. data/_sass/short/layout/_header.scss +0 -0
  103. data/_sass/short/layout/_page-wrapper.scss +9 -0
  104. data/_sass/short/layout/_wrapper.scss +0 -0
  105. data/_sass/short.scss +48 -0
  106. data/_sass/small/base/_page.scss +17 -0
  107. data/_sass/small/base/_reset.scss +0 -0
  108. data/_sass/small/base/_typography.scss +67 -0
  109. data/_sass/small/components/_actions.scss +0 -0
  110. data/_sass/small/components/_button.scss +0 -0
  111. data/_sass/small/components/_contact-icons.scss +0 -0
  112. data/_sass/small/components/_cookieconsent.scss +403 -0
  113. data/_sass/small/components/_form.scss +27 -0
  114. data/_sass/small/components/_gallery.scss +38 -0
  115. data/_sass/small/components/_grid-icons.scss +29 -0
  116. data/_sass/small/components/_icon.scss +0 -0
  117. data/_sass/small/components/_icons.scss +0 -0
  118. data/_sass/small/components/_image.scss +0 -0
  119. data/_sass/small/components/_list.scss +0 -0
  120. data/_sass/small/components/_panel-banner.scss +37 -0
  121. data/_sass/small/components/_panel-spotlight.scss +18 -0
  122. data/_sass/small/components/_panel.scss +80 -0
  123. data/_sass/small/components/_table.scss +0 -0
  124. data/_sass/small/layout/_footer.scss +34 -0
  125. data/_sass/small/layout/_header.scss +0 -0
  126. data/_sass/small/layout/_page-wrapper.scss +12 -0
  127. data/_sass/small/layout/_wrapper.scss +26 -0
  128. data/_sass/small.scss +49 -0
  129. data/assets/css/cookieconsent.css +404 -0
  130. data/assets/css/fontawesome-all.min.css +1 -1
  131. data/assets/css/large.scss +5 -0
  132. data/assets/css/mapbox-gl.panel.css +27 -0
  133. data/assets/css/medium.scss +5 -0
  134. data/assets/css/short.scss +5 -0
  135. data/assets/css/small.scss +5 -0
  136. data/assets/js/cookieconsent.style.min.js +1 -0
  137. data/assets/js/{mapbox-gl.js → mapbox-gl.min.js} +0 -0
  138. metadata +124 -25
  139. data/_sass/base/_page.scss +0 -117
  140. data/_sass/base/_reset.scss +0 -76
  141. data/_sass/base/_typography.scss +0 -271
  142. data/_sass/components/_actions.scss +0 -63
  143. data/_sass/components/_button.scss +0 -154
  144. data/_sass/components/_contact-icons.scss +0 -72
  145. data/_sass/components/_form.scss +0 -279
  146. data/_sass/components/_gallery.scss +0 -218
  147. data/_sass/components/_grid-icons.scss +0 -166
  148. data/_sass/components/_icon.scss +0 -33
  149. data/_sass/components/_icons.scss +0 -28
  150. data/_sass/components/_image.scss +0 -169
  151. data/_sass/components/_list.scss +0 -56
  152. data/_sass/components/_panel-banner.scss +0 -90
  153. data/_sass/components/_panel-spotlight.scss +0 -81
  154. data/_sass/components/_panel.scss +0 -300
  155. data/_sass/components/_table.scss +0 -81
  156. data/_sass/layout/_footer.scss +0 -49
  157. data/_sass/layout/_header.scss +0 -37
  158. data/_sass/layout/_page-wrapper.scss +0 -43
  159. data/_sass/layout/_wrapper.scss +0 -118
@@ -0,0 +1,403 @@
1
+ .cc-window {
2
+ opacity: 1;
3
+
4
+ -webkit-transition: opacity 1s ease;
5
+ -moz-transition: opacity 1s ease;
6
+ -ms-transition: opacity 1s ease;
7
+ -o-transition: opacity 1s ease;
8
+ transition: opacity 1s ease;
9
+ }
10
+
11
+ .cc-window.cc-invisible {
12
+ opacity: 0;
13
+ }
14
+
15
+ /* only animate ifhas class 'cc-animate' */
16
+ .cc-animate.cc-revoke {
17
+ -webkit-transition: transform 1s ease;
18
+ -moz-transition: transform 1s ease;
19
+ -ms-transition: transform 1s ease;
20
+ -o-transition: transform 1s ease;
21
+ transition: transform 1s ease;
22
+ }
23
+ .cc-animate.cc-revoke.cc-top {
24
+ transform: translateY(-2em);
25
+ }
26
+ .cc-animate.cc-revoke.cc-bottom {
27
+ transform: translateY(2em);
28
+ }
29
+ .cc-animate.cc-revoke.cc-active.cc-top {
30
+ transform: translateY(0);
31
+ }
32
+ .cc-animate.cc-revoke.cc-active.cc-bottom {
33
+ transform: translateY(0);
34
+ }
35
+ .cc-revoke:hover {
36
+ transform: translateY(0);
37
+ }
38
+
39
+ .cc-grower {
40
+ /* Initially we don't want any height, and we want the contents to be hidden */
41
+ max-height: 0;
42
+ overflow: hidden;
43
+
44
+ /* Set our transitions up. */
45
+ -webkit-transition: max-height 1s;
46
+ -moz-transition: max-height 1s;
47
+ -ms-transition: max-height 1s;
48
+ -o-transition: max-height 1s;
49
+ transition: max-height 1s;
50
+ }
51
+
52
+ /* the popup window */
53
+ .cc-window,
54
+ .cc-revoke {
55
+ position: fixed;
56
+ overflow: hidden;
57
+ box-sizing: border-box; /* exclude padding when dealing with width */
58
+
59
+ font-family: Helvetica, Calibri, Arial, sans-serif;
60
+ font-size: 16px; /* by setting the base font here, we can size the rest of the popup using CSS `em` */
61
+ line-height: 1.5em;
62
+
63
+ display: flex;
64
+ flex-wrap: nowrap;
65
+
66
+ /* the following are random unjustified styles - just because - should probably be removed */
67
+ z-index: 9998;
68
+ }
69
+
70
+ .cc-revoke {
71
+ z-index: 9999;
72
+ }
73
+
74
+ .cc-window.cc-static {
75
+ position: static;
76
+ }
77
+
78
+ /* 2 basic types of window - floating / banner */
79
+ .cc-window.cc-floating {
80
+ padding: 2em;
81
+ max-width: 24em; /* 1em == 16px therefore 24em == 384px */
82
+ flex-direction: column;
83
+ }
84
+ .cc-window.cc-banner {
85
+ z-index: 10000;
86
+ padding: 1em 1.8em;
87
+ width: 100%;
88
+ flex-direction: row;
89
+ }
90
+
91
+ .cc-revoke {
92
+ padding: 0.5em;
93
+ }
94
+ .cc-revoke:hover {
95
+ text-decoration: underline;
96
+ }
97
+
98
+ .cc-header {
99
+ font-size: 18px;
100
+ font-weight: bold;
101
+ }
102
+
103
+ /* clickable things */
104
+ .cc-btn,
105
+ .cc-link,
106
+ .cc-close,
107
+ .cc-revoke {
108
+ cursor: pointer;
109
+ }
110
+
111
+ .cc-link {
112
+ opacity: 0.8;
113
+ display: inline-block;
114
+ border: none;
115
+ padding: 0.2em;
116
+ text-decoration: underline;
117
+ }
118
+ .cc-link:hover {
119
+ opacity: 1;
120
+ }
121
+ .cc-link:active,
122
+ .cc-link:visited {
123
+ color: initial;
124
+ }
125
+
126
+ .cc-btn {
127
+ display: block;
128
+ padding: 0.4em 0.8em;
129
+ font-size: 0.9em;
130
+ font-weight: bold;
131
+ border-width: 2px;
132
+ border-style: solid;
133
+ text-align: center;
134
+ white-space: nowrap;
135
+ }
136
+
137
+ .cc-highlight .cc-btn:first-child {
138
+ background-color: transparent;
139
+ border-color: transparent;
140
+ }
141
+
142
+ .cc-highlight .cc-btn:first-child:hover,
143
+ .cc-highlight .cc-btn:first-child:focus {
144
+ background-color: transparent;
145
+ text-decoration: underline;
146
+ }
147
+
148
+ .cc-close {
149
+ display: block;
150
+ position: absolute;
151
+ top: 0.5em;
152
+ right: 0.5em;
153
+ font-size: 1.6em;
154
+ opacity: 0.9;
155
+
156
+ /* seeing as this contains text and not an image, the element taller than it is wide (because it is text) */
157
+ /* - we want it to be a square, because it's acting as an icon */
158
+ /* - setting the line height normalizes the height */
159
+ line-height: 0.75;
160
+ }
161
+ .cc-close:hover,
162
+ .cc-close:focus {
163
+ opacity: 1;
164
+ }
165
+
166
+ /* This file should contain styles that modifies the popup layout. */
167
+ /* By layout, we mean the physical position of the elements on the popup window, and the margin / padding around those elements. */
168
+
169
+ .cc-revoke.cc-top {
170
+ top: 0;
171
+ left: 3em;
172
+ border-bottom-left-radius: 0.5em;
173
+ border-bottom-right-radius: 0.5em;
174
+ }
175
+ .cc-revoke.cc-bottom {
176
+ bottom: 0;
177
+ left: 3em;
178
+ border-top-left-radius: 0.5em;
179
+ border-top-right-radius: 0.5em;
180
+ }
181
+ .cc-revoke.cc-left {
182
+ left: 3em;
183
+ right: unset;
184
+ }
185
+ .cc-revoke.cc-right {
186
+ right: 3em;
187
+ left: unset;
188
+ }
189
+
190
+ /**************************************** FLOATING ****************************************/
191
+
192
+ /* these classes position the floating element */
193
+ .cc-top {
194
+ top: 1em;
195
+ }
196
+ .cc-left {
197
+ left: 1em;
198
+ }
199
+ .cc-right {
200
+ right: 1em;
201
+ }
202
+ .cc-bottom {
203
+ bottom: 1em;
204
+ }
205
+
206
+ /* links that are direct decendants should be displayed as block */
207
+ .cc-floating > .cc-link {
208
+ margin-bottom: 1em;
209
+ }
210
+
211
+ .cc-floating .cc-message {
212
+ display: block;
213
+ margin-bottom: 1em;
214
+ }
215
+
216
+ .cc-window.cc-floating .cc-compliance {
217
+ flex: 1 0 auto;
218
+ }
219
+
220
+ /**************************************** BANNER ****************************************/
221
+
222
+ .cc-window.cc-banner {
223
+ align-items: center;
224
+ }
225
+
226
+ .cc-banner.cc-top {
227
+ left: 0;
228
+ right: 0;
229
+ top: 0;
230
+ }
231
+ .cc-banner.cc-bottom {
232
+ left: 0;
233
+ right: 0;
234
+ bottom: 0;
235
+ }
236
+
237
+ .cc-banner .cc-message {
238
+ display: block;
239
+ flex: 1 1 auto;
240
+ max-width: 100%;
241
+ margin-right: 1em;
242
+ }
243
+
244
+ /* COMPLIANCE BOX */
245
+
246
+ .cc-compliance {
247
+ display: flex;
248
+ align-items: center;
249
+ justify-content: space-between;
250
+ }
251
+ .cc-floating .cc-compliance > .cc-btn {
252
+ flex: 1;
253
+ }
254
+
255
+ .cc-btn + .cc-btn {
256
+ margin-left: 0.5em;
257
+ }
258
+
259
+ /* Categories Layout */
260
+ .cc-window.cc-type-categories {
261
+ display : inline-flex;
262
+ flex-direction: column;
263
+ overflow : visible;
264
+ .form{
265
+ text-align: right;
266
+ }
267
+ .cc-btn {
268
+ margin: 0;
269
+ &.cc-save {
270
+ margin : 0;
271
+ display : inline-block;
272
+ }
273
+ }
274
+ }
275
+ .cc-categories {
276
+ display: inline-flex;
277
+ .cc-category{
278
+ display : flex;
279
+ max-width: 100%;
280
+ margin : 0 2px;
281
+ position : relative;
282
+ }
283
+ .cc-btn {
284
+ border-right: none;
285
+ outline : none;
286
+ input[type=checkbox]{
287
+ float: left;
288
+ height: 26px;
289
+ width: calc( 100% - 22px );
290
+ display: block;
291
+ position: absolute;
292
+ top: 0;
293
+ left: 2px;
294
+ cursor: pointer;
295
+ }
296
+ &:not(.cc-info):not(.cc-save){
297
+ padding-left: 26px;
298
+ }
299
+ }
300
+ .cc-info {
301
+ border-left : none;
302
+ border-right: 2px solid lightgrey;
303
+ padding : 4px;
304
+ font-variant: all-small-caps;
305
+ &:focus + .cc-tooltip{
306
+ display: block;
307
+ }
308
+ }
309
+ .cc-tooltip{
310
+ display : none;
311
+ position : absolute;
312
+ z-index : 3;
313
+ width : 190px;
314
+ bottom : 46px;
315
+ padding : 8px;
316
+ border : thin solid lightgrey;
317
+ box-shadow: 1px 1px 4px rgba( 150, 150, 150, .7 );
318
+ &:after{
319
+ content : "";
320
+ width : 10px;
321
+ height : 10px;
322
+ transform : rotate(45deg);
323
+ position : absolute;
324
+ bottom : -7px;
325
+ left : 10px;
326
+ box-shadow: 2px 1px 1px rgba( 200, 200, 200, .5 );
327
+ }
328
+ p {
329
+ margin: 0;
330
+ }
331
+ }
332
+ }
333
+
334
+ @media print {
335
+ .cc-window,
336
+ .cc-revoke {
337
+ display: none;
338
+ }
339
+ }
340
+
341
+ @media screen and (max-width: 900px) {
342
+ .cc-btn {
343
+ white-space: normal;
344
+ }
345
+ }
346
+
347
+ /* dimensions for 'iPhone6 Plus' and lower */
348
+ @media screen and (max-width: 414px) and (orientation: portrait),
349
+ screen and (max-width: 736px) and (orientation: landscape) {
350
+ .cc-window {
351
+ &.cc-top {
352
+ top: 0;
353
+ }
354
+ &.cc-bottom {
355
+ bottom: 0;
356
+ }
357
+ &.cc-banner,
358
+ &.cc-floating,
359
+ &.cc-right,
360
+ &.cc-left {
361
+ left: 0;
362
+ right: 0;
363
+ }
364
+
365
+ &.cc-banner {
366
+ flex-direction: column;
367
+ align-items: unset;
368
+ .cc-compliance {
369
+ flex: 1 1 auto;
370
+ }
371
+ .cc-message {
372
+ margin-right: 0;
373
+ margin-bottom: 1em;
374
+ }
375
+ }
376
+ &.cc-floating {
377
+ max-width: none;
378
+ }
379
+ &.cc-type-categories {
380
+ flex-direction: column;
381
+ }
382
+ .cc-message {
383
+ margin-bottom: 1em;
384
+ }
385
+ .cc-categories{
386
+ flex-direction: column;
387
+ width: 100%;
388
+ margin-right: 8px;
389
+ }
390
+ .cc-category {
391
+ margin: 4px 0;
392
+ .cc-btn:not(.cc-info){
393
+ width: calc( 100% - 16px);
394
+ min-width: 140px;
395
+ }
396
+ }
397
+ }
398
+ }
399
+ @media screen and (max-width: 854px) {
400
+ .cc-window.cc-type-categories .cc-btn.cc-save {
401
+ margin: 8px 0;
402
+ }
403
+ }
@@ -0,0 +1,253 @@
1
+ ///
2
+ /// Ethereal 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) * 1);
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
+
45
+ label {
46
+ color: _palette(fg-bold);
47
+ display: block;
48
+ font-family: _font(family-heading);
49
+ font-size: 0.8rem;
50
+ font-weight: _font(weight-heading);
51
+ margin: 0 0 (_size(element-margin) * 0.325) 0;
52
+ }
53
+
54
+ input[type="text"],
55
+ input[type="password"],
56
+ input[type="email"],
57
+ input[type="tel"],
58
+ select,
59
+ textarea {
60
+ @include vendor('appearance', 'none');
61
+ background: transparent;
62
+ border: solid 2px _palette(border);
63
+ border-radius: _size(border-radius);
64
+ color: inherit;
65
+ display: block;
66
+ outline: 0;
67
+ padding: 0 0.75rem;
68
+ text-decoration: none;
69
+ width: 100%;
70
+
71
+ &:invalid {
72
+ box-shadow: none;
73
+ }
74
+
75
+ &:focus {
76
+ border-color: _palette(accent3);
77
+ }
78
+ }
79
+
80
+ option {
81
+ background-color: _palette(fg-bold);
82
+ color: _palette(bg);
83
+ }
84
+
85
+ select {
86
+ 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>");
87
+ background-size: 1.25rem;
88
+ background-repeat: no-repeat;
89
+ background-position: calc(100% - 1rem) center;
90
+ height: _size(element-height);
91
+ padding-right: _size(element-height);
92
+ text-overflow: ellipsis;
93
+
94
+ option {
95
+ color: _palette(fg-bold);
96
+ background: _palette(bg);
97
+ }
98
+
99
+ &:focus {
100
+ &::-ms-value {
101
+ background-color: transparent;
102
+ }
103
+ }
104
+
105
+ &::-ms-expand {
106
+ display: none;
107
+ }
108
+ }
109
+
110
+ input[type="text"],
111
+ input[type="password"],
112
+ input[type="email"],
113
+ select {
114
+ height: _size(element-height);
115
+ }
116
+
117
+ textarea {
118
+ padding: 0.75rem 1rem;
119
+ }
120
+
121
+ input[type="checkbox"],
122
+ input[type="radio"], {
123
+ @include vendor('appearance', 'none');
124
+ display: block;
125
+ float: left;
126
+ margin-right: -2rem;
127
+ opacity: 0;
128
+ width: 1rem;
129
+ z-index: -1;
130
+
131
+ & + label {
132
+ @include icon(false, solid);
133
+ position: relative;
134
+ color: _palette(fg);
135
+ cursor: pointer;
136
+ display: inline-block;
137
+ font-size: 1rem;
138
+ font-weight: _font(weight);
139
+ margin-bottom: 0;
140
+ padding-left: (_size(element-height) * 0.6) + 1rem;
141
+ padding-right: 1rem;
142
+
143
+ &:before {
144
+ content: '';
145
+ display: inline-block;
146
+ font-size: 0.8rem;
147
+ position: absolute;
148
+ top: 0;
149
+ left: 0;
150
+ width: (_size(element-height) * 0.675);
151
+ height: (_size(element-height) * 0.675);
152
+ line-height: (_size(element-height) * 0.675);
153
+ background: _palette(border-bg);
154
+ border: solid 1px _palette(border);
155
+ border-radius: _size(border-radius);
156
+ color: _palette(bg);
157
+ text-align: center;
158
+
159
+ body.is-ie & {
160
+ line-height: 1.5;
161
+ }
162
+ }
163
+ }
164
+
165
+ &:checked + label {
166
+ &:before {
167
+ content: '\f00c';
168
+ background: _palette(fg-bold);
169
+ border-color: _palette(fg-bold);
170
+ }
171
+ }
172
+
173
+ &:focus + label {
174
+ &:before {
175
+ border-color: _palette(accent3);
176
+ box-shadow: 0 0 0 1px _palette(accent3);
177
+ }
178
+ }
179
+
180
+ &:focus:checked + label {
181
+ &:before {
182
+ background: _palette(accent3);
183
+ }
184
+ }
185
+
186
+ &.color1 {
187
+ & + label {
188
+ &:before {
189
+ color: _palette(accent1);
190
+ }
191
+ }
192
+ }
193
+
194
+ &.color2 {
195
+ & + label {
196
+ &:before {
197
+ color: _palette(accent2);
198
+ }
199
+ }
200
+ }
201
+
202
+ &.color3 {
203
+ & + label {
204
+ &:before {
205
+ color: _palette(accent3);
206
+ }
207
+ }
208
+ }
209
+
210
+ &.color4 {
211
+ & + label {
212
+ &:before {
213
+ color: _palette(accent4);
214
+ }
215
+ }
216
+ }
217
+ }
218
+
219
+ input[type="checkbox"] {
220
+ & + label {
221
+ &:before {
222
+ border-radius: _size(border-radius);
223
+ }
224
+ }
225
+ }
226
+
227
+ input[type="radio"] {
228
+ & + label {
229
+ &:before {
230
+ border-radius: 100%;
231
+ }
232
+ }
233
+ }
234
+
235
+ ::-webkit-input-placeholder {
236
+ color: _palette(fg-light) !important;
237
+ opacity: 1.0;
238
+ }
239
+
240
+ :-moz-placeholder {
241
+ color: _palette(fg-light) !important;
242
+ opacity: 1.0;
243
+ }
244
+
245
+ ::-moz-placeholder {
246
+ color: _palette(fg-light) !important;
247
+ opacity: 1.0;
248
+ }
249
+
250
+ :-ms-input-placeholder {
251
+ color: _palette(fg-light) !important;
252
+ opacity: 1.0;
253
+ }