egghead-styles 1.0.29 → 1.0.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -2
  3. data/app/assets/{stylesheets/_old → _old}/admin/dashboard.css.scss +0 -0
  4. data/app/assets/{stylesheets/_old → _old}/admin/discount_codes.css.scss +0 -0
  5. data/app/assets/{stylesheets/_old → _old}/admin/promos.css.scss +0 -0
  6. data/app/assets/{stylesheets/_old → _old}/admin/special_offers.css.scss +0 -0
  7. data/app/assets/{stylesheets/_old → _old}/components/_jumbotron.css.scss +0 -0
  8. data/app/assets/{stylesheets/_old → _old}/components/_navbar.css.scss +0 -0
  9. data/app/assets/{stylesheets/_old → _old}/components/_pricing-table.css.scss +0 -0
  10. data/app/assets/{stylesheets/_old → _old}/components/_sales-item.css.scss +0 -0
  11. data/app/assets/{stylesheets/_old → _old}/components/_search.css.scss +0 -0
  12. data/app/assets/{stylesheets/_old → _old}/components/components.css.scss +0 -0
  13. data/app/assets/{stylesheets/_old → _old}/forum/egghead/admin/groups.css.scss +0 -0
  14. data/app/assets/{stylesheets/_old → _old}/forum/egghead/forums.css.scss +0 -0
  15. data/app/assets/{stylesheets/_old → _old}/forum/egghead/topics.css.scss +0 -0
  16. data/app/assets/{stylesheets/_old → _old}/forum/forum-egghead.css.scss +0 -0
  17. data/app/assets/{stylesheets/_old → _old}/instructor/dashboard.css.scss +0 -0
  18. data/app/assets/{stylesheets/_old → _old}/koudoku/pricing-table.css.scss +0 -0
  19. data/app/assets/{stylesheets/_old → _old}/pages/articles/articles.css.scss +0 -0
  20. data/app/assets/{stylesheets/_old → _old}/pages/home/home.css.scss +0 -0
  21. data/app/assets/{stylesheets/_old → _old}/pages/instructor/instructor.css.scss +0 -0
  22. data/app/assets/{stylesheets/_old → _old}/pages/jobs/jobs.css.scss +0 -0
  23. data/app/assets/{stylesheets/_old → _old}/pages/lessons/lessons.css.scss +0 -0
  24. data/app/assets/{stylesheets/_old → _old}/pages/pages.css.scss +0 -0
  25. data/app/assets/{stylesheets/_old → _old}/pages/series/series.css.scss +0 -0
  26. data/app/assets/{stylesheets/_old → _old}/pages/training/training.css.scss +0 -0
  27. data/app/assets/{stylesheets/_old → _old}/player.css.scss +0 -0
  28. data/app/assets/{stylesheets/_old → _old}/scaffolds.css.scss +0 -0
  29. data/app/assets/{stylesheets/_old → _old}/socialbar.css.scss +0 -0
  30. data/app/assets/{stylesheets/_old → _old}/syntax.css.scss +0 -0
  31. data/app/assets/{stylesheets/_old → _old}/util/_padding.css.scss +0 -0
  32. data/app/assets/{stylesheets/_old → _old}/util/util.css.scss +0 -0
  33. data/app/assets/{stylesheets/application.css.scss → egghead-styles.css.scss} +1 -29
  34. data/app/assets/{stylesheets/globals → globals}/_bootstrap-and-overrides.css.scss +0 -0
  35. data/app/assets/{stylesheets/globals → globals}/_colors.css.scss +0 -0
  36. data/app/assets/{stylesheets/globals → globals}/_fonts.css.scss +0 -0
  37. data/app/assets/{stylesheets/globals → globals}/_grid-helpers.scss +0 -0
  38. data/app/assets/{stylesheets/globals → globals}/_mixins.css.scss +41 -13
  39. data/app/assets/{stylesheets/globals → globals}/_variables.css.scss +0 -0
  40. data/app/assets/{stylesheets/plugins → plugins}/chosen.css.scss +0 -0
  41. data/app/assets/{stylesheets/plugins → plugins}/flipclock.css.scss +0 -0
  42. data/app/assets/{stylesheets/sections → sections}/_footer.css.scss +0 -0
  43. data/app/assets/{stylesheets/sections → sections}/_header.css.scss +4 -6
  44. data/app/assets/{stylesheets/sections → sections}/_hero.css.scss +0 -0
  45. data/app/assets/{stylesheets/shared → shared}/_alerts.css.scss +0 -0
  46. data/app/assets/{stylesheets/shared → shared}/_buttons.css.scss +0 -0
  47. data/app/assets/{stylesheets/shared → shared}/_forms.css.scss +0 -0
  48. data/app/assets/{stylesheets/shared → shared}/_miscellaneous.scss +0 -0
  49. data/app/assets/{stylesheets/shared → shared}/_pagination.scss +0 -0
  50. data/app/assets/{stylesheets/shared → shared}/_styles.css.scss +0 -0
  51. data/app/assets/{stylesheets/shared → shared}/_titles.css.scss +0 -0
  52. data/app/assets/{stylesheets/shared → shared}/_typography.css.scss +0 -0
  53. data/lib/egghead/styles/version.rb +1 -1
  54. metadata +51 -77
  55. data/app/assets/images/elements/egg.svg +0 -8
  56. data/app/assets/images/elements/section-title-bg.png +0 -0
  57. data/app/assets/stylesheets/components/_advantages.css.scss +0 -17
  58. data/app/assets/stylesheets/components/_autocomplete-input.css.scss +0 -74
  59. data/app/assets/stylesheets/components/_cc-form.css.scss +0 -99
  60. data/app/assets/stylesheets/components/_corporate-logos.css.scss +0 -27
  61. data/app/assets/stylesheets/components/_home.css.scss +0 -15
  62. data/app/assets/stylesheets/components/_instructor-list.css.scss +0 -29
  63. data/app/assets/stylesheets/components/_onoff_switch.css.scss +0 -46
  64. data/app/assets/stylesheets/components/_pricing-grid.css.scss +0 -177
  65. data/app/assets/stylesheets/components/_search.css.scss +0 -321
  66. data/app/assets/stylesheets/components/forum/_forum.scss +0 -267
  67. data/app/assets/stylesheets/components/forum/_posts.scss +0 -105
  68. data/app/assets/stylesheets/components/lessons/_lesson-email-blocker.css.scss +0 -83
  69. data/app/assets/stylesheets/components/lessons/_lesson-playlist-control.css.scss +0 -301
  70. data/app/assets/stylesheets/components/lessons/_lesson-review-page.css.scss +0 -30
  71. data/app/assets/stylesheets/components/lessons/_lesson-series-list.css.scss +0 -170
  72. data/app/assets/stylesheets/components/lessons/_lesson_pro_placeholder.css.scss +0 -0
  73. data/app/assets/stylesheets/components/lessons/_lessons-list.scss +0 -52
  74. data/app/assets/stylesheets/components/lessons/_popular-lesson-list.css.scss +0 -69
  75. data/app/assets/stylesheets/components/playlists/_add-to-button.scss +0 -289
  76. data/app/assets/stylesheets/components/playlists/_playlist.css.scss +0 -29
  77. data/app/assets/stylesheets/components/technology/_technology-pages.css.scss +0 -3
  78. data/app/assets/stylesheets/components/technology/page-all-technologies/_page-all-technologies.css.scss +0 -798
  79. data/app/assets/stylesheets/components/technology/page-single-technology/_page-single-technology.css.scss +0 -1
  80. data/app/assets/stylesheets/components/technology/shared/_shared.css.scss +0 -66
