PluginProbe
GamiPress – Gamification plugin to reward points, badges & ranks in WordPress, now with AI / 8.0.5
GamiPress – Gamification plugin to reward points, badges & ranks in WordPress, now with AI v8.0.5
8.0.5 8.0.4 8.0.3 8.0.1 8.0.2 8.0.0 7.9.9.7 7.9.9.6 7.9.9.5 7.9.9.4 7.9.9.3 7.9.9.2 7.9.9.1 7.9.9 7.9.8 7.9.7 7.9.6 7.9.5 7.9.4 7.9.3 7.9.2 7.9.1 7.9.0 7.8.9 7.8.8 All 47 releases
← All changes | assets/css/gamipress.css +814 -0 7.8.8 → 8.0.5 View file →
@@ -1,0 +1,814 @@
1 +/* --------------------------------------
2 + Spinner
3 + -------------------------------------- */
4 +
5 +.gamipress-spinner {
6 + display: block;
7 + margin: 4px auto;
8 + width: 20px;
9 + height: 20px;
10 + background: url('../img/spinner.gif');
11 +}
12 +
13 +
14 +/* --------------------------------------
15 + Achievements List
16 + -------------------------------------- */
17 +
18 +#gamipress-achievements-filter {
19 + float: left;
20 + margin-bottom: 1em;
21 +}
22 +
23 +#gamipress-achievements-search {
24 + margin-right: 5px;
25 + margin-bottom: 1em;
26 + float: right;
27 +}
28 +
29 +#gamipress-achievements-container:not([class*="gamipress-columns"]),
30 +#achievements_list_load_more,
31 +#gamipress-achievements-filters-wrap {
32 + display: block;
33 + margin: 0 auto;
34 + clear: both;
35 +}
36 +
37 +#gamipress-achievements-filter select {
38 + max-width: 100%;
39 + margin-left: 5px;
40 +}
41 +
42 +.gamipress-achievements-list .gamipress-achievement {
43 + padding: 1em 0;
44 +}
45 +
46 +.gamipress-no-results {
47 + width: 100%;
48 +}
49 +
50 +/* --------------------------------------
51 + Layout Utility
52 + -------------------------------------- */
53 +
54 +.gamipress-achievement:not(.gamipress-layout-none),
55 +.gamipress-rank:not(.gamipress-layout-none),
56 +.single-achievement.achievement-wrap:not(.gamipress-layout-none),
57 +.single-rank.rank-wrap:not(.gamipress-layout-none),
58 +.gamipress-user-points:not(.gamipress-layout-none) {
59 + display: -webkit-box;
60 + display: -webkit-flex;
61 + display: -ms-flexbox;
62 + display: flex;
63 + -webkit-flex-wrap: wrap;
64 + -ms-flex-wrap: wrap;
65 + flex-wrap: wrap;
66 +
67 + align-self: flex-start;
68 +
69 + width: 100%;
70 +
71 + margin-bottom: 1rem;
72 +}
73 +
74 +.gamipress-points-types:not(.gamipress-layout-none) .gamipress-points-type {
75 + display: -webkit-box;
76 + display: -webkit-flex;
77 + display: -ms-flexbox;
78 + display: flex;
79 + -webkit-flex-wrap: wrap;
80 + -ms-flex-wrap: wrap;
81 + flex-wrap: wrap;
82 +
83 + align-self: flex-start;
84 +}
85 +
86 +/* Force box sizing to box's border instead of box's content */
87 +.gamipress-achievement:not(.gamipress-layout-none) *,
88 +.gamipress-rank:not(.gamipress-layout-none) *,
89 +.single-achievement.achievement-wrap:not(.gamipress-layout-none) *,
90 +.single-rank.rank-wrap:not(.gamipress-layout-none) *,
91 +.gamipress-user-points:not(.gamipress-layout-none) *,
92 +.gamipress-points-types:not(.gamipress-layout-none) * {
93 + box-sizing: border-box;
94 +}
95 +
96 +/* Left and Right */
97 +.gamipress-achievement.gamipress-layout-left .gamipress-achievement-image,
98 +.gamipress-achievement.gamipress-layout-right .gamipress-achievement-image,
99 +.gamipress-rank.gamipress-layout-left .gamipress-rank-image,
100 +.gamipress-rank.gamipress-layout-right .gamipress-rank-image,
101 +.single-achievement.gamipress-layout-left .gamipress-achievement-image,
102 +.single-achievement.gamipress-layout-right .gamipress-achievement-image,
103 +.single-rank.gamipress-layout-left .gamipress-rank-image,
104 +.single-rank.gamipress-layout-right .gamipress-rank-image,
105 +.gamipress-points-types.gamipress-layout-left .gamipress-points-type-image,
106 +.gamipress-points-types.gamipress-layout-right .gamipress-points-type-image {
107 + width: 20%;
108 +}
109 +
110 +.gamipress-achievement.gamipress-layout-left .gamipress-achievement-image,
111 +.gamipress-rank.gamipress-layout-left .gamipress-rank-image,
112 +.single-achievement.gamipress-layout-left .gamipress-achievement-image,
113 +.single-rank.gamipress-layout-left .gamipress-rank-image,
114 +.gamipress-points-types.gamipress-layout-left .gamipress-points-type-image {
115 + padding-right: 1em;
116 +}
117 +
118 +.gamipress-achievement.gamipress-layout-right .gamipress-achievement-image,
119 +.gamipress-rank.gamipress-layout-right .gamipress-rank-image,
120 +.single-achievement.gamipress-layout-right .gamipress-achievement-image,
121 +.single-rank.gamipress-layout-right .gamipress-rank-image,
122 +.gamipress-points-types.gamipress-layout-right .gamipress-points-type-image {
123 + padding-left: 1em;
124 +}
125 +
126 +.gamipress-achievement.gamipress-layout-left .gamipress-achievement-description,
127 +.gamipress-achievement.gamipress-layout-right .gamipress-achievement-description,
128 +.gamipress-rank.gamipress-layout-left .gamipress-rank-description,
129 +.gamipress-rank.gamipress-layout-right .gamipress-rank-description,
130 +.single-achievement.gamipress-layout-left .gamipress-achievement-description,
131 +.single-achievement.gamipress-layout-right .gamipress-achievement-description,
132 +.single-rank.gamipress-layout-left .gamipress-rank-description,
133 +.single-rank.gamipress-layout-right .gamipress-rank-description,
134 +.gamipress-points-types.gamipress-layout-left .gamipress-points-type-description,
135 +.gamipress-points-types.gamipress-layout-right .gamipress-points-type-description {
136 + margin-top: 0;
137 + width: 80%;
138 +}
139 +
140 +.gamipress-achievement.gamipress-layout-right,
141 +.gamipress-rank.gamipress-layout-right,
142 +.single-achievement.gamipress-layout-right,
143 +.single-rank.gamipress-layout-right,
144 +.gamipress-user-points.gamipress-layout-right .gamipress-points,
145 +.gamipress-points-types.gamipress-layout-right .gamipress-points-type {
146 + flex-direction: row-reverse;
147 +}
148 +
149 +.gamipress-user-points.gamipress-layout-left .gamipress-points,
150 +.gamipress-user-points.gamipress-layout-right .gamipress-points {
151 + display: -webkit-box;
152 + display: -webkit-flex;
153 + display: -ms-flexbox;
154 + display: flex;
155 + align-items: center;
156 +}
157 +
158 +.gamipress-user-points.gamipress-layout-right .gamipress-points {
159 + justify-content: flex-end;
160 +}
161 +
162 +/* Top and Bottom */
163 +.gamipress-achievement.gamipress-layout-top .gamipress-achievement-image,
164 +.gamipress-achievement.gamipress-layout-bottom .gamipress-achievement-image,
165 +.gamipress-rank.gamipress-layout-top .gamipress-rank-image,
166 +.gamipress-rank.gamipress-layout-bottom .gamipress-rank-image,
167 +.single-achievement.gamipress-layout-top .gamipress-achievement-image,
168 +.single-achievement.gamipress-layout-bottom .gamipress-achievement-image,
169 +.single-rank.gamipress-layout-top .gamipress-rank-image,
170 +.single-rank.gamipress-layout-bottom .gamipress-rank-image,
171 +.gamipress-points-types.gamipress-layout-top .gamipress-points-type-image,
172 +.gamipress-points-types.gamipress-layout-bottom .gamipress-points-type-image {
173 + width: 100%;
174 +}
175 +
176 +.gamipress-achievement.gamipress-layout-top .gamipress-achievement-image,
177 +.gamipress-rank.gamipress-layout-top .gamipress-rank-image,
178 +.single-achievement.gamipress-layout-top .gamipress-achievement-image,
179 +.single-rank.gamipress-layout-top .gamipress-rank-image,
180 +.gamipress-points-types.gamipress-layout-top .gamipress-points-type-image {
181 + padding-bottom: 1em;
182 +}
183 +
184 +.gamipress-achievement.gamipress-layout-bottom .gamipress-achievement-image,
185 +.gamipress-rank.gamipress-layout-bottom .gamipress-rank-image,
186 +.single-achievement.gamipress-layout-bottom .gamipress-achievement-image,
187 +.single-rank.gamipress-layout-bottom .gamipress-rank-image,
188 +.gamipress-points-types.gamipress-layout-bottom .gamipress-points-type-image {
189 + padding-top: 1em;
190 +}
191 +
192 +.gamipress-achievement.gamipress-layout-top .gamipress-achievement-description,
193 +.gamipress-achievement.gamipress-layout-bottom .gamipress-achievement-description,
194 +.gamipress-rank.gamipress-layout-top .gamipress-rank-description,
195 +.gamipress-rank.gamipress-layout-bottom .gamipress-rank-description,
196 +.single-achievement.gamipress-layout-top .gamipress-achievement-description,
197 +.single-achievement.gamipress-layout-bottom .gamipress-achievement-description,
198 +.single-rank.gamipress-layout-top .gamipress-rank-description,
199 +.single-rank.gamipress-layout-bottom .gamipress-rank-description,
200 +.gamipress-points-types.gamipress-layout-top .gamipress-points-type-description,
201 +.gamipress-points-types.gamipress-layout-bottom .gamipress-points-type-description {
202 + width: 100%;
203 +}
204 +
205 +.gamipress-achievement.gamipress-layout-bottom,
206 +.gamipress-rank.gamipress-layout-bottom,
207 +.single-achievement.gamipress-layout-bottom,
208 +.single-rank.gamipress-layout-bottom,
209 +.gamipress-user-points.gamipress-layout-bottom .gamipress-points,
210 +.gamipress-points-types.gamipress-layout-bottom .gamipress-points-type {
211 + flex-direction: column-reverse;
212 +}
213 +
214 +.gamipress-user-points.gamipress-layout-top .gamipress-points,
215 +.gamipress-user-points.gamipress-layout-bottom .gamipress-points {
216 + text-align: center;
217 +}
218 +
219 +.gamipress-user-points.gamipress-layout-top .gamipress-user-points-image,
220 +.gamipress-user-points.gamipress-layout-bottom .gamipress-user-points-image {
221 + width: 100%;
222 +}
223 +
224 +/* --------------------------------------
225 + Align Utility
226 + -------------------------------------- */
227 +
228 +.gamipress-align-left {
229 + text-align: left;
230 +}
231 +
232 +.gamipress-align-left .gamipress-share-buttons {
233 + justify-content: flex-start;
234 +}
235 +
236 +.gamipress-align-center {
237 + text-align: center;
238 +}
239 +
240 +.gamipress-align-center .gamipress-share-buttons {
241 + justify-content: center;
242 +}
243 +
244 +.gamipress-align-right {
245 + text-align: right;
246 +}
247 +
248 +.gamipress-align-right .gamipress-share-buttons {
249 + justify-content: flex-end;
250 +}
251 +
252 +.gamipress-align-justify {
253 + text-align: justify;
254 +}
255 +
256 +/* --------------------------------------
257 + Columns Utility
258 + -------------------------------------- */
259 +
260 +[class*="gamipress-columns"] {
261 + display: -webkit-box;
262 + display: -webkit-flex;
263 + display: -ms-flexbox;
264 + display: flex;
265 +
266 + -webkit-flex-wrap: wrap;
267 + -ms-flex-wrap: wrap;
268 + flex-wrap: wrap;
269 +
270 + width: 100%;
271 +}
272 +
273 +[class*="gamipress-columns"] > .gamipress-achievement,
274 +[class*="gamipress-columns"] > .gamipress-points,
275 +[class*="gamipress-columns"] > .gamipress-points-type,
276 +[class*="gamipress-columns"] .gamipress-rank {
277 + width: 100%;
278 +}
279 +
280 +/* Force box sizing to box's border instead of box's content */
281 +[class*="gamipress-columns"] * {
282 + box-sizing: border-box;
283 +}
284 +
285 +.gamipress-columns-small-2 > .gamipress-achievement,
286 +.gamipress-columns-small-2 > .gamipress-points,
287 +.gamipress-columns-small-2 > .gamipress-points-type,
288 +.gamipress-columns-small-2 .gamipress-rank {
289 + width: 50%;
290 +}
291 +
292 +.gamipress-columns-small-3 > .gamipress-achievement,
293 +.gamipress-columns-small-3 > .gamipress-points,
294 +.gamipress-columns-small-3 > .gamipress-points-type,
295 +.gamipress-columns-small-3 .gamipress-rank {
296 + width: 33%;
297 +}
298 +
299 +.gamipress-columns-small-4 > .gamipress-achievement,
300 +.gamipress-columns-small-4 > .gamipress-points,
301 +.gamipress-columns-small-4 > .gamipress-points-type,
302 +.gamipress-columns-small-4 .gamipress-rank {
303 + width: 25%;
304 +}
305 +
306 +.gamipress-columns-small-5 > .gamipress-achievement,
307 +.gamipress-columns-small-5 > .gamipress-points,
308 +.gamipress-columns-small-5 > .gamipress-points-type,
309 +.gamipress-columns-small-5 .gamipress-rank {
310 + width: 20%;
311 +}
312 +
313 +.gamipress-columns-small-6 > .gamipress-achievement,
314 +.gamipress-columns-small-6 > .gamipress-points,
315 +.gamipress-columns-small-6 > .gamipress-points-type,
316 +.gamipress-columns-small-6 .gamipress-rank {
317 + width: 16.6%;
318 +}
319 +
320 +@media screen and (min-width: 768px) {
321 +
322 + #gamipress-achievements-container[class*="gamipress-columns"] > .gamipress-achievement,
323 + .gamipress-user-points[class*="gamipress-columns"] > .gamipress-points,
324 + .gamipress-points-types[class*="gamipress-columns"] > .gamipress-points-type,
325 + .gamipress-ranks-container[class*="gamipress-columns"] .gamipress-rank {
326 + padding: 1em;
327 + overflow: hidden;
328 + border-bottom: none;
329 + }
330 +
331 + .gamipress-columns-2 > .gamipress-achievement,
332 + .gamipress-columns-2 > .gamipress-points,
333 + .gamipress-columns-2 > .gamipress-points-type,
334 + .gamipress-columns-2 .gamipress-rank {
335 + width: 50%;
336 + }
337 +
338 + .gamipress-columns-3 > .gamipress-achievement,
339 + .gamipress-columns-3 > .gamipress-points,
340 + .gamipress-columns-3 > .gamipress-points-type,
341 + .gamipress-columns-3 .gamipress-rank {
342 + width: 33%;
343 + }
344 +
345 + .gamipress-columns-4 > .gamipress-achievement,
346 + .gamipress-columns-4 > .gamipress-points,
347 + .gamipress-columns-4 > .gamipress-points-type,
348 + .gamipress-columns-4 .gamipress-rank {
349 + width: 25%;
350 + }
351 +
352 + .gamipress-columns-5 > .gamipress-achievement,
353 + .gamipress-columns-5 > .gamipress-points,
354 + .gamipress-columns-5 > .gamipress-points-type,
355 + .gamipress-columns-5 .gamipress-rank {
356 + width: 20%;
357 + }
358 +
359 + .gamipress-columns-6 > .gamipress-achievement,
360 + .gamipress-columns-6 > .gamipress-points,
361 + .gamipress-columns-6 > .gamipress-points-type,
362 + .gamipress-columns-6 .gamipress-rank {
363 + width: 16.6%;
364 + }
365 +
366 +}
367 +
368 +/* Achievement and rank earned status styles */
369 +.gamipress-achievement .gamipress-achievement-image,
370 +.gamipress-rank .gamipress-rank-image,
371 +.achievement-wrap .gamipress-achievement-image,
372 +.rank-wrap .gamipress-rank-image {
373 + opacity: .4;
374 +}
375 +
376 +.gamipress-achievement.user-has-earned .gamipress-achievement-image,
377 +.gamipress-rank.user-has-earned .gamipress-rank-image,
378 +.user-has-earned .achievement-wrap .gamipress-achievement-image,
379 +.achievement-wrap.user-has-earned .gamipress-achievement-image,
380 +.user-has-earned .rank-wrap .gamipress-rank-image,
381 +.rank-wrap.user-has-earned .gamipress-rank-image {
382 + opacity: 1;
383 +}
384 +
385 +.gamipress-points-type .gamipress-points-type-awards,
386 +.gamipress-points-type .gamipress-points-type-deducts {
387 + width: 100%;
388 +}
389 +
390 +.gamipress-achievement-points {
391 + font-weight: bold;
392 +}
393 +
394 +#gamipress-achievements-container .gamipress-achievement-title {
395 + display: inline-block;
396 + margin-top: 0;
397 +}
398 +
399 +#achievements_list_load_more {
400 + margin: 1em auto;
401 +}
402 +
403 +.gamipress-open-close-switch {
404 + text-align: right;
405 +}
406 +
407 +.gamipress-extras-window {
408 + display: none;
409 +}
410 +
411 +.gamipress-required-achievements .user-has-earned,
412 +.gamipress-required-requirements .user-has-earned,
413 +.gamipress-achievements-list .gamipress-achievement.user-has-earned .gamipress-extras-window li,
414 +.gamipress-rank.user-has-earned .gamipress-extras-window li,
415 +.gamipress-points-awards .user-has-earned,
416 +.gamipress-points-deducts .user-has-earned {
417 + text-decoration: line-through;
418 +}
419 +
420 +.gamipress-required-achievements .user-has-earned:hover,
421 +.gamipress-required-requirements .user-has-earned:hover,
422 +.gamipress-achievements-list .gamipress-achievement.user-has-earned .gamipress-extras-window li:hover,
423 +.gamipress-rank.user-has-earned .gamipress-extras-window li:hover,
424 +.gamipress-points-awards .user-has-earned:hover,
425 +.gamipress-points-deducts .user-has-earned:hover {
426 + text-decoration: none;
427 +}
428 +
429 +.show-hide-open:after,
430 +.show-hide-close:after {
431 + content: '';
432 + display: inline-block;
433 + background: url('../img/arrow.svg') no-repeat;
434 + background-size: 100%;
435 + width: 22px;
436 + height: 22px;
437 + vertical-align: top;
438 +}
439 +
440 +.show-hide-close:after {
441 + -webkit-transform: rotate(180deg);
442 + -moz-transform: rotate(180deg);
443 + -ms-transform: rotate(180deg);
444 + -o-transform: rotate(180deg);
445 + transform: rotate(180deg);
446 +}
447 +
448 +ul.gamipress-achievement-earners-list,
449 +ul.gamipress-rank-earners-list {
450 + list-style: none;
451 + margin: 0;
452 + padding: 0;
453 +}
454 +
455 +ul.gamipress-achievement-earners-list:after,
456 +ul.gamipress-rank-earners-list:after {
457 + content: "";
458 + clear: both;
459 + display: block;
460 +}
461 +
462 +ul.gamipress-achievement-earners-list li,
463 +ul.gamipress-rank-earners-list li {
464 + position: relative;
465 + float: left;
466 + margin: 5px;
467 + padding: 0;
468 +}
469 +
470 +ul.gamipress-achievement-earners-list li .earner-display-name,
471 +ul.gamipress-rank-earners-list li .earner-display-name {
472 + display: block;
473 +}
474 +
475 +.gamipress-achievement-congratulations,
476 +.gamipress-rank-congratulations {
477 + background: #f0f0f0;
478 + padding: 10px;
479 + margin:1em auto 2em;
480 + border-radius: 5px;
481 +}
482 +
483 +.gamipress-achievement-points {
484 + font-weight: bold;
485 +}
486 +
487 +.gamipress-required-achievements .user-has-earned,
488 +.gamipress-required-requirements .user-has-earned {
489 + text-decoration: line-through;
490 +}
491 +
492 +.gamipress-required-achievements .user-has-earned:hover,
493 +.gamipress-required-requirements .user-has-earned:hover {
494 + text-decoration: none;
495 +}
496 +
497 +/* GamiPress unlock with points form */
498 +.gamipress-achievement-unlock-with-points,
499 +.gamipress-rank-unlock-with-points {
500 + display: inline-block;
501 +}
502 +
503 +/* Inline points image */
504 +img.gamipress-points-thumbnail-inline {
505 + height: 1.1em;
506 + width: auto;
507 + vertical-align: middle !important;
508 + margin-top: -0.3em;
509 +}
510 +
511 +/* Inline shortcodes styles */
512 +.gamipress-inline-points .gamipress-inline-points-thumbnail img,
513 +.gamipress-inline-achievement .gamipress-inline-achievement-thumbnail img,
514 +.gamipress-inline-rank .gamipress-inline-rank-thumbnail img {
515 + vertical-align: middle;
516 +}
517 +
518 +/* --------------------------------------
519 + Share buttons
520 + -------------------------------------- */
521 +
522 +/* Share buttons visibility */
523 +.gamipress-achievement:not(:hover) .gamipress-share-buttons-label,
524 +.gamipress-rank:not(:hover) .gamipress-share-buttons-label,
525 +.gamipress-achievement:not(:hover) .gamipress-share-buttons,
526 +.gamipress-rank:not(:hover) .gamipress-share-buttons {
527 + opacity: 0;
528 +}
529 +
530 +.gamipress-share-buttons-label {
531 + margin-top: 0;
532 + margin-bottom: 2px;
533 +
534 + transition: all ease-in-out 150ms;
535 +}
536 +
537 +.gamipress-share-buttons {
538 + display: flex;
539 + flex-wrap: wrap;
540 + margin-left: -2px;
541 + margin-right: -2px;
542 +
543 + transition: all ease-in-out 150ms;
544 +}
545 +
546 +.gamipress-share-button {
547 + display: inline-block;
548 + width: 28px;
549 + height: 28px;
550 + vertical-align: middle;
551 + padding: 4px;
552 + margin: 2px;
553 + background-repeat: no-repeat;
554 + background-position: center;
555 + background-size: 18px 18px;
556 + box-sizing: border-box;
557 +}
558 +
559 +.gamipress-share-button span {
560 + display: none;
561 +}
562 +
563 +.gamipress-share-button-square {
564 + border-radius: 0;
565 +}
566 +
567 +.gamipress-share-button-rounded {
568 + border-radius: 6px;
569 +}
570 +
571 +.gamipress-share-button-circle {
572 + border-radius: 50%;
573 +}
574 +
575 +.gamipress-share-button-facebook {
576 + background-color: #4766a9;
577 + background-image: url('../img/social/facebook.svg');
578 +}
579 +
580 +.gamipress-share-button-twitter {
581 + background-color: #000;
582 + background-image: url('../img/social/twitter.svg');
583 +}
584 +
585 +.gamipress-share-button-linkedin {
586 + background-color: #0074b3;
587 + background-image: url('../img/social/linkedin.svg');
588 +}
589 +
590 +.gamipress-share-button-pinterest {
591 + background-color: #bd081c;
592 + background-image: url('../img/social/pinterest.svg');
593 +}
594 +
595 +/* --------------------------------------
596 + User Earnings
597 + -------------------------------------- */
598 +
599 +/* User earnings in small areas (with support for iPads screens) */
600 +@media only screen
601 +and (max-width: 760px), (min-device-width: 768px)
602 +and (max-device-width: 1024px) {
603 + #gamipress-earnings-table,
604 + #gamipress-earnings-table thead,
605 + #gamipress-earnings-table tbody,
606 + #gamipress-earnings-table th,
607 + #gamipress-earnings-table td,
608 + #gamipress-earnings-table tr {
609 + display: block;
610 + width: 100%;
611 + }
612 +
613 + #gamipress-earnings-table td.gamipress-earnings-col-thumbnail {
614 + float: left;
615 + width: 18%;
616 + margin-right: 2%;
617 + }
618 +
619 + #gamipress-earnings-table td.gamipress-earnings-col-thumbnail img {
620 + width: 100%;
621 + height: auto;
622 + }
623 +
624 + #gamipress-earnings-table td.gamipress-earnings-col-thumbnail.gamipress-earnings-col-empty {
625 + display: none;
626 + }
627 +
628 + #gamipress-earnings-table td.gamipress-earnings-col-description {
629 + width: 100%;
630 + }
631 +
632 + #gamipress-earnings-table td.gamipress-earnings-col-description:after {
633 + content: " ";
634 + display: block;
635 + clear: both;
636 + }
637 +
638 + #gamipress-earnings-table td.gamipress-earnings-col-date {
639 + width: 50%;
640 + float: left;
641 + }
642 +
643 + #gamipress-earnings-table td.gamipress-earnings-col-points {
644 + width: 50%;
645 + text-align: right;
646 + float: right;
647 + }
648 +
649 + #gamipress-earnings-table td.gamipress-earnings-col-actions {
650 + width: 100%;
651 + float: left;
652 + }
653 +
654 + #gamipress-earnings-table thead tr {
655 + position: absolute;
656 + top: -9999px;
657 + left: -9999px;
658 + }
659 +
660 + #gamipress-earnings-table tr {
661 + padding-bottom: 1em;
662 + border-bottom: 1px solid rgba(0,0,0,0.1);
663 + margin-bottom: 1em;
664 + }
665 +
666 + #gamipress-earnings-table tr:after {
667 + content: " ";
668 + display: block;
669 + clear: both;
670 + }
671 +}
672 +
673 +/* Force responsive */
674 +#gamipress-earnings-table.gamipress-earnings-force-responsive,
675 +#gamipress-earnings-table.gamipress-earnings-force-responsive thead,
676 +#gamipress-earnings-table.gamipress-earnings-force-responsive tbody,
677 +#gamipress-earnings-table.gamipress-earnings-force-responsive th,
678 +#gamipress-earnings-table.gamipress-earnings-force-responsive td,
679 +#gamipress-earnings-table.gamipress-earnings-force-responsive tr {
680 + display: block;
681 +}
682 +
683 +#gamipress-earnings-table.gamipress-earnings-force-responsive td.gamipress-earnings-col-thumbnail {
684 + float: left;
685 + width: 18%;
686 + margin-right: 2%;
687 +}
688 +
689 +#gamipress-earnings-table.gamipress-earnings-force-responsive td.gamipress-earnings-col-thumbnail img {
690 + width: 100%;
691 + height: auto;
692 +}
693 +
694 +#gamipress-earnings-table.gamipress-earnings-force-responsive td.gamipress-earnings-col-thumbnail.gamipress-earnings-col-empty {
695 + display: none;
696 +}
697 +
698 +#gamipress-earnings-table.gamipress-earnings-force-responsive td.gamipress-earnings-col-description {
699 + width: 100%;
700 +}
701 +
702 +#gamipress-earnings-table.gamipress-earnings-force-responsive td.gamipress-earnings-col-description:after {
703 + content: " ";
704 + display: block;
705 + clear: both;
706 +}
707 +
708 +#gamipress-earnings-table.gamipress-earnings-force-responsive td.gamipress-earnings-col-date {
709 + width: 50%;
710 + float: left;
711 +}
712 +
713 +#gamipress-earnings-table.gamipress-earnings-force-responsive td.gamipress-earnings-col-points {
714 + width: 50%;
715 + text-align: right;
716 + float: right;
717 +}
718 +
719 +#gamipress-earnings-table.gamipress-earnings-force-responsive td.gamipress-earnings-col-actions {
720 + width: 100%;
721 + float: left;
722 +}
723 +
724 +#gamipress-earnings-table.gamipress-earnings-force-responsive thead tr {
725 + position: absolute;
726 + top: -9999px;
727 + left: -9999px;
728 +}
729 +
730 +#gamipress-earnings-table.gamipress-earnings-force-responsive tr {
731 + padding-bottom: 1em;
732 + border-bottom: 1px solid rgba(0,0,0,0.1);
733 + margin-bottom: 1em;
734 +}
735 +
736 +#gamipress-earnings-table.gamipress-earnings-force-responsive tr:after {
737 + content: " ";
738 + display: block;
739 + clear: both;
740 +}
741 +
742 +/* --------------------------------------
743 + Email Settings
744 + -------------------------------------- */
745 +
746 +.gamipress-email-settings .gamipress-email-settings-header-yes,
747 +.gamipress-email-settings .gamipress-email-settings-header-no,
748 +.gamipress-email-settings .gamipress-email-settings-column-yes,
749 +.gamipress-email-settings .gamipress-email-settings-column-no {
750 + width: 80px;
751 + text-align: center;
752 +}
753 +
754 +.gamipress-email-settings-loader {
755 + position: absolute;
756 + right: -65px;
757 + font-size: 80%;
758 + width: 60px;
759 +}
760 +
761 +.gamipress-email-settings-loader .gamipress-email-settings-saving {
762 + -webkit-animation: flickerAnimation 1s infinite;
763 + -moz-animation: flickerAnimation 1s infinite;
764 + -o-animation: flickerAnimation 1s infinite;
765 + animation: flickerAnimation 1s infinite;
766 +}
767 +
768 +@keyframes flickerAnimation {
769 + 0% { opacity:1; }
770 + 50% { opacity:0; }
771 + 100% { opacity:1; }
772 +}
773 +@-o-keyframes flickerAnimation{
774 + 0% { opacity:1; }
775 + 50% { opacity:0; }
776 + 100% { opacity:1; }
777 +}
778 +@-moz-keyframes flickerAnimation{
779 + 0% { opacity:1; }
780 + 50% { opacity:0; }
781 + 100% { opacity:1; }
782 +}
783 +@-webkit-keyframes flickerAnimation{
784 + 0% { opacity:1; }
785 + 50% { opacity:0; }
786 + 100% { opacity:1; }
787 +}
788 +
789 +/* --------------------------------------
790 + Shortcode errors
791 + -------------------------------------- */
792 +
793 +.gamipress-shortcode-error {
794 + color: #a00;
795 + background-color: #fdd;
796 + padding: 0.5em 1em;
797 + margin-bottom: 1em;
798 + border-radius: 6px;
799 +}
800 +
801 +.gamipress-shortcode-error .gamipress-shortcode-error-shortcode,
802 +.gamipress-shortcode-error .gamipress-shortcode-error-reminder {
803 + font-size: 75%;
804 +}
805 +
806 +.gamipress-shortcode-error .gamipress-shortcode-error-reminder {
807 + text-align: right;
808 +}
809 +
810 +@media screen and (min-width: 768px) {
811 + .gamipress-shortcode-error .gamipress-shortcode-error-shortcode {
812 + float: left;
813 + }
814 +}