evie-jekyll 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/404.html +4 -0
- data/LICENSE.txt +7 -0
- data/README.md +41 -0
- data/_includes/footer-dark.html +4 -0
- data/_includes/footer-light.html +4 -0
- data/_includes/footer.html +30 -0
- data/_includes/head.html +7 -0
- data/_includes/navbar-inner.html +11 -0
- data/_includes/navbar.html +7 -0
- data/_includes/scripts.html +1 -0
- data/_layouts/404.html +37 -0
- data/_layouts/default.html +16 -0
- data/_layouts/landing.html +22 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +5 -0
- data/_sass/base/_containers.scss +28 -0
- data/_sass/base/_globals.scss +37 -0
- data/_sass/base/_variables.scss +47 -0
- data/_sass/components/_app.scss +74 -0
- data/_sass/components/_auth.scss +52 -0
- data/_sass/components/_cta.scss +33 -0
- data/_sass/components/_expanded.scss +66 -0
- data/_sass/components/_footer.scss +98 -0
- data/_sass/components/_hero.scss +136 -0
- data/_sass/components/_landing.scss +9 -0
- data/_sass/components/_navbar.scss +160 -0
- data/_sass/components/_page.scss +74 -0
- data/_sass/components/_steps.scss +54 -0
- data/_sass/components/_verticalMenu.scss +91 -0
- data/_sass/elements/_buttons.scss +85 -0
- data/_sass/elements/_forms.scss +281 -0
- data/_sass/elements/_typography.scss +85 -0
- data/_sass/utils/_helpers.scss +3 -0
- data/_sass/utils/_mixins.scss +47 -0
- data/_sass/utils/_normalize.scss +341 -0
- data/assets/css/style.scss +31 -0
- data/assets/images/evie_default_bg.jpeg +0 -0
- data/assets/images/hero_sm.png +0 -0
- data/assets/images/tet.svg +1 -0
- data/assets/images/together.svg +1 -0
- data/assets/images/undraw_browser.svg +1 -0
- data/assets/images/undraw_creation.svg +1 -0
- data/assets/images/undraw_design.svg +1 -0
- data/assets/images/undraw_designer.svg +1 -0
- data/assets/images/undraw_elements.svg +1 -0
- data/assets/images/undraw_everywhere.svg +1 -0
- data/assets/images/undraw_fans.svg +1 -0
- data/assets/images/undraw_frameworks.svg +1 -0
- data/assets/images/undraw_hello_aeia.svg +1 -0
- data/assets/images/undraw_responsive.svg +1 -0
- data/assets/images/undraw_selfie.svg +1 -0
- data/assets/images/undraw_tabs.svg +1 -0
- data/assets/js/app.js +1463 -0
- data/assets/js/app.min.js +1 -0
- data/auth.html +30 -0
- data/dashboard.html +36 -0
- data/index.html +117 -0
- data/page.html +52 -0
- metadata +145 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
.page__header{
|
|
2
|
+
position:relative;
|
|
3
|
+
color: $hero-color;
|
|
4
|
+
box-shadow: $hero-shadow;
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.page__header__inner{
|
|
9
|
+
padding: #{$navbar-height * 1.1} 0 0 0;
|
|
10
|
+
position: relative;
|
|
11
|
+
z-index: 3;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.page__header__content{
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
padding: 32pt 0;
|
|
19
|
+
overflow: auto;
|
|
20
|
+
|
|
21
|
+
// This div allows normal behaviors for contained elements instead of flexbox aligning them
|
|
22
|
+
&__inner{
|
|
23
|
+
width: 100%;
|
|
24
|
+
max-width: 66ch;
|
|
25
|
+
text-align: center;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/*--- CONTENT STYLING ---*/
|
|
30
|
+
.page__header__title{
|
|
31
|
+
color: inherit;
|
|
32
|
+
margin-bottom: 1.25em;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.page__header__text{
|
|
36
|
+
opacity: 0.85;
|
|
37
|
+
line-height: 1.7;
|
|
38
|
+
text-align: left;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.page{
|
|
42
|
+
padding: 24pt 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.page__inner{
|
|
46
|
+
|
|
47
|
+
@include desktop{
|
|
48
|
+
display: flex;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.page__menu{
|
|
53
|
+
width: 100%;
|
|
54
|
+
position: relative;
|
|
55
|
+
|
|
56
|
+
@include desktop{
|
|
57
|
+
display: block;
|
|
58
|
+
width: 300px;
|
|
59
|
+
flex-shrink: 0;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
.page__main{
|
|
65
|
+
flex-grow: 1;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.page__main__title{
|
|
69
|
+
margin-top: 0.75em;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.page__image{
|
|
73
|
+
max-width:100%;
|
|
74
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
.steps{
|
|
2
|
+
text-align: center;
|
|
3
|
+
padding: 16pt 0;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.steps__inner{
|
|
7
|
+
@include desktop{
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: space-around;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.step{
|
|
14
|
+
padding: 16pt 0;
|
|
15
|
+
text-align: center;
|
|
16
|
+
width: 100%;
|
|
17
|
+
border-top: 1px solid $line;
|
|
18
|
+
overflow: auto;
|
|
19
|
+
|
|
20
|
+
&:first-child{
|
|
21
|
+
border-top: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@include desktop{
|
|
25
|
+
border-top: none;
|
|
26
|
+
width: auto;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.step__media{
|
|
31
|
+
margin: 16pt 0;
|
|
32
|
+
|
|
33
|
+
@include desktop{
|
|
34
|
+
margin: 32pt 0;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.step__image{
|
|
39
|
+
max-height: 100px;
|
|
40
|
+
max-width: 222px;
|
|
41
|
+
margin-top: 8pt;
|
|
42
|
+
@include noDragging;
|
|
43
|
+
|
|
44
|
+
@include tablet{
|
|
45
|
+
max-width:none;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.step__text{
|
|
50
|
+
max-width: 36ch;
|
|
51
|
+
text-align: left;
|
|
52
|
+
margin-left: auto;
|
|
53
|
+
margin-right: auto;
|
|
54
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/* Vertical menu */
|
|
2
|
+
.vMenu{
|
|
3
|
+
padding: 0;
|
|
4
|
+
list-style-type: none;
|
|
5
|
+
display: flex;
|
|
6
|
+
max-width: 100%;
|
|
7
|
+
flex-wrap: wrap;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
border-bottom: 1px solid $line;
|
|
10
|
+
|
|
11
|
+
@include desktop{
|
|
12
|
+
display: inline-block;
|
|
13
|
+
border-bottom: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
li{
|
|
17
|
+
display: inline-block;
|
|
18
|
+
margin-bottom: 1em;
|
|
19
|
+
width: 48%;
|
|
20
|
+
padding-left: 16pt;
|
|
21
|
+
|
|
22
|
+
@include desktop{
|
|
23
|
+
padding-left: 0;
|
|
24
|
+
display: block;
|
|
25
|
+
width: auto;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
a{
|
|
30
|
+
display: block;
|
|
31
|
+
|
|
32
|
+
@include desktop{
|
|
33
|
+
display: inline-block;
|
|
34
|
+
opacity: 0.85;
|
|
35
|
+
|
|
36
|
+
&:hover{
|
|
37
|
+
opacity: 1;
|
|
38
|
+
color: $primary;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:after {
|
|
42
|
+
display: block;
|
|
43
|
+
content: '';
|
|
44
|
+
border-bottom: 1px solid $primary;
|
|
45
|
+
transform: scaleX(0);
|
|
46
|
+
transition: transform 250ms ease-in-out;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:hover:after { transform: scaleX(1); }
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
& > ul{
|
|
54
|
+
margin-top: -0.65em;
|
|
55
|
+
padding-left: 1.5em;
|
|
56
|
+
margin-bottom: 0.75em;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
& > ul li{
|
|
60
|
+
opacity: 0.85;
|
|
61
|
+
font-size: 0.95em;
|
|
62
|
+
margin-bottom: 0.25em;
|
|
63
|
+
|
|
64
|
+
&:before{
|
|
65
|
+
content: "-";
|
|
66
|
+
margin-right: 0.5em;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.vMenu--active{
|
|
72
|
+
color: $primary;
|
|
73
|
+
|
|
74
|
+
&:before{
|
|
75
|
+
content: "\2014";
|
|
76
|
+
margin-right: 0.333em;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@include desktop{
|
|
80
|
+
opacity: 1;
|
|
81
|
+
color: $primary;
|
|
82
|
+
|
|
83
|
+
&:after {
|
|
84
|
+
display: block;
|
|
85
|
+
content: '';
|
|
86
|
+
border-bottom: 1px solid $primary;
|
|
87
|
+
transform: none;
|
|
88
|
+
transition: none;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
button, .button{
|
|
2
|
+
display: inline-block;
|
|
3
|
+
padding: 6pt 20pt;
|
|
4
|
+
line-height: $line-height;
|
|
5
|
+
border: 1px solid $primary;
|
|
6
|
+
color: $primary;
|
|
7
|
+
font-weight: $normal;
|
|
8
|
+
transition: 0.7s;
|
|
9
|
+
white-space: nowrap;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
background-color: transparent;
|
|
12
|
+
border-radius: $radius;
|
|
13
|
+
margin-bottom: 1.3em;
|
|
14
|
+
transition: 0.7s;
|
|
15
|
+
text-align: center;
|
|
16
|
+
text-decoration: none;
|
|
17
|
+
|
|
18
|
+
&:hover,&:focus{
|
|
19
|
+
outline: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@include desktop{
|
|
23
|
+
&:hover{
|
|
24
|
+
border-color: $primary-dark;
|
|
25
|
+
color: $primary-dark;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.button__primary{
|
|
31
|
+
background-color: $primary;
|
|
32
|
+
border-color: $primary;
|
|
33
|
+
color: #fff;
|
|
34
|
+
|
|
35
|
+
@include desktop{
|
|
36
|
+
&:hover{
|
|
37
|
+
background-color: $primary-dark;
|
|
38
|
+
border-color: $primary-dark;
|
|
39
|
+
color: #fff;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.button__accent{
|
|
45
|
+
background-color: $accent;
|
|
46
|
+
border-color: $accent;
|
|
47
|
+
color: #fff;
|
|
48
|
+
|
|
49
|
+
@include desktop{
|
|
50
|
+
&:hover{
|
|
51
|
+
background-color: darken($accent,4%);
|
|
52
|
+
border-color: darken($accent,4%);
|
|
53
|
+
color: #fff;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.button__delete{
|
|
59
|
+
background-color: $error;
|
|
60
|
+
border-color: $error;
|
|
61
|
+
color: #fff;
|
|
62
|
+
|
|
63
|
+
@include desktop{
|
|
64
|
+
&:hover{
|
|
65
|
+
background-color: darken($error,4%);
|
|
66
|
+
border-color: darken($error,4%);
|
|
67
|
+
color: #fff;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.button:disabled{
|
|
73
|
+
opacity: 0.25;
|
|
74
|
+
cursor: default;
|
|
75
|
+
pointer-events:none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// Utility classes
|
|
79
|
+
.button--fixed{
|
|
80
|
+
width: 160px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.button--fixed2{
|
|
84
|
+
width: 220px;
|
|
85
|
+
}
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
form{
|
|
2
|
+
margin-bottom: 1.5em;
|
|
3
|
+
|
|
4
|
+
.double{
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
|
|
8
|
+
.half {
|
|
9
|
+
max-width: 48%;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.form{
|
|
15
|
+
margin-left: auto;
|
|
16
|
+
margin-right: auto;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
label{
|
|
20
|
+
margin-bottom: 2pt;
|
|
21
|
+
display: block;
|
|
22
|
+
text-align: left;
|
|
23
|
+
color: $text;
|
|
24
|
+
font-size: 0.9em;
|
|
25
|
+
padding-left: 10pt;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Plain inputs and textarea
|
|
29
|
+
input {
|
|
30
|
+
&[type="email"],
|
|
31
|
+
&[type="number"],
|
|
32
|
+
&[type="search"],
|
|
33
|
+
&[type="text"],
|
|
34
|
+
&[type="tel"],
|
|
35
|
+
&[type="url"],
|
|
36
|
+
&[type="password"], {
|
|
37
|
+
appearance: none;
|
|
38
|
+
border: 1px solid $line;
|
|
39
|
+
width: 100%;
|
|
40
|
+
transition: 0.7s;
|
|
41
|
+
color: $text-dark;
|
|
42
|
+
font-family: $font;
|
|
43
|
+
font-weight: $normal;
|
|
44
|
+
padding: 10pt 20pt;
|
|
45
|
+
border-radius: $radius;
|
|
46
|
+
background-color: $background-alt;
|
|
47
|
+
margin-bottom: 1.4em;
|
|
48
|
+
display: block;
|
|
49
|
+
|
|
50
|
+
&:focus{
|
|
51
|
+
border-color: transparentize($primary,0.5);
|
|
52
|
+
outline: 0;
|
|
53
|
+
background-color: $background;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
textarea{
|
|
59
|
+
appearance: none;
|
|
60
|
+
border: 1px solid $line;
|
|
61
|
+
width: 100%;
|
|
62
|
+
transition: 0.7s;
|
|
63
|
+
color: $text-dark;
|
|
64
|
+
font-family: $font;
|
|
65
|
+
font-weight: $normal;
|
|
66
|
+
padding: 12pt 24pt;
|
|
67
|
+
border-radius: $radius;
|
|
68
|
+
background-color: $background-alt;
|
|
69
|
+
margin-bottom: 1.4em;
|
|
70
|
+
display: block;
|
|
71
|
+
resize: none;
|
|
72
|
+
min-height: 8em;
|
|
73
|
+
outline:0;
|
|
74
|
+
|
|
75
|
+
&:focus{
|
|
76
|
+
border-color: transparentize($primary,0.5);
|
|
77
|
+
outline: 0;
|
|
78
|
+
background-color: $background;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// Select
|
|
83
|
+
select{
|
|
84
|
+
border: 1px solid $line;
|
|
85
|
+
width: 100%;
|
|
86
|
+
transition: 0.7s;
|
|
87
|
+
color: $text-dark;
|
|
88
|
+
font-family: $font;
|
|
89
|
+
font-weight: $normal;
|
|
90
|
+
padding: 10pt 20pt;
|
|
91
|
+
margin-bottom: 1.4em;
|
|
92
|
+
display: block;
|
|
93
|
+
border-radius: $radius;
|
|
94
|
+
background-color: $background-alt;
|
|
95
|
+
outline: 0;
|
|
96
|
+
-webkit-appearance: none;
|
|
97
|
+
-moz-appearance: none;
|
|
98
|
+
|
|
99
|
+
// Appearance for IE 10/11
|
|
100
|
+
&::-ms-expand {
|
|
101
|
+
display: none; /* hide the default arrow in ie10 and ie11 */
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// Caret down
|
|
105
|
+
background-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" data-prefix="fas" data-icon="caret-down" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" class="svg-inline--fa fa-caret-down fa-w-10 fa-3x"><path fill="currentColor" d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z" class=""></path></svg>');
|
|
106
|
+
background-repeat: no-repeat;
|
|
107
|
+
background-position: 95% center;
|
|
108
|
+
background-size: 0.8em;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
// Placeholders
|
|
113
|
+
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
|
|
114
|
+
font-size: .9em;
|
|
115
|
+
opacity: .65;
|
|
116
|
+
color: $text;
|
|
117
|
+
}
|
|
118
|
+
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
|
|
119
|
+
font-size: .9em;
|
|
120
|
+
opacity: .65;
|
|
121
|
+
color: $text;
|
|
122
|
+
}
|
|
123
|
+
::-moz-placeholder { /* Mozilla Firefox 19+ */
|
|
124
|
+
font-size: .9em;
|
|
125
|
+
opacity: .65;
|
|
126
|
+
color: $text;
|
|
127
|
+
}
|
|
128
|
+
:-ms-input-placeholder { /* Internet Explorer 10-11 + lt if placeholders.js */
|
|
129
|
+
font-size: .9em;
|
|
130
|
+
opacity: .65;
|
|
131
|
+
color: $text;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// Radio => Thanks to Materialize CSS => http://materializecss.com/forms.html
|
|
135
|
+
/* Remove default Radio Buttons */
|
|
136
|
+
[type="radio"]:not(:checked),
|
|
137
|
+
[type="radio"]:checked {
|
|
138
|
+
position: absolute;
|
|
139
|
+
left: -9999px;
|
|
140
|
+
visibility: hidden;
|
|
141
|
+
transition: .28s ease;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
// Labels
|
|
145
|
+
[type="radio"]:not(:checked) + label,
|
|
146
|
+
[type="radio"]:checked + label {
|
|
147
|
+
position: relative;
|
|
148
|
+
padding-left: 2em;
|
|
149
|
+
cursor: pointer;
|
|
150
|
+
display: inline-block;
|
|
151
|
+
height: 1.7em;
|
|
152
|
+
line-height: 1.7em;
|
|
153
|
+
transition: .28s ease;
|
|
154
|
+
-khtml-user-select: none;
|
|
155
|
+
user-select: none;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
[type="radio"] + label:before,
|
|
159
|
+
[type="radio"] + label:after {
|
|
160
|
+
content: '';
|
|
161
|
+
position: absolute;
|
|
162
|
+
left: 0;
|
|
163
|
+
top: 0;
|
|
164
|
+
margin: 3px;
|
|
165
|
+
width: 1.2em;
|
|
166
|
+
height: 1.2em;
|
|
167
|
+
z-index: 0;
|
|
168
|
+
transition: .28s ease;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* Unchecked styles */
|
|
172
|
+
[type="radio"]:not(:checked) + label:before {
|
|
173
|
+
transition: .28s ease;
|
|
174
|
+
border-radius: 50%;
|
|
175
|
+
border: 1px solid $text;
|
|
176
|
+
}
|
|
177
|
+
[type="radio"]:not(:checked) + label:after {
|
|
178
|
+
transition: .28s ease;
|
|
179
|
+
border-radius: 50%;
|
|
180
|
+
border: 1px solid $text;
|
|
181
|
+
z-index: -1;
|
|
182
|
+
transform: scale(0);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/* Checked styles */
|
|
186
|
+
[type="radio"]:checked + label:before {
|
|
187
|
+
border-radius: 50%;
|
|
188
|
+
border: 1px solid transparent;
|
|
189
|
+
}
|
|
190
|
+
[type="radio"]:checked + label:after {
|
|
191
|
+
border-radius: 50%;
|
|
192
|
+
border: 1px solid $primary;
|
|
193
|
+
background-color: $primary;
|
|
194
|
+
z-index: 0;
|
|
195
|
+
transform: scale(1.02);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/* Disabled style */
|
|
199
|
+
[type="radio"]:disabled:not(:checked) + label:before,
|
|
200
|
+
[type="radio"]:disabled:checked + label:before {
|
|
201
|
+
background-color: transparent;
|
|
202
|
+
border-color: $line;
|
|
203
|
+
cursor: default;
|
|
204
|
+
}
|
|
205
|
+
[type="radio"]:disabled + label {
|
|
206
|
+
color: $line;
|
|
207
|
+
cursor: default;
|
|
208
|
+
}
|
|
209
|
+
[type="radio"]:disabled:not(:checked) + label:before {
|
|
210
|
+
border-color: $line;
|
|
211
|
+
}
|
|
212
|
+
[type="radio"]:disabled:checked + label:after {
|
|
213
|
+
background-color: $line;
|
|
214
|
+
border-color: $text;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
// Checkbox
|
|
218
|
+
[type="checkbox"]:not(:checked),
|
|
219
|
+
[type="checkbox"]:checked {
|
|
220
|
+
position: absolute;
|
|
221
|
+
left: -9999px;
|
|
222
|
+
visibility: hidden;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
[type="checkbox"] {
|
|
226
|
+
|
|
227
|
+
// Text Label Style
|
|
228
|
+
+ label {
|
|
229
|
+
position: relative;
|
|
230
|
+
padding-left: 2em;
|
|
231
|
+
cursor: pointer;
|
|
232
|
+
display: inline-block;
|
|
233
|
+
height: 25px;
|
|
234
|
+
line-height: 25px;
|
|
235
|
+
font-size: 0.9em;
|
|
236
|
+
-webkit-user-select: none;
|
|
237
|
+
-moz-user-select: none;
|
|
238
|
+
-khtml-user-select: none;
|
|
239
|
+
-ms-user-select: none;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/* checkbox aspect */
|
|
243
|
+
+ label:before {
|
|
244
|
+
content: '';
|
|
245
|
+
position: absolute;
|
|
246
|
+
top: 0;
|
|
247
|
+
left: 3px;
|
|
248
|
+
width: 15px;
|
|
249
|
+
height: 15px;
|
|
250
|
+
z-index: 0;
|
|
251
|
+
border: 1px solid $text;
|
|
252
|
+
border-radius: 1px;
|
|
253
|
+
margin-top: 4px;
|
|
254
|
+
transition: .2s;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
&:not(:checked):disabled + label:before {
|
|
258
|
+
border: none;
|
|
259
|
+
background-color: $line;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
[type="checkbox"]:checked {
|
|
264
|
+
+ label:before {
|
|
265
|
+
top: -2px;
|
|
266
|
+
left: -2px;
|
|
267
|
+
width: 10px; height: 18px;
|
|
268
|
+
border-top: 2px solid transparent;
|
|
269
|
+
border-left: 2px solid transparent;
|
|
270
|
+
border-right: 2px solid $success;
|
|
271
|
+
border-bottom: 2px solid $success;
|
|
272
|
+
transform: rotate(40deg);
|
|
273
|
+
backface-visibility: hidden;
|
|
274
|
+
transform-origin: 100% 100%;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
&:disabled + label:before {
|
|
278
|
+
border-right: 2px solid $line;
|
|
279
|
+
border-bottom: 2px solid $line;
|
|
280
|
+
}
|
|
281
|
+
}
|