@@ -1,29 +0,0 @@
1
- tr.destroyed td {
2
- background-color: $gray-light;
3
- }
4
-
5
- tr.lesson-row-new {
6
- background-color: $site-color-green-light;
7
- }
8
-
9
- .playlist-form {
10
- .cell-lesson-title {
11
- .title {
12
- margin-bottom: 10px;
13
- margin-top: 10px;
14
- }
15
- }
16
- }
17
-
18
- .playlists-list-row {
19
- .cell {
20
- vertical-align: top;
21
- }
22
- .title {
23
- margin-bottom: 5px;
24
- }
25
- }
26
- .cell-technology-title,
27
- .cell-admin-title {
28
- width: 150px;
29
- }
@@ -1,3 +0,0 @@
1
- @import 'shared/shared.css.scss';
2
- @import 'page-all-technologies/page-all-technologies.css.scss';
3
- @import 'page-single-technology/page-single-technology.css.scss';
@@ -1,798 +0,0 @@
1
- .technology-pages-wrapper {
2
-
3
- // Jump Into These Technologies section
4
- .section-jump-into-technologies {
5
- .section-title-holder {
6
- position: relative;
7
- z-index: 1;
8
- padding: 40px 0;
9
- background: url('elements/section-title-bg.png') 0 0 repeat;
10
- background-size: 150px 150px; // Made it compressed (original size is 300x300) because of blurring on Retina
11
- text-align: center;
12
- box-shadow: 0 2px 5px $color-alto;
13
- .title {
14
- font-style: italic;
15
- font-size: 40px;
16
- line-height: 50px;
17
- color: $color-mine-shaft;
18
- margin: 0;
19
- }
20
- @include respond-to(tablets-portrait) {
21
- padding: 20px 30px;
22
- .title {
23
- font-size: 30px;
24
- line-height: 40px;
25
- }
26
- }
27
- @include respond-to(phones-landscape) {
28
- padding: 15px;
29
- background: $color-wild-sand;
30
- box-shadow: none;
31
- flex-shrink: 0;
32
- .title {
33
- font-size: 18px;
34
- line-height: 20px;
35
- text-align: left;
36
- }
37
- }
38
- }
39
- .section-content-holder {
40
- display: flex;
41
- flex-grow: 1;
42
- padding: 25px 0;
43
- justify-content: center;
44
- background: $color-white;
45
- @include respond-to(tablets-portrait) {
46
- padding-left: 30px;
47
- padding-right: 30px;
48
- }
49
- @include respond-to(phones-landscape) {
50
- padding: 0;
51
- background: $color-wild-sand;
52
- overflow: scroll;
53
- &::-webkit-scrollbar { width: 0 !important }
54
- }
55
- }
56
- #jump-into-technologies {
57
- overflow: hidden;
58
- @include respond-to(phones-landscape) {
59
- display: flex;
60
- flex-direction: column;
61
- height: 0;
62
- transition: all 300ms 0s ease-in;
63
- box-shadow: 0 2px 4px $color-dusty-gray;
64
- background: $color-wild-sand;
65
- position: relative;
66
- &:after {
67
- content: '';
68
- width: 100%;
69
- height: 20px;
70
- position: absolute;
71
- z-index: 1;
72
- left: 0;
73
- bottom: 10px;
74
- @include gradient-vertical(rgba($color-wild-sand, 0), rgba($color-wild-sand, 1), 0%, 100%);
75
- }
76
- &.expanded {
77
- height: 325px;
78
- padding-bottom: 10px;
79
- }
80
- }
81
- }
82
- .sticky-trigger {
83
- display: none;
84
- font-size: 12px;
85
- line-height: 16px;
86
- padding: 4px 5px 4px 15px;
87
- height: 24px;
88
- background: $color-emperor;
89
- color: $color-white;
90
- font-style: italic;
91
- font-weight: 600;
92
- text-decoration: none;
93
- position: absolute;
94
- z-index: 1;
95
- &:after {
96
- position: absolute;
97
- right: -18px;
98
- top: 0;
99
- content: '';
100
- width: 0;
101
- height: 0;
102
- border-style: solid;
103
- border-width: 24px 18px 0 0;
104
- border-color: $color-emperor transparent transparent transparent;
105
- }
106
- .caret {
107
- margin-left: 10px;
108
- &:before {
109
- display: flex;
110
- content: '';
111
- width: 0;
112
- height: 0;
113
- border-style: solid;
114
- border-width: 5px 4px 0 4px;
115
- border-color: $color-silver-chalice transparent transparent transparent;
116
- }
117
- }
118
- &.clicked {
119
- .caret {
120
- &:before {
121
- border-width: 0 4px 5px 4px;
122
- border-color: transparent transparent $color-silver-chalice transparent;
123
- }
124
- }
125
- }
126
- @include respond-to(phones-landscape) {
127
- display: inline-flex;
128
- align-items: center;
129
- }
130
- }
131
- .technologies-list {
132
- display: flex;
133
- flex-wrap: wrap;
134
- padding: 0;
135
- margin: 0;
136
- width: 100%;
137
- max-width: 930px;
138
- a, a:hover, a:visited {
139
- color: inherit;
140
- text-decoration: none;
141
- }
142
- a:hover .text-holder {
143
- color: lighten($color-emperor, 20);
144
- }
145
- .item-wrapper {
146
- display: flex;
147
- flex-basis: 33.33333%;
148
- }
149
- .item {
150
- display: flex;
151
- padding: 15px 40px 15px 0;
152
- }
153
- .tech-logo-holder {
154
- padding-right: 20px;
155
- margin-top: 8px;
156
- flex-shrink: 0;
157
- }
158
- .tech-logo {
159
- width: 46px;
160
- max-height: 50px;
161
- display: block;
162
- }
163
- .title-holder {
164
- display: flex;
165
- margin-bottom: 3px;
166
- }
167
- .title {
168
- margin: 0;
169
- color: $color-emperor;
170
- font-size: 16px;
171
- margin-right: 10px;
172
- }
173
- @include respond-to(tablets-portrait) {
174
- .tech-logo-holder {
175
- padding-right: 15px;
176
- }
177
- .tech-logo {
178
- width: 35px;
179
- max-height: 38px;
180
- }
181
- .title {
182
- font-size: 14px;
183
- }
184
- }
185
- @include respond-to(phones-landscape) {
186
- justify-content: space-around;
187
- padding: 0 15px 30px 15px;
188
- .item-wrapper {
189
- flex-basis: 25%;
190
- align-items: center;
191
- justify-content: center;
192
- }
193
- .item {
194
- flex-direction: column;
195
- width: 76px;
196
- padding: 5px;
197
- border: none;
198
- align-items: center;
199
- justify-content: space-between;
200
- margin-bottom: 15px;
201
- background: $color-white;
202
- border-radius: 3px;
203
- box-shadow: 0 2px 4px $color-silver-chalice;
204
- }
205
- .text-holder {
206
- display: none;
207
- }
208
- .title-holder {
209
- flex-direction: column;
210
- align-items: center;
211
- }
212
- .badge {
213
- align-self: center;
214
- }
215
- .title {
216
- display: none;
217
- }
218
- .tech-logo-holder {
219
- padding: 0;
220
- margin: 0 0 5px 0;
221
- }
222
- .tech-logo {
223
- width: 38px;
224
- max-height: 41px;
225
- }
226
- }
227
- @include respond-to(phones-portrait) {
228
- .item-wrapper {
229
- flex-basis: 33.33333%;
230
- }
231
- }
232
- }
233
- @include respond-to(phones-landscape) {
234
- position: absolute;
235
- z-index: 2;
236
- width: 100%;
237
- left: 0;
238
- top: 0;
239
- }
240
- }
241
-
242
- // Technology Details section
243
- .section-technology-details {
244
- padding: 55px 0;
245
- .section-inner {
246
- max-width: 1260px;
247
- padding: 0 20px;
248
- margin: 0 auto;
249
- }
250
- .technology-set {
251
- &:not(:last-child) {
252
- margin-bottom: 100px;
253
- }
254
- }
255
- .section-title-holder {
256
- display: flex;
257
- justify-content: center;
258
- margin-bottom: 20px;
259
- .tech-logo {
260
- width: 46px;
261
- max-height: 50px;
262
- margin-right: 10px;
263
- }
264
- .section-title {
265
- color: $color-cape-cod;
266
- font-size: 50px;
267
- line-height: 50px;
268
- font-weight: 400;
269
- margin: 0;
270
- }
271
- @include respond-to(tablets-portrait) {
272
- .tech-logo {
273
- width: 38px;
274
- max-height: 41px;
275
- }
276
- .section-title {
277
- font-size: 36px;
278
- line-height: 40px;
279
- }
280
- }
281
- @include respond-to(phones-landscape) {
282
- margin-bottom: 10px;
283
- .tech-logo {
284
- width: 30px;
285
- max-height: 33px;
286
- }
287
- .section-title {
288
- font-size: 32px;
289
- line-height: 34px;
290
- }
291
- }
292
- }
293
- .grid-row {
294
- display: flex;
295
- flex-wrap: wrap;
296
- }
297
- .grid-item {
298
- display: flex;
299
- }
300
- .card {
301
- background: $color-white;
302
- border: 1px solid $color-alto;
303
- box-shadow: 0 2px 4px $color-alto;
304
- padding: 20px;
305
- flex-grow: 1;
306
- font-size: 15px;
307
- color: $color-mako;
308
- .info-row {
309
- display: flex;
310
- justify-content: space-between;
311
- align-items: center;
312
- .lesson-info-line {
313
- display: flex;
314
- align-items: flex-start;
315
- a, span {
316
- margin-left: 15px;
317
- color: $color-dove-gray;
318
- text-decoration: none;
319
- &:first-child {
320
- margin-left: 0;
321
- }
322
- }
323
- }
324
- .lesson-tech-logo {
325
- width: 18px;
326
- max-height: 20px;
327
- }
328
- .author {
329
- display: flex;
330
- align-items: flex-start;
331
- &:before {
332
- content: '';
333
- background: url('../images/elements/egg.svg') 0 0 no-repeat;
334
- background-size: 9px 11px;
335
- width: 9px;
336
- height: 11px;
337
- margin-right: 3px;
338
- margin-top: 2px;
339
- }
340
- }
341
- .duration {
342
- .icon {
343
- margin-right: 3px;
344
- }
345
- }
346
- .link-add-to {
347
- color: $color-dove-gray;
348
- text-decoration: none;
349
- font-size: 14px;
350
- .icon {
351
- margin-right: 5px;
352
- }
353
- }
354
- .btn-play {
355
- font-size: 20px;
356
- color: $color-submarine;
357
- display: inline-flex;
358
- justify-content: center;
359
- align-items: center;
360
- text-decoration: none;
361
- height: 36px;
362
- border: 1px solid $color-alto;
363
- border-radius: 10px;
364
- padding: 9px 20px;
365
- }
366
- @include respond-to(phones-landscape) {
367
- .lesson-info-line {
368
- font-size: 12px;
369
- a, span {
370
- margin-left: 10px;
371
- &:first-child {
372
- margin-left: 0;
373
- }
374
- }
375
- }
376
- }
377
- }
378
- }
379
-
380
- // Courses section card
381
- .card-course {
382
- @extend .card;
383
- padding: 30px;
384
- position: relative;
385
- height: auto;
386
- .course-author-avatar {
387
- width: 36px;
388
- height: 36px;
389
- border: 3px solid $color-wild-sand;
390
- border-radius: 50%;
391
- position: absolute;
392
- top: -18px;
393
- left: 50%;
394
- margin-left: -18px;
395
- z-index: 1;
396
- }
397
- .course-subtitle {
398
- color: $color-submarine;
399
- text-transform: uppercase;
400
- font-size: 12px;
401
- line-height: 14px;
402
- text-align: center;
403
- margin-bottom: 10px;
404
- }
405
- .course-title {
406
- margin-bottom: 20px;
407
- font-size: 23px;
408
- line-height: 24px;
409
- text-align: center;
410
- color: $color-nevada;
411
- font-weight: 400;
412
- }
413
- .card-content {
414
- display: flex;
415
- .course-image-holder {
416
- flex-basis: 20%;
417
- flex-shrink: 0;
418
- margin-right: 25px;
419
- }
420
- .course-image {
421
- width: 100%;
422
- }
423
- .course-description-holder {
424
- flex-grow: 1;
425
- }
426
- .description-text {
427
- font-size: 16px;
428
- line-height: 20px;
429
- color: $color-dusty-gray;
430
- margin-bottom: 20px;
431
- }
432
- }
433
- .lessons-in-course-number-holder {
434
- .title {
435
- font-size: 20px;
436
- font-style: italic;
437
- color: $color-fiord;
438
- margin-bottom: 15px;
439
- }
440
- }
441
- @include respond-to(phones-landscape) {
442
- padding: 25px 15px 15px 15px;
443
- .course-subtitle {
444
- font-size: 10px;
445
- margin-bottom: 5px;
446
- }
447
- .course-title {
448
- font-size: 16px;
449
- line-height: 18px;
450
- margin-bottom: 15px;
451
- }
452
- .card-content {
453
- .course-image-holder {
454
- margin-right: 15px;
455
- }
456
- .description-text {
457
- font-size: 12px;
458
- line-height: 15px;
459
- margin-bottom: 10px;
460
- }
461
- }
462
- .lessons-in-course-number-holder {
463
- .title {
464
- font-size: 12px;
465
- margin-bottom: 5px;
466
- }
467
- }
468
- }
469
- }
470
-
471
- // Lessons section card
472
- .card-lesson {
473
- @extend .card;
474
- @extend .ticket-stub;
475
- padding: 15px 25px;
476
- .title {
477
- font-size: 15px;
478
- color: $color-cape-cod;
479
- margin-bottom: 7px;
480
- }
481
- .description-holder {
482
- margin-bottom: 10px;
483
- }
484
- @include respond-to(phones-landscape) {
485
- padding: 15px;
486
- .title {
487
- font-size: 13px;
488
- margin-bottom: 5px;
489
- }
490
- .description-holder {
491
- font-size: 12px;
492
- }
493
- }
494
- }
495
-
496
- // Playlists section card
497
- .card-featured-playlist {
498
- @extend .card;
499
- padding: 0;
500
- display: flex;
501
- .card-spine {
502
- padding: 15px 0;
503
- display: flex;
504
- justify-content: center;
505
- background: rgba($color-silver-chalice, 0.8);
506
- color: $color-white;
507
- font-size: 18px;
508
- flex-basis: 26px;
509
- flex-shrink: 0;
510
- }
511
- .card-content {
512
- padding: 15px 15px 15px 10px;
513
- }
514
- .title {
515
- font-size: 16px;
516
- color: $color-cape-cod;
517
- margin-bottom: 7px;
518
- }
519
- .description-holder {
520
- margin-bottom: 10px;
521
- }
522
- .lessons-preview {
523
- margin-bottom: 15px;
524
- .title {
525
- font-size: 14px;
526
- font-style: italic;
527
- margin-bottom: 5px;
528
- span {
529
- font-size: 13px;
530
- font-weight: 400;
531
- }
532
- }
533
- }
534
- .lessons-list {
535
- margin: 0;
536
- padding: 0 0 0 7px;
537
- list-style: none;
538
- position: relative;
539
- &:before {
540
- content: '';
541
- position: absolute;
542
- z-index: 1;
543
- width: 100%;
544
- height: 100%;
545
- left: 0;
546
- top: 0;
547
- @include gradient-vertical(rgba($color-white, 0.1), rgba($color-white, 0.9), 0%, 100%);
548
- }
549
- li {
550
- position: relative;
551
- padding-left: 10px;
552
- border-left: 2px solid $color-silver-chalice;
553
- &:before {
554
- content: '';
555
- position: absolute;
556
- width: 6px;
557
- height: 6px;
558
- border-radius: 50%;
559
- background: $color-silver-chalice;
560
- left: -4px;
561
- top: 5px;
562
- display: block;
563
- }
564
- }
565
- }
566
- .progress-bar-row {
567
- margin-bottom: 15px;
568
- }
569
- @include respond-to(phones-landscape) {
570
- .title {
571
- font-size: 13px;
572
- }
573
- .description-holder {
574
- font-size: 12px;
575
- margin-bottom: 5px;
576
- }
577
- .lessons-list {
578
- font-size: 13px;
579
- }
580
- .progress-bar-row {
581
- margin-bottom: 5px;
582
- }
583
- }
584
- }
585
- .subsection:not(:last-child) {
586
- margin-bottom: 40px;
587
- @include respond-to(phones-landscape) {
588
- margin-bottom: 30px;
589
- }
590
- }
591
-
592
- // Courses subsection grid special values
593
- .subsection-courses {
594
- .grid-row {
595
- margin: 0 -5px;
596
- }
597
- .grid-item {
598
- padding: 20px 5px;
599
- flex-basis: 33.33333%;
600
- }
601
- @include respond-to(tablets-portrait) {
602
- .grid-row {
603
- margin: 0 -18px;
604
- }
605
- .grid-item {
606
- flex-basis: 50%;
607
- }
608
- }
609
- @include respond-to(phones-landscape) {
610
- .grid-row {
611
- margin: 0 -10px;
612
- justify-content: center;
613
- }
614
- .grid-item {
615
- padding-left: 10px;
616
- padding-right: 10px;
617
- flex-basis: 100%;
618
- max-width: 350px;
619
- }
620
- }
621
- }
622
-
623
- // New Lessons subsection grid special values
624
- .subsection-new-lessons {
625
- .grid-row {
626
- margin: 0 -20px;
627
- }
628
- .grid-item {
629
- padding: 10px 20px;
630
- flex-basis: 33.33333%;
631
- }
632
- @include respond-to(tablets-portrait) {
633
- .grid-row {
634
- margin: 0 -12px;
635
- justify-content: center;
636
- }
637
- .grid-item {
638
- padding: 20px 12px 5px 12px;
639
- flex-basis: 50%;
640
- }
641
- }
642
- @include respond-to(phones-landscape) {
643
- .grid-row {
644
- margin: 0 -10px;
645
- }
646
- .grid-item {
647
- padding: 15px 10px 0 10px;
648
- flex-basis: 100%;
649
- max-width: 350px;
650
- }
651
- }
652
- }
653
-
654
- // Featured Playlists subsection grid special values
655
- .subsection-featured-playlists {
656
- .grid-row {
657
- margin: 0 -20px;
658
- justify-content: center;
659
- }
660
- .grid-item {
661
- padding: 10px 20px;
662
- flex-basis: 36%;
663
- }
664
- @include respond-to(tablets-portrait) {
665
- .grid-item {
666
- flex-basis: 50%;
667
- }
668
- }
669
- @include respond-to(phones-landscape) {
670
- .grid-row {
671
- margin: 0 -10px;
672
- justify-content: center;
673
- }
674
- .grid-item {
675
- padding: 15px 10px 0 10px;
676
- flex-basis: 100%;
677
- max-width: 350px;
678
- }
679
- }
680
- }
681
-
682
- .subsection-title-holder {
683
- display: flex;
684
- justify-content: center;
685
- align-items: center;
686
- margin-bottom: 10px;
687
- position: relative;
688
- .title {
689
- font-size: 15px;
690
- line-height: 17px;
691
- text-transform: uppercase;
692
- color: $color-dove-gray;
693
- margin: 0;
694
- }
695
- .total-items {
696
- position: absolute;
697
- right: 0;
698
- color: $color-dusty-gray;
699
- font-size: 14px;
700
- .description {
701
- margin: 0 1px 0 3px;
702
- &:after {
703
- content: '|';
704
- margin-left: 3px;
705
- }
706
- }
707
- .view-all-link {
708
- color: $color-boulder;
709
- text-decoration: underline;
710
- }
711
- }
712
- @include respond-to(phones-landscape) {
713
- flex-direction: column;
714
- justify-content: center;
715
- margin-bottom: 0;
716
- .title-holder {
717
- margin-bottom: 5px;
718
- }
719
- .title {
720
- font-size: 11px;
721
- }
722
- .total-items {
723
- position: static;
724
- margin-top: 8px;
725
- }
726
- }
727
- }
728
- .progress-bar-row {
729
- display: flex;
730
- align-items: center;
731
- .progress-bar-holder {
732
- flex-basis: 100px;
733
- margin-right: 15px;
734
- flex-shrink: 1;
735
- .progress-bar {
736
- width: 100%;
737
- height: 10px;
738
- padding: 2px;
739
- background: $color-bali-hai;
740
- .inner {
741
- background: $color-alto;
742
- height: 6px;
743
- }
744
- }
745
- }
746
- .value-holder {
747
- color: $color-fiord;
748
- font-size: 16px;
749
- font-weight: 400;
750
- flex-shrink: 0;
751
- .total {
752
- font-weight: 600;
753
- }
754
- @include respond-to(phones-landscape) {
755
- font-size: 12px;
756
- }
757
- }
758
- }
759
- @include respond-to(tablets-portrait) {
760
- padding: 35px 0;
761
- .section-inner {
762
- max-width: 1260px;
763
- padding: 0 30px;
764
- }
765
- }
766
- @include respond-to(phones-landscape) {
767
- padding: 40px 0 25px 0;
768
- .section-inner {
769
- padding: 0 10px;
770
- }
771
- }
772
- }
773
- }
774
-
775
- // Ticket-Stub effect
776
- .ticket-stub {
777
- position: relative;
778
- &:before,
779
- &:after {
780
- position: absolute;
781
- top: 50%;
782
- margin-top: -8px;
783
- content: '';
784
- width: 16px;
785
- height: 16px;
786
- background: $color-wild-sand;
787
- z-index: 1;
788
- border-radius: 50%;
789
- }
790
- &:before {
791
- left: -8px;
792
- box-shadow: inset -2px 0px 2px -2px rgba($color-mine-shaft, 0.3);
793
- }
794
- &:after {
795
- right: -8px;
796
- box-shadow: inset 2px 0px 2px -2px rgba($color-mine-shaft, 0.3);
797
- }
798
- }