PluginProbe
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance / 4.6.0
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance v4.6.0
4.7.0 4.6.1 4.6.0 4.5.5 4.5.4 4.5.3 4.5.2 3.2.20 3.2.21 3.2.22 3.2.3 3.2.5 3.2.6 3.2.7 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 3.7.0 3.7.1 All 111 releases
wp-optimize / css / smush.css

smush.css in WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance 4.6.0, at css/smush.css

913 lines 19.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Autosmush
3 */
4 .wpo-fieldgroup .autosmush {
5 display: inline-block;
6 width: 100%;
7 }
8
9 .wpo-fieldgroup .autosmush h3 {
10 font-size: 1.2em;
11 margin: 3px 18px;
12 }
13
14 /**
15 * Compression Server
16 */
17 .wpo-fieldgroup .compression_server div {
18 max-width: 300px;
19 }
20
21 .wpo-fieldgroup .compression_server h2 {
22 margin: 10px 0;
23 }
24
25 .wpo-fieldgroup .compression_server h3 {
26 clear: both;
27 width: 100%;
28 }
29
30 .wpo-fieldgroup .compression_server p {
31 margin: 1px;
32 }
33
34 .wpo-fieldgroup .compression_server p:last-of-type {
35 margin-bottom: 10px;
36 }
37
38 .wpo-fieldgroup .compression_server {
39 display: -ms-flexbox;
40 display: flex;
41 -ms-flex-flow: row wrap;
42 flex-flow: row wrap;
43 }
44
45 .wpo-fieldgroup .compression_server > div {
46 -ms-flex: 1;
47 flex: 1;
48 margin-right: 10px;
49 height: 100%;
50 position: relative;
51 }
52
53 .wpo-fieldgroup .compression_server input[type=radio] {
54 position: absolute;
55 z-index: 1;
56 top: calc(50% + 2px);
57 left: 20px;
58 transform: translatey(-50%);
59 }
60
61 .wpo-fieldgroup .compression_server input[type=radio] + div#wpo-resmushit-details h4 {
62 color: #23282D;
63 margin-top: 0;
64 margin-bottom: 0.9em;
65 font-size: 1.2em;
66 }
67
68 .wpo-fieldgroup .compression_server div#wpo-resmushit-details {
69 display: block;
70 position: relative;
71 box-sizing: border-box;
72 height: 100%;
73 background: #FFF;
74 text-align: left;
75 box-shadow: 0px 3px 10px -2px hsla(150, 5%, 65%, 0.5);
76 }
77
78 .wpo-fieldgroup .compression_server input[type=radio] + div#wpo-resmushit-details {
79 padding: 20px;
80 border: 2px solid #FFF;
81 padding-left: 65px;
82 position: relative;
83 border-radius: 5px;
84 color: #82868B;
85 }
86
87 .wpo-fieldgroup .compression_server input[type=radio] + div#wpo-resmushit-details::before {
88 content: "";
89 display: block;
90 position: absolute;
91 top: 0;
92 left: 52px;
93 height: 100%;
94 border-right: 1px solid #EDEFF0;
95 }
96
97 .wpo-fieldgroup .save-options {
98 margin: 10px 0;
99 }
100
101 .wpo-fieldgroup .compression_server input[type=radio]:focus + div#wpo-resmushit-details,
102 .wpo-fieldgroup .compression_server input[type=radio] + div#wpo-resmushit-details:hover {
103 border-color: rgba(0, 134, 184, 0.38);
104 }
105
106 .wpo-fieldgroup .compression_server input[type=radio]:focus + div#wpo-resmushit-details,
107 .wpo-fieldgroup .compression_server input[type=radio] + div#wpo-resmushit-details:active {
108 box-shadow: 0px 3px 10px -2px #5B9DD9;
109 }
110
111 .wpo-fieldgroup .compression_server input[type=radio]:focus + div#wpo-resmushit-details h4,
112 .wpo-fieldgroup .compression_server input[type=radio] + div#wpo-resmushit-details:focus h4,
113 .wpo-fieldgroup .compression_server input[type=radio] + div#wpo-resmushit-details:active h4 {
114 color: #0086B9;
115 }
116
117 .wpo-fieldgroup .compression_server input[type=radio]:checked + div#wpo-resmushit-details,
118 .wpo-fieldgroup .compression_server input[type=radio]:checked + div#wpo-resmushit-details:hover {
119 border-color: #0086B9;
120 }
121
122 @media only screen and (max-width: 700px) {
123 .wpo-fieldgroup .compression_server {
124 -ms-flex-direction: column;
125 flex-direction: column;
126 }
127 .wpo-fieldgroup .compression_server > div {
128 margin-bottom: 15px;
129 max-width: 100%;
130 }
131 }
132 /**
133 * Compression Options
134 */
135 .wpo-fieldgroup h4 {
136 margin: 1em 0;
137 width: 100%;
138 }
139
140 .wpo-fieldgroup .image_quality input[type=radio] {
141 position: absolute;
142 visibility: hidden;
143 display: none;
144 }
145
146 .wpo-fieldgroup .image_quality label {
147 color: #23282D;
148 display: inline-block;
149 cursor: pointer;
150 font-weight: bold;
151 padding: 5px 20px;
152 background: #F9F9F9;
153 float: left;
154 margin: 0 0.5px;
155 }
156
157 .wpo-fieldgroup .image_quality input[type=radio]:checked + label {
158 color: white;
159 background: #0088B9;
160 }
161
162 .wpo-fieldgroup .image_quality label + .wpo-fieldgroup .image_quality input[type=radio] + label {
163 border-left: solid 3px #675F6B;
164 }
165
166 .wpo-fieldgroup .image_quality.radio-group {
167 border: solid 0.5px #C4C4C4;
168 display: inline-block;
169 border-radius: 5px;
170 overflow: hidden;
171 border-bottom: solid 2px #C4C4C4;
172 background: #C4C4C4;
173 }
174
175 .wpo-fieldgroup .image_options input {
176 min-height: 16px;
177 min-width: 16px;
178 margin: 3px 2px;
179 }
180
181 img#wpo_smush_images_save_options_spinner {
182 max-width: 20px;
183 max-height: 20px;
184 }
185
186 span#wpo_smush_images_save_options_fail {
187 font-size: inherit;
188 color: red;
189 }
190
191 span#wpo_smush_images_save_options_done {
192 font-size: inherit;
193 color: green;
194 }
195
196 #smush-complete-summary span.clearfix {
197 height: 10px;
198 display: block;
199 clear: both;
200 }
201
202 #smush-complete-summary span.close {
203 display: block;
204 clear: both;
205 text-align: left;
206 color: #DF6927;
207 border: 2px solid;
208 border-radius: 50%;
209 cursor: pointer;
210 }
211
212 .modal-message-text {
213 margin: 0 25px;
214 }
215
216 .smush-options.custom_compression {
217 margin: 10px;
218 }
219
220 #smush-backup-delete-days {
221 width: 70px;
222 margin: 0 8px;
223 }
224
225 img#wpo_smush_delete_backup_spinner {
226 max-width: 20px;
227 max-height: 20px;
228 position: relative;
229 top: 4px;
230 }
231
232 span#wpo_smush_delete_backup_done {
233 font-size: inherit;
234 color: green;
235 }
236
237 .wpo-fieldgroup .smush-options.custom_compression {
238 display: -ms-flexbox;
239 display: flex;
240 -ms-flex-align: center;
241 align-items: center;
242 margin-left: 24px;
243 }
244
245 .wpo-fieldgroup .smush-options.custom_compression > span {
246 display: inline-block;
247 padding: 6px;
248 border: 1px solid #CFD2D4;
249 border-radius: 4px;
250 font-size: 0.9em;
251 position: relative;
252 }
253
254 .wpo-fieldgroup .smush-options.custom_compression > span.slider-start::after {
255 content: "";
256 width: 6px;
257 height: 6px;
258 display: block;
259 position: absolute;
260 top: 0;
261 left: 100%;
262 transform: translate(-3px, 8px) rotate(45deg);
263 border-right: 1px solid #CFD2D4;
264 border-top: 1px solid #CFD2D4;
265 background: #EDEFF0;
266 }
267
268 .wpo-fieldgroup .smush-options.custom_compression > span.slider-end::before {
269 content: "";
270 width: 6px;
271 height: 6px;
272 display: block;
273 position: absolute;
274 top: 0;
275 right: 100%;
276 transform: translate(3px, 8px) rotate(45deg);
277 border-left: 1px solid #CFD2D4;
278 border-bottom: 1px solid #CFD2D4;
279 background: #EDEFF0;
280 }
281
282 .wpo-fieldgroup .smush-options.custom_compression > input {
283 margin-left: 8px;
284 margin-right: 8px;
285 }
286
287 @media screen and (max-width: 782px) {
288 .wpo-fieldgroup input[type=radio] {
289 height: 16px;
290 width: 16px;
291 }
292 .wpo-fieldgroup input[type=radio]:checked:before {
293 width: 6px;
294 height: 6px;
295 margin: 4px;
296 }
297 .wpo-fieldgroup .smush-options.custom_compression {
298 -ms-flex-direction: column;
299 flex-direction: column;
300 }
301 .wpo-fieldgroup .smush-options.custom_compression > input {
302 width: 100%;
303 }
304 .wpo-fieldgroup .smush-options.custom_compression > span {
305 display: block;
306 width: 100%;
307 }
308 .wpo-fieldgroup .smush-options.custom_compression > span.slider-start::after {
309 left: 0;
310 transform: translate(7px, 22px) rotate(135deg);
311 }
312 .wpo-fieldgroup .smush-options.custom_compression > span.slider-end::before {
313 right: auto;
314 left: 100%;
315 transform: translate(-14px, -5px) rotate(135deg);
316 }
317 }
318 /**
319 * Uncompressed images
320 */
321 #wpo_smush_settings .align-left {
322 float: left;
323 }
324
325 #wpo_smush_settings .align-right {
326 float: right;
327 }
328
329 .wpo-fieldgroup .wpo_smush_images_buttons_wrap {
330 width: 100%;
331 }
332
333 .wpo-fieldgroup .smush-refresh-icon,
334 .wpo-fieldgroup .smush-select-actions {
335 font-size: 15px;
336 }
337
338 .wpo-fieldgroup img.wpo_smush_images_loader {
339 display: none;
340 min-height: 20px;
341 min-width: 20px;
342 }
343
344 .wpo-fieldgroup .dashicons.dashicons-image-rotate {
345 font-size: 15px;
346 }
347
348 .wpo-fieldgroup .wpo-toggle-advanced-options {
349 cursor: pointer;
350 text-decoration: underline;
351 color: #0088BC;
352 }
353
354 .wpo-fieldgroup .button.wpo-toggle-advanced-options {
355 display: block;
356 width: calc(100% + 40px);
357 margin-left: -20px;
358 margin-right: -20px;
359 padding-left: 20px;
360 padding-right: 20px;
361 position: relative;
362 text-decoration: none;
363 }
364
365 .wpo-fieldgroup .button.wpo-toggle-advanced-options span.dashicons {
366 text-decoration: none;
367 font-size: 16px;
368 height: 16px;
369 vertical-align: middle;
370 color: #444;
371 transition: 0.2s all;
372 position: relative;
373 }
374
375 .wp-version-7 .wpo-fieldgroup .button.wpo-toggle-advanced-options span.dashicons {
376 top: -6px;
377 }
378
379 .wpo-fieldgroup .wpo-toggle-advanced-options span.text {
380 background: #F2F4F4;
381 z-index: 1;
382 position: relative;
383 padding-right: 5px;
384 }
385
386 .wpo-fieldgroup .button.wpo-toggle-advanced-options:hover,
387 .wpo-fieldgroup .button.wpo-toggle-advanced-options:focus {
388 background: transparent;
389 }
390
391 .wpo-fieldgroup .button.wpo-toggle-advanced-options .wpo-toggle-advanced-options__text-show {
392 display: inline-block;
393 }
394
395 .wpo-fieldgroup .button.wpo-toggle-advanced-options .wpo-toggle-advanced-options__text-hide {
396 display: none;
397 }
398
399 .wpo-fieldgroup .button.wpo-toggle-advanced-options.opened .wpo-toggle-advanced-options__text-show {
400 display: none;
401 }
402
403 .wpo-fieldgroup .button.wpo-toggle-advanced-options.opened .wpo-toggle-advanced-options__text-hide {
404 display: inline-block;
405 margin-bottom: 20px;
406 }
407
408 .wpo-fieldgroup .button.wpo-toggle-advanced-options.opened::before {
409 content: "";
410 border-top: 1px solid #CCC;
411 width: 100%;
412 position: absolute;
413 top: 16px;
414 left: 0;
415 }
416
417 .wpo-fieldgroup .button.wpo-toggle-advanced-options.opened span.dashicons {
418 transform: rotate(180deg);
419 }
420
421 .wp-version-7 .wpo-fieldgroup .button.wpo-toggle-advanced-options.opened span.dashicons {
422 top: 4px;
423 }
424
425 .wpo-fieldgroup .wpo-advanced-options {
426 display: none;
427 }
428
429 .wpo-advanced-options > fieldset:first-child {
430 margin-top: 10px;
431 }
432
433 .wpo-fieldgroup .button.wpo-toggle-advanced-options.opened + .wpo-advanced-options {
434 display: block;
435 }
436
437 .wpo_smush_image:focus-within label {
438 box-shadow: 0 0 4px #0272AA;
439 }
440
441 .wpo_smush_image .wpo_smush_image__input:checked + label {
442 border-color: #0272AA;
443 }
444
445 .uncompressed-images input[type=checkbox] {
446 position: absolute;
447 opacity: 0;
448 width: 0;
449 height: 0;
450 }
451
452 .uncompressed-images small.red {
453 clear: both;
454 display: block;
455 margin: 5px;
456 }
457
458 .smush-actions .wpo_primary_small {
459 display: inline-block;
460 margin: 5px;
461 }
462
463 .smush-actions {
464 display: inline-block;
465 width: 100%;
466 margin: 10px 0;
467 }
468
469 .smush-actions .dashicons.dashicons-yes {
470 font-size: 15px;
471 margin: 0 5px;
472 }
473
474 .smush-actions img {
475 max-height: 25px;
476 max-width: 25px;
477 }
478
479 /**
480 * Log and panels
481 */
482 #smush-log-modal {
483 width: 100%;
484 height: 100%;
485 }
486
487 #log-panel {
488 height: 80%;
489 overflow: scroll;
490 margin: 2%;
491 }
492
493 #log-panel pre {
494 text-align: left;
495 overflow: auto;
496 height: 100%;
497 background: gainsboro;
498 }
499
500 .smush-information {
501 margin-bottom: 10px;
502 }
503
504 /**
505 * Smush modal progress box & related styling
506 */
507 #smush_stats {
508 text-align: center;
509 margin: 0 auto;
510 padding: 2%;
511 min-width: 350px;
512 font-size: larger;
513 }
514
515 #smush_stats .wpo_smush_stats_cta_btn {
516 clear: both;
517 display: block;
518 text-align: center;
519 }
520
521 #smush_stats .smush_stats_row td:first-child {
522 text-align: left;
523 }
524
525 #smush_stats tr.smush_stats_row td:last-child {
526 text-align: right;
527 }
528
529 #smush_stats #wpo_smush_images_information_container p {
530 padding: 10px;
531 }
532
533 #smush-complete-summary .checkmark-circle {
534 width: 50px;
535 height: 50px;
536 position: relative;
537 display: inline-block;
538 vertical-align: top;
539 }
540
541 #smush-complete-summary .checkmark-circle .background {
542 width: 50px;
543 height: 50px;
544 border-radius: 50%;
545 background: #DF6927;
546 position: absolute;
547 }
548
549 #smush-complete-summary .checkmark-circle .checkmark {
550 border-radius: 5px;
551 }
552
553 #smush-complete-summary .checkmark-circle .checkmark.draw:after {
554 animation-delay: 100ms;
555 animation-duration: 1s;
556 animation-timing-function: ease;
557 animation-name: checkmark;
558 transform: scalex(-1) rotate(135deg);
559 animation-fill-mode: forwards;
560 }
561
562 #smush-complete-summary .checkmark-circle .checkmark:after {
563 opacity: 1;
564 height: 25px;
565 width: 12.5px;
566 transform-origin: left top;
567 border-right: 5px solid white;
568 border-top: 5px solid white;
569 border-radius: 2.5px !important;
570 content: "";
571 left: 8.3333333333px;
572 top: 25px;
573 position: absolute;
574 }
575
576 #smush_stats .wpo_primary_small {
577 text-align: center;
578 }
579
580 #smush-complete-summary #summary-message {
581 margin: 15px auto;
582 }
583
584 img#wpo_smush_images_clear_stats_spinner {
585 width: 20px;
586 line-height: 1;
587 vertical-align: middle;
588 }
589
590 /* Animated progress bar */
591 #wpo_smush_images_information_container {
592 padding: 10px;
593 }
594
595 #wpo_smush_images_information_wrapper .progress-bar {
596 height: 25px;
597 padding: 1px;
598 width: 350px;
599 margin: 10px auto;
600 border-radius: 5px;
601 }
602
603 #wpo_smush_images_information_wrapper .progress-bar span {
604 display: inline-block;
605 height: 100%;
606 border-radius: 3px;
607 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
608 transition: width 0.4s ease-in-out;
609 }
610
611 #wpo_smush_images_information_wrapper .orange span {
612 background-color: #DF6927;
613 }
614
615 #wpo_smush_images_information_wrapper .stripes span {
616 background-size: 30px;
617 background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
618 animation: animate-stripes 3s linear infinite;
619 }
620
621 /**
622 * Smush metabox
623 */
624 #smush-metabox-inside-wrapper {
625 display: inline-table;
626 width: 100%;
627 }
628
629 #smush-metabox-inside-wrapper h4 {
630 margin: 2px 0;
631 }
632
633 #smush-metabox-inside-wrapper label {
634 margin-top: 5px;
635 clear: left;
636 display: block;
637 }
638
639 #smush-metabox-inside-wrapper .wpo_smush_single_image {
640 display: block;
641 }
642
643 #smush-metabox-inside-wrapper .wpo_smush_single_image.action_button {
644 padding: 5px 0;
645 }
646
647 #smush-metabox-inside-wrapper fieldset {
648 margin: 10px 0;
649 }
650
651 #smush-metabox-inside-wrapper input[type=radio] {
652 margin: -4px 4px 0 0;
653 }
654
655 #smush-metabox-inside-wrapper .alignleft {
656 float: left;
657 }
658
659 #smush-metabox-inside-wrapper p#smush_info {
660 margin: 20px auto;
661 padding-top: 10px;
662 clear: both;
663 }
664
665 #smush-metabox-inside-wrapper .wpo-toggle-advanced-options {
666 cursor: pointer;
667 display: block;
668 clear: both;
669 margin-top: 10px;
670 margin-bottom: 10px;
671 }
672
673 #smush-metabox-inside-wrapper .wpo-toggle-advanced-options:not(.opened) ~ .wpo-advanced-options {
674 display: none;
675 }
676
677 #smush-metabox-inside-wrapper .wpo-toggle-advanced-options.opened ~ .wpo-advanced-options {
678 display: block !important;
679 }
680
681 #smush-metabox-inside-wrapper .smush-options.custom_compression span,
682 .wpo-smush-compress-popup-content .smush-options.custom_compression span {
683 display: block;
684 max-width: 30%;
685 clear: both;
686 }
687
688 #smush-metabox-inside-wrapper input#custom_compression_slider,
689 .wpo-smush-compress-popup-content input#custom_compression_slider {
690 display: block;
691 clear: both;
692 width: 100%;
693 }
694
695 #smush-metabox-inside-wrapper .smush-options.custom_compression span.alignleft,
696 .wpo-smush-compress-popup-content .smush-options.custom_compression span.alignleft {
697 float: left;
698 }
699
700 #smush-metabox-inside-wrapper .smush-options.custom_compression span.alignright,
701 .wpo-smush-compress-popup-content .smush-options.custom_compression span.alignright {
702 float: right;
703 text-align: right;
704 }
705
706 .smush-metabox-dashboard-link {
707 clear: both;
708 padding-top: 15px;
709 text-align: right;
710 }
711
712 .media-frame-content .attachment-compat .compat-item {
713 overflow: visible !important;
714 }
715
716 /** Smush popup content **/
717 .wpo-smush-compress-popup-content {
718 text-align: left;
719 padding: 20px;
720 }
721
722 .wpo-smush-compress-popup-content .wpo-toggle-advanced-options {
723 margin-top: 20px;
724 }
725
726 .wpo-smush-compress-popup-content h3 {
727 margin-top: 0;
728 text-align: center;
729 }
730
731 .wpo-smush-compress-popup-content h4 {
732 margin-bottom: 5px;
733 margin-top: 10px;
734 }
735
736 .wpo-smush-compress-popup-content .wpo-advanced-options {
737 display: none;
738 }
739
740 .wpo-smush-compress-popup-content .wpo-toggle-advanced-options.opened + .wpo-advanced-options {
741 display: block;
742 }
743
744 /* Smush Media Library column */
745 .wpo-smush-media-library-column .wpo-smush-compress-popup-btn {
746 margin-bottom: 5px;
747 }
748
749 .wpo-smush-media-library-column .wpo_restore_single_image {
750 margin-bottom: 5px;
751 }
752
753 /* fix for elementor restore button position */
754 .wpo_restore_single_image .alignright {
755 float: right;
756 }
757
758 /**
759 * Force fix the modals
760 */
761 .blockUI.blockMsg.blockPage {
762 z-index: 170000 !important;
763 right: 0;
764 left: 0 !important;
765 margin-right: auto !important;
766 margin-left: auto !important;
767 max-width: 90%;
768 cursor: default !important;
769 }
770
771 .blockUI.blockOverlay {
772 cursor: default !important;
773 }
774
775 /**
776 * Tooltip Styles
777 */
778 /* Add this attribute to the element that needs a tooltip */
779 #smush-metabox-inside-wrapper [data-tooltip],
780 .wpo-fieldgroup [data-tooltip] {
781 position: relative;
782 cursor: pointer;
783 line-height: 18px;
784 }
785
786 #smush-metabox-inside-wrapper .wpo_restore_single_image .restore-icon [data-tooltip] {
787 display: inline;
788 padding-top: 1px;
789 }
790
791 #smush-metabox-inside-wrapper .wpo_restore_single_image .restore-icon [data-tooltip]:before {
792 margin-left: -110px;
793 bottom: 100%;
794 }
795
796 #smush-metabox-inside-wrapper .wpo_restore_single_image .restore-icon [data-tooltip]:after {
797 bottom: 100%;
798 }
799
800 /* Hide the tooltip content by default */
801 #smush-metabox-inside-wrapper [data-tooltip]:before,
802 #smush-metabox-inside-wrapper [data-tooltip]:after,
803 .wpo-fieldgroup [data-tooltip]:before,
804 .wpo-fieldgroup [data-tooltip]:after {
805 visibility: hidden;
806 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
807 filter: opacity(0%);
808 opacity: 0;
809 pointer-events: none;
810 }
811
812 /* Position tooltip above the element */
813 #smush-metabox-inside-wrapper [data-tooltip]:before,
814 .wpo-fieldgroup [data-tooltip]:before {
815 position: absolute;
816 bottom: 150%;
817 left: 50%;
818 margin-bottom: 5px;
819 margin-left: -140px;
820 padding: 12px;
821 width: 275px;
822 z-index: 9999;
823 border-radius: 3px;
824 background-color: #000;
825 background-color: hsla(0, 0%, 20%, 0.95);
826 color: #FFF;
827 content: attr(data-tooltip);
828 text-align: center;
829 font-size: 0.85rem;
830 font-weight: 400;
831 line-height: 1.4;
832 }
833
834 #smush-metabox-inside-wrapper [data-tooltip]:before {
835 margin-left: -280px;
836 }
837
838 /* Triangle hack to make tooltip look like a speech bubble */
839 #smush-metabox-inside-wrapper [data-tooltip]:after,
840 .wpo-fieldgroup [data-tooltip]:after {
841 position: absolute;
842 bottom: 150%;
843 left: 50%;
844 margin-left: -5px;
845 width: 0;
846 border-top: 5px solid #000;
847 border-top: 5px solid hsla(0, 0%, 20%, 0.9);
848 border-right: 5px solid transparent;
849 border-left: 5px solid transparent;
850 content: " ";
851 font-size: 0;
852 line-height: 0;
853 }
854
855 /* Show tooltip content on hover */
856 #smush-metabox-inside-wrapper [data-tooltip]:hover:before,
857 #smush-metabox-inside-wrapper [data-tooltip]:hover:after,
858 .wpo-fieldgroup [data-tooltip]:hover:before,
859 .wpo-fieldgroup [data-tooltip]:hover:after,
860 #smush-metabox-inside-wrapper [data-tooltip]:focus:before,
861 #smush-metabox-inside-wrapper [data-tooltip]:focus:after,
862 .wpo-fieldgroup [data-tooltip]:focus:before,
863 .wpo-fieldgroup [data-tooltip]:focus:after {
864 visibility: visible;
865 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
866 filter: opacity(100%);
867 opacity: 1;
868 }
869
870 /**
871 * Animation needed for smush
872 */
873 @keyframes checkmark {
874 0% {
875 height: 0;
876 width: 0;
877 opacity: 1;
878 }
879 20% {
880 height: 0;
881 width: 12.5px;
882 opacity: 1;
883 }
884 40% {
885 height: 25px;
886 width: 12.5px;
887 opacity: 1;
888 }
889 100% {
890 height: 25px;
891 width: 12.5px;
892 opacity: 1;
893 }
894 }
895 @keyframes animate-stripes {
896 0% {
897 background-position: 0 0;
898 }
899 100% {
900 background-position: 60px 0;
901 }
902 }
903 @keyframes animate-stripes {
904 0% {
905 background-position: 0 0;
906 }
907 100% {
908 background-position: 60px 0;
909 }
910 }
911 #wpo_smush_restore_all_compressed_images_btn + span > span {
912 line-height: 28px;
913 }