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,87 @@
|
|
1
|
+
/* FOOTER */
|
2
|
+
footer {
|
3
|
+
background: $footer-bg;
|
4
|
+
padding: 55px 0;
|
5
|
+
font-size: 16px;
|
6
|
+
line-height: 22px;
|
7
|
+
color: $footer-color;
|
8
|
+
@include respond-to(phones) {
|
9
|
+
padding: 30px 0;
|
10
|
+
text-align: center;
|
11
|
+
.item {
|
12
|
+
margin-bottom: 30px;
|
13
|
+
&:last-child {
|
14
|
+
margin-bottom: 0;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
.footer-part-left {
|
19
|
+
@include respond-to(tablets-small) {
|
20
|
+
margin-bottom: 30px;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
.footer-part-right {
|
24
|
+
@include respond-to(tablets-small) {
|
25
|
+
text-align: center;
|
26
|
+
}
|
27
|
+
@include respond-to(phones) {
|
28
|
+
.title {
|
29
|
+
margin-bottom: 10px;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
.title {
|
34
|
+
color: $footer-titles-color;
|
35
|
+
margin-bottom: 20px;
|
36
|
+
text-align: left;
|
37
|
+
@include respond-to(phones) {
|
38
|
+
text-align: center;
|
39
|
+
margin-bottom: 5px;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
ul {
|
43
|
+
@extend .list-unstyled;
|
44
|
+
}
|
45
|
+
a {
|
46
|
+
color: $footer-color;
|
47
|
+
@extend .underlined;
|
48
|
+
&:hover {
|
49
|
+
color: #ffffff;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
.search-field-holder {
|
53
|
+
margin-bottom: 50px;
|
54
|
+
.input-search {
|
55
|
+
border: none;
|
56
|
+
line-height: 24px;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
.terms-conditions-holder {
|
60
|
+
margin-bottom: 25px;
|
61
|
+
}
|
62
|
+
.social-holder {
|
63
|
+
@extend .clearfix;
|
64
|
+
@include respond-to(tablets-small) {
|
65
|
+
display: inline-block;
|
66
|
+
}
|
67
|
+
a {
|
68
|
+
display: block;
|
69
|
+
float: left;
|
70
|
+
margin-left: 10px;
|
71
|
+
border-radius: 50%;
|
72
|
+
color: $footer-bg;
|
73
|
+
background: $site-color-red;
|
74
|
+
width: 40px;
|
75
|
+
height: 40px;
|
76
|
+
text-align: center;
|
77
|
+
font-size: 20px;
|
78
|
+
line-height: 40px;
|
79
|
+
&:first-child {
|
80
|
+
margin-left: 0;
|
81
|
+
}
|
82
|
+
&:hover {
|
83
|
+
background: $site-color-red-dim;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
@@ -0,0 +1,256 @@
|
|
1
|
+
/* HEADER styles */
|
2
|
+
header {
|
3
|
+
padding: 10px 10px 0px 10px;
|
4
|
+
background: $header-bg;
|
5
|
+
z-index: 1050;
|
6
|
+
@include respond-to(phones) {
|
7
|
+
padding: 10px 15px;
|
8
|
+
position: fixed;
|
9
|
+
width: 100%;
|
10
|
+
left: 0;
|
11
|
+
top: 0;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.egghead-search-input-container {
|
16
|
+
position: relative;
|
17
|
+
max-width: 230px;
|
18
|
+
margin-left: 10px;
|
19
|
+
|
20
|
+
@include respond-to(tablets-large) {
|
21
|
+
max-width: 180px;
|
22
|
+
.lesson-details-container {
|
23
|
+
flex-direction: column;
|
24
|
+
.lesson-details {
|
25
|
+
margin-bottom: 10px;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
}
|
30
|
+
@include respond-to(phones) {
|
31
|
+
max-width: 100%;
|
32
|
+
width: 100%;
|
33
|
+
}
|
34
|
+
|
35
|
+
.search-component .typeahead-container {
|
36
|
+
padding: 0 10px 10px 10px;
|
37
|
+
}
|
38
|
+
|
39
|
+
.search-component .icon-search, .search-component .icon-spinner {
|
40
|
+
padding: 0 17px;
|
41
|
+
}
|
42
|
+
|
43
|
+
.search-component.collapsed .icon-search, .search-component.collapsed .icon-spinner {
|
44
|
+
padding: 0 8px;
|
45
|
+
}
|
46
|
+
|
47
|
+
.search-component .icon-remove-circle {
|
48
|
+
margin-left: -33px;
|
49
|
+
}
|
50
|
+
|
51
|
+
}
|
52
|
+
|
53
|
+
.header-navigation-holder {
|
54
|
+
margin-bottom: 0;
|
55
|
+
min-height: 1px;
|
56
|
+
.logo {
|
57
|
+
display: block;
|
58
|
+
padding: 0;
|
59
|
+
margin-right: 20px;
|
60
|
+
margin-top: 5px;
|
61
|
+
@include respond-to(tablets-small) {
|
62
|
+
margin-right: 10px;
|
63
|
+
}
|
64
|
+
@include respond-to(tablets-small) {
|
65
|
+
max-width: 162px;
|
66
|
+
}
|
67
|
+
@include respond-to(phones) {
|
68
|
+
height: auto;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
.header-navigation-toggle {
|
72
|
+
@include respond-to(phones) {
|
73
|
+
margin: 0;
|
74
|
+
color: #ffffff;
|
75
|
+
padding: 0;
|
76
|
+
display: block;
|
77
|
+
width: 30px;
|
78
|
+
height: 30px;
|
79
|
+
font-size: 24px;
|
80
|
+
line-height: 30px;
|
81
|
+
border: none;
|
82
|
+
[class*='icon'] {
|
83
|
+
vertical-align: middle;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
.search-field-holder {
|
88
|
+
position: relative;
|
89
|
+
width: 230px;
|
90
|
+
margin-top: 5px;
|
91
|
+
@include respond-to(tablets-large) {
|
92
|
+
width: 130px;
|
93
|
+
font-size: 14px;
|
94
|
+
}
|
95
|
+
@include transition(250ms);
|
96
|
+
@include respond-to(phones) {
|
97
|
+
width: 100%;
|
98
|
+
}
|
99
|
+
|
100
|
+
div.autocomplete-input, .react-typeahead-input-container {
|
101
|
+
width: 100%;
|
102
|
+
}
|
103
|
+
|
104
|
+
&:before {
|
105
|
+
display: none;
|
106
|
+
}
|
107
|
+
&.collapsed {
|
108
|
+
width: 30px;
|
109
|
+
border-radius: 50%;
|
110
|
+
overflow: hidden;
|
111
|
+
cursor: pointer;
|
112
|
+
&:before {
|
113
|
+
display: block;
|
114
|
+
content: '';
|
115
|
+
position: absolute;
|
116
|
+
z-index: 20;
|
117
|
+
width: 100%;
|
118
|
+
height: 100%;
|
119
|
+
}
|
120
|
+
input {
|
121
|
+
width: 0px;
|
122
|
+
background: none $header-bg;
|
123
|
+
}
|
124
|
+
.btn-submit {
|
125
|
+
color: $site-color-medium-graphite;
|
126
|
+
width: 30px;
|
127
|
+
height: 30px;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
input {
|
131
|
+
height: 30px;
|
132
|
+
border: none;
|
133
|
+
position: relative;
|
134
|
+
width: 100%;
|
135
|
+
color: $site-color-grey;
|
136
|
+
background: none $header-search-field-bg;
|
137
|
+
font-size: $header-navigation-menu-item-font-size;
|
138
|
+
line-height: 24px;
|
139
|
+
padding: 4px 35px 4px 15px;
|
140
|
+
@include custom-placeholder($color: $site-color-medium-graphite, $font-size: 16px, $line-height: 22px);
|
141
|
+
@include respond-to(tablets-large) {
|
142
|
+
font-size: $header-navigation-menu-item-font-tablets;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
.btn-submit {
|
146
|
+
width: 30px;
|
147
|
+
height: 30px;
|
148
|
+
font-size: 18px;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
.header-navigation {
|
154
|
+
@include respond-to(phones) {
|
155
|
+
box-shadow: none;
|
156
|
+
border: none;
|
157
|
+
padding: 0;
|
158
|
+
&.collapse.in {
|
159
|
+
max-height: 370px;
|
160
|
+
}
|
161
|
+
}
|
162
|
+
.userpic-holder {
|
163
|
+
display: inline-block;
|
164
|
+
}
|
165
|
+
.userpic {
|
166
|
+
width: 30px;
|
167
|
+
height: 30px;
|
168
|
+
border-radius: 50%;
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
.header-navigation-list {
|
173
|
+
@include respond-to(phones) {
|
174
|
+
margin: 0;
|
175
|
+
&:first-child {
|
176
|
+
margin-top: 15px;
|
177
|
+
}
|
178
|
+
&:last-child {
|
179
|
+
margin-bottom: 15px;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
.dropdown-menu > li > a {
|
183
|
+
@include respond-to(phones) {
|
184
|
+
white-space: pre-line;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
.technology-title {
|
188
|
+
padding-left: 5px;
|
189
|
+
}
|
190
|
+
> li {
|
191
|
+
margin-top: 7px;
|
192
|
+
&.half-height {
|
193
|
+
margin-top: 4px;
|
194
|
+
}
|
195
|
+
&.full-height {
|
196
|
+
margin-top: 0;
|
197
|
+
margin-left: 5px;
|
198
|
+
}
|
199
|
+
> a {
|
200
|
+
font-size: $header-navigation-menu-item-font-size;
|
201
|
+
font-weight: $header-navigation-menu-item-font-weight;
|
202
|
+
line-height: $header-navigation-menu-item-line-height;
|
203
|
+
color: $header-navigation-menu-item-color;
|
204
|
+
padding: $header-navigation-menu-item-padding;
|
205
|
+
@include font-smoothing(on);
|
206
|
+
@include respond-to(tablets-small) {
|
207
|
+
font-size: $header-navigation-menu-item-font-tablets;
|
208
|
+
padding: $header-navigation-menu-item-padding-tablets;
|
209
|
+
}
|
210
|
+
&:hover, &:focus {
|
211
|
+
background: $header-bg;
|
212
|
+
color: $header-navigation-menu-item-color-hover;
|
213
|
+
.caret {
|
214
|
+
border-bottom-color: $site-color-red;
|
215
|
+
border-top-color: $site-color-red;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
&.go-pro {
|
219
|
+
font-size: 14px;
|
220
|
+
@include respond-to(phones) {
|
221
|
+
margin: 10px 0 0 7px;
|
222
|
+
float: left;
|
223
|
+
}
|
224
|
+
&:hover {
|
225
|
+
color: #ffffff;
|
226
|
+
font-size: 14px;
|
227
|
+
}
|
228
|
+
}
|
229
|
+
}
|
230
|
+
&.open {
|
231
|
+
> a, > a:hover, > a:focus {
|
232
|
+
background: $header-bg;
|
233
|
+
color: $header-navigation-menu-item-color-hover;
|
234
|
+
.caret {
|
235
|
+
border-bottom-color: $site-color-red;
|
236
|
+
border-top-color: $site-color-red;
|
237
|
+
}
|
238
|
+
}
|
239
|
+
}
|
240
|
+
}
|
241
|
+
.caret {
|
242
|
+
border-bottom-color: $site-color-red-dim;
|
243
|
+
border-top-color: $site-color-red-dim;
|
244
|
+
}
|
245
|
+
}
|
246
|
+
|
247
|
+
// The dropdown menu (ul)
|
248
|
+
.dropdown-menu {
|
249
|
+
// Links within the dropdown menu
|
250
|
+
> li > a {
|
251
|
+
@include respond-to(phones) {
|
252
|
+
color: #9e9e9e;
|
253
|
+
}
|
254
|
+
|
255
|
+
}
|
256
|
+
}
|
@@ -0,0 +1,455 @@
|
|
1
|
+
.hero {
|
2
|
+
padding: 10px 0 10px 0;
|
3
|
+
background: url(image_path("bg/bg-hero.png")) 0 -5px repeat;
|
4
|
+
text-align: center;
|
5
|
+
color: $hero-subtitle-color;
|
6
|
+
&.related-to-angularjs {
|
7
|
+
background: url(image_path("bg/bg-hero-angularjs.png")) 0 0 no-repeat;
|
8
|
+
background-size: cover;
|
9
|
+
}
|
10
|
+
@include respond-to(phones) {
|
11
|
+
padding: 30px 0;
|
12
|
+
}
|
13
|
+
.hero-logo {
|
14
|
+
max-width: 140px;
|
15
|
+
width: 100%;
|
16
|
+
margin-bottom: 30px;
|
17
|
+
@include respond-to(tablets-small) {
|
18
|
+
max-width: 120px;
|
19
|
+
}
|
20
|
+
@include respond-to(phones) {
|
21
|
+
max-width: 80px;
|
22
|
+
}
|
23
|
+
&.hero-logo-egghead {
|
24
|
+
max-width: 290px;
|
25
|
+
width: 100%;
|
26
|
+
@include respond-to(tablets-small) {
|
27
|
+
max-width: 200px;
|
28
|
+
}
|
29
|
+
@include respond-to(phones) {
|
30
|
+
max-width: 100px;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
.avatar {
|
35
|
+
@extend .avatar;
|
36
|
+
width: 140px;
|
37
|
+
margin-bottom: 30px;
|
38
|
+
border: 2px solid black;
|
39
|
+
@include respond-to(tablets-small) {
|
40
|
+
width: 120px;
|
41
|
+
}
|
42
|
+
@include respond-to(phones) {
|
43
|
+
width: 80px;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
h1 {
|
47
|
+
font-size: 36px;
|
48
|
+
}
|
49
|
+
.mega {
|
50
|
+
font-weight: 900;
|
51
|
+
font-size: 58px;
|
52
|
+
@include respond-to(tablets-small) {
|
53
|
+
font-size: 36px;
|
54
|
+
font-weight: 600;
|
55
|
+
}
|
56
|
+
@include respond-to(phones) {
|
57
|
+
font-size: 22px;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
.title {
|
61
|
+
color: $hero-title-color;
|
62
|
+
margin-bottom: 15px;
|
63
|
+
|
64
|
+
@include respond-to(phones) {
|
65
|
+
margin-top: 0;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
.subtitle {
|
69
|
+
font-size: $hero-subtitle-font-size;
|
70
|
+
color: $hero-subtitle-color;
|
71
|
+
line-height: 1.285em;
|
72
|
+
max-width: 980px;
|
73
|
+
margin-bottom: 30px;
|
74
|
+
@include center-block();
|
75
|
+
@include respond-to(tablets-small) {
|
76
|
+
font-size: $hero-subtitle-font-size-tablets;
|
77
|
+
}
|
78
|
+
@include respond-to(phones) {
|
79
|
+
font-size: $hero-subtitle-font-size-phones;
|
80
|
+
}
|
81
|
+
a {
|
82
|
+
color: $site-color-light-grey;
|
83
|
+
text-decoration: underline;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
.get-pro {
|
87
|
+
margin-bottom: 20px;
|
88
|
+
}
|
89
|
+
.hero-bottom-link {
|
90
|
+
color: #ffffff;
|
91
|
+
i, a {
|
92
|
+
color: #ffffff;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
.line-lesson-author {
|
96
|
+
color: $hero-subtitle-color;
|
97
|
+
font-size: 16px;
|
98
|
+
margin-bottom: 40px;
|
99
|
+
a, a:hover, a:focus {
|
100
|
+
color: $hero-subtitle-color;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
|
105
|
+
.next-lesson {
|
106
|
+
margin-top: 40px;
|
107
|
+
color: $hero-subtitle-color;
|
108
|
+
@include text-overflow();
|
109
|
+
text-align: center;
|
110
|
+
|
111
|
+
i {
|
112
|
+
color: $site-color-blue;
|
113
|
+
margin-left: 5px;
|
114
|
+
bottom: -3px;
|
115
|
+
position: relative;
|
116
|
+
}
|
117
|
+
|
118
|
+
a {
|
119
|
+
color: $hero-title-color;
|
120
|
+
@include respond-to(phones) {
|
121
|
+
margin-top: 0;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
.logo-holder {
|
127
|
+
margin: 30px auto 40px auto;
|
128
|
+
img {
|
129
|
+
height: 100px;
|
130
|
+
width: auto;
|
131
|
+
}
|
132
|
+
@include respond-to(phones) {
|
133
|
+
margin: 0 auto 20px auto;
|
134
|
+
img {
|
135
|
+
height: 35px;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
.lesson-without-playlist-holder {
|
140
|
+
position: relative;
|
141
|
+
@extend .clearfix;
|
142
|
+
}
|
143
|
+
|
144
|
+
.lesson-video-container {
|
145
|
+
padding-left: 75px;
|
146
|
+
padding-right: 75px;
|
147
|
+
@include respond-to(tablets-small) {
|
148
|
+
padding-left: 10px;
|
149
|
+
padding-right: 10px;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
.lesson-with-playlist-holder {
|
154
|
+
margin-bottom: 0px;
|
155
|
+
position: relative;
|
156
|
+
@extend .clearfix;
|
157
|
+
|
158
|
+
.lesson-frame-column-theater {
|
159
|
+
padding-right: 0;
|
160
|
+
margin-bottom: 30px;
|
161
|
+
}
|
162
|
+
.lesson-frame-column {
|
163
|
+
padding-right: 360px;
|
164
|
+
@include respond-to(tablets-large) {
|
165
|
+
padding-right: 300px;
|
166
|
+
}
|
167
|
+
@include respond-to(tablets-small) {
|
168
|
+
padding-right: 0;
|
169
|
+
margin-bottom: 30px;
|
170
|
+
}
|
171
|
+
}
|
172
|
+
|
173
|
+
.playlist-column-theater {
|
174
|
+
width: 100%;
|
175
|
+
height: 300px;
|
176
|
+
position: relative;
|
177
|
+
margin-bottom: 30px;
|
178
|
+
padding-top: 45px;
|
179
|
+
right: 0;
|
180
|
+
top: 0;
|
181
|
+
background: $lesson-playlist-background;
|
182
|
+
text-align: left;
|
183
|
+
@include respond-to(tablets-small) {
|
184
|
+
width: 100%;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
.playlist-column {
|
188
|
+
padding-top: 50px;
|
189
|
+
position: absolute;
|
190
|
+
height: 100%;
|
191
|
+
width: 360px;
|
192
|
+
right: 0;
|
193
|
+
top: 0;
|
194
|
+
background: $lesson-playlist-background;
|
195
|
+
text-align: left;
|
196
|
+
@include respond-to(tablets-large) {
|
197
|
+
width: 300px;
|
198
|
+
}
|
199
|
+
@include respond-to(tablets-small) {
|
200
|
+
width: 100%;
|
201
|
+
height: 300px;
|
202
|
+
position: relative;
|
203
|
+
margin-bottom: 30px;
|
204
|
+
}
|
205
|
+
}
|
206
|
+
|
207
|
+
.scrollable-holder {
|
208
|
+
overflow: hidden;
|
209
|
+
height: 100%;
|
210
|
+
display: flex;
|
211
|
+
flex-direction: column;
|
212
|
+
@include respond-to(tablets-large) {
|
213
|
+
padding: 5px;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
.welcome-box {
|
217
|
+
padding: 10px 15px;
|
218
|
+
font-size: 16px;
|
219
|
+
line-height: 22px;
|
220
|
+
@include respond-to(phones) {
|
221
|
+
font-size: 13px;
|
222
|
+
line-height: 18px;
|
223
|
+
}
|
224
|
+
}
|
225
|
+
|
226
|
+
}
|
227
|
+
|
228
|
+
|
229
|
+
.lessons-frame-holder {
|
230
|
+
width: 100%;
|
231
|
+
height: auto;
|
232
|
+
position: relative;
|
233
|
+
//padding-bottom: 56.89%;
|
234
|
+
&.lesson-frame-cannot-show {
|
235
|
+
height: 0;
|
236
|
+
padding-bottom: 50%;
|
237
|
+
}
|
238
|
+
.lessons-frame {
|
239
|
+
width: 100%;
|
240
|
+
height: 100%;
|
241
|
+
//position: absolute;
|
242
|
+
background: none #474747;
|
243
|
+
text-align: center;
|
244
|
+
padding: 5px 5px 5px 5px;
|
245
|
+
&.lesson-blocked {
|
246
|
+
position: absolute;
|
247
|
+
display: flex;
|
248
|
+
justify-content: center;
|
249
|
+
align-items: center;
|
250
|
+
}
|
251
|
+
}
|
252
|
+
.lesson-blocked {
|
253
|
+
background: url(image_path("elements/blocked-bg.jpg")) no-repeat center top /cover;
|
254
|
+
.egghead-logo-small {
|
255
|
+
max-width: 70px;
|
256
|
+
}
|
257
|
+
.title-subtitle-block {
|
258
|
+
margin-bottom: 15px;
|
259
|
+
}
|
260
|
+
.title {
|
261
|
+
font-size: 28px;
|
262
|
+
}
|
263
|
+
.subtitle {
|
264
|
+
font-size: 16px;
|
265
|
+
max-width: 80%;
|
266
|
+
}
|
267
|
+
.section {
|
268
|
+
padding: 30px 20px 20px 20px;
|
269
|
+
}
|
270
|
+
#signup {
|
271
|
+
margin-bottom: 10px;
|
272
|
+
}
|
273
|
+
}
|
274
|
+
}
|
275
|
+
|
276
|
+
|
277
|
+
.lesson-action-holder {
|
278
|
+
background-color: #474747;
|
279
|
+
position: relative;
|
280
|
+
width: 100%;
|
281
|
+
height: 100%;
|
282
|
+
padding: 0px 5px 5px 5px;
|
283
|
+
.buttons-holder {
|
284
|
+
background-color: #272525;
|
285
|
+
width: 100%;
|
286
|
+
height: 100%;
|
287
|
+
text-align: left;
|
288
|
+
position: relative;
|
289
|
+
display: flex;
|
290
|
+
align-items: center;
|
291
|
+
a {
|
292
|
+
cursor: pointer; vertical-align: middle;
|
293
|
+
}
|
294
|
+
}
|
295
|
+
}
|
296
|
+
|
297
|
+
.lesson-controls-container {
|
298
|
+
flex-grow: 1;
|
299
|
+
display: flex;
|
300
|
+
.custom-btn {
|
301
|
+
display: flex;
|
302
|
+
align-items: center;
|
303
|
+
justify-content: center;
|
304
|
+
color: #b7b7b7;
|
305
|
+
margin: 5px;
|
306
|
+
border: none;
|
307
|
+
font-size: 15px;
|
308
|
+
padding: 8px 5px;
|
309
|
+
line-height: 20px;
|
310
|
+
font-weight: 700;
|
311
|
+
&:hover {
|
312
|
+
color: white;
|
313
|
+
}
|
314
|
+
@include respond-to(tablets-large) {
|
315
|
+
font-size: 14px;
|
316
|
+
}
|
317
|
+
@include respond-to(phones) {
|
318
|
+
font-size: 12px;
|
319
|
+
i {
|
320
|
+
font-size: 20px;
|
321
|
+
}
|
322
|
+
}
|
323
|
+
i {
|
324
|
+
color: $site-color-blue;
|
325
|
+
margin-right: 5px;
|
326
|
+
vertical-align: middle;
|
327
|
+
font-size: 18px;
|
328
|
+
}
|
329
|
+
.icon-check { color: $button-red-bg-active }
|
330
|
+
}
|
331
|
+
.add-to-menu {
|
332
|
+
.dropdown-toggle {
|
333
|
+
font-size: 15px;
|
334
|
+
font-weight: 700;
|
335
|
+
display: flex;
|
336
|
+
align-items: center;
|
337
|
+
@include respond-to(tablets-large) {
|
338
|
+
font-size: 14px;
|
339
|
+
}
|
340
|
+
@include respond-to(phones) {
|
341
|
+
font-size: 12px;
|
342
|
+
i {
|
343
|
+
font-size: 20px;
|
344
|
+
}
|
345
|
+
}
|
346
|
+
i {
|
347
|
+
font-size: 18px;
|
348
|
+
}
|
349
|
+
}
|
350
|
+
}
|
351
|
+
.replay-speed-btn {
|
352
|
+
color: white;
|
353
|
+
width: 80px;
|
354
|
+
&:hover {
|
355
|
+
.icon-caret-down {
|
356
|
+
color: $button-grey-bg;
|
357
|
+
}
|
358
|
+
.icon-double-angle-right {
|
359
|
+
color: white;
|
360
|
+
}
|
361
|
+
}
|
362
|
+
@include respond-to(tablets-large) {
|
363
|
+
width: 50px;
|
364
|
+
}
|
365
|
+
.icon-double-angle-right {
|
366
|
+
@include transition(150ms);
|
367
|
+
color: $button-grey-bg-dark-active;
|
368
|
+
margin-right: 5px;
|
369
|
+
vertical-align: top;
|
370
|
+
}
|
371
|
+
}
|
372
|
+
}
|
373
|
+
|
374
|
+
.lesson-like-container {
|
375
|
+
position: relative;
|
376
|
+
display: flex;
|
377
|
+
text-align: right;
|
378
|
+
margin: 0;
|
379
|
+
padding: 0;
|
380
|
+
width: auto;
|
381
|
+
.toggle-theater-mode-btn {
|
382
|
+
font-size: 20px;
|
383
|
+
color: $button-grey-bg;
|
384
|
+
display: inline-block;
|
385
|
+
vertical-align: middle;
|
386
|
+
margin-right: 20px;
|
387
|
+
&:hover {
|
388
|
+
color: white;
|
389
|
+
}
|
390
|
+
}
|
391
|
+
.lesson-like-btn {
|
392
|
+
color: $button-grey-bg;
|
393
|
+
font-size: 20px;
|
394
|
+
border: none;
|
395
|
+
display: inline-block;
|
396
|
+
margin: 0 5px;
|
397
|
+
&:last-child {
|
398
|
+
margin-right: 0;
|
399
|
+
}
|
400
|
+
&.green {
|
401
|
+
color: $site-color-green;
|
402
|
+
}
|
403
|
+
&.red {
|
404
|
+
color: $site-color-red;
|
405
|
+
}
|
406
|
+
&:hover {
|
407
|
+
&#lesson-like {
|
408
|
+
color: $site-color-green;
|
409
|
+
}
|
410
|
+
&#lesson-dislike {
|
411
|
+
color: $site-color-red;
|
412
|
+
}
|
413
|
+
}
|
414
|
+
}
|
415
|
+
#lesson-like {
|
416
|
+
vertical-align: top;
|
417
|
+
}
|
418
|
+
@include respond-to(phones) {
|
419
|
+
width: 35%;
|
420
|
+
}
|
421
|
+
span {
|
422
|
+
background-color: black;
|
423
|
+
position: relative;
|
424
|
+
text-align: center;
|
425
|
+
text-transform: uppercase;
|
426
|
+
color: $button-grey-bg;
|
427
|
+
margin: 0;
|
428
|
+
font-size: 14px;
|
429
|
+
padding: 15px;
|
430
|
+
display: flex;
|
431
|
+
align-items: center;
|
432
|
+
justify-content: flex-end;
|
433
|
+
&.like-description {
|
434
|
+
padding: 0;
|
435
|
+
margin-right: 5px;
|
436
|
+
display: inline-block;
|
437
|
+
font-weight: 600;
|
438
|
+
cursor: default;
|
439
|
+
}
|
440
|
+
@include respond-to(tablets-large) {
|
441
|
+
padding: 11px 15px;
|
442
|
+
}
|
443
|
+
@include respond-to(tablets-small) {
|
444
|
+
background-color: transparent;
|
445
|
+
}
|
446
|
+
@include respond-to(phones) {
|
447
|
+
background-color: transparent;
|
448
|
+
}
|
449
|
+
}
|
450
|
+
}
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
|