kh-portfolio 0.1.3
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/LICENSE.txt +21 -0
- data/README.md +81 -0
- data/_includes/nav.html +25 -0
- data/_includes/powered-by.html +5 -0
- data/_includes/social-media-connection-bar.html +27 -0
- data/_layouts/archive.html +35 -0
- data/_layouts/default.html +44 -0
- data/_layouts/page.html +14 -0
- data/_layouts/portfolio.html +29 -0
- data/_layouts/post.html +74 -0
- data/_layouts/project.html +51 -0
- data/_sass/_global.scss +32 -0
- data/_sass/_gruppo.scss +5 -0
- data/_sass/_post.scss +73 -0
- data/_sass/_project.scss +71 -0
- data/_sass/_variables.scss +8 -0
- data/_sass/materialize/LICENSE +21 -0
- data/_sass/materialize/README.md +48 -0
- data/_sass/materialize/all.scss +40 -0
- data/_sass/materialize/components/_buttons.scss +281 -0
- data/_sass/materialize/components/_cards.scss +187 -0
- data/_sass/materialize/components/_carousel.scss +85 -0
- data/_sass/materialize/components/_chips.scss +83 -0
- data/_sass/materialize/components/_collapsible.scss +90 -0
- data/_sass/materialize/components/_color.scss +412 -0
- data/_sass/materialize/components/_dropdown.scss +65 -0
- data/_sass/materialize/components/_global.scss +800 -0
- data/_sass/materialize/components/_grid.scss +147 -0
- data/_sass/materialize/components/_icons-material-design.scss +5 -0
- data/_sass/materialize/components/_materialbox.scss +42 -0
- data/_sass/materialize/components/_mixins.scss +5 -0
- data/_sass/materialize/components/_modal.scss +90 -0
- data/_sass/materialize/components/_navbar.scss +190 -0
- data/_sass/materialize/components/_normalize.scss +424 -0
- data/_sass/materialize/components/_prefixer.scss +384 -0
- data/_sass/materialize/components/_preloader.scss +334 -0
- data/_sass/materialize/components/_roboto.scss +28 -0
- data/_sass/materialize/components/_sideNav.scss +208 -0
- data/_sass/materialize/components/_slider.scss +92 -0
- data/_sass/materialize/components/_table_of_contents.scss +33 -0
- data/_sass/materialize/components/_tabs.scss +99 -0
- data/_sass/materialize/components/_toast.scss +65 -0
- data/_sass/materialize/components/_tooltip.scss +32 -0
- data/_sass/materialize/components/_typography.scss +61 -0
- data/_sass/materialize/components/_variables.scss +313 -0
- data/_sass/materialize/components/_waves.scss +177 -0
- data/_sass/materialize/components/date_picker/_default.date.scss +435 -0
- data/_sass/materialize/components/date_picker/_default.scss +201 -0
- data/_sass/materialize/components/date_picker/_default.time.scss +125 -0
- data/_sass/materialize/components/forms/_checkboxes.scss +220 -0
- data/_sass/materialize/components/forms/_file-input.scss +38 -0
- data/_sass/materialize/components/forms/_forms.scss +22 -0
- data/_sass/materialize/components/forms/_input-fields.scss +286 -0
- data/_sass/materialize/components/forms/_radio-buttons.scss +117 -0
- data/_sass/materialize/components/forms/_range.scss +159 -0
- data/_sass/materialize/components/forms/_select.scss +121 -0
- data/_sass/materialize/components/forms/_switches.scss +78 -0
- data/assets/fonts/gruppo/Gruppo-Regular.ttf +0 -0
- data/assets/fonts/gruppo/OFL.txt +93 -0
- data/assets/fonts/roboto/LICENSE.txt +202 -0
- data/assets/fonts/roboto/Roboto-Black.ttf +0 -0
- data/assets/fonts/roboto/Roboto-BlackItalic.ttf +0 -0
- data/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
- data/assets/fonts/roboto/Roboto-BoldItalic.ttf +0 -0
- data/assets/fonts/roboto/Roboto-Italic.ttf +0 -0
- data/assets/fonts/roboto/Roboto-Light.ttf +0 -0
- data/assets/fonts/roboto/Roboto-LightItalic.ttf +0 -0
- data/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
- data/assets/fonts/roboto/Roboto-MediumItalic.ttf +0 -0
- data/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
- data/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
- data/assets/fonts/roboto/Roboto-ThinItalic.ttf +0 -0
- data/assets/js/theme.js +8 -0
- data/assets/styles.scss +14 -0
- data/assets/syntax.scss +332 -0
- metadata +161 -0
@@ -0,0 +1,201 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
$BASE-PICKER
|
3
|
+
========================================================================== */
|
4
|
+
/**
|
5
|
+
* Note: the root picker element should *NOT* be styled more than what's here.
|
6
|
+
*/
|
7
|
+
.picker {
|
8
|
+
font-size: 16px;
|
9
|
+
text-align: left;
|
10
|
+
line-height: 1.2;
|
11
|
+
color: #000000;
|
12
|
+
position: absolute;
|
13
|
+
z-index: 10000;
|
14
|
+
-webkit-user-select: none;
|
15
|
+
-moz-user-select: none;
|
16
|
+
-ms-user-select: none;
|
17
|
+
user-select: none;
|
18
|
+
}
|
19
|
+
/**
|
20
|
+
* The picker input element.
|
21
|
+
*/
|
22
|
+
.picker__input {
|
23
|
+
cursor: default;
|
24
|
+
}
|
25
|
+
/**
|
26
|
+
* When the picker is opened, the input element is "activated".
|
27
|
+
*/
|
28
|
+
.picker__input.picker__input--active {
|
29
|
+
border-color: #0089ec;
|
30
|
+
}
|
31
|
+
/**
|
32
|
+
* The holder is the only "scrollable" top-level container element.
|
33
|
+
*/
|
34
|
+
.picker__holder {
|
35
|
+
width: 100%;
|
36
|
+
overflow-y: auto;
|
37
|
+
-webkit-overflow-scrolling: touch;
|
38
|
+
}
|
39
|
+
|
40
|
+
/*!
|
41
|
+
* Default mobile-first, responsive styling for pickadate.js
|
42
|
+
* Demo: http://amsul.github.io/pickadate.js
|
43
|
+
*/
|
44
|
+
/**
|
45
|
+
* Note: the root picker element should *NOT* be styled more than what's here.
|
46
|
+
*/
|
47
|
+
/**
|
48
|
+
* Make the holder and frame fullscreen.
|
49
|
+
*/
|
50
|
+
.picker__holder,
|
51
|
+
.picker__frame {
|
52
|
+
bottom: 0;
|
53
|
+
left: 0;
|
54
|
+
right: 0;
|
55
|
+
top: 100%;
|
56
|
+
}
|
57
|
+
/**
|
58
|
+
* The holder should overlay the entire screen.
|
59
|
+
*/
|
60
|
+
.picker__holder {
|
61
|
+
position: fixed;
|
62
|
+
-webkit-transition: background 0.15s ease-out, top 0s 0.15s;
|
63
|
+
-moz-transition: background 0.15s ease-out, top 0s 0.15s;
|
64
|
+
transition: background 0.15s ease-out, top 0s 0.15s;
|
65
|
+
-webkit-backface-visibility: hidden;
|
66
|
+
}
|
67
|
+
/**
|
68
|
+
* The frame that bounds the box contents of the picker.
|
69
|
+
*/
|
70
|
+
.picker__frame {
|
71
|
+
position: absolute;
|
72
|
+
margin: 0 auto;
|
73
|
+
min-width: 256px;
|
74
|
+
|
75
|
+
// picker width
|
76
|
+
width: 300px;
|
77
|
+
max-height: 350px;
|
78
|
+
|
79
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
80
|
+
filter: alpha(opacity=0);
|
81
|
+
-moz-opacity: 0;
|
82
|
+
opacity: 0;
|
83
|
+
-webkit-transition: all 0.15s ease-out;
|
84
|
+
-moz-transition: all 0.15s ease-out;
|
85
|
+
transition: all 0.15s ease-out;
|
86
|
+
}
|
87
|
+
@media (min-height: 28.875em) {
|
88
|
+
.picker__frame {
|
89
|
+
overflow: visible;
|
90
|
+
top: auto;
|
91
|
+
bottom: -100%;
|
92
|
+
max-height: 80%;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
@media (min-height: 40.125em) {
|
96
|
+
.picker__frame {
|
97
|
+
margin-bottom: 7.5%;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
/**
|
101
|
+
* The wrapper sets the stage to vertically align the box contents.
|
102
|
+
*/
|
103
|
+
.picker__wrap {
|
104
|
+
display: table;
|
105
|
+
width: 100%;
|
106
|
+
height: 100%;
|
107
|
+
}
|
108
|
+
@media (min-height: 28.875em) {
|
109
|
+
.picker__wrap {
|
110
|
+
display: block;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
/**
|
114
|
+
* The box contains all the picker contents.
|
115
|
+
*/
|
116
|
+
.picker__box {
|
117
|
+
background: #ffffff;
|
118
|
+
display: table-cell;
|
119
|
+
vertical-align: middle;
|
120
|
+
}
|
121
|
+
//@media (min-height: 26.5em) {
|
122
|
+
// .picker__box {
|
123
|
+
//// font-size: 1.25em;
|
124
|
+
// }
|
125
|
+
//}
|
126
|
+
@media (min-height: 28.875em) {
|
127
|
+
.picker__box {
|
128
|
+
display: block;
|
129
|
+
|
130
|
+
// picker header font-size
|
131
|
+
// font-size: 1rem;
|
132
|
+
|
133
|
+
border: 1px solid #777777;
|
134
|
+
border-top-color: #898989;
|
135
|
+
border-bottom-width: 0;
|
136
|
+
-webkit-border-radius: 5px 5px 0 0;
|
137
|
+
-moz-border-radius: 5px 5px 0 0;
|
138
|
+
border-radius: 5px 5px 0 0;
|
139
|
+
-webkit-box-shadow: 0 12px 36px 16px rgba(0, 0, 0, 0.24);
|
140
|
+
-moz-box-shadow: 0 12px 36px 16px rgba(0, 0, 0, 0.24);
|
141
|
+
box-shadow: 0 12px 36px 16px rgba(0, 0, 0, 0.24);
|
142
|
+
}
|
143
|
+
}
|
144
|
+
//@media (min-height: 40.125em) {
|
145
|
+
// .picker__box {
|
146
|
+
// font-size: 1.1rem;
|
147
|
+
// border-bottom-width: 1px;
|
148
|
+
// -webkit-border-radius: 5px;
|
149
|
+
// -moz-border-radius: 5px;
|
150
|
+
// border-radius: 5px;
|
151
|
+
// }
|
152
|
+
//}
|
153
|
+
/**
|
154
|
+
* When the picker opens...
|
155
|
+
*/
|
156
|
+
.picker--opened .picker__holder {
|
157
|
+
top: 0;
|
158
|
+
background: transparent;
|
159
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#1E000000,endColorstr=#1E000000)";
|
160
|
+
zoom: 1;
|
161
|
+
background: rgba(0, 0, 0, 0.32);
|
162
|
+
-webkit-transition: background 0.15s ease-out;
|
163
|
+
-moz-transition: background 0.15s ease-out;
|
164
|
+
transition: background 0.15s ease-out;
|
165
|
+
}
|
166
|
+
.picker--opened .picker__frame {
|
167
|
+
top: 0;
|
168
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
169
|
+
filter: alpha(opacity=100);
|
170
|
+
-moz-opacity: 1;
|
171
|
+
opacity: 1;
|
172
|
+
}
|
173
|
+
@media (min-height: 35.875em) {
|
174
|
+
.picker--opened .picker__frame {
|
175
|
+
top: 10%;
|
176
|
+
bottom: auto;
|
177
|
+
}
|
178
|
+
}
|
179
|
+
/**
|
180
|
+
* For `large` screens, transform into an inline picker.
|
181
|
+
*/
|
182
|
+
|
183
|
+
/* ==========================================================================
|
184
|
+
CUSTOM MATERIALIZE STYLES
|
185
|
+
========================================================================== */
|
186
|
+
|
187
|
+
.picker__input.picker__input--active {
|
188
|
+
border-color: color("blue", "lighten-5");
|
189
|
+
}
|
190
|
+
|
191
|
+
.picker__frame {
|
192
|
+
margin: 0 auto;
|
193
|
+
max-width: 325px;
|
194
|
+
}
|
195
|
+
|
196
|
+
@media (min-height: 38.875em) {
|
197
|
+
.picker--opened .picker__frame {
|
198
|
+
top: 10%;
|
199
|
+
bottom: auto;
|
200
|
+
}
|
201
|
+
}
|
@@ -0,0 +1,125 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
$BASE-TIME-PICKER
|
3
|
+
========================================================================== */
|
4
|
+
/**
|
5
|
+
* The list of times.
|
6
|
+
*/
|
7
|
+
.picker__list {
|
8
|
+
list-style: none;
|
9
|
+
padding: 0.75em 0 4.2em;
|
10
|
+
margin: 0;
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* The times on the clock.
|
14
|
+
*/
|
15
|
+
.picker__list-item {
|
16
|
+
border-bottom: 1px solid #dddddd;
|
17
|
+
border-top: 1px solid #dddddd;
|
18
|
+
margin-bottom: -1px;
|
19
|
+
position: relative;
|
20
|
+
background: #ffffff;
|
21
|
+
padding: .75em 1.25em;
|
22
|
+
}
|
23
|
+
@media (min-height: 46.75em) {
|
24
|
+
.picker__list-item {
|
25
|
+
padding: .5em 1em;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
/* Hovered time */
|
29
|
+
.picker__list-item:hover {
|
30
|
+
cursor: pointer;
|
31
|
+
color: #000000;
|
32
|
+
background: #b1dcfb;
|
33
|
+
border-color: #0089ec;
|
34
|
+
z-index: 10;
|
35
|
+
}
|
36
|
+
/* Highlighted and hovered/focused time */
|
37
|
+
.picker__list-item--highlighted {
|
38
|
+
border-color: #0089ec;
|
39
|
+
z-index: 10;
|
40
|
+
}
|
41
|
+
.picker__list-item--highlighted:hover,
|
42
|
+
.picker--focused .picker__list-item--highlighted {
|
43
|
+
cursor: pointer;
|
44
|
+
color: #000000;
|
45
|
+
background: #b1dcfb;
|
46
|
+
}
|
47
|
+
/* Selected and hovered/focused time */
|
48
|
+
.picker__list-item--selected,
|
49
|
+
.picker__list-item--selected:hover,
|
50
|
+
.picker--focused .picker__list-item--selected {
|
51
|
+
background: #0089ec;
|
52
|
+
color: #ffffff;
|
53
|
+
z-index: 10;
|
54
|
+
}
|
55
|
+
/* Disabled time */
|
56
|
+
.picker__list-item--disabled,
|
57
|
+
.picker__list-item--disabled:hover,
|
58
|
+
.picker--focused .picker__list-item--disabled {
|
59
|
+
background: #f5f5f5;
|
60
|
+
border-color: #f5f5f5;
|
61
|
+
color: #dddddd;
|
62
|
+
cursor: default;
|
63
|
+
border-color: #dddddd;
|
64
|
+
z-index: auto;
|
65
|
+
}
|
66
|
+
/**
|
67
|
+
* The clear button
|
68
|
+
*/
|
69
|
+
.picker--time .picker__button--clear {
|
70
|
+
display: block;
|
71
|
+
width: 80%;
|
72
|
+
margin: 1em auto 0;
|
73
|
+
padding: 1em 1.25em;
|
74
|
+
background: none;
|
75
|
+
border: 0;
|
76
|
+
font-weight: 500;
|
77
|
+
font-size: .67em;
|
78
|
+
text-align: center;
|
79
|
+
text-transform: uppercase;
|
80
|
+
color: #666;
|
81
|
+
}
|
82
|
+
.picker--time .picker__button--clear:hover,
|
83
|
+
.picker--time .picker__button--clear:focus {
|
84
|
+
color: #000000;
|
85
|
+
background: #b1dcfb;
|
86
|
+
background: #ee2200;
|
87
|
+
border-color: #ee2200;
|
88
|
+
cursor: pointer;
|
89
|
+
color: #ffffff;
|
90
|
+
outline: none;
|
91
|
+
}
|
92
|
+
.picker--time .picker__button--clear:before {
|
93
|
+
top: -0.25em;
|
94
|
+
color: #666;
|
95
|
+
font-size: 1.25em;
|
96
|
+
font-weight: bold;
|
97
|
+
}
|
98
|
+
.picker--time .picker__button--clear:hover:before,
|
99
|
+
.picker--time .picker__button--clear:focus:before {
|
100
|
+
color: #ffffff;
|
101
|
+
}
|
102
|
+
|
103
|
+
/* ==========================================================================
|
104
|
+
$DEFAULT-TIME-PICKER
|
105
|
+
========================================================================== */
|
106
|
+
/**
|
107
|
+
* The frame the bounds the time picker.
|
108
|
+
*/
|
109
|
+
.picker--time .picker__frame {
|
110
|
+
min-width: 256px;
|
111
|
+
max-width: 320px;
|
112
|
+
}
|
113
|
+
/**
|
114
|
+
* The picker box.
|
115
|
+
*/
|
116
|
+
.picker--time .picker__box {
|
117
|
+
font-size: 1em;
|
118
|
+
background: #f2f2f2;
|
119
|
+
padding: 0;
|
120
|
+
}
|
121
|
+
@media (min-height: 40.125em) {
|
122
|
+
.picker--time .picker__box {
|
123
|
+
margin-bottom: 5em;
|
124
|
+
}
|
125
|
+
}
|
@@ -0,0 +1,220 @@
|
|
1
|
+
/* Checkboxes
|
2
|
+
========================================================================== */
|
3
|
+
|
4
|
+
/* CUSTOM CSS CHECKBOXES */
|
5
|
+
form p {
|
6
|
+
margin-bottom: 10px;
|
7
|
+
text-align: left;
|
8
|
+
}
|
9
|
+
|
10
|
+
form p:last-child {
|
11
|
+
margin-bottom: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
/* Remove default checkbox */
|
15
|
+
[type="checkbox"]:not(:checked),
|
16
|
+
[type="checkbox"]:checked {
|
17
|
+
position: absolute;
|
18
|
+
left: -9999px;
|
19
|
+
opacity: 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
// Checkbox Styles
|
23
|
+
[type="checkbox"] {
|
24
|
+
// Text Label Style
|
25
|
+
+ label {
|
26
|
+
position: relative;
|
27
|
+
padding-left: 35px;
|
28
|
+
cursor: pointer;
|
29
|
+
display: inline-block;
|
30
|
+
height: 25px;
|
31
|
+
line-height: 25px;
|
32
|
+
font-size: 1rem;
|
33
|
+
|
34
|
+
-webkit-user-select: none; /* webkit (safari, chrome) browsers */
|
35
|
+
-moz-user-select: none; /* mozilla browsers */
|
36
|
+
-khtml-user-select: none; /* webkit (konqueror) browsers */
|
37
|
+
-ms-user-select: none; /* IE10+ */
|
38
|
+
}
|
39
|
+
|
40
|
+
/* checkbox aspect */
|
41
|
+
+ label:before,
|
42
|
+
&:not(.filled-in) + label:after {
|
43
|
+
content: '';
|
44
|
+
position: absolute;
|
45
|
+
top: 0;
|
46
|
+
left: 0;
|
47
|
+
width: 18px;
|
48
|
+
height: 18px;
|
49
|
+
z-index: 0;
|
50
|
+
border: 2px solid $radio-empty-color;
|
51
|
+
border-radius: 1px;
|
52
|
+
margin-top: 2px;
|
53
|
+
transition: .2s;
|
54
|
+
}
|
55
|
+
|
56
|
+
&:not(.filled-in) + label:after {
|
57
|
+
border: 0;
|
58
|
+
transform: scale(0);
|
59
|
+
}
|
60
|
+
|
61
|
+
&:not(:checked):disabled + label:before {
|
62
|
+
border: none;
|
63
|
+
background-color: $input-disabled-color;
|
64
|
+
}
|
65
|
+
|
66
|
+
// Focused styles
|
67
|
+
&.tabbed:focus + label:after {
|
68
|
+
transform: scale(1);
|
69
|
+
border: 0;
|
70
|
+
border-radius: 50%;
|
71
|
+
box-shadow: 0 0 0 10px rgba(0,0,0,.1);
|
72
|
+
background-color: rgba(0,0,0,.1);
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
[type="checkbox"]:checked {
|
77
|
+
+ label:before {
|
78
|
+
top: -4px;
|
79
|
+
left: -5px;
|
80
|
+
width: 12px;
|
81
|
+
height: 22px;
|
82
|
+
border-top: 2px solid transparent;
|
83
|
+
border-left: 2px solid transparent;
|
84
|
+
border-right: $radio-border;
|
85
|
+
border-bottom: $radio-border;
|
86
|
+
transform: rotate(40deg);
|
87
|
+
backface-visibility: hidden;
|
88
|
+
transform-origin: 100% 100%;
|
89
|
+
}
|
90
|
+
|
91
|
+
&:disabled + label:before {
|
92
|
+
border-right: 2px solid $input-disabled-color;
|
93
|
+
border-bottom: 2px solid $input-disabled-color;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
/* Indeterminate checkbox */
|
98
|
+
[type="checkbox"]:indeterminate {
|
99
|
+
+label:before {
|
100
|
+
top: -11px;
|
101
|
+
left: -12px;
|
102
|
+
width: 10px;
|
103
|
+
height: 22px;
|
104
|
+
border-top: none;
|
105
|
+
border-left: none;
|
106
|
+
border-right: $radio-border;
|
107
|
+
border-bottom: none;
|
108
|
+
transform: rotate(90deg);
|
109
|
+
backface-visibility: hidden;
|
110
|
+
transform-origin: 100% 100%;
|
111
|
+
}
|
112
|
+
|
113
|
+
// Disabled indeterminate
|
114
|
+
&:disabled + label:before {
|
115
|
+
border-right: 2px solid $input-disabled-color;
|
116
|
+
background-color: transparent;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
// Filled in Style
|
121
|
+
[type="checkbox"].filled-in {
|
122
|
+
// General
|
123
|
+
+ label:after {
|
124
|
+
border-radius: 2px;
|
125
|
+
}
|
126
|
+
|
127
|
+
+ label:before,
|
128
|
+
+ label:after {
|
129
|
+
content: '';
|
130
|
+
left: 0;
|
131
|
+
position: absolute;
|
132
|
+
/* .1s delay is for check animation */
|
133
|
+
transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
|
134
|
+
z-index: 1;
|
135
|
+
}
|
136
|
+
|
137
|
+
// Unchecked style
|
138
|
+
&:not(:checked) + label:before {
|
139
|
+
width: 0;
|
140
|
+
height: 0;
|
141
|
+
border: 3px solid transparent;
|
142
|
+
left: 6px;
|
143
|
+
top: 10px;
|
144
|
+
|
145
|
+
-webkit-transform: rotateZ(37deg);
|
146
|
+
transform: rotateZ(37deg);
|
147
|
+
-webkit-transform-origin: 20% 40%;
|
148
|
+
transform-origin: 100% 100%;
|
149
|
+
}
|
150
|
+
|
151
|
+
&:not(:checked) + label:after {
|
152
|
+
height: 20px;
|
153
|
+
width: 20px;
|
154
|
+
background-color: transparent;
|
155
|
+
border: 2px solid $radio-empty-color;
|
156
|
+
top: 0px;
|
157
|
+
z-index: 0;
|
158
|
+
}
|
159
|
+
|
160
|
+
// Checked style
|
161
|
+
&:checked {
|
162
|
+
+ label:before {
|
163
|
+
top: 0;
|
164
|
+
left: 1px;
|
165
|
+
width: 8px;
|
166
|
+
height: 13px;
|
167
|
+
border-top: 2px solid transparent;
|
168
|
+
border-left: 2px solid transparent;
|
169
|
+
border-right: 2px solid $input-background;
|
170
|
+
border-bottom: 2px solid $input-background;
|
171
|
+
-webkit-transform: rotateZ(37deg);
|
172
|
+
transform: rotateZ(37deg);
|
173
|
+
|
174
|
+
-webkit-transform-origin: 100% 100%;
|
175
|
+
transform-origin: 100% 100%;
|
176
|
+
}
|
177
|
+
|
178
|
+
+ label:after {
|
179
|
+
top: 0;
|
180
|
+
width: 20px;
|
181
|
+
height: 20px;
|
182
|
+
border: 2px solid $secondary-color;
|
183
|
+
background-color: $secondary-color;
|
184
|
+
z-index: 0;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
|
188
|
+
// Focused styles
|
189
|
+
&.tabbed:focus + label:after {
|
190
|
+
border-radius: 2px;
|
191
|
+
border-color: $radio-empty-color;
|
192
|
+
background-color: rgba(0,0,0,.1);
|
193
|
+
}
|
194
|
+
|
195
|
+
&.tabbed:checked:focus + label:after {
|
196
|
+
border-radius: 2px;
|
197
|
+
background-color: $secondary-color;
|
198
|
+
border-color: $secondary-color;
|
199
|
+
}
|
200
|
+
|
201
|
+
// Disabled style
|
202
|
+
&:disabled:not(:checked) + label:before {
|
203
|
+
background-color: transparent;
|
204
|
+
border: 2px solid transparent;
|
205
|
+
}
|
206
|
+
|
207
|
+
&:disabled:not(:checked) + label:after {
|
208
|
+
border-color: transparent;
|
209
|
+
background-color: $input-disabled-solid-color;
|
210
|
+
}
|
211
|
+
|
212
|
+
&:disabled:checked + label:before {
|
213
|
+
background-color: transparent;
|
214
|
+
}
|
215
|
+
|
216
|
+
&:disabled:checked + label:after {
|
217
|
+
background-color: $input-disabled-solid-color;
|
218
|
+
border-color: $input-disabled-solid-color;
|
219
|
+
}
|
220
|
+
}
|