egghead-styles 1.0.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +36 -0
- data/app/assets/images/elements/egg.svg +8 -0
- data/app/assets/images/elements/section-title-bg.png +0 -0
- data/app/assets/stylesheets/_old/admin/dashboard.css.scss +7 -0
- data/app/assets/stylesheets/_old/admin/discount_codes.css.scss +3 -0
- data/app/assets/stylesheets/_old/admin/promos.css.scss +3 -0
- data/app/assets/stylesheets/_old/admin/special_offers.css.scss +3 -0
- data/app/assets/stylesheets/_old/components/_jumbotron.css.scss +65 -0
- data/app/assets/stylesheets/_old/components/_navbar.css.scss +91 -0
- data/app/assets/stylesheets/_old/components/_pricing-table.css.scss +188 -0
- data/app/assets/stylesheets/_old/components/_sales-item.css.scss +29 -0
- data/app/assets/stylesheets/_old/components/_search.css.scss +81 -0
- data/app/assets/stylesheets/_old/components/components.css.scss +5 -0
- data/app/assets/stylesheets/_old/forum/egghead/admin/groups.css.scss +7 -0
- data/app/assets/stylesheets/_old/forum/egghead/forums.css.scss +24 -0
- data/app/assets/stylesheets/_old/forum/egghead/topics.css.scss +23 -0
- data/app/assets/stylesheets/_old/forum/forum-egghead.css.scss +2 -0
- data/app/assets/stylesheets/_old/instructor/dashboard.css.scss +3 -0
- data/app/assets/stylesheets/_old/koudoku/pricing-table.css.scss +93 -0
- data/app/assets/stylesheets/_old/pages/articles/articles.css.scss +189 -0
- data/app/assets/stylesheets/_old/pages/home/home.css.scss +29 -0
- data/app/assets/stylesheets/_old/pages/instructor/instructor.css.scss +12 -0
- data/app/assets/stylesheets/_old/pages/jobs/jobs.css.scss +117 -0
- data/app/assets/stylesheets/_old/pages/lessons/lessons.css.scss +321 -0
- data/app/assets/stylesheets/_old/pages/pages.css.scss +7 -0
- data/app/assets/stylesheets/_old/pages/series/series.css.scss +0 -0
- data/app/assets/stylesheets/_old/pages/training/training.css.scss +19 -0
- data/app/assets/stylesheets/_old/player.css.scss +1 -0
- data/app/assets/stylesheets/_old/scaffolds.css.scss +69 -0
- data/app/assets/stylesheets/_old/socialbar.css.scss +71 -0
- data/app/assets/stylesheets/_old/syntax.css.scss +81 -0
- data/app/assets/stylesheets/_old/util/_padding.css.scss +8 -0
- data/app/assets/stylesheets/_old/util/util.css.scss +1 -0
- data/app/assets/stylesheets/application.css.scss +85 -0
- data/app/assets/stylesheets/components/_advantages.css.scss +17 -0
- data/app/assets/stylesheets/components/_autocomplete-input.css.scss +74 -0
- data/app/assets/stylesheets/components/_cc-form.css.scss +99 -0
- data/app/assets/stylesheets/components/_corporate-logos.css.scss +27 -0
- data/app/assets/stylesheets/components/_home.css.scss +15 -0
- data/app/assets/stylesheets/components/_instructor-list.css.scss +29 -0
- data/app/assets/stylesheets/components/_onoff_switch.css.scss +46 -0
- data/app/assets/stylesheets/components/_pricing-grid.css.scss +177 -0
- data/app/assets/stylesheets/components/_search.css.scss +321 -0
- data/app/assets/stylesheets/components/forum/_forum.scss +267 -0
- data/app/assets/stylesheets/components/forum/_posts.scss +105 -0
- data/app/assets/stylesheets/components/lessons/_lesson-email-blocker.css.scss +83 -0
- data/app/assets/stylesheets/components/lessons/_lesson-playlist-control.css.scss +301 -0
- data/app/assets/stylesheets/components/lessons/_lesson-review-page.css.scss +30 -0
- data/app/assets/stylesheets/components/lessons/_lesson-series-list.css.scss +170 -0
- data/app/assets/stylesheets/components/lessons/_lesson_pro_placeholder.css.scss +0 -0
- data/app/assets/stylesheets/components/lessons/_lessons-list.scss +52 -0
- data/app/assets/stylesheets/components/lessons/_popular-lesson-list.css.scss +69 -0
- data/app/assets/stylesheets/components/playlists/_add-to-button.scss +289 -0
- data/app/assets/stylesheets/components/playlists/_playlist.css.scss +29 -0
- data/app/assets/stylesheets/components/technology/_technology-pages.css.scss +3 -0
- data/app/assets/stylesheets/components/technology/page-all-technologies/_page-all-technologies.css.scss +798 -0
- data/app/assets/stylesheets/components/technology/page-single-technology/_page-single-technology.css.scss +1 -0
- data/app/assets/stylesheets/components/technology/shared/_shared.css.scss +66 -0
- data/app/assets/stylesheets/globals/_bootstrap-and-overrides.css.scss +66 -0
- data/app/assets/stylesheets/globals/_colors.css.scss +23 -0
- data/app/assets/stylesheets/globals/_fonts.css.scss +1533 -0
- data/app/assets/stylesheets/globals/_grid-helpers.scss +26 -0
- data/app/assets/stylesheets/globals/_mixins.css.scss +129 -0
- data/app/assets/stylesheets/globals/_variables.css.scss +144 -0
- data/app/assets/stylesheets/plugins/chosen.css.scss +93 -0
- data/app/assets/stylesheets/plugins/flipclock.css.scss +440 -0
- data/app/assets/stylesheets/sections/_footer.css.scss +87 -0
- data/app/assets/stylesheets/sections/_header.css.scss +256 -0
- data/app/assets/stylesheets/sections/_hero.css.scss +455 -0
- data/app/assets/stylesheets/shared/_alerts.css.scss +46 -0
- data/app/assets/stylesheets/shared/_buttons.css.scss +54 -0
- data/app/assets/stylesheets/shared/_forms.css.scss +478 -0
- data/app/assets/stylesheets/shared/_miscellaneous.scss +7 -0
- data/app/assets/stylesheets/shared/_pagination.scss +80 -0
- data/app/assets/stylesheets/shared/_styles.css.scss +1373 -0
- data/app/assets/stylesheets/shared/_titles.css.scss +39 -0
- data/app/assets/stylesheets/shared/_typography.css.scss +305 -0
- data/lib/egghead/styles.rb +10 -0
- data/lib/egghead/styles/version.rb +5 -0
- metadata +152 -0
@@ -0,0 +1,46 @@
|
|
1
|
+
/* ALERTS */
|
2
|
+
.alert {
|
3
|
+
font-size: $body-font-size;
|
4
|
+
line-height: 22px;
|
5
|
+
padding: 20px;
|
6
|
+
border: none;
|
7
|
+
border-radius: 0;
|
8
|
+
font-size: 1.25em;
|
9
|
+
color: $site-color-white;
|
10
|
+
margin-bottom: 0;
|
11
|
+
@include respond-to(phones) {
|
12
|
+
padding: 10px;
|
13
|
+
line-height: 18px;
|
14
|
+
}
|
15
|
+
&.alert-success {
|
16
|
+
background: $site-color-green-dim;
|
17
|
+
}
|
18
|
+
&.alert-info {
|
19
|
+
background: $site-color-blue-dim;
|
20
|
+
}
|
21
|
+
&.alert-warning {
|
22
|
+
color: $site-color-light-graphite;
|
23
|
+
}
|
24
|
+
&.alert-danger {
|
25
|
+
background: $site-color-red-dim;
|
26
|
+
}
|
27
|
+
&.no-gap {
|
28
|
+
margin-bottom: 0;
|
29
|
+
}
|
30
|
+
button.close {
|
31
|
+
color: rgba($site-color-black, 0.5);
|
32
|
+
float: right;
|
33
|
+
height: 22px;
|
34
|
+
opacity: 1.0;
|
35
|
+
line-height: 22px;
|
36
|
+
text-shadow: none;
|
37
|
+
font-size: 20px;
|
38
|
+
right: -5px;
|
39
|
+
top: 1px;
|
40
|
+
.icon {
|
41
|
+
font-size: 20px;
|
42
|
+
line-height: 22px;
|
43
|
+
vertical-align: middle;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
.btn {
|
2
|
+
&:focus {
|
3
|
+
outline: none;
|
4
|
+
}
|
5
|
+
}
|
6
|
+
|
7
|
+
.custom-btn {
|
8
|
+
@include transition(150ms);
|
9
|
+
display: inline-block;
|
10
|
+
border-style: solid;
|
11
|
+
border-width: 0 0 4px 0;
|
12
|
+
text-decoration: none;
|
13
|
+
box-shadow: none;
|
14
|
+
font-weight: 700;
|
15
|
+
cursor: pointer;
|
16
|
+
&:hover,
|
17
|
+
&:focus {
|
18
|
+
outline: none;
|
19
|
+
text-decoration: none;
|
20
|
+
box-shadow: none;
|
21
|
+
}
|
22
|
+
&.disabled {
|
23
|
+
cursor: not-allowed;
|
24
|
+
border-color: $site-color-medium-graphite !important;
|
25
|
+
}
|
26
|
+
&.custom-btn-github {
|
27
|
+
background: $site-color-github;
|
28
|
+
color: $site-color-white;
|
29
|
+
&:hover {
|
30
|
+
background: $site-color-black;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
@include custom-btn('custom-btn-red', 3px, $button-red-bg, $button-red-bg-active, $button-color, $button-color-active, $button-red-border, $button-red-border-active);
|
36
|
+
@include custom-btn('custom-btn-blue', 3px, $button-blue-bg, $button-blue-bg-active, $button-color, $button-color-active, $button-blue-border, $button-blue-border-active);
|
37
|
+
@include custom-btn('custom-btn-green', 3px, $button-green-bg, $button-green-bg-active, $button-color, $button-color-active, $button-green-border, $button-green-border-active);
|
38
|
+
@include custom-btn('custom-btn-grey', 3px, $button-grey-bg, $button-grey-bg-active, $button-color, $button-color-active, $button-grey-border, $button-grey-border-active);
|
39
|
+
@include custom-btn('custom-btn-graphite', 3px, $button-graphite-bg, $button-graphite-bg-active, $button-color, $button-color-active, $button-graphite-border, $button-graphite-border-active);
|
40
|
+
@include custom-btn-sizes('custom-btn-primary', 24px, 20px, 18px, 24px, 20px, 18px, 18px 40px 14px 40px, 16px 30px 12px 30px, 13px 20px 11px 20px);
|
41
|
+
@include custom-btn-sizes('custom-btn-secondary', 18px, 16px, 14px, 18px, 16px, 14px, 14px 25px 12px 25px, 11px 20px 9px 20px, 8px 10px 6px 10px);
|
42
|
+
@include custom-btn-sizes('custom-btn-terciary', 16px, 14px, 12px, 18px, 16px, 14px, 9px 14px 7px 14px, 8px 10px 6px 10px, 6px 8px 4px 8px);
|
43
|
+
|
44
|
+
.custom-btn.square-btn-grey {
|
45
|
+
@include transition(150ms);
|
46
|
+
border-style: none;
|
47
|
+
border-radius: 0;
|
48
|
+
color: white;
|
49
|
+
background-color: $button-grey-bg-dark;
|
50
|
+
text-align: center;
|
51
|
+
&:hover {
|
52
|
+
background-color: $button-grey-bg-dark-active;
|
53
|
+
}
|
54
|
+
}
|
@@ -0,0 +1,478 @@
|
|
1
|
+
/* FORMS styles */
|
2
|
+
//Bootstrap's styles override
|
3
|
+
.form-control {
|
4
|
+
border-radius: 0;
|
5
|
+
border: 2px solid $site-color-silver;
|
6
|
+
padding: 10px 20px 8px 20px;
|
7
|
+
height: 44px;
|
8
|
+
box-shadow: none;
|
9
|
+
font-size: 20px;
|
10
|
+
line-height: 22px;
|
11
|
+
-webkit-appearance: none;
|
12
|
+
-moz-appearance: none;
|
13
|
+
appearance: none;
|
14
|
+
@include custom-placeholder($site-color-silver-chalice, 20px, 30px);
|
15
|
+
@include respond-to(tablets-small) {
|
16
|
+
@include custom-placeholder($site-color-silver-chalice, 16px, 30px);
|
17
|
+
padding: 2px 10px;
|
18
|
+
height: 34px;
|
19
|
+
line-height: 28px;
|
20
|
+
font-size: 16px;
|
21
|
+
}
|
22
|
+
&:focus {
|
23
|
+
box-shadow: none;
|
24
|
+
border-color: $site-color-silver;
|
25
|
+
}
|
26
|
+
&.error {
|
27
|
+
border-color: $site-color-red;
|
28
|
+
}
|
29
|
+
&.payment-input {
|
30
|
+
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
.form-group {
|
35
|
+
margin-bottom: 20px;
|
36
|
+
@include respond-to(tablets-small) {
|
37
|
+
margin-bottom: 15px;
|
38
|
+
}
|
39
|
+
@include respond-to(phones) {
|
40
|
+
margin-bottom: 10px;
|
41
|
+
}
|
42
|
+
&:last-child {
|
43
|
+
margin-bottom: 0;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
label {
|
48
|
+
font-size: 16px;
|
49
|
+
line-height: 22px;
|
50
|
+
color: $site-color-light-graphite;
|
51
|
+
font-weight: normal;
|
52
|
+
&.required {
|
53
|
+
abbr {
|
54
|
+
border: none;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
@include respond-to(tablets-small) {
|
58
|
+
font-size: 14px;
|
59
|
+
line-height: 18px;
|
60
|
+
}
|
61
|
+
@include respond-to(phones) {
|
62
|
+
font-size: 13px;
|
63
|
+
line-height: 16px;
|
64
|
+
margin-bottom: 3px;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
textarea {
|
69
|
+
resize: none;
|
70
|
+
}
|
71
|
+
|
72
|
+
.form-inputs-holder {
|
73
|
+
margin-bottom: 40px;
|
74
|
+
&:last-child {
|
75
|
+
margin-bottom: 0;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
//Custom Forms Elements
|
80
|
+
.custom-checkbox {
|
81
|
+
position: relative;
|
82
|
+
padding-left: 0;
|
83
|
+
label {
|
84
|
+
font-size: 16px;
|
85
|
+
line-height: 20px;
|
86
|
+
vertical-align: top;
|
87
|
+
display: inline-block;
|
88
|
+
font-weight: normal;
|
89
|
+
color: $site-color-dark-graphite;
|
90
|
+
padding-left: 0;
|
91
|
+
width: 100%;
|
92
|
+
}
|
93
|
+
.icon-holder {
|
94
|
+
float: left;
|
95
|
+
margin-right: 15px;
|
96
|
+
}
|
97
|
+
.label-text {
|
98
|
+
overflow: hidden;
|
99
|
+
}
|
100
|
+
input[type='checkbox'] {
|
101
|
+
position: absolute;
|
102
|
+
left: -9999px;
|
103
|
+
&:checked {
|
104
|
+
+ .checkbox-icon {
|
105
|
+
&:before {
|
106
|
+
content: "\f00c";
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
.checkbox-icon {
|
112
|
+
width: 25px;
|
113
|
+
height: 25px;
|
114
|
+
display: inline-block;
|
115
|
+
border: 1px solid $site-color-silver;
|
116
|
+
background: $site-color-white;
|
117
|
+
text-align: center;
|
118
|
+
vertical-align: middle;
|
119
|
+
&:before {
|
120
|
+
font-family: 'Fontawesome';
|
121
|
+
vertical-align: middle;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
&.green {
|
125
|
+
input[type='checkbox'] {
|
126
|
+
&:checked {
|
127
|
+
+ .checkbox-icon {
|
128
|
+
color: $site-color-green-dim;
|
129
|
+
border-color: $site-color-green-dim;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
.form-holder {
|
137
|
+
|
138
|
+
margin-left: auto;
|
139
|
+
margin-right: auto;
|
140
|
+
@include respond-to(tablets-small) {
|
141
|
+
max-width: 500px;
|
142
|
+
}
|
143
|
+
@include respond-to(phones) {
|
144
|
+
max-width: 400px;
|
145
|
+
}
|
146
|
+
.colored-box {
|
147
|
+
padding: 15px 15px 30px 15px;
|
148
|
+
@include respond-to(tablets-small) {
|
149
|
+
padding: 30px;
|
150
|
+
}
|
151
|
+
@include respond-to(phones) {
|
152
|
+
padding: 15px 10px 20px 10px;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
.form-control {
|
156
|
+
border-width: 1px;
|
157
|
+
font-size: 16px;
|
158
|
+
}
|
159
|
+
.buttons-holder {
|
160
|
+
.action {
|
161
|
+
color: $link-color;
|
162
|
+
}
|
163
|
+
.custom-btn {
|
164
|
+
margin-right: 15px;
|
165
|
+
&:last-child {
|
166
|
+
margin-right: 0;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
}
|
170
|
+
input[type="checkbox"].custom-checkbox {
|
171
|
+
position: static;
|
172
|
+
margin-left: 0;
|
173
|
+
margin-right: 6px;
|
174
|
+
display: inline-block;
|
175
|
+
}
|
176
|
+
.card {
|
177
|
+
right: 21px;
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
.special-hack {
|
182
|
+
.col-sm-3, .col-sm-2, .col-sm-7 {
|
183
|
+
padding-right: 5px !important;
|
184
|
+
padding-left: 5px!important;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
|
188
|
+
.extra-small {
|
189
|
+
font-size: 12px;
|
190
|
+
}
|
191
|
+
|
192
|
+
|
193
|
+
/* DIFFERENT FORMS */
|
194
|
+
.narrow-form-holder {
|
195
|
+
max-width: 500px;
|
196
|
+
@extend .form-holder;
|
197
|
+
.colored-box {
|
198
|
+
padding: 40px;
|
199
|
+
@include respond-to(tablets-small) {
|
200
|
+
padding: 30px;
|
201
|
+
}
|
202
|
+
@include respond-to(phones) {
|
203
|
+
padding: 15px 20px 20px 20px;
|
204
|
+
}
|
205
|
+
}
|
206
|
+
}
|
207
|
+
.wide-form-holder {
|
208
|
+
max-width: 715px;
|
209
|
+
@extend .form-holder;
|
210
|
+
|
211
|
+
.form-control {
|
212
|
+
height: 34px;
|
213
|
+
}
|
214
|
+
.pull-btn-down {
|
215
|
+
margin-top: 27px;
|
216
|
+
}
|
217
|
+
.actions {
|
218
|
+
font-size: 16px;
|
219
|
+
}
|
220
|
+
.custom-btn-github {
|
221
|
+
margin-top: 5px;
|
222
|
+
@include respond-to(phones) {
|
223
|
+
margin-top: 25px;
|
224
|
+
}
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
.card-form-holder {
|
229
|
+
max-width: 600px;
|
230
|
+
@extend .form-holder;
|
231
|
+
.actions {
|
232
|
+
font-size: 16px;
|
233
|
+
}
|
234
|
+
.custom-btn-github {
|
235
|
+
margin-top: 5px;
|
236
|
+
@include respond-to(phones) {
|
237
|
+
margin-top: 25px;
|
238
|
+
}
|
239
|
+
}
|
240
|
+
}
|
241
|
+
|
242
|
+
.alert-error {
|
243
|
+
@extend .alert-danger;
|
244
|
+
}
|
245
|
+
|
246
|
+
.sign-form-holder {
|
247
|
+
margin-bottom: 80px;
|
248
|
+
}
|
249
|
+
|
250
|
+
.stacked-divider {
|
251
|
+
font-size: 22px;
|
252
|
+
margin: 15px 0;
|
253
|
+
}
|
254
|
+
|
255
|
+
.revision-form-holder {
|
256
|
+
margin-bottom: 20px;
|
257
|
+
text-align: left;
|
258
|
+
.part-left {
|
259
|
+
white-space: nowrap;
|
260
|
+
padding-right: 40px;
|
261
|
+
}
|
262
|
+
.part-right {
|
263
|
+
position: relative;
|
264
|
+
}
|
265
|
+
.questions-holder {
|
266
|
+
margin-bottom: 25px;
|
267
|
+
}
|
268
|
+
.notes-textarea-holder {
|
269
|
+
position: absolute;
|
270
|
+
top: 30px;
|
271
|
+
right: 0;
|
272
|
+
bottom: 0;
|
273
|
+
left: 0;
|
274
|
+
.form-control {
|
275
|
+
height: 100%;
|
276
|
+
}
|
277
|
+
}
|
278
|
+
@include respond-to(tablets-small) {
|
279
|
+
.part {
|
280
|
+
display: block;
|
281
|
+
padding-right: 0;
|
282
|
+
width: 100%;
|
283
|
+
}
|
284
|
+
.part-left {
|
285
|
+
margin-bottom: 20px;
|
286
|
+
}
|
287
|
+
.notes-textarea-holder {
|
288
|
+
position: static;
|
289
|
+
.form-control {
|
290
|
+
height: 100%;
|
291
|
+
}
|
292
|
+
}
|
293
|
+
}
|
294
|
+
}
|
295
|
+
#revision-form-trigger {
|
296
|
+
color: $site-color-red-dim;
|
297
|
+
font-size: 14px;
|
298
|
+
margin-left: 10px;
|
299
|
+
text-decoration: none;
|
300
|
+
margin-left: 6px;
|
301
|
+
&.collapsed {
|
302
|
+
color: $button-grey-bg;
|
303
|
+
&:hover {
|
304
|
+
color: $button-grey-bg-active;
|
305
|
+
}
|
306
|
+
}
|
307
|
+
.icon {
|
308
|
+
vertical-align: middle;
|
309
|
+
}
|
310
|
+
}
|
311
|
+
|
312
|
+
.level-up-team-form-holder {
|
313
|
+
max-width: 720px;
|
314
|
+
margin-left: auto;
|
315
|
+
margin-right: auto;
|
316
|
+
}
|
317
|
+
|
318
|
+
/* FORMS IN MODALS styles */
|
319
|
+
.form-modal {
|
320
|
+
.modal-dialog {
|
321
|
+
@include respond-to(desktops) {
|
322
|
+
width: 860px;
|
323
|
+
}
|
324
|
+
}
|
325
|
+
.modal-content {
|
326
|
+
border-radius: 0;
|
327
|
+
}
|
328
|
+
.modal-header {
|
329
|
+
@extend .clearfix;
|
330
|
+
border: none;
|
331
|
+
padding: 15px 20px 15px 50px;
|
332
|
+
@include respond-to(phones) {
|
333
|
+
padding: 10px 20px 10px 20px;
|
334
|
+
}
|
335
|
+
}
|
336
|
+
.modal-body {
|
337
|
+
padding: 0 50px 50px 50px;
|
338
|
+
@include respond-to(phones) {
|
339
|
+
padding: 0 20px 20px 20px;
|
340
|
+
}
|
341
|
+
}
|
342
|
+
button.close {
|
343
|
+
margin: 0;
|
344
|
+
height: 20px;
|
345
|
+
font-size: 18px;
|
346
|
+
line-height: 20px;
|
347
|
+
@include opacity(0.8);
|
348
|
+
&:hover {
|
349
|
+
@include opacity(1.0);
|
350
|
+
}
|
351
|
+
}
|
352
|
+
.btn-close-icon {
|
353
|
+
font-size: 18px;
|
354
|
+
line-height: 20px;
|
355
|
+
vertical-align: middle;
|
356
|
+
color: $site-color-silver;
|
357
|
+
}
|
358
|
+
.search-field-holder {
|
359
|
+
.input-search {
|
360
|
+
line-height: 24px;
|
361
|
+
height: 50px;
|
362
|
+
padding-top: 14px;
|
363
|
+
padding-bottom: 14px;
|
364
|
+
}
|
365
|
+
.btn-submit {
|
366
|
+
margin-top: 5px;
|
367
|
+
}
|
368
|
+
}
|
369
|
+
|
370
|
+
li.disabled {
|
371
|
+
.checkbox-icon:before {
|
372
|
+
content: "\f00c";
|
373
|
+
color: $site-color-silver;
|
374
|
+
border-color: $site-color-green-dim;
|
375
|
+
}
|
376
|
+
.lesson-title {
|
377
|
+
color: $site-color-silver;
|
378
|
+
}
|
379
|
+
}
|
380
|
+
}
|
381
|
+
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
.light-gray-placeholder {
|
389
|
+
@include custom-placeholder($color: $site-color-silver, $font-size: 16px, $line-height: 22px);
|
390
|
+
}
|
391
|
+
|
392
|
+
input:focus::-webkit-input-placeholder {
|
393
|
+
color: transparent;
|
394
|
+
}
|
395
|
+
|
396
|
+
input:focus:-moz-placeholder {
|
397
|
+
color: transparent;
|
398
|
+
}
|
399
|
+
|
400
|
+
/* FF 4-18 */
|
401
|
+
input:focus::-moz-placeholder {
|
402
|
+
color: transparent;
|
403
|
+
}
|
404
|
+
|
405
|
+
/* FF 19+ */
|
406
|
+
input:focus:-ms-input-placeholder {
|
407
|
+
color: transparent;
|
408
|
+
}
|
409
|
+
|
410
|
+
/* IE 10+ */
|
411
|
+
textarea:focus::-webkit-input-placeholder {
|
412
|
+
color: transparent;
|
413
|
+
}
|
414
|
+
|
415
|
+
textarea:focus:-moz-placeholder {
|
416
|
+
color: transparent;
|
417
|
+
}
|
418
|
+
|
419
|
+
/* FF 4-18 */
|
420
|
+
textarea:focus::-moz-placeholder {
|
421
|
+
color: transparent;
|
422
|
+
}
|
423
|
+
|
424
|
+
/* FF 19+ */
|
425
|
+
textarea:focus:-ms-input-placeholder {
|
426
|
+
color: transparent;
|
427
|
+
}
|
428
|
+
|
429
|
+
/* IE 10+ */
|
430
|
+
|
431
|
+
// Textarea with chars counter
|
432
|
+
.with-counter-holder {
|
433
|
+
position: relative;
|
434
|
+
&.overlimit {
|
435
|
+
&:after {
|
436
|
+
color: red;
|
437
|
+
}
|
438
|
+
}
|
439
|
+
&:after {
|
440
|
+
position: absolute;
|
441
|
+
width: 40px;
|
442
|
+
height: 40px;
|
443
|
+
right: 10px;
|
444
|
+
bottom: 0;
|
445
|
+
text-align: right;
|
446
|
+
font-size: 16px;
|
447
|
+
line-height: 20px;
|
448
|
+
color: green;
|
449
|
+
z-index: 1;
|
450
|
+
padding: 10px 5px;
|
451
|
+
content: attr(data-counter);
|
452
|
+
}
|
453
|
+
.with-counter {
|
454
|
+
padding-right: 50px;
|
455
|
+
}
|
456
|
+
}
|
457
|
+
|
458
|
+
// Bootstrap File Input
|
459
|
+
.file-input-wrapper {
|
460
|
+
overflow: hidden;
|
461
|
+
position: relative;
|
462
|
+
cursor: pointer;
|
463
|
+
z-index: 1;
|
464
|
+
}
|
465
|
+
.file-input-wrapper input[type=file],
|
466
|
+
.file-input-wrapper input[type=file]:focus,
|
467
|
+
.file-input-wrapper input[type=file]:hover {
|
468
|
+
position: absolute;
|
469
|
+
top: 0;
|
470
|
+
left: 0;
|
471
|
+
cursor: pointer;
|
472
|
+
opacity: 0;
|
473
|
+
filter: alpha(opacity=0); z-index: 99; outline: 0;
|
474
|
+
}
|
475
|
+
.file-input-name {
|
476
|
+
margin-left: 8px;
|
477
|
+
}
|
478
|
+
|