egghead-styles 1.0.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +36 -0
  3. data/app/assets/images/elements/egg.svg +8 -0
  4. data/app/assets/images/elements/section-title-bg.png +0 -0
  5. data/app/assets/stylesheets/_old/admin/dashboard.css.scss +7 -0
  6. data/app/assets/stylesheets/_old/admin/discount_codes.css.scss +3 -0
  7. data/app/assets/stylesheets/_old/admin/promos.css.scss +3 -0
  8. data/app/assets/stylesheets/_old/admin/special_offers.css.scss +3 -0
  9. data/app/assets/stylesheets/_old/components/_jumbotron.css.scss +65 -0
  10. data/app/assets/stylesheets/_old/components/_navbar.css.scss +91 -0
  11. data/app/assets/stylesheets/_old/components/_pricing-table.css.scss +188 -0
  12. data/app/assets/stylesheets/_old/components/_sales-item.css.scss +29 -0
  13. data/app/assets/stylesheets/_old/components/_search.css.scss +81 -0
  14. data/app/assets/stylesheets/_old/components/components.css.scss +5 -0
  15. data/app/assets/stylesheets/_old/forum/egghead/admin/groups.css.scss +7 -0
  16. data/app/assets/stylesheets/_old/forum/egghead/forums.css.scss +24 -0
  17. data/app/assets/stylesheets/_old/forum/egghead/topics.css.scss +23 -0
  18. data/app/assets/stylesheets/_old/forum/forum-egghead.css.scss +2 -0
  19. data/app/assets/stylesheets/_old/instructor/dashboard.css.scss +3 -0
  20. data/app/assets/stylesheets/_old/koudoku/pricing-table.css.scss +93 -0
  21. data/app/assets/stylesheets/_old/pages/articles/articles.css.scss +189 -0
  22. data/app/assets/stylesheets/_old/pages/home/home.css.scss +29 -0
  23. data/app/assets/stylesheets/_old/pages/instructor/instructor.css.scss +12 -0
  24. data/app/assets/stylesheets/_old/pages/jobs/jobs.css.scss +117 -0
  25. data/app/assets/stylesheets/_old/pages/lessons/lessons.css.scss +321 -0
  26. data/app/assets/stylesheets/_old/pages/pages.css.scss +7 -0
  27. data/app/assets/stylesheets/_old/pages/series/series.css.scss +0 -0
  28. data/app/assets/stylesheets/_old/pages/training/training.css.scss +19 -0
  29. data/app/assets/stylesheets/_old/player.css.scss +1 -0
  30. data/app/assets/stylesheets/_old/scaffolds.css.scss +69 -0
  31. data/app/assets/stylesheets/_old/socialbar.css.scss +71 -0
  32. data/app/assets/stylesheets/_old/syntax.css.scss +81 -0
  33. data/app/assets/stylesheets/_old/util/_padding.css.scss +8 -0
  34. data/app/assets/stylesheets/_old/util/util.css.scss +1 -0
  35. data/app/assets/stylesheets/application.css.scss +85 -0
  36. data/app/assets/stylesheets/components/_advantages.css.scss +17 -0
  37. data/app/assets/stylesheets/components/_autocomplete-input.css.scss +74 -0
  38. data/app/assets/stylesheets/components/_cc-form.css.scss +99 -0
  39. data/app/assets/stylesheets/components/_corporate-logos.css.scss +27 -0
  40. data/app/assets/stylesheets/components/_home.css.scss +15 -0
  41. data/app/assets/stylesheets/components/_instructor-list.css.scss +29 -0
  42. data/app/assets/stylesheets/components/_onoff_switch.css.scss +46 -0
  43. data/app/assets/stylesheets/components/_pricing-grid.css.scss +177 -0
  44. data/app/assets/stylesheets/components/_search.css.scss +321 -0
  45. data/app/assets/stylesheets/components/forum/_forum.scss +267 -0
  46. data/app/assets/stylesheets/components/forum/_posts.scss +105 -0
  47. data/app/assets/stylesheets/components/lessons/_lesson-email-blocker.css.scss +83 -0
  48. data/app/assets/stylesheets/components/lessons/_lesson-playlist-control.css.scss +301 -0
  49. data/app/assets/stylesheets/components/lessons/_lesson-review-page.css.scss +30 -0
  50. data/app/assets/stylesheets/components/lessons/_lesson-series-list.css.scss +170 -0
  51. data/app/assets/stylesheets/components/lessons/_lesson_pro_placeholder.css.scss +0 -0
  52. data/app/assets/stylesheets/components/lessons/_lessons-list.scss +52 -0
  53. data/app/assets/stylesheets/components/lessons/_popular-lesson-list.css.scss +69 -0
  54. data/app/assets/stylesheets/components/playlists/_add-to-button.scss +289 -0
  55. data/app/assets/stylesheets/components/playlists/_playlist.css.scss +29 -0
  56. data/app/assets/stylesheets/components/technology/_technology-pages.css.scss +3 -0
  57. data/app/assets/stylesheets/components/technology/page-all-technologies/_page-all-technologies.css.scss +798 -0
  58. data/app/assets/stylesheets/components/technology/page-single-technology/_page-single-technology.css.scss +1 -0
  59. data/app/assets/stylesheets/components/technology/shared/_shared.css.scss +66 -0
  60. data/app/assets/stylesheets/globals/_bootstrap-and-overrides.css.scss +66 -0
  61. data/app/assets/stylesheets/globals/_colors.css.scss +23 -0
  62. data/app/assets/stylesheets/globals/_fonts.css.scss +1533 -0
  63. data/app/assets/stylesheets/globals/_grid-helpers.scss +26 -0
  64. data/app/assets/stylesheets/globals/_mixins.css.scss +129 -0
  65. data/app/assets/stylesheets/globals/_variables.css.scss +144 -0
  66. data/app/assets/stylesheets/plugins/chosen.css.scss +93 -0
  67. data/app/assets/stylesheets/plugins/flipclock.css.scss +440 -0
  68. data/app/assets/stylesheets/sections/_footer.css.scss +87 -0
  69. data/app/assets/stylesheets/sections/_header.css.scss +256 -0
  70. data/app/assets/stylesheets/sections/_hero.css.scss +455 -0
  71. data/app/assets/stylesheets/shared/_alerts.css.scss +46 -0
  72. data/app/assets/stylesheets/shared/_buttons.css.scss +54 -0
  73. data/app/assets/stylesheets/shared/_forms.css.scss +478 -0
  74. data/app/assets/stylesheets/shared/_miscellaneous.scss +7 -0
  75. data/app/assets/stylesheets/shared/_pagination.scss +80 -0
  76. data/app/assets/stylesheets/shared/_styles.css.scss +1373 -0
  77. data/app/assets/stylesheets/shared/_titles.css.scss +39 -0
  78. data/app/assets/stylesheets/shared/_typography.css.scss +305 -0
  79. data/lib/egghead/styles.rb +10 -0
  80. data/lib/egghead/styles/version.rb +5 -0
  81. metadata +152 -0
@@ -0,0 +1,301 @@
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
+ }
@@ -0,0 +1,30 @@
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
+ }
@@ -0,0 +1,170 @@
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
+ }