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,52 @@
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
+ }
@@ -0,0 +1,69 @@
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
+ }
@@ -0,0 +1,289 @@
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
+ }
@@ -0,0 +1,29 @@
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
+ }
@@ -0,0 +1,3 @@
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';