jekyll-theme-editorial 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/404.html +6 -0
- data/LICENSE.txt +63 -0
- data/README.md +1213 -0
- data/_config.yml +306 -0
- data/_data/categories.yml +38 -0
- data/_data/comments/posts/amet-varius-aliquam/20200511110657-jimbob-hexagonpants.yml +8 -0
- data/_data/comments/posts/amet-varius-aliquam/20200513010934-isabella-roundtoes.yml +15 -0
- data/_data/comments/posts/amet-varius-aliquam/20200514191919-hakira-tusunaba.yaml +8 -0
- data/_data/comments/posts/amet-varius-aliquam/20200515235959-jimbob-hexagonpants.yml +8 -0
- data/_data/features.yml +15 -0
- data/_data/menus.yml +42 -0
- data/_data/scripts.yml +13 -0
- data/_data/social.yml +140 -0
- data/_data/tags.yml +50 -0
- data/_data/taxonomy.yml +87 -0
- data/_includes/404.html +20 -0
- data/_includes/archives_menu.html +61 -0
- data/_includes/article.html +47 -0
- data/_includes/articles.html +42 -0
- data/_includes/author.html +73 -0
- data/_includes/authors.html +21 -0
- data/_includes/authors_byline.html +63 -0
- data/_includes/banner.html +10 -0
- data/_includes/categories.html +15 -0
- data/_includes/comment.html +43 -0
- data/_includes/comment_form.html +43 -0
- data/_includes/comments.html +20 -0
- data/_includes/contact.html +42 -0
- data/_includes/custom_head.html +6 -0
- data/_includes/date_modified.html +6 -0
- data/_includes/disqus_comments.html +19 -0
- data/_includes/feature.html +7 -0
- data/_includes/features.html +10 -0
- data/_includes/footer.html +4 -0
- data/_includes/head.html +20 -0
- data/_includes/item_authors.html +27 -0
- data/_includes/item_date.html +32 -0
- data/_includes/item_image.html +30 -0
- data/_includes/list_item.html +12 -0
- data/_includes/menu.html +110 -0
- data/_includes/mini-posts.html +32 -0
- data/_includes/modal.html +12 -0
- data/_includes/more_button.html +3 -0
- data/_includes/newsletter_signup.html +22 -0
- data/_includes/page_header.html +77 -0
- data/_includes/pages.html +79 -0
- data/_includes/pagination.html +22 -0
- data/_includes/post_header.html +52 -0
- data/_includes/post_nav.html +14 -0
- data/_includes/posts.html +62 -0
- data/_includes/projects.html +90 -0
- data/_includes/responsive_banner.html +20 -0
- data/_includes/scripts.html +22 -0
- data/_includes/search.html +11 -0
- data/_includes/section_header.html +3 -0
- data/_includes/series.html +32 -0
- data/_includes/sidebar.html +11 -0
- data/_includes/signin_button.html +4 -0
- data/_includes/site_header.html +9 -0
- data/_includes/social_media.html +14 -0
- data/_includes/social_media_list.html +14 -0
- data/_includes/submenu.html +25 -0
- data/_includes/tags.html +15 -0
- data/_layouts/archive.html +32 -0
- data/_layouts/author.html +19 -0
- data/_layouts/category.html +23 -0
- data/_layouts/default.html +29 -0
- data/_layouts/home.html +6 -0
- data/_layouts/page.html +16 -0
- data/_layouts/post.html +35 -0
- data/_layouts/project.html +24 -0
- data/_layouts/tag.html +23 -0
- data/_pages/about.md +37 -0
- data/_pages/archives.html +134 -0
- data/_pages/categories.html +94 -0
- data/_pages/elements.html +403 -0
- data/_pages/people.html +26 -0
- data/_pages/posts.html +11 -0
- data/_pages/privacy.md +52 -0
- data/_pages/projects.html +9 -0
- data/_pages/signin.md +31 -0
- data/_pages/tags.html +133 -0
- data/_pages/terms.md +44 -0
- data/_people/augustus.md +27 -0
- data/_people/aurelius.md +29 -0
- data/_people/julia.md +36 -0
- data/_people/petunia.md +26 -0
- data/_posts/2020-01-01-Interdum-aenean.md +47 -0
- data/_posts/2020-01-02-mulla-amet-dolore.md +38 -0
- data/_posts/2020-01-03-tempus-ullamcorper.md +122 -0
- data/_posts/2020-01-04-feugiat-lorem-aenean.md +35 -0
- data/_posts/2020-01-04-sed-etiam-facilis.md +72 -0
- data/_posts/2020-02-01-amet-varius-aliquam.md +27 -0
- data/_posts/2020-02-03-cranky-polar-bears-play-hooky-from-fishing-school.md +35 -0
- data/_posts/2020-02-07-high-septon-or-should-we-all-just-go-marching-along.md +43 -0
- data/_posts/2020-02-14-stupid-computers-and-the-games-they-play-with-our-emotions.md +30 -0
- data/_posts/2020-02-28-look-at-my-great-tatoos-everybody.md +31 -0
- data/_projects/feugiat_valley.md +32 -0
- data/_projects/ipsum_flats.md +42 -0
- data/_projects/lorem_heights.md +36 -0
- data/_projects/tempus_hills.md +37 -0
- data/_samples/page-template.md +48 -0
- data/_samples/people-template.md +51 -0
- data/_samples/post-template.md +38 -0
- data/_samples/project-template.md +47 -0
- data/_sass/base/_page.scss +42 -0
- data/_sass/base/_reset.scss +70 -0
- data/_sass/base/_typography.scss +186 -0
- data/_sass/components/_actions.scss +57 -0
- data/_sass/components/_box.scss +20 -0
- data/_sass/components/_button.scss +79 -0
- data/_sass/components/_contact.scss +41 -0
- data/_sass/components/_features.scss +150 -0
- data/_sass/components/_form.scss +173 -0
- data/_sass/components/_icon.scss +27 -0
- data/_sass/components/_icons.scss +24 -0
- data/_sass/components/_image.scss +68 -0
- data/_sass/components/_list.scss +50 -0
- data/_sass/components/_mini-posts.scss +25 -0
- data/_sass/components/_pagination.scss +64 -0
- data/_sass/components/_posts.scss +173 -0
- data/_sass/components/_row.scss +25 -0
- data/_sass/components/_section.scss +39 -0
- data/_sass/components/_table.scss +75 -0
- data/_sass/layout/_banner.scss +69 -0
- data/_sass/layout/_footer.scss +12 -0
- data/_sass/layout/_header.scss +54 -0
- data/_sass/layout/_main.scss +67 -0
- data/_sass/layout/_menu.scss +92 -0
- data/_sass/layout/_sidebar.scss +217 -0
- data/_sass/layout/_wrapper.scss +7 -0
- data/_sass/libs/_breakpoints.scss +223 -0
- data/_sass/libs/_functions.scss +90 -0
- data/_sass/libs/_html-grid.scss +149 -0
- data/_sass/libs/_mixins.scss +78 -0
- data/_sass/libs/_vars.scss +44 -0
- data/_sass/libs/_vendor.scss +376 -0
- data/_sass/main.scss +61 -0
- data/assets/css/fontawesome-all.min.css +7 -0
- data/assets/css/fonts.css +140 -0
- data/assets/css/github.css +61 -0
- data/assets/css/main.css +2276 -0
- data/assets/css/user.css +640 -0
- data/assets/images/logo.png +0 -0
- data/assets/images/pic01-thumb.jpg +0 -0
- data/assets/images/pic01.jpg +0 -0
- data/assets/images/pic02.jpg +0 -0
- data/assets/images/pic03-thumb.jpg +0 -0
- data/assets/images/pic03.jpg +0 -0
- data/assets/images/pic04.jpg +0 -0
- data/assets/images/pic05-avatar.jpg +0 -0
- data/assets/images/pic05-thumb.jpg +0 -0
- data/assets/images/pic05.jpg +0 -0
- data/assets/images/pic06.jpg +0 -0
- data/assets/images/pic07.jpg +0 -0
- data/assets/images/pic08.jpg +0 -0
- data/assets/images/pic09.jpg +0 -0
- data/assets/images/pic10.jpg +0 -0
- data/assets/images/pic11.jpg +0 -0
- data/assets/images/placeholder.png +0 -0
- data/assets/js/breakpoints.min.js +2 -0
- data/assets/js/browser.min.js +2 -0
- data/assets/js/comments.js +189 -0
- data/assets/js/email-obfuscation.js +54 -0
- data/assets/js/jquery.min.js +2 -0
- data/assets/js/main.js +263 -0
- data/assets/js/util.js +592 -0
- data/assets/webfonts/OpenSans-Bold.eot +0 -0
- data/assets/webfonts/OpenSans-Bold.svg +21062 -0
- data/assets/webfonts/OpenSans-Bold.ttf +0 -0
- data/assets/webfonts/OpenSans-Bold.woff +0 -0
- data/assets/webfonts/OpenSans-BoldItalic.eot +0 -0
- data/assets/webfonts/OpenSans-BoldItalic.svg +21121 -0
- data/assets/webfonts/OpenSans-BoldItalic.ttf +0 -0
- data/assets/webfonts/OpenSans-BoldItalic.woff +0 -0
- data/assets/webfonts/OpenSans-Italic.eot +0 -0
- data/assets/webfonts/OpenSans-Italic.svg +21164 -0
- data/assets/webfonts/OpenSans-Italic.ttf +0 -0
- data/assets/webfonts/OpenSans-Italic.woff +0 -0
- data/assets/webfonts/OpenSans-Light.eot +0 -0
- data/assets/webfonts/OpenSans-Light.svg +21034 -0
- data/assets/webfonts/OpenSans-Light.ttf +0 -0
- data/assets/webfonts/OpenSans-Light.woff +0 -0
- data/assets/webfonts/OpenSans-LightItalic.eot +0 -0
- data/assets/webfonts/OpenSans-LightItalic.svg +21161 -0
- data/assets/webfonts/OpenSans-LightItalic.ttf +0 -0
- data/assets/webfonts/OpenSans-LightItalic.woff +0 -0
- data/assets/webfonts/OpenSans-Regular.eot +0 -0
- data/assets/webfonts/OpenSans-Regular.svg +21064 -0
- data/assets/webfonts/OpenSans-Regular.ttf +0 -0
- data/assets/webfonts/OpenSans-Regular.woff +0 -0
- data/assets/webfonts/OpenSans-SemiBold.eot +0 -0
- data/assets/webfonts/OpenSans-SemiBold.svg +21055 -0
- data/assets/webfonts/OpenSans-SemiBold.ttf +0 -0
- data/assets/webfonts/OpenSans-SemiBold.woff +0 -0
- data/assets/webfonts/OpenSans-SemiBoldItalic.eot +0 -0
- data/assets/webfonts/OpenSans-SemiBoldItalic.svg +21154 -0
- data/assets/webfonts/OpenSans-SemiBoldItalic.ttf +0 -0
- data/assets/webfonts/OpenSans-SemiBoldItalic.woff +0 -0
- data/assets/webfonts/RobotoSlab-Bold.eot +0 -0
- data/assets/webfonts/RobotoSlab-Bold.svg +334 -0
- data/assets/webfonts/RobotoSlab-Bold.ttf +0 -0
- data/assets/webfonts/RobotoSlab-Bold.woff +0 -0
- data/assets/webfonts/RobotoSlab-Bold.woff2 +0 -0
- data/assets/webfonts/RobotoSlab-Regular +0 -0
- data/assets/webfonts/RobotoSlab-Regular.svg +337 -0
- data/assets/webfonts/RobotoSlab-Regular.ttf +0 -0
- data/assets/webfonts/RobotoSlab-Regular.woff +0 -0
- data/assets/webfonts/RobotoSlab-Regular.woff2 +0 -0
- data/assets/webfonts/fa-brands-400.eot +0 -0
- data/assets/webfonts/fa-brands-400.svg +3633 -0
- data/assets/webfonts/fa-brands-400.ttf +0 -0
- data/assets/webfonts/fa-brands-400.woff +0 -0
- data/assets/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/webfonts/fa-regular-400.eot +0 -0
- data/assets/webfonts/fa-regular-400.svg +803 -0
- data/assets/webfonts/fa-regular-400.ttf +0 -0
- data/assets/webfonts/fa-regular-400.woff +0 -0
- data/assets/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/webfonts/fa-solid-900.eot +0 -0
- data/assets/webfonts/fa-solid-900.svg +5000 -0
- data/assets/webfonts/fa-solid-900.ttf +0 -0
- data/assets/webfonts/fa-solid-900.woff +0 -0
- data/assets/webfonts/fa-solid-900.woff2 +0 -0
- data/favicon-apple-touch-114.png +0 -0
- data/favicon-apple-touch-144.png +0 -0
- data/favicon.icns +0 -0
- data/favicon.ico +0 -0
- data/favicon.png +0 -0
- data/index.md +28 -0
- data/robots.txt +8 -0
- data/staticman.yml +109 -0
- metadata +347 -0
@@ -0,0 +1,20 @@
|
|
1
|
+
/* Box */
|
2
|
+
|
3
|
+
.box {
|
4
|
+
border-radius: _size(border-radius);
|
5
|
+
border: solid 1px _palette(border);
|
6
|
+
margin-bottom: _size(element-margin);
|
7
|
+
padding: 1.5em;
|
8
|
+
|
9
|
+
> :last-child,
|
10
|
+
> :last-child > :last-child,
|
11
|
+
> :last-child > :last-child > :last-child {
|
12
|
+
margin-bottom: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
&.alt {
|
16
|
+
border: 0;
|
17
|
+
border-radius: 0;
|
18
|
+
padding: 0;
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
/* Button */
|
2
|
+
|
3
|
+
input[type="submit"],
|
4
|
+
input[type="reset"],
|
5
|
+
input[type="button"],
|
6
|
+
button,
|
7
|
+
.button {
|
8
|
+
@include vendor('appearance', 'none');
|
9
|
+
@include vendor('transition', (
|
10
|
+
'background-color #{_duration(transition)} ease-in-out',
|
11
|
+
'color #{_duration(transition)} ease-in-out'
|
12
|
+
));
|
13
|
+
background-color: transparent;
|
14
|
+
border-radius: _size(border-radius);
|
15
|
+
border: 0;
|
16
|
+
box-shadow: inset 0 0 0 2px _palette(accent);
|
17
|
+
color: _palette(accent) !important;
|
18
|
+
cursor: pointer;
|
19
|
+
display: inline-block;
|
20
|
+
font-family: _font(family-heading);
|
21
|
+
font-size: 0.8em;
|
22
|
+
font-weight: _font(weight-heading);
|
23
|
+
height: 3.5em;
|
24
|
+
letter-spacing: _font(kerning-heading);
|
25
|
+
line-height: 3.5em;
|
26
|
+
padding: 0 2.25em;
|
27
|
+
text-align: center;
|
28
|
+
text-decoration: none;
|
29
|
+
text-transform: uppercase;
|
30
|
+
white-space: nowrap;
|
31
|
+
|
32
|
+
&:hover {
|
33
|
+
background-color: transparentize(_palette(accent), 0.95);
|
34
|
+
}
|
35
|
+
|
36
|
+
&:active {
|
37
|
+
background-color: transparentize(_palette(accent), 0.85);
|
38
|
+
}
|
39
|
+
|
40
|
+
&.icon {
|
41
|
+
&:before {
|
42
|
+
margin-right: 0.5em;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
&.fit {
|
47
|
+
width: 100%;
|
48
|
+
}
|
49
|
+
|
50
|
+
&.small {
|
51
|
+
font-size: 0.6em;
|
52
|
+
}
|
53
|
+
|
54
|
+
&.large {
|
55
|
+
font-size: 1em;
|
56
|
+
height: 3.65em;
|
57
|
+
line-height: 3.65em;
|
58
|
+
}
|
59
|
+
|
60
|
+
&.primary {
|
61
|
+
background-color: _palette(accent);
|
62
|
+
box-shadow: none;
|
63
|
+
color: _palette(bg) !important;
|
64
|
+
|
65
|
+
&:hover {
|
66
|
+
background-color: lighten(_palette(accent), 3);
|
67
|
+
}
|
68
|
+
|
69
|
+
&:active {
|
70
|
+
background-color: darken(_palette(accent), 3);
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
&.disabled,
|
75
|
+
&:disabled {
|
76
|
+
@include vendor('pointer-events', 'none');
|
77
|
+
opacity: 0.25;
|
78
|
+
}
|
79
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
/* Contact */
|
2
|
+
|
3
|
+
ul.contact {
|
4
|
+
list-style: none;
|
5
|
+
padding: 0;
|
6
|
+
|
7
|
+
li {
|
8
|
+
@include icon;
|
9
|
+
border-top: solid 1px _palette(border);
|
10
|
+
margin: 1.5em 0 0 0;
|
11
|
+
padding: 1.5em 0 0 3em;
|
12
|
+
position: relative;
|
13
|
+
|
14
|
+
&:before {
|
15
|
+
color: _palette(accent);
|
16
|
+
display: inline-block;
|
17
|
+
font-size: 1.5em;
|
18
|
+
height: 1.125em;
|
19
|
+
left: 0;
|
20
|
+
line-height: 1.125em;
|
21
|
+
position: absolute;
|
22
|
+
text-align: center;
|
23
|
+
top: (1.5em / 1.5);
|
24
|
+
width: 1.5em;
|
25
|
+
}
|
26
|
+
|
27
|
+
&:first-child {
|
28
|
+
border-top: 0;
|
29
|
+
margin-top: 0;
|
30
|
+
padding-top: 0;
|
31
|
+
|
32
|
+
&:before {
|
33
|
+
top: 0;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
a {
|
38
|
+
color: inherit;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
@@ -0,0 +1,150 @@
|
|
1
|
+
/* Features */
|
2
|
+
|
3
|
+
.features {
|
4
|
+
$gutter: _size(gutter);
|
5
|
+
|
6
|
+
@include vendor('display', 'flex');
|
7
|
+
@include vendor('flex-wrap', 'wrap');
|
8
|
+
margin: 0 0 _size(element-margin) ($gutter * -1);
|
9
|
+
width: calc(100% + #{$gutter});
|
10
|
+
|
11
|
+
article {
|
12
|
+
@include vendor('align-items', 'center');
|
13
|
+
@include vendor('display', 'flex');
|
14
|
+
margin: 0 0 $gutter $gutter;
|
15
|
+
position: relative;
|
16
|
+
width: calc(50% - #{$gutter});
|
17
|
+
|
18
|
+
&:nth-child(2n - 1) {
|
19
|
+
margin-right: ($gutter * 0.5);
|
20
|
+
}
|
21
|
+
|
22
|
+
&:nth-child(2n) {
|
23
|
+
margin-left: ($gutter * 0.5);
|
24
|
+
}
|
25
|
+
|
26
|
+
&:nth-last-child(1),
|
27
|
+
&:nth-last-child(2) {
|
28
|
+
margin-bottom: 0;
|
29
|
+
}
|
30
|
+
|
31
|
+
.icon {
|
32
|
+
@include vendor('flex-grow', '0');
|
33
|
+
@include vendor('flex-shrink', '0');
|
34
|
+
display: block;
|
35
|
+
height: 10em;
|
36
|
+
line-height: 10em;
|
37
|
+
margin: 0 _size(element-margin) 0 0;
|
38
|
+
text-align: center;
|
39
|
+
width: 10em;
|
40
|
+
|
41
|
+
&:before {
|
42
|
+
color: _palette(accent);
|
43
|
+
font-size: 2.75rem;
|
44
|
+
position: relative;
|
45
|
+
top: 0.05em;
|
46
|
+
}
|
47
|
+
|
48
|
+
&:after {
|
49
|
+
@include vendor('transform', 'rotate(45deg)');
|
50
|
+
border-radius: 0.25rem;
|
51
|
+
border: solid 2px _palette(border);
|
52
|
+
content: '';
|
53
|
+
display: block;
|
54
|
+
height: 7em;
|
55
|
+
left: 50%;
|
56
|
+
margin: -3.5em 0 0 -3.5em;
|
57
|
+
position: absolute;
|
58
|
+
top: 50%;
|
59
|
+
width: 7em;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
.content {
|
64
|
+
@include vendor('flex-grow', '1');
|
65
|
+
@include vendor('flex-shrink', '1');
|
66
|
+
width: 100%;
|
67
|
+
|
68
|
+
> :last-child {
|
69
|
+
margin-bottom: 0;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
@include breakpoint('<=medium') {
|
75
|
+
margin: 0 0 _size(element-margin) 0;
|
76
|
+
width: 100%;
|
77
|
+
|
78
|
+
article {
|
79
|
+
margin: 0 0 $gutter 0;
|
80
|
+
width: 100%;
|
81
|
+
|
82
|
+
&:nth-child(2n - 1) {
|
83
|
+
margin-right: 0;
|
84
|
+
}
|
85
|
+
|
86
|
+
&:nth-child(2n) {
|
87
|
+
margin-left: 0;
|
88
|
+
}
|
89
|
+
|
90
|
+
&:nth-last-child(1),
|
91
|
+
&:nth-last-child(2) {
|
92
|
+
margin-bottom: $gutter;
|
93
|
+
}
|
94
|
+
|
95
|
+
&:last-child {
|
96
|
+
margin-bottom: 0;
|
97
|
+
}
|
98
|
+
|
99
|
+
.icon {
|
100
|
+
height: 8em;
|
101
|
+
line-height: 8em;
|
102
|
+
width: 8em;
|
103
|
+
|
104
|
+
&:before {
|
105
|
+
font-size: 2.25rem;
|
106
|
+
}
|
107
|
+
|
108
|
+
&:after {
|
109
|
+
height: 6em;
|
110
|
+
margin: -3em 0 0 -3em;
|
111
|
+
width: 6em;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
@include breakpoint('<=xsmall') {
|
118
|
+
article {
|
119
|
+
@include vendor('flex-direction', 'column');
|
120
|
+
@include vendor('align-items', 'flex-start');
|
121
|
+
|
122
|
+
.icon {
|
123
|
+
height: 6em;
|
124
|
+
line-height: 6em;
|
125
|
+
margin: 0 0 (_size(element-margin) * 0.75) 0;
|
126
|
+
width: 6em;
|
127
|
+
|
128
|
+
&:before {
|
129
|
+
font-size: 1.5rem;
|
130
|
+
}
|
131
|
+
|
132
|
+
&:after {
|
133
|
+
height: 4em;
|
134
|
+
margin: -2em 0 0 -2em;
|
135
|
+
width: 4em;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
@include breakpoint('<=xsmall') {
|
142
|
+
article {
|
143
|
+
.icon {
|
144
|
+
&:before {
|
145
|
+
font-size: 1.25rem;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
}
|
@@ -0,0 +1,173 @@
|
|
1
|
+
/* Form */
|
2
|
+
|
3
|
+
form {
|
4
|
+
margin: 0 0 _size(element-margin) 0;
|
5
|
+
}
|
6
|
+
|
7
|
+
label {
|
8
|
+
color: _palette(fg-bold);
|
9
|
+
display: block;
|
10
|
+
font-size: 0.9em;
|
11
|
+
font-weight: _font(weight-bold);
|
12
|
+
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
input[type="text"],
|
16
|
+
input[type="password"],
|
17
|
+
input[type="email"],
|
18
|
+
input[type="tel"],
|
19
|
+
input[type="search"],
|
20
|
+
input[type="url"],
|
21
|
+
select,
|
22
|
+
textarea {
|
23
|
+
@include vendor('appearance', 'none');
|
24
|
+
background: _palette(bg);
|
25
|
+
border-radius: _size(border-radius);
|
26
|
+
border: none;
|
27
|
+
border: solid 1px _palette(border);
|
28
|
+
color: inherit;
|
29
|
+
display: block;
|
30
|
+
outline: 0;
|
31
|
+
padding: 0 1em;
|
32
|
+
text-decoration: none;
|
33
|
+
width: 100%;
|
34
|
+
|
35
|
+
&:invalid {
|
36
|
+
box-shadow: none;
|
37
|
+
}
|
38
|
+
|
39
|
+
&:focus {
|
40
|
+
border-color: _palette(accent);
|
41
|
+
box-shadow: 0 0 0 1px _palette(accent);
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
select {
|
46
|
+
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>");
|
47
|
+
background-size: 1.25em;
|
48
|
+
background-repeat: no-repeat;
|
49
|
+
background-position: calc(100% - 1em) center;
|
50
|
+
height: _size(element-height);
|
51
|
+
padding-right: _size(element-height);
|
52
|
+
text-overflow: ellipsis;
|
53
|
+
|
54
|
+
option {
|
55
|
+
color: _palette(fg-bold);
|
56
|
+
background: _palette(bg);
|
57
|
+
}
|
58
|
+
|
59
|
+
&:focus {
|
60
|
+
&::-ms-value {
|
61
|
+
background-color: transparent;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
&::-ms-expand {
|
66
|
+
display: none;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
input[type="text"],
|
71
|
+
input[type="password"],
|
72
|
+
input[type="email"],
|
73
|
+
input[type="tel"],
|
74
|
+
input[type="search"],
|
75
|
+
input[type="url"],
|
76
|
+
select {
|
77
|
+
height: _size(element-height);
|
78
|
+
}
|
79
|
+
|
80
|
+
textarea {
|
81
|
+
padding: 0.75em 1em;
|
82
|
+
}
|
83
|
+
|
84
|
+
input[type="checkbox"],
|
85
|
+
input[type="radio"], {
|
86
|
+
@include vendor('appearance', 'none');
|
87
|
+
display: block;
|
88
|
+
float: left;
|
89
|
+
margin-right: -2em;
|
90
|
+
opacity: 0;
|
91
|
+
width: 1em;
|
92
|
+
z-index: -1;
|
93
|
+
|
94
|
+
& + label {
|
95
|
+
@include icon(false, solid);
|
96
|
+
color: _palette(fg);
|
97
|
+
cursor: pointer;
|
98
|
+
display: inline-block;
|
99
|
+
font-size: 1em;
|
100
|
+
font-weight: _font(weight);
|
101
|
+
padding-left: (_size(element-height) * 0.6) + 0.75em;
|
102
|
+
padding-right: 0.75em;
|
103
|
+
position: relative;
|
104
|
+
|
105
|
+
&:before {
|
106
|
+
background: _palette(bg);
|
107
|
+
border-radius: _size(border-radius);
|
108
|
+
border: solid 1px _palette(border);
|
109
|
+
content: '';
|
110
|
+
display: inline-block;
|
111
|
+
font-size: 0.8em;
|
112
|
+
height: (_size(element-height) * 0.75);
|
113
|
+
left: 0;
|
114
|
+
line-height: (_size(element-height) * 0.75);
|
115
|
+
position: absolute;
|
116
|
+
text-align: center;
|
117
|
+
top: 0;
|
118
|
+
width: (_size(element-height) * 0.75);
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
&:checked + label {
|
123
|
+
&:before {
|
124
|
+
background: _palette(fg-bold);
|
125
|
+
border-color: _palette(fg-bold);
|
126
|
+
color: _palette(bg);
|
127
|
+
content: '\f00c';
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
&:focus + label {
|
132
|
+
&:before {
|
133
|
+
border-color: _palette(accent);
|
134
|
+
box-shadow: 0 0 0 1px _palette(accent);
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
input[type="checkbox"] {
|
140
|
+
& + label {
|
141
|
+
&:before {
|
142
|
+
border-radius: _size(border-radius);
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
input[type="radio"] {
|
148
|
+
& + label {
|
149
|
+
&:before {
|
150
|
+
border-radius: 100%;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
::-webkit-input-placeholder {
|
156
|
+
color: _palette(fg-light) !important;
|
157
|
+
opacity: 1.0;
|
158
|
+
}
|
159
|
+
|
160
|
+
:-moz-placeholder {
|
161
|
+
color: _palette(fg-light) !important;
|
162
|
+
opacity: 1.0;
|
163
|
+
}
|
164
|
+
|
165
|
+
::-moz-placeholder {
|
166
|
+
color: _palette(fg-light) !important;
|
167
|
+
opacity: 1.0;
|
168
|
+
}
|
169
|
+
|
170
|
+
:-ms-input-placeholder {
|
171
|
+
color: _palette(fg-light) !important;
|
172
|
+
opacity: 1.0;
|
173
|
+
}
|