jekyll-theme-ethereal 0.4.4 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +54 -1
- data/_includes/contact_form.html +11 -7
- data/_includes/contact_script.html +60 -22
- data/_includes/head.html +11 -1
- data/_includes/panel_contact.html +4 -4
- data/_includes/panel_map.html +71 -97
- data/_includes/scripts.html +8 -19
- data/_includes/search.html +8 -6
- data/_layouts/default.html +4 -4
- data/_sass/large.scss +49 -0
- data/_sass/large/base/_page.scss +0 -0
- data/_sass/large/base/_reset.scss +0 -0
- data/_sass/large/base/_typography.scss +11 -0
- data/_sass/large/components/_actions.scss +0 -0
- data/_sass/large/components/_button.scss +0 -0
- data/_sass/large/components/_contact-icons.scss +0 -0
- data/_sass/large/components/_form.scss +0 -0
- data/_sass/large/components/_gallery.scss +0 -0
- data/_sass/large/components/_grid-icons.scss +0 -0
- data/_sass/large/components/_icon.scss +0 -0
- data/_sass/large/components/_icons.scss +0 -0
- data/_sass/large/components/_image.scss +0 -0
- data/_sass/large/components/_list.scss +0 -0
- data/_sass/large/components/_panel-banner.scss +0 -0
- data/_sass/large/components/_panel-map.scss +0 -0
- data/_sass/large/components/_panel-spotlight.scss +0 -0
- data/_sass/large/components/_panel.scss +0 -0
- data/_sass/large/components/_table.scss +0 -0
- data/_sass/large/layout/_footer.scss +0 -0
- data/_sass/large/layout/_header.scss +0 -0
- data/_sass/large/layout/_page-wrapper.scss +0 -0
- data/_sass/large/layout/_wrapper.scss +0 -0
- data/_sass/libs/_breakpoints.scss +164 -164
- data/_sass/libs/_functions.scss +32 -32
- data/_sass/libs/_mixins.scss +225 -49
- data/_sass/libs/_vars.scss +40 -40
- data/_sass/libs/_vendor.scss +331 -331
- data/_sass/main.scss +25 -118
- data/_sass/main/base/_page.scss +99 -0
- data/_sass/main/base/_reset.scss +76 -0
- data/_sass/main/base/_typography.scss +193 -0
- data/_sass/main/components/_actions.scss +63 -0
- data/_sass/main/components/_button.scss +154 -0
- data/_sass/main/components/_contact-icons.scss +72 -0
- data/_sass/main/components/_form.scss +253 -0
- data/_sass/main/components/_gallery.scss +168 -0
- data/_sass/main/components/_grid-icons.scss +139 -0
- data/_sass/main/components/_icon.scss +33 -0
- data/_sass/main/components/_icons.scss +28 -0
- data/_sass/main/components/_image.scss +169 -0
- data/_sass/main/components/_list.scss +56 -0
- data/_sass/main/components/_panel-banner.scss +52 -0
- data/_sass/main/components/_panel-map.scss +0 -0
- data/_sass/main/components/_panel-spotlight.scss +62 -0
- data/_sass/main/components/_panel.scss +224 -0
- data/_sass/main/components/_table.scss +81 -0
- data/_sass/main/layout/_footer.scss +30 -0
- data/_sass/main/layout/_header.scss +35 -0
- data/_sass/main/layout/_page-wrapper.scss +22 -0
- data/_sass/main/layout/_wrapper.scss +85 -0
- data/_sass/medium.scss +48 -0
- data/_sass/medium/base/_page.scss +0 -0
- data/_sass/medium/base/_reset.scss +0 -0
- data/_sass/medium/base/_typography.scss +0 -0
- data/_sass/medium/components/_actions.scss +0 -0
- data/_sass/medium/components/_button.scss +0 -0
- data/_sass/medium/components/_contact-icons.scss +0 -0
- data/_sass/medium/components/_form.scss +0 -0
- data/_sass/medium/components/_gallery.scss +11 -0
- data/_sass/medium/components/_grid-icons.scss +0 -0
- data/_sass/medium/components/_icon.scss +0 -0
- data/_sass/medium/components/_icons.scss +0 -0
- data/_sass/medium/components/_image.scss +0 -0
- data/_sass/medium/components/_list.scss +0 -0
- data/_sass/medium/components/_panel-banner.scss +0 -0
- data/_sass/medium/components/_panel-map.scss +0 -0
- data/_sass/medium/components/_panel-spotlight.scss +0 -0
- data/_sass/medium/components/_panel.scss +0 -0
- data/_sass/medium/components/_table.scss +0 -0
- data/_sass/medium/layout/_footer.scss +0 -0
- data/_sass/medium/layout/_header.scss +0 -0
- data/_sass/medium/layout/_page-wrapper.scss +0 -0
- data/_sass/medium/layout/_wrapper.scss +0 -0
- data/_sass/noscript.scss +12 -12
- data/_sass/short.scss +49 -0
- data/_sass/short/base/_page.scss +0 -0
- data/_sass/short/base/_reset.scss +0 -0
- data/_sass/short/base/_typography.scss +0 -0
- data/_sass/short/components/_actions.scss +0 -0
- data/_sass/short/components/_button.scss +0 -0
- data/_sass/short/components/_contact-icons.scss +0 -0
- data/_sass/short/components/_form.scss +1 -0
- data/_sass/short/components/_gallery.scss +0 -0
- data/_sass/short/components/_grid-icons.scss +0 -0
- data/_sass/short/components/_icon.scss +0 -0
- data/_sass/short/components/_icons.scss +0 -0
- data/_sass/short/components/_image.scss +0 -0
- data/_sass/short/components/_list.scss +0 -0
- data/_sass/short/components/_panel-banner.scss +0 -0
- data/_sass/short/components/_panel-map.scss +0 -0
- data/_sass/short/components/_panel-spotlight.scss +0 -0
- data/_sass/short/components/_panel.scss +0 -0
- data/_sass/short/components/_table.scss +0 -0
- data/_sass/short/layout/_footer.scss +0 -0
- data/_sass/short/layout/_header.scss +0 -0
- data/_sass/short/layout/_page-wrapper.scss +9 -0
- data/_sass/short/layout/_wrapper.scss +0 -0
- data/_sass/small.scss +50 -0
- data/_sass/small/base/_page.scss +18 -0
- data/_sass/small/base/_reset.scss +0 -0
- data/_sass/small/base/_typography.scss +67 -0
- data/_sass/small/components/_actions.scss +0 -0
- data/_sass/small/components/_button.scss +0 -0
- data/_sass/small/components/_contact-icons.scss +0 -0
- data/_sass/small/components/_form.scss +27 -0
- data/_sass/small/components/_gallery.scss +38 -0
- data/_sass/small/components/_grid-icons.scss +29 -0
- data/_sass/small/components/_icon.scss +0 -0
- data/_sass/small/components/_icons.scss +0 -0
- data/_sass/small/components/_image.scss +0 -0
- data/_sass/small/components/_list.scss +0 -0
- data/_sass/small/components/_panel-banner.scss +37 -0
- data/_sass/small/components/_panel-map.scss +13 -0
- data/_sass/small/components/_panel-spotlight.scss +18 -0
- data/_sass/small/components/_panel.scss +80 -0
- data/_sass/small/components/_table.scss +0 -0
- data/_sass/small/layout/_footer.scss +34 -0
- data/_sass/small/layout/_header.scss +0 -0
- data/_sass/small/layout/_page-wrapper.scss +12 -0
- data/_sass/small/layout/_wrapper.scss +26 -0
- data/{_sass/components/_cookieconsent.scss → assets/css/cookieconsent.css} +3 -2
- data/assets/css/cookieconsent.min.css +1 -0
- data/assets/css/fontawesome-all.min.css +1 -1
- data/assets/css/large.scss +5 -0
- data/assets/css/mapbox-gl.css +1 -600
- data/assets/css/mapbox-gl.min.css +1 -0
- data/assets/css/mapbox-gl.panel.css +27 -0
- data/assets/css/mapbox-gl.panel.min.css +1 -0
- data/assets/css/medium.scss +5 -0
- data/assets/css/short.scss +5 -0
- data/assets/css/small.scss +5 -0
- data/assets/js/cookieconsent.style.min.js +1 -0
- data/assets/js/lazy-loading.min.js +1 -0
- data/assets/js/main.js +2 -2
- data/assets/js/main.min.js +42 -0
- data/assets/js/mapbox-gl.min.js +40 -0
- metadata +129 -25
- data/_sass/base/_page.scss +0 -117
- data/_sass/base/_reset.scss +0 -76
- data/_sass/base/_typography.scss +0 -271
- data/_sass/components/_actions.scss +0 -63
- data/_sass/components/_button.scss +0 -154
- data/_sass/components/_contact-icons.scss +0 -72
- data/_sass/components/_form.scss +0 -279
- data/_sass/components/_gallery.scss +0 -218
- data/_sass/components/_grid-icons.scss +0 -166
- data/_sass/components/_icon.scss +0 -33
- data/_sass/components/_icons.scss +0 -28
- data/_sass/components/_image.scss +0 -169
- data/_sass/components/_list.scss +0 -56
- data/_sass/components/_panel-banner.scss +0 -90
- data/_sass/components/_panel-spotlight.scss +0 -81
- data/_sass/components/_panel.scss +0 -300
- data/_sass/components/_table.scss +0 -81
- data/_sass/layout/_footer.scss +0 -49
- data/_sass/layout/_header.scss +0 -37
- data/_sass/layout/_page-wrapper.scss +0 -43
- data/_sass/layout/_wrapper.scss +0 -118
- data/assets/js/mapbox-gl.js +0 -40
@@ -0,0 +1,63 @@
|
|
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
|
+
/* 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
|
+
}
|
@@ -0,0 +1,154 @@
|
|
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
|
+
/* 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', (
|
16
|
+
'background-color #{_duration(transition)} ease-in-out',
|
17
|
+
'box-shadow #{_duration(transition)} ease-in-out',
|
18
|
+
'color #{_duration(transition)} ease-in-out'
|
19
|
+
));
|
20
|
+
background-color: transparent;
|
21
|
+
border: 0;
|
22
|
+
border-radius: _size(border-radius);
|
23
|
+
box-shadow: inset 0 0 0 2px _palette(border);
|
24
|
+
color: _palette(fg-bold) !important;
|
25
|
+
cursor: pointer;
|
26
|
+
display: inline-block;
|
27
|
+
font-family: _font(family-heading);
|
28
|
+
font-size: 0.6rem;
|
29
|
+
font-weight: _font(weight-heading);
|
30
|
+
height: _size(element-height) * 1.1;
|
31
|
+
letter-spacing: 0.15rem;
|
32
|
+
line-height: _size(element-height) * 1.1;
|
33
|
+
padding: 0 1.5rem 0 (1.5rem + 0.15rem);
|
34
|
+
text-align: center;
|
35
|
+
text-decoration: none;
|
36
|
+
text-transform: uppercase;
|
37
|
+
white-space: nowrap;
|
38
|
+
|
39
|
+
&:hover {
|
40
|
+
box-shadow: inset 0 0 0 2px _palette(accent3);
|
41
|
+
color: _palette(accent3) !important;
|
42
|
+
}
|
43
|
+
|
44
|
+
&:active {
|
45
|
+
background-color: transparentize(_palette(accent3), 0.875);
|
46
|
+
}
|
47
|
+
|
48
|
+
&.icon {
|
49
|
+
&:before {
|
50
|
+
display: inline-block;
|
51
|
+
position: relative;
|
52
|
+
top: -0.075rem;
|
53
|
+
vertical-align: middle;
|
54
|
+
font-size: 0.8rem;
|
55
|
+
margin: 0 0.375rem 0 -0.325rem;
|
56
|
+
}
|
57
|
+
|
58
|
+
&.circle {
|
59
|
+
position: relative;
|
60
|
+
width: _size(element-height) * 1.25;
|
61
|
+
height: _size(element-height) * 1.25;
|
62
|
+
line-height: _size(element-height) * 1.25;
|
63
|
+
text-indent: _size(element-height) * 1.25;
|
64
|
+
border-radius: 100%;
|
65
|
+
overflow: hidden;
|
66
|
+
padding: 0;
|
67
|
+
letter-spacing: 0;
|
68
|
+
|
69
|
+
&:before {
|
70
|
+
display: block;
|
71
|
+
position: absolute;
|
72
|
+
top: 0;
|
73
|
+
left: 0;
|
74
|
+
width: inherit;
|
75
|
+
height: inherit;
|
76
|
+
font-size: 1.25rem;
|
77
|
+
line-height: inherit;
|
78
|
+
margin: 0;
|
79
|
+
text-indent: 0;
|
80
|
+
}
|
81
|
+
|
82
|
+
&.fa-angle-left {
|
83
|
+
&:before {
|
84
|
+
position: relative;
|
85
|
+
left: -0.1rem;
|
86
|
+
font-size: 1.75rem;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
&.fa-angle-right {
|
91
|
+
&:before {
|
92
|
+
position: relative;
|
93
|
+
left: 0.1rem;
|
94
|
+
font-size: 1.75rem;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
&.fit {
|
101
|
+
width: 100%;
|
102
|
+
}
|
103
|
+
|
104
|
+
&.small {
|
105
|
+
font-size: 0.4rem;
|
106
|
+
height: _size(element-height) * 0.75;
|
107
|
+
line-height: _size(element-height) * 0.75;
|
108
|
+
padding: 0 1.25rem 0 (1.25rem + 0.15rem);
|
109
|
+
}
|
110
|
+
|
111
|
+
&.large {
|
112
|
+
font-size: 0.8rem;
|
113
|
+
height: _size(element-height) * 1.325;
|
114
|
+
line-height: _size(element-height) * 1.325;
|
115
|
+
padding: 0 2rem 0 (2rem + 0.15rem);
|
116
|
+
}
|
117
|
+
|
118
|
+
&.primary {
|
119
|
+
background-color: rgba(_palette(fg-bold), 1);
|
120
|
+
box-shadow: none;
|
121
|
+
color: _palette(bg) !important;
|
122
|
+
|
123
|
+
&.color1 {
|
124
|
+
color: _palette(accent1) !important;
|
125
|
+
}
|
126
|
+
|
127
|
+
&.color2 {
|
128
|
+
color: _palette(accent2) !important;
|
129
|
+
}
|
130
|
+
|
131
|
+
&.color3 {
|
132
|
+
color: _palette(accent3) !important;
|
133
|
+
}
|
134
|
+
|
135
|
+
&.color4 {
|
136
|
+
color: _palette(accent4) !important;
|
137
|
+
}
|
138
|
+
|
139
|
+
&:hover {
|
140
|
+
background-color: _palette(accent3);
|
141
|
+
}
|
142
|
+
|
143
|
+
&:active {
|
144
|
+
background-color: desaturate(darken(_palette(accent3), 6), 3);
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
&.disabled,
|
149
|
+
&:disabled {
|
150
|
+
@include vendor('pointer-events', 'none');
|
151
|
+
cursor: default;
|
152
|
+
opacity: 0.5;
|
153
|
+
}
|
154
|
+
}
|
@@ -0,0 +1,72 @@
|
|
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
|
+
/* Contact Icons */
|
8
|
+
|
9
|
+
ul.contact-icons {
|
10
|
+
list-style: none;
|
11
|
+
padding-left: 0;
|
12
|
+
|
13
|
+
> li {
|
14
|
+
margin: 1.25rem 0 0 0;
|
15
|
+
padding-left: 0;
|
16
|
+
|
17
|
+
&:before {
|
18
|
+
display: inline-block;
|
19
|
+
width: 2.25rem;
|
20
|
+
height: 2.25rem;
|
21
|
+
line-height: 2.25rem;
|
22
|
+
border-radius: 2.25rem;
|
23
|
+
background-color: rgba(_palette(fg-bold), 1);
|
24
|
+
color: _palette(bg);
|
25
|
+
cursor: default;
|
26
|
+
font-size: 1.125rem;
|
27
|
+
margin-right: 1rem;
|
28
|
+
text-align: center;
|
29
|
+
vertical-align: middle;
|
30
|
+
|
31
|
+
body.is-ie & {
|
32
|
+
line-height: 2.125;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
a {
|
37
|
+
border-bottom: 0;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
&.color1 {
|
42
|
+
> li {
|
43
|
+
&:before {
|
44
|
+
color: _palette(accent1);
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
&.color2 {
|
50
|
+
> li {
|
51
|
+
&:before {
|
52
|
+
color: _palette(accent2);
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
&.color3 {
|
58
|
+
> li {
|
59
|
+
&:before {
|
60
|
+
color: _palette(accent3);
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
&.color4 {
|
66
|
+
> li {
|
67
|
+
&:before {
|
68
|
+
color: _palette(accent4);
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
@@ -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
|
+
}
|