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,105 +0,0 @@
1
- .post {
2
- padding: 25px 30px 20px 30px;
3
- background-color: $site-color-grey;
4
- margin-bottom: 2px;
5
- display: flex;
6
- flex-direction: column;
7
- .post-avatar-holder {
8
- padding-right: 25px;
9
- flex-shrink: 0;
10
- width: 125px;
11
- img {
12
- width: 100%;
13
- border-radius: 50%;
14
- }
15
- }
16
- .post-content-holder {
17
- flex-grow: 1;
18
- }
19
- .forum-actions-holder {
20
- margin-bottom: 0;
21
- margin-top: 10px;
22
- }
23
- .moderation-alert {
24
- margin-bottom: 30px;
25
- padding: 15px;
26
- font-style: italic;
27
- color: $site-color-white;
28
- background: $site-color-dusty-gray;
29
- }
30
- }
31
- .post-details {
32
- margin-top: 10px;
33
- font-size: 16px;
34
- margin-bottom: 5px;
35
- > span {
36
- &:after {
37
- content: ',';
38
- margin-right: 3px;
39
- }
40
- &:last-child {
41
- &:after {
42
- display: none;
43
- }
44
- }
45
- }
46
- .username {
47
- font-weight: 600;
48
- color: $site-color-dark-graphite;
49
- }
50
- .post-time {
51
- color: $site-color-light-graphite;
52
- &:hover {
53
- text-decoration: underline;
54
- }
55
- }
56
- }
57
- .post-text {
58
- font-size: 20px;
59
- line-height: 28px;
60
- color: $site-color-medium-graphite;
61
- }
62
- .in-reply-to {
63
- font-size: 14px;
64
- font-style: italic;
65
- color: $site-color-dark-graphite;
66
- margin-top: 10px;
67
- display: inline-block;
68
- font-weight: 600;
69
- &:focus {
70
- color: $site-color-dark-graphite;
71
- text-decoration: none;
72
- }
73
- &:hover {
74
- color: $site-color-dark-graphite;
75
- text-decoration: underline;
76
- }
77
- }
78
-
79
- @include respond-to(tablets-small) {
80
- .post {
81
- .post-avatar-holder {
82
- padding-right: 15px;
83
- width: 75px;
84
- }
85
- }
86
- .post-text {
87
- font-size: 16px;
88
- line-height: 22px;
89
- }
90
- }
91
- @include respond-to(phones) {
92
- .post {
93
- flex-direction: column;
94
- .moderation-alert {
95
- margin-bottom: 20px;
96
- font-size: 14px;
97
- line-height: 20px;
98
- padding: 10px;
99
- }
100
- }
101
- .post-text {
102
- font-size: 14px;
103
- line-height: 20px;
104
- }
105
- }
@@ -1,83 +0,0 @@
1
- .enter-email-overlay {
2
- position: absolute;
3
- z-index: 20;
4
- top: 0;
5
- right: 0;
6
- bottom: 0;
7
- left: 0;
8
- background: rgba($site-color-black, 0.87);
9
- border: 1px solid $site-color-light-graphite;
10
- padding: 50px;
11
- @include respond-to(phones) {
12
- padding: 20px;
13
- display: none;
14
- }
15
- .outer {
16
- display: table;
17
- width: 100%;
18
- height: 100%;
19
- }
20
- .inner {
21
- display: table-cell;
22
- vertical-align: middle;
23
- }
24
- .title {
25
- margin-bottom: 40px;
26
- }
27
- .combined-input-holder {
28
- @extend .clearfix;
29
- width: 100%;
30
- max-width: 800px;
31
- margin: 0 auto 40px auto;
32
- }
33
- .part-body {
34
- overflow: hidden;
35
- @include respond-to(phones) {
36
- width: 100%;
37
- margin-bottom: 15px;
38
- }
39
- }
40
- .part-right {
41
- float: right;
42
- margin-left: 10px;
43
- @include respond-to(phones) {
44
- float: none;
45
- margin-left: 0;
46
- }
47
- }
48
- .input-email {
49
- width: 100%;
50
- border: none;
51
- border-radius: 3px;
52
- padding: 15px;
53
- line-height: 30px;
54
- font-size: 24px;
55
- height: 60px;
56
- color: $site-color-black;
57
- @include respond-to(tablets-small) {
58
- height: 52px;
59
- padding: 16px 15px;
60
- line-height: 20px;
61
- font-size: 18px;
62
- }
63
- @include respond-to(phones) {
64
- height: 44px;
65
- padding: 13px 10px;
66
- line-height: 18px;
67
- font-size: 16px;
68
- }
69
- }
70
- .description {
71
- font-style: italic;
72
- color: #b7b7b7;
73
- font-size: 28px;
74
- line-height: 1.285em;
75
- margin-bottom: 0;
76
- margin-left: auto;
77
- margin-right: auto;
78
- max-width: 800px;
79
- @include respond-to(phones) {
80
- font-size: 18px;
81
- }
82
- }
83
- }
@@ -1,301 +0,0 @@
1
-
2
-
3
- .playlist-lessons-holder {
4
- .playlist-lessons-list {
5
- margin-bottom: 0;
6
- @extend .list-unstyled;
7
- text-align: center;
8
- .item {
9
- background-color: $lesson-playlist-background;
10
- position: relative;
11
-
12
- border-bottom: 1px solid $lesson-playlist-items-border;
13
- a {
14
- display: block;
15
- padding-top: 10px;
16
- padding-bottom: 10px;
17
- }
18
- &:hover {
19
- background-color: $site-color-blue;
20
- .pseudo-checkbox {
21
- color: #ffffff;
22
- }
23
- }
24
- &.current {
25
- background-color: $lesson-playlist-action-color;
26
- &:hover {
27
- background-color: $lesson-playlist-action-color;
28
- }
29
- }
30
- &:before {
31
- position: absolute;
32
- width: 100%;
33
- height: 100%;
34
- left: 0;
35
- top: 0;
36
- background: none;
37
- }
38
- &.lesson-watched {
39
- opacity: 0.5;
40
- .pseudo-checkbox {
41
- @extend .icon-check;
42
- color: $site-color-green;
43
- }
44
- }
45
- .part-left {
46
- width: 35px;
47
- height: 1px;
48
- float: left;
49
- position: relative;
50
- @include respond-to(tablets-large) {
51
- width: 25px;
52
- }
53
-
54
- @include respond-to(tablets-small) {
55
- width: 55px;
56
- }
57
- }
58
- .pseudo-checkbox {
59
- @include icon-FontAwesome();
60
- color: $site-color-medium-graphite;
61
- @extend .icon-check-empty;
62
- }
63
- .part-right {
64
- width: 90px;
65
- height: 1px;
66
- float: right;
67
- position: relative;
68
- }
69
- .lesson-content {
70
- text-align: left;
71
- overflow: hidden;
72
- }
73
- }
74
- .title {
75
- margin-bottom: 5px;
76
- padding-top: 3px;
77
-
78
- @include respond-to(tablets-large) {
79
- font-size: 12px;
80
- }
81
- @include respond-to(tablets-small) {
82
- font-size: 16px;
83
- }
84
- }
85
- }
86
- .view-all-lessons {
87
- }
88
- }
89
-
90
- .playlist-actions-holder {
91
- @extend .clearfix;
92
- padding: 10px;
93
- background: $site-color-black;
94
- position: absolute;
95
- top: 0;
96
- right: 0;
97
- min-height: 45px;
98
- width: 100%;
99
- z-index: 10;
100
- font-size: 16px;
101
- .autoplay-switch {
102
- position: absolute;
103
- }
104
- .autoplay-label {
105
- left: 50px;
106
- position: absolute;
107
- }
108
- .left {
109
- float: left;
110
- position: relative;
111
- }
112
- .right {
113
- float: right;
114
- }
115
- .action {
116
- margin-left: 25px;
117
- vertical-align: middle;
118
- color: $lesson-playlist-action-color;
119
- &:hover {
120
- color: #ffffff;
121
- }
122
- &:first-child {
123
- margin-left: 0;
124
- }
125
- &.disabled {
126
- color: $lesson-playlist-action-disabled-color;
127
- &:hover {
128
- color: $lesson-playlist-action-disabled-color;
129
- cursor: default;
130
- }
131
- }
132
- .icon {
133
- vertical-align: middle;
134
- }
135
- }
136
- }
137
-
138
-
139
-
140
- div.playlist-item {
141
- display: flex;
142
- flex-direction: row;
143
- align-items: center;
144
- align-content: center;
145
- background: $site-color-grey-dark;
146
- color: $site-color-gallery;
147
- padding: 15px;
148
- height: 75px;
149
- transition: opacity .25s linear, height .25s linear;
150
- box-shadow: 0px 2px 9px 2px rgba(0, 0, 0, 0.36);
151
-
152
- margin: 0;
153
- overflow: hidden;
154
- text-align: left;
155
- .icon-play {
156
- color: $site-color-green;
157
- }
158
- &.current {
159
- .list-item-title {
160
- font-size: 16px;
161
- font-weight: 900;
162
- line-height: 1.2;
163
- }
164
- background: lighten($site-color-grey-dark, 5);
165
- border: 1px solid $site-color-green;
166
- }
167
- &:hover {
168
- background: lighten($site-color-grey-dark, 15);
169
- cursor: pointer;
170
- }
171
- .list-item-title {
172
- font-size: 14px;
173
- font-weight: 600;
174
- line-height: 1.2;
175
- }
176
-
177
- .lesson-info {
178
- height: auto;
179
- flex-grow: 3;
180
- position: relative;
181
- margin-left: 10px;
182
- font-size: 13px;
183
- font-weight: 300;
184
- .egg-icon {
185
- vertical-align: middle;
186
- display: inline;
187
- }
188
- a {
189
- margin-right: 10px;
190
- color: $site-color-silver;
191
- }
192
- span {
193
- margin-right: 5px;
194
- }
195
- .additional {
196
- margin-right: 10px;
197
- color: $site-color-silver;
198
- }
199
- }
200
-
201
- .technology-icon {
202
- width: 33px;
203
- }
204
-
205
- .lesson-pro-tag {
206
- position: relative;
207
- display: inline;
208
- font-size: 11px;
209
- padding: 1px 3px;
210
- margin: 0;
211
- text-align: center;
212
- background-color: red;
213
- color: white;
214
- right: auto;
215
- bottom: auto;
216
- font-weight: 800;
217
- border-radius: 3px;
218
- }
219
- }
220
-
221
- svg.egg-icon {
222
- width: 10px;
223
- height: 13px;
224
-
225
- path, polygon {
226
- fill: $site-color-silver-chalice;
227
- }
228
- }
229
-
230
-
231
-
232
- .technology-icon-holder {
233
- position: relative;
234
- svg.completion-check {
235
- width: 15px;
236
- height: 15px;
237
- position: absolute;
238
- bottom: -3px;
239
- right: -5px;
240
- path, polygon {
241
- fill: lighten($site-color-green, 3);
242
- }
243
- }
244
- }
245
-
246
- @mixin scrollbars($size, $background-color, $foreground-color: mix($background-color, white, 50%)) {
247
- ::-webkit-scrollbar {
248
- width: $size;
249
- height: $size;
250
- }
251
-
252
- ::-webkit-scrollbar-thumb {
253
- background: $foreground-color;
254
- }
255
-
256
- ::-webkit-scrollbar-track {
257
- background: $background-color;
258
- }
259
-
260
- // For Internet Explorer
261
- .inner {
262
- scrollbar-face-color: $foreground-color;
263
- scrollbar-track-color: $background-color;
264
- }
265
- }
266
-
267
- .series-number {
268
- padding-right: 10px;
269
- font-size: 14px;
270
- }
271
-
272
- .scrollable-holder {
273
- @include scrollbars(.5em, $site-color-dark-graphite);
274
- overflow: hidden;
275
- margin-bottom: 25px;
276
- height: 260px;
277
- width: 100%;
278
- padding: 0;
279
- @extend .clearfix;
280
- &:last-child {
281
- margin-bottom: 0;
282
- }
283
- .inner {
284
- overflow: auto;
285
- height: 100%;
286
- position: relative;
287
- }
288
- &.grey {
289
- background-color: $site-color-grey;
290
- }
291
- .series-title {
292
- color: $site-color-silver;
293
- }
294
- .playlist-description {
295
- a {
296
- color: $site-color-grey;
297
- font-weight: 800;
298
- padding: 5px;
299
- }
300
- }
301
- }