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,321 +0,0 @@
1
- .search {
2
-
3
- position: relative;
4
- width: 100%;
5
- padding: 0;
6
-
7
- .small {
8
- font-family: $body-font-family;
9
- }
10
-
11
- > * {
12
- padding-left: 25px;
13
- padding-right: 15px;
14
-
15
- @include respond-to(tablets-small) {
16
- padding-left: 15px;
17
- }
18
- }
19
-
20
- .pagination {
21
- margin-left: 20px;
22
- }
23
-
24
- .search-input-container {
25
- position: relative;
26
- padding-top: 20px;
27
- padding-bottom: 20px;
28
- background-color: $site-color-light-grey;
29
- border-bottom: 1px solid $site-color-grey;
30
- height: 100%;
31
- width: 100%;
32
- }
33
-
34
- .search-page-results-container {
35
- position: relative;
36
- display: flex;
37
- align-items: flex-start;
38
- }
39
-
40
- .search-suggestions {
41
- padding-left: 20px;
42
- font-size: 15px;
43
- margin-top: 25px;
44
- }
45
-
46
- .search-results {
47
- flex-grow: 1;
48
- margin-left: 40px;
49
- border-left: 1px solid rgba(#000, .1);
50
- padding-bottom: 30px;
51
- max-width: 590px;
52
- min-width: 100px;
53
- align-self: stretch;
54
- position: relative;
55
- }
56
-
57
- .search-status {
58
- padding: 0px 5px;
59
- margin: 20px 0;
60
- background-color: $site-color-magenta;
61
- display: inline-block;
62
- color: white;
63
- font-size: 12px;
64
- margin-left: -7px;
65
- font-weight: bold;
66
-
67
- span {display: block; margin: -3px 0;}
68
- }
69
-
70
- .icon-list-alt {
71
- display: inline-block;
72
- position: relative;
73
- margin-left: -2px;
74
- }
75
-
76
- .label-search {
77
- border: 1px solid $site-color-teal;
78
- border-radius: 4px;
79
- background: transparent;
80
- color: $site-color-teal;
81
- font-size: 10px;
82
- font-weight: bold;
83
- display: inline-block;
84
- position: relative;
85
- padding: 1px 3px;
86
- vertical-align: middle;
87
- margin-top: -3px;
88
- }
89
-
90
- .label-size {
91
- @extend .label-search;
92
- font-size: 13px;
93
- border-color: lighten($site-color-light-graphite, 35);
94
- color: $site-color-light-graphite;
95
- padding: 4px 8px;
96
- }
97
-
98
- .technologies {
99
- margin-left: 50px;
100
- margin-right: 20px;
101
- margin-top: 50px;
102
- display: flex;
103
- flex-direction: column;
104
- flex-grow: 1;
105
- max-width: 500px;
106
-
107
- @include respond-to(phones) {
108
- display: none;
109
- }
110
-
111
- @include respond-to(tablets-small) {
112
- margin-left: 30px;
113
- }
114
- }
115
-
116
- .technology {
117
- border: 1px solid lighten($site-color-light-graphite, 35);
118
- border-radius: 4px;
119
- position: relative;
120
- padding: 15px;
121
- width: 225px;
122
- margin-bottom: 20px;
123
- display: inline-flex;
124
- line-height: 1;
125
- align-self: center;
126
- justify-content: center;
127
- align-items: center;
128
- flex-direction: column;
129
- font-size: 13px;
130
-
131
- h4 {
132
- margin: 0;
133
- margin-bottom: 10px;
134
- color: $site-color-dark-graphite;
135
- font-size: 16px;
136
- }
137
-
138
- color: $site-color-light-graphite;
139
- div { position: relative; width: 100%; }
140
- img {
141
- width: 100px;
142
- min-width: 20px;
143
- margin: 15px;
144
- }
145
- .technology-link { margin-top: 15px; font-size: 12px; }
146
- .icon-plus-sign {
147
- color: lighten($site-color-dark-graphite, 20);
148
- font-weight: bold;
149
- white-space: nowrap;
150
- }
151
- }
152
-
153
- .inline-flex {
154
- display: inline-flex;
155
- justify-content: center;
156
- align-items: center;
157
- }
158
-
159
- .lesson-watched-progress {
160
- height: 8px;
161
- width: 100px;
162
- position: relative;
163
- display: inline-block;
164
- margin-right: 5px;
165
- padding-top: 1px;
166
-
167
- .bg { background-color: lighten($site-color-light-graphite, 30); }
168
- .bar { background-color: desaturate($site-color-red, 40); }
169
-
170
- .bg, .bar-container {
171
- position: absolute;
172
- top: -2px; right: 0; bottom: 0; left: 0;
173
- }
174
-
175
- .bar-container { padding: 2px; }
176
- .bar { height: 100%; transition: width .5s ease; }
177
- }
178
-
179
- li {
180
-
181
- display: flex;
182
- max-width: 768px;
183
- width: 100%;
184
- position: relative;
185
- margin-bottom: 35px;
186
- margin-left: -10px;
187
-
188
- div.icon {
189
- position: relative;
190
- padding-top: 10px;
191
- color: $site-color-silver;
192
- font-size: 22px;
193
- span {background-color: white;}
194
- svg path {fill: $site-color-silver}
195
-
196
- a {
197
- color: $site-color-silver;
198
- text-decoration: none;
199
- &:hover {
200
- color: darken($site-color-silver, 20);
201
- }
202
- }
203
-
204
- .icon-check-sign {
205
- font-size: 11px;
206
- position: absolute;
207
- top: 25px;
208
- right: -2px;
209
- z-index: 1;
210
- pointer-events: none;
211
- }
212
- }
213
-
214
- .icon-graduation {
215
- svg {width: 27px; height: 18px;}
216
- display: inline-block;
217
- position: relative;
218
- margin-left: -3px;
219
- }
220
-
221
- div.content {
222
- position: relative;
223
- width: 100%;
224
- padding: 10px;
225
- transition: background-color .5s ease, padding .5s ease;
226
- cursor: pointer;
227
-
228
- &:hover {
229
- background-color: $site-color-light-grey;
230
- }
231
- }
232
-
233
- span.green {
234
- color: $site-color-green;
235
- }
236
-
237
- .search-link, .search-link:hover, .search-link:visited {
238
- text-decoration: none;
239
- }
240
-
241
- .egg-icon {
242
- margin-bottom: -2px;
243
- }
244
-
245
- h4 {
246
- margin: 0;
247
- padding: 0;
248
- font-size: 18px;
249
- color: $site-color-black;
250
- line-height: 1.2;
251
- background-color: transparent;
252
- }
253
-
254
- div.search-summary blockquote {
255
- border: 0;
256
- padding: 0;
257
- margin: 0;
258
- }
259
-
260
- div.search-summary * {
261
- color: $site-color-medium-graphite;
262
- font-size: 14px;
263
- position: relative;
264
- max-width: 100%;
265
- overflow: hidden;
266
- margin-bottom: 5px;
267
- margin-top: 8px;
268
- line-height: 1.1;
269
- a { color: $link-color; }
270
- }
271
-
272
- em {
273
- font-weight: bold;
274
- }
275
-
276
- .search-info {
277
- margin-top: 10px;
278
- font-size: 16px;
279
- img {display: inline-block; max-height: 20px; max-width: 20px;}
280
- display: flex;
281
- justify-content: space-between;
282
-
283
- > div { flex-grow: 1; }
284
-
285
- @include respond-to(phones) {
286
- flex-direction: column;
287
- > div { flex-grow: 0; }
288
- }
289
- }
290
-
291
- .search-info-item {
292
- padding-right: 10px;
293
- white-space: nowrap;
294
- @include respond-to(tablets-small) {
295
- line-height: 2.5;
296
- }
297
- }
298
-
299
- span.lesson-pro-tag {
300
- position: relative;
301
- display: inline;
302
- font-size: 13px;
303
- max-width: 25px;
304
- max-height: 25px;
305
- padding: 0px 8px;
306
- margin: 0;
307
- text-align: center;
308
- background-color: $site-color-red;
309
- color: white;
310
- font-weight: bold;
311
- border-radius: 3px;
312
- }
313
-
314
- .search-series {
315
- font-size: 13px;
316
- span { font-size: 11px; text-transform: uppercase; font-weight: bold; }
317
- }
318
-
319
- }
320
-
321
- }
@@ -1,267 +0,0 @@
1
- /* Forum */
2
-
3
- #topic,
4
- #forum {
5
- > .title {
6
- margin-bottom: 25px;
7
- }
8
- .breadcrumbs {
9
- margin-bottom: 30px;
10
- }
11
- }
12
-
13
- .forum-actions-holder {
14
- @extend .clearfix;
15
- margin-bottom: 20px;
16
- text-align: right;
17
- &.align-left {
18
- text-align: left;
19
- > a:first-child {
20
- margin-left: 0;
21
- }
22
- }
23
- > a {
24
- font-size: 16px;
25
- line-height: 22px;
26
- color: $site-color-light-graphite;
27
- text-decoration: underline;
28
- &:hover {
29
- color: $site-color-medium-graphite;
30
- text-decoration: none;
31
- }
32
- & + a {
33
- margin-left: 20px;
34
- }
35
- }
36
- .more-actions-dropdown {
37
- display: inline-block;
38
- margin-left: 20px;
39
- .dropdown-toggle {
40
- font-size: 16px;
41
- line-height: 22px;
42
- color: $site-color-light-graphite;
43
- cursor: pointer;
44
- }
45
- .dropdown-menu {
46
- border-radius: 0;
47
- }
48
- }
49
- }
50
-
51
- .forum-description {
52
- margin-bottom: 20px;
53
- }
54
-
55
- .discussed-lesson-holder {
56
- padding: 25px 30px 20px 30px;
57
- background-color: $site-color-grey;
58
- margin-bottom: 30px;
59
- display: flex;
60
- .link-watch-now {
61
- margin-top: 20px;
62
- display: inline-block;
63
- }
64
- .media-holder {
65
- img {
66
- width: 350px;
67
- }
68
- }
69
- .lesson-thumb-holder {
70
- margin-left: 30px;
71
- flex-shrink: 0;
72
- }
73
- }
74
-
75
- .forum-title {
76
- display: flex;
77
- margin-bottom: 25px;
78
- align-items: center;
79
- .forum-logo-holder {
80
- display: flex;
81
- flex-grow: 1;
82
- align-items: center;
83
- }
84
- .forum-logo {
85
- width: 70px;
86
- margin-right: 25px;
87
- }
88
- }
89
- .forum-items-holder {
90
- @extend .list-unstyled;
91
- > li {
92
- display: flex;
93
- align-items: center;
94
- margin-bottom: 2px;
95
- &:last-child {
96
- margin-bottom: 0;
97
- }
98
- }
99
- .subject-holder {
100
- display: flex;
101
- align-self: stretch;
102
- align-items: flex-start;
103
- justify-content: center;
104
- flex-grow: 1;
105
- padding: 0 20px 0 40px;
106
- background: $site-color-grey;
107
- flex-direction: column;
108
- flex-basis: 0;
109
- }
110
- .subject {
111
- width: 100%;
112
- font-size: 24px;
113
- line-height: 28px;
114
- font-weight: 600;
115
- margin-bottom: 5px;
116
- @include text-overflow();
117
- a {
118
- color: $site-color-dark-graphite;
119
- &:hover {
120
- text-decoration: underline;
121
- }
122
- }
123
- }
124
- .started-by {
125
- font-size: 16px;
126
- color: $site-color-light-graphite;
127
- }
128
- .forum-starter {
129
- font-weight: 600;
130
- color: $site-color-dark-graphite;
131
- }
132
- .replies-number-holder {
133
- display: flex;
134
- flex-shrink: 0;
135
- flex-direction: column;
136
- justify-content: center;
137
- align-items: center;
138
- width: 110px;
139
- height: 108px;
140
- background: $site-color-red;
141
- font-size: 16px;
142
- color: $site-color-white;
143
- .value {
144
- font-size: 30px;
145
- line-height: 30px;
146
- font-weight: 600;
147
- }
148
- }
149
- }
150
-
151
- .reply-post-wrapper,
152
- .edit-post-wrapper {
153
- margin-top: 30px;
154
- .holders-wrapper {
155
- display: flex;
156
- }
157
- .input-holder {
158
- flex-grow: 1;
159
- label {
160
- display: none;
161
- }
162
- textarea {
163
- min-height: 130px;
164
- }
165
- }
166
- .button-holder {
167
- padding: 0 0 0 30px;
168
- }
169
- }
170
-
171
- @include respond-to(tablets-small) {
172
- .discussed-lesson-holder {
173
- margin-bottom: 20px;
174
- .media-holder {
175
- img {
176
- width: 250px;
177
- }
178
- }
179
- .lesson-thumb-holder {
180
- margin-left: 20px;
181
- }
182
- }
183
- .forum-items-holder {
184
- .subject-holder {
185
- padding: 0 20px 0 20px;
186
-
187
- }
188
- .subject {
189
- font-size: 20px;
190
- line-height: 24px;
191
- margin-bottom: 3px;
192
- }
193
- .started-by {
194
- font-size: 15px;
195
- }
196
- .replies-number-holder {
197
- width: 80px;
198
- height: 80px;
199
- font-size: 15px;
200
- .value {
201
- font-size: 26px;
202
- line-height: 26px;
203
- }
204
- }
205
- }
206
- }
207
-
208
- @include respond-to(phones) {
209
- .discussed-lesson-holder {
210
- flex-direction: column-reverse;
211
- margin-bottom: 15px;
212
- .media-holder {
213
- img {
214
- width: 100%;
215
- }
216
- }
217
- .lesson-thumb-holder {
218
- margin-left: 0;
219
- margin-bottom: 20px;
220
- }
221
- }
222
- .forum-title {
223
- margin-bottom: 15px;
224
- .forum-logo {
225
- width: 30px;
226
- margin-right: 15px;
227
- }
228
- }
229
- .forum-items-holder {
230
- .subject-holder {
231
- padding: 0 15px 0 15px;
232
-
233
- }
234
- .subject {
235
- font-size: 16px;
236
- line-height: 20px;
237
- margin-bottom: 3px;
238
- }
239
- .started-by {
240
- font-size: 13px;
241
- }
242
- .replies-number-holder {
243
- width: 60px;
244
- height: 60px;
245
- font-size: 14px;
246
- .value {
247
- font-size: 20px;
248
- line-height: 20px;
249
- }
250
- }
251
- }
252
- .reply-post-wrapper,
253
- .edit-post-wrapper {
254
- .holders-wrapper {
255
- flex-direction: column;
256
- }
257
- .input-holder {
258
- margin-bottom: 20px;
259
- textarea {
260
- min-height: 60px;
261
- }
262
- }
263
- .button-holder {
264
- padding: 0;
265
- }
266
- }
267
- }