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,30 +0,0 @@
1
- .review-row {
2
- display: flex;
3
-
4
- .review-video{
5
- flex: 3;
6
-
7
- .speed-change{
8
- margin-top: 10px;
9
- width: 50px;
10
- }
11
- }
12
- .review-meta {
13
- flex: 2;
14
-
15
- .tag-input {
16
- width: 100%;
17
- font-size: 13px;
18
- margin-top: 15px;
19
-
20
- }
21
- .add-tag-btn{
22
- float: right;
23
- margin-top: 10px;
24
- }
25
- }
26
-
27
- @include respond-to(tablets-small) {
28
- flex-direction: column;
29
- }
30
- }
@@ -1,170 +0,0 @@
1
- .block-lessons-series {
2
- .item {
3
- margin-bottom: 50px;
4
- padding-bottom: 10px;
5
- &:last-child {
6
- margin-bottom: 0;
7
- }
8
- @include respond-to(tablets-small) {
9
- margin-bottom: 40px;
10
- }
11
- @include respond-to(phones) {
12
- margin-bottom: 30px;
13
- max-width: 100%;
14
- @extend .center-block;
15
- }
16
- }
17
- .media-holder {
18
- background: $site-color-medium-graphite;
19
- min-height: 180px;
20
- text-align: center;
21
- position: relative;
22
- overflow: hidden;
23
- @include respond-to(tablets-large) {
24
- min-height: 146px;
25
- }
26
- @include respond-to(tablets-small) {
27
- min-height: 110px;
28
- }
29
- @include respond-to(phones) {
30
- min-height: 1px;
31
- &.cover-banner {
32
- width: 100%;
33
- height: 0;
34
- position: relative;
35
- padding-bottom: 33.33333%;
36
- .ratio-block {
37
- width: 100%;
38
- height: 100%;
39
- position: absolute;
40
- }
41
- }
42
- }
43
- .img-tech-logo,
44
- .img-egghead-logo {
45
- position: absolute;
46
- top: 0;
47
- right: 0;
48
- bottom: 0;
49
- left: 0;
50
- margin: auto;
51
- height: 100px;
52
- @include respond-to(tablets-small) {
53
- height: 70px;
54
- }
55
- @include respond-to(phones) {
56
- height: 70px;
57
- }
58
- }
59
- .img-admin-tech-logo {
60
- @include respond-to(phones) {
61
- width: 100%;
62
- }
63
- }
64
- .ratio-block {
65
-
66
- }
67
- > a {
68
- display: block;
69
- position: relative;
70
- img {
71
- @include filter(brightness(80%));
72
- }
73
- &:hover {
74
- img {
75
- @include filter(blur(0) brightness(100%));
76
- }
77
- &:before, &:after {
78
- opacity: 0;
79
-
80
- }
81
- }
82
- }
83
- }
84
- }
85
-
86
- .series-lessons-holder {
87
- .series-lessons-list {
88
- margin-bottom: 20px;
89
- @extend .list-unstyled;
90
- text-align: center;
91
- &:first-child {
92
- border-top: 2px solid $site-color-grey;
93
- }
94
- .item {
95
-
96
- position: relative;
97
- padding: 20px 0;
98
- border-bottom: 2px solid $site-color-grey;
99
- &:hover {
100
- background-color: $site-color-grey;
101
- }
102
- &.current {
103
- background-color: $site-color-light-grey;
104
- &:hover {
105
- background-color: $site-color-light-grey;
106
- }
107
- }
108
- &:before {
109
- position: absolute;
110
- content: '';
111
- width: 100%;
112
- height: 100%;
113
- left: 0;
114
- top: 0;
115
- background: none;
116
- }
117
- &.lesson-watched {
118
- &:before {
119
- z-index: 10;
120
- background: rgba(255, 255, 255, 0.6);
121
- }
122
- .pseudo-checkbox {
123
- @extend .icon-check;
124
- color: $site-color-green;
125
- }
126
- }
127
- .part-left {
128
- width: 55px;
129
- height: 1px;
130
- float: left;
131
- position: relative;
132
- }
133
- .pseudo-checkbox {
134
- @include icon-FontAwesome();
135
- color: $site-color-medium-graphite;
136
- @extend .icon-check-empty;
137
- }
138
- .part-right {
139
- width: 90px;
140
- height: 1px;
141
- float: right;
142
- position: relative;
143
- }
144
- .lesson-content {
145
- text-align: left;
146
- overflow: hidden;
147
- }
148
- }
149
- .title {
150
- margin-bottom: 5px;
151
- }
152
- }
153
- .view-all-lessons {
154
- }
155
- }
156
- .lessons-list-holder {
157
- margin-bottom: 40px;
158
- &:last-child {
159
- margin-bottom: 0;
160
- }
161
- }
162
- .series-img {
163
- width: 100%;
164
- }
165
- .series-list-item {
166
- margin-bottom: 50px;
167
- &:last-child {
168
- margin-bottom: 0;
169
- }
170
- }
@@ -1,52 +0,0 @@
1
- .add-to-menu {
2
- .dropdown-toggle {
3
- color: $site-color-silver;
4
- font-size: 16px;
5
- text-decoration: none;
6
- border: none;
7
- font-weight: 400;
8
- white-space: nowrap;
9
- .icon {
10
- margin-right: 5px;
11
- }
12
- &:hover {
13
- color: darken($site-color-silver, 10%);
14
- }
15
- }
16
- }
17
-
18
- .browse-all-lessons-holder {
19
- .add-to-menu .dropdown-menu {
20
- left: -120px;
21
- &:before {
22
- margin-left: 20px;
23
- }
24
- }
25
- .table tr:nth-child(-n+3 ) {
26
- .add-to-menu .dropdown-menu {
27
- top: 100%;
28
- bottom: auto;
29
- margin-top: 10px;
30
- &:before {
31
- border-width: 0 7px 8px 7px;
32
- border-color: transparent transparent $site-color-gallery transparent;
33
- top: -8px;
34
- bottom: auto;
35
- }
36
- }
37
- }
38
- .cell-lesson-category {
39
- .folder {
40
- font-size: 14px;
41
- }
42
- }
43
- .cell-pro {
44
- .go-pro {
45
- padding: 3px 7px;
46
- }
47
- }
48
- }
49
- .cell-lesson-category,
50
- .cell-duration {
51
- white-space: nowrap;
52
- }
@@ -1,69 +0,0 @@
1
- .block-lessons {
2
- &.block-popular-lessons {
3
- margin-bottom: 90px;
4
- @include respond-to(phones) {
5
- margin-bottom: 40px;
6
- }
7
- }
8
- .item-holder {
9
- @include respond-to(phones) {
10
- max-width: 360px;
11
- }
12
- }
13
- .item {
14
- text-align: left;
15
- position: relative;
16
- z-index: 1;
17
- }
18
- }
19
- .media-holder {
20
- .overlay {
21
- @include transition(150ms);
22
- width: 100%;
23
- height: 100%;
24
- position: absolute;
25
- z-index: 100;
26
- cursor: pointer;
27
- background: none rgba(0, 0, 0, 0.6);
28
- &:before {
29
- @include transition(150ms);
30
- font-family: 'FontAwesome';
31
- color: $site-color-grey;
32
- opacity: 0.5;
33
- position: absolute;
34
- left: 50%;
35
- top: 50%;
36
- z-index: 100;
37
- content: '\f01d';
38
- margin-left: -50px;
39
- margin-top: -50px;
40
- font-size: 100px;
41
- line-height: 100%;
42
- text-align: center;
43
- width: 100px;
44
- height: 100px;
45
- @include respond-to(tablets-large) {
46
- margin-left: -40px;
47
- margin-top: -40px;
48
- font-size: 80px;
49
- width: 80px;
50
- height: 80px;
51
- line-height: 80px;
52
- }
53
- @include respond-to(tablets-small) {
54
- margin-left: -30px;
55
- margin-top: -30px;
56
- font-size: 60px;
57
- width: 60px;
58
- height: 60px;
59
- line-height: 60px;
60
- }
61
- }
62
- &:hover {
63
- background: none rgba(0, 0, 0, 0.1);
64
- &:before {
65
- opacity: 0.2;
66
- }
67
- }
68
- }
69
- }
@@ -1,289 +0,0 @@
1
- .AddToLesson {
2
- display: inline-block;
3
- }
4
- .add-to-menu {
5
- &.open {
6
- .dropdown-menu {
7
- display: flex;
8
- flex-direction: column;
9
- }
10
- }
11
- .dropdown-menu {
12
- width: 200px;
13
- height: 160px;
14
- background: none;
15
- margin-bottom: 10px;
16
- left: -82px;
17
- border: none;
18
- padding: 0;
19
- background: $site-color-white;
20
- &:before {
21
- content: '';
22
- position: absolute;
23
- width: 0;
24
- height: 0;
25
- border-style: solid;
26
- border-width: 8px 7px 0 7px;
27
- border-color: $site-color-white transparent transparent transparent;
28
- bottom: -8px;
29
- left: 50%;
30
- margin-left: -7px;
31
- }
32
- }
33
- .menu-header {
34
- border-radius: 3px 3px 0 0;
35
- overflow: hidden;
36
- min-height: 40px;
37
- background: $site-color-gallery;
38
- border-bottom: 1px solid $site-color-silver;
39
- padding: 6px;
40
- }
41
- .create-input {
42
- overflow: hidden;
43
- input {
44
- color: $site-color-dark-graphite;
45
- height: 28px;
46
- border: 1px solid $site-color-silver;
47
- padding: 3px 5px;
48
- line-height: 22px;
49
- &:focus {
50
- outline: none;
51
- }
52
- }
53
- }
54
- .create-submit {
55
- @include transition(50ms);
56
- float: right;
57
- width: 28px;
58
- height: 28px;
59
- display: block;
60
- background: $site-color-blue-dim;
61
- color: $site-color-white;
62
- text-align: center;
63
- font-size: 20px;
64
- line-height: 28px;
65
- padding: 0;
66
- border: none;
67
- outline: none !important;
68
- box-shadow: -2px -2px 2px $site-color-blue-calypso inset;
69
- border-radius: 2px;
70
- &:hover {
71
- color: $site-color-white;
72
- text-decoration: none;
73
- margin-left: 1px;
74
- background: $site-color-blue;
75
- }
76
- &:active {
77
- background: $site-color-blue;
78
- box-shadow: 2px 2px 2px $site-color-blue-calypso inset;
79
- }
80
- &.disabled {
81
- background: $site-color-light-graphite;
82
- box-shadow: none;
83
- opacity: 0.3;
84
- cursor: not-allowed;
85
- }
86
- .icon {
87
- vertical-align: middle;
88
- }
89
- }
90
- .list-holder {
91
- flex-grow: 1;
92
- overflow: auto;
93
- border-radius: 0 0 3px 3px;
94
- //@include scrollbars(.5em, $site-color-dark-graphite);
95
- }
96
- .loader-box {
97
- width: 85px;
98
- text-align: center;
99
- margin: 35px auto 0 auto;
100
- color: $site-color-medium-graphite;
101
- font-size: 12px;
102
- font-weight: 700;
103
- text-transform: uppercase;
104
- }
105
- svg.egghead-loader {
106
- width: 24px;
107
- height: 24px;
108
- display: inline-block;
109
- animation: bounce 2s infinite;
110
- animation-timing-function: ease-in-out;
111
- }
112
- }
113
- .ajax-playlists-list {
114
- padding: 0;
115
- }
116
- .list-playlists-names {
117
- @extend .list-unstyled;
118
- margin-bottom: 5px;
119
- .ajax-playlists-list {
120
- padding: 0;
121
- }
122
- li {
123
- border-bottom: 1px solid $site-color-grey;
124
- &:last-child {
125
- border-bottom: none;
126
- }
127
- .watch-later {
128
- font-style: italic;
129
- color: $site-color-blue-dim;
130
- .icon {
131
- @extend .fa-clock-o;
132
- color: $site-color-blue-dim;
133
- }
134
- &:hover {
135
- color: $site-color-blue;
136
- .icon {
137
- color: $site-color-blue;
138
- }
139
- }
140
- }
141
- &.ajax-playlists-holder {
142
- border: none;
143
- }
144
- a {
145
- display: block;
146
- font-size: 14px;
147
- color: $site-color-medium-graphite;
148
- position: relative;
149
- cursor: pointer;
150
- @include text-overflow();
151
- line-height: 18px;
152
- padding: 5px 6px;
153
- text-decoration: none;
154
- &:hover {
155
- color: $site-color-medium-graphite;
156
- background: $site-color-gallery;
157
- text-decoration: none;
158
- .icon {
159
- color: $site-color-medium-graphite;
160
- }
161
- }
162
- &:focus {
163
- background: none;
164
- text-decoration: none;
165
- }
166
- &.state {
167
- &:before {
168
- position: absolute;
169
- left: 0;
170
- top: 0;
171
- z-index: 1;
172
- content: '';
173
- width: 100%;
174
- height: 100%;
175
- }
176
- &:after {
177
- position: absolute;
178
- z-index: 2;
179
- left: 0;
180
- right: 0;
181
- margin: auto;
182
- }
183
- &.state-has-already {
184
- &:before,
185
- &:after {
186
- display: none;
187
- }
188
- &:hover {
189
- .icon {
190
- color: $site-color-green;
191
- }
192
- }
193
- .icon {
194
- @extend .fa-check-circle;
195
- color: $site-color-green;
196
- }
197
- }
198
- &.state-saving {
199
- cursor: progress;
200
- text-align: center;
201
- &:before {
202
- @include gradient-striped($color: rgba(255,255,255,.15), $angle: -45deg);
203
- @include animation(progress-bar-stripes 2s linear infinite);
204
- background-size: 28px 28px;
205
- background-color: $site-color-blue-dim;
206
- display: block;
207
- }
208
- &:after {
209
- content: 'Saving';
210
- text-transform: uppercase;
211
- font-size: 13px;
212
- font-weight: 600;
213
- font-style: italic;
214
- color: $site-color-white;
215
- display: inline-block;
216
- background: $site-color-blue;
217
- width: 70px;
218
- top: 8px;
219
- line-height: 16px;
220
- border-radius: 8px;
221
- display: block;
222
- }
223
- }
224
- &.state-successful {
225
- cursor: progress;
226
- text-align: center;
227
- &:before {
228
- background: $site-color-green;
229
- }
230
- &:after {
231
- color: $site-color-white;
232
- font-family: 'FontAwesome';
233
- content: "\f00c";
234
- font-size: 16px;
235
- line-height: 16px;
236
- }
237
- }
238
- &.state-unsuccessful {
239
- cursor: progress;
240
- text-align: center;
241
- &:before {
242
- background: $site-color-red;
243
- }
244
- &:after {
245
- color: $site-color-white;
246
- font-family: 'FontAwesome';
247
- content: "\f00d";
248
- font-size: 16px;
249
- line-height: 16px;
250
- }
251
- }
252
- }
253
- }
254
- .icon {
255
- color: $site-color-dusty-gray;
256
- font-size: 13px;
257
- margin-right: 6px;
258
- @extend .fa;
259
- @extend .fa-arrow-circle-right;
260
- }
261
- }
262
- }
263
-
264
- .item-in-list {
265
- &:before,
266
- &:after {
267
- display: none;
268
- }
269
- &:hover {
270
- .icon {
271
- color: $site-color-green;
272
- }
273
- }
274
- .icon {
275
- @extend .fa-check-circle;
276
- color: $site-color-green;
277
- }
278
- }
279
- .lesson-controls-container {
280
- .add-to-menu.open .dropdown-menu {
281
- @include respond-to(phones) {
282
- left: -30px;
283
- &:before {
284
- margin-left: 0;
285
- left: 42px;
286
- }
287
- }
288
- }
289
- }