PluginProbe ʕ •ᴥ•ʔ
Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF / 2.0.6
Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF v2.0.6
2.0.6 2.0.5 trunk 1.3.7 1.4.0 1.4.1 1.4.2 1.4.6 1.5.0 1.5.3 1.5.6 1.5.8 1.6.5 1.6.6 1.6.9 1.7.0 1.7.4 1.8.1 1.8.2 1.9.0 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4
robin-image-optimizer / admin / assets / css / base-statistic.less
robin-image-optimizer / admin / assets / css Last commit date
base-statistic.css 7 months ago base-statistic.css.map 1 year ago base-statistic.less 7 months ago index.php 3 years ago media.css 7 months ago settings-premium.css 7 months ago statistic.css 3 years ago sweetalert-custom.css 7 months ago sweetalert-custom.css.map 6 years ago sweetalert-custom.less 3 years ago sweetalert2.css 3 years ago wrio-subscribe-widget.css 7 months ago
base-statistic.less
922 lines
1 /**
2 * Styles for the Widget to be displayed in the plugin
3 */
4
5 @positiveColor: #bbd2a1;
6 @webpPositiveColor: #8CC152;
7 @negativeColor: #D2D3D6;
8 @neutralColor: #828282;
9
10 @errorColor: #fb5d49;
11 @waringColor: #ffb635;
12
13 @greyButtonBg: #f3f3f3;
14 @greyButtonColor: #656565;
15
16 @greenButtonBg: #c9deb2;
17 @greenButtonColor: #586549;
18
19 @orangeButtonBg: #fdd599;
20 @orangeButtonColor: #a57b3c;
21
22 #WBCR {
23 .premium-label(@position: relative, @positionTop:-8px, @positionLeft:-10px, @positionRight:auto) {
24 display: inline-block;
25 position: @position;
26 content: 'PRO';
27 background: #ff5722;
28 border-radius: 4px;
29 color: #fff;
30 font-size: 10px;
31 line-height: 1;
32 font-style: normal;
33 padding: 4px 6px;
34 margin-left: 4px;
35 vertical-align: top;
36 top: @positionTop;
37 left: @positionLeft;
38 right: @positionRight;
39 z-index: 11;
40 }
41
42 .factory-bootstrap-000 {
43 select.form-control {
44 background: #efefef url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55% !important;
45 }
46
47 .btn-default.active, .factory-bootstrap-000 .btn-default:active {
48 text-shadow: none;
49 color: #fff;
50 background-color: #33aad5;
51 -webkit-box-shadow: inset 0 1px 1px #0074a2;
52 box-shadow: inset 0 1px 3px #0074a2;
53 border-top: 1px solid #0074a2;
54 border-bottom: 1px solid #0074a2;
55 border-left: 1px solid #0074a2;
56 }
57
58 .btn-group > .btn:last-of-type {
59 border-top-right-radius: 3px;
60 border-bottom-right-radius: 3px;
61 }
62 }
63
64
65 .wio-clear {
66 clear: both;
67 }
68
69 // This code hides tabs custom folders and nextgen gallery
70 // -----------------------------------------------
71 #io_folders_statistic-wbcr_clearfy-tab, #io_nextgen_gallery_statistic-wbcr_clearfy-tab {
72 display: none !important;
73 }
74
75 // Styling tabs on statistics pages
76 // -----------------------------------------------
77 .wrio-statistic-nav {
78 margin: 0;
79 //box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
80 background: #efefef;
81
82 ul {
83 margin: 0 0 0 10px;
84
85 li {
86 position: relative;
87 display: inline-block;
88 //width: 300px;
89 margin: 0 5px 0 0;
90 background: #ffffff;
91 box-shadow: 0 -2px 0 #eaeaea;
92
93 &:hover {
94 background: #f7f7f7;
95 }
96
97 &.active {
98 //box-shadow: 0 -2px 0 #c9deb2;
99 background: #f7f7f7;
100 border-top: 1px solid #d4d4d4;
101 border-left: 1px solid #d4d4d4;
102 border-right: 1px solid #d4d4d4;
103 border-bottom: 1px solid #f7f7f7;
104 margin-bottom: -1px;
105
106 a {
107 color: #222;
108
109 .wrio-statistic-tab-percent {
110 border: 2px dashed #8bc34a;
111 color: #5e8237;
112 }
113 }
114
115 .dashicons, .dashicons-before:before {
116 color: #ff8b66;
117 }
118 }
119
120 .wrio-statistic-tab {
121 display: block;
122 padding: 10px 20px 10px 20px;
123 text-decoration: none;
124 color: #d4d4d4;
125 font-size: 22px;
126 line-height: 2;
127
128 &:active, &:focus {
129 background: 0;
130 box-shadow: none;
131 outline: none;
132 }
133
134 .dashicons, .dashicons-before:before {
135 display: inline-block;
136 width: 30px;
137 height: 30px;
138 font-size: 30px;
139 line-height: 1.5;
140 margin-right: 15px;
141 color: #d4d4d4;
142 }
143
144
145 .wrio-statistic-tab-percent {
146 display: inline-block;
147 width: 42px;
148 height: 42px;
149 border-radius: 100px;
150 border: 2px dashed #e4e4e4;
151 padding: 5px;
152 margin-left: 30px;
153 font-size: 14px;
154 font-weight: 600;
155 text-align: center;
156 color: #bdbdbd;
157 }
158 }
159
160 .wrio-statistic-tab-premium-label:after {
161 .premium-label(absolute, 10px, auto, 10px);
162 }
163 }
164 }
165 }
166
167 // Table style. The table is used for optimization log
168 .wrio-table {
169 width: 100%;
170 table-layout: fixed;
171 box-sizing: border-box;
172 border-spacing: 3px;
173 background: #fff;
174 border-top: 2px dashed #cac9c9;
175
176 th, td {
177 padding: 16px 10px;
178 text-align: center;
179 }
180
181 th {
182 background: #f3f3f3;
183 color: #777777;
184 box-shadow: 0 1px 0 rgb(216, 216, 216);
185
186 &:nth-child(2n+1) {
187 background: #f9f9f9
188 }
189 }
190
191 tr.wrio-error {
192 background-color: #ffe9e9 !important;
193 }
194
195 .wrio-table-spinner {
196 background: url("../img/quick-start-loader.gif") center center no-repeat;
197 }
198
199 .wrio-table-highlighter {
200 display: inline-block;
201 padding: 3px 7px;
202 background: @greyButtonBg;
203 }
204
205 .wbcr-rio-server-success {
206 color: @positiveColor;
207 }
208
209 .wbcr-rio-server-error {
210 color: @errorColor;
211 }
212
213 .wbcr-rio-server-warning {
214 color: @waringColor;
215 }
216
217 &.wbcr-rio-folders-table {
218 td:nth-child(3) {
219 text-align: left;
220 }
221 }
222 }
223
224 .wrio-servers {
225 padding: 20px 20px;
226
227 label {
228 span {
229 display: block;
230 font-weight: normal;
231 font-size: 12px;
232 color: #b7b2b2;
233 }
234 }
235
236 #wrio-change-optimization-server {
237 position: relative;
238 display: inline-block;
239 max-width: 400px;
240 margin-right: 15px;
241 margin-bottom: 0;
242 border: 1px solid #d2d0d0;
243 background-color: #efefef;
244 }
245
246 .wrio-servers-info {
247 margin: 0 0 0;
248 padding: 20px;
249 background: #fff;
250 }
251
252 .wrio-server-status-wrap {
253 display: inline-block;
254 margin-top: 8px;
255
256 .wrio-server-status {
257 background: transparent;
258 color: #fff;
259 padding: 3px 5px;
260 border-radius: 4px;
261
262 &.wrio-down {
263 background: #ff5722;
264 }
265
266 &.wrio-stable {
267 background: #8bc34a;
268 }
269
270 &.wrio-server-check-proccess {
271 display: inline-block;
272 height: 10px;
273 width: 30px;
274 background: url("../img/quick-start-loader.gif") center no-repeat;
275 }
276 }
277 }
278
279
280 .wrio-premium-user-balance-wrap {
281 display: inline-block;
282 margin-top: 8px;
283 margin-left: 10px;
284
285 .wrio-premium-user-balance {
286 color: #fff;
287 padding: 3px 5px;
288 border-radius: 4px;
289 background: #ffc107;
290 }
291
292 .wrio-premium-user-balance-check-proccess {
293 display: inline-block;
294 height: 10px;
295 width: 30px;
296 background: url("../img/quick-start-loader.gif") center no-repeat;
297 }
298 }
299
300 .wrio-premium-user-update-wrap {
301 display: inline-block;
302 margin-top: 8px;
303 margin-left: 10px;
304
305 .wrio-premium-user-update {
306 color: #fff;
307 padding: 3px 5px;
308 border-radius: 4px;
309 background: #ffc107;
310 }
311
312 .wrio-premium-user-update-check-proccess {
313 display: inline-block;
314 height: 10px;
315 width: 30px;
316 background: url("../img/quick-start-loader.gif") center no-repeat;
317 }
318 }
319 }
320
321 .wio-columns {
322 overflow: hidden;
323 padding: 15px 0;
324 counter-reset: cols;
325
326 [class^="col-"] {
327 float: left;
328 -webkit-box-sizing: border-box;
329 -moz-box-sizing: border-box;
330 box-sizing: border-box;
331 }
332
333 .col-1-3 {
334 width: 33.333%;
335 padding-left: 28px;
336 }
337
338 .col-2-3 {
339 width: 66.666%;
340 padding-left: 28px
341 }
342
343 .col-1-2 {
344 width: 50%;
345 padding: 0 20px;
346 }
347
348 .col-statistics.col-statistics {
349 width: 60%;
350 }
351
352 .col-chart.col-chart {
353 width: 40%;
354 position: relative;
355 padding: 20px;
356 font-size: 12px;
357 text-transform: uppercase;
358 background: #f1f1f1b3;
359 color: #abacaf;
360 font-weight: bold;
361 border-radius: 5px;
362 margin-top: 10px;
363 text-align: left;
364 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
365 }
366 }
367
368 .wio-col {
369 float: left;
370 width: 50%;
371 box-sizing: border-box;
372 -webkit-flex-basis: 50%;
373 -ms-flex-preferred-size: 50%;
374 flex-basis: 50%;
375 }
376
377 .wio-col {
378 padding-right: 20px;
379 }
380
381 .wio-col + .wio-col {
382 padding-right: 0;
383 padding-left: 50px;
384 }
385
386 .wio-col:target {
387 animation: wiohello 1s 3 linear backwards;
388 }
389
390 .wio-number-you-optimized {
391 margin-bottom: 1.35em;
392 overflow: hidden;
393
394 #wio-total-optimized-attachments-pct {
395 color: @neutralColor;
396 }
397
398 .wio-number {
399 display: table-cell;
400 padding-right: 15px;
401 font-size: 48px;
402 font-weight: bold;
403 line-height: 1;
404 vertical-align: middle;
405 white-space: nowrap;
406 color: @neutralColor;
407 }
408
409 .wio-text {
410 display: table-cell;
411 vertical-align: middle;
412 overflow: hidden;
413 font-size: 12px;
414 color: @neutralColor;
415 }
416
417 & > p {
418 display: table;
419 }
420 }
421
422 .wio-bars {
423 padding-right: 15px;
424 }
425
426 .wio-bars p {
427 font-size: 12px;
428 margin-bottom: 5px;
429 }
430
431 .wio-bars + .wio-number-you-optimized {
432 border-bottom: 0;
433 padding-top: 0.85em;
434 }
435
436 .wio-bars + .wio-number-you-optimized p {
437 color: darken(@positiveColor, 10);
438 }
439
440 .wio-bar-negative {
441 .wio-progress {
442 background: @negativeColor;
443 }
444
445 .wio-barnb {
446 color: darken(@negativeColor, 20);
447 }
448 }
449
450 .wio-progress {
451 height: 8px;
452 transition: width .3s;
453
454 /*.wio-bar-negative {
455 width: 92% !important;
456 }*/
457 }
458
459 .wio-bar-positive {
460 .wio-progress {
461 background: @positiveColor;
462 }
463
464 .wio-barnb {
465 color: darken(@positiveColor, 10);
466 }
467 }
468
469 .wio-bar-primary {
470 .wio-progress {
471 background: @positiveColor;
472 }
473
474 .wio-barnb {
475 color: darken(@positiveColor, 10);
476 }
477 }
478
479 .wio-bar-webp {
480 .wio-progress {
481 background: @webpPositiveColor;
482 }
483
484 .wio-barnb {
485 color: darken(@webpPositiveColor, 10);
486 }
487 }
488
489 .wio-right-outside-number .wio-barnb {
490 display: block;
491 margin-right: -5.25em;
492 text-align: right;
493 font-weight: bold;
494 line-height: .8;
495 }
496
497 /* Doughnut */
498
499 .wio-chart {
500 position: relative;
501 top: 1px;
502 display: inline-block;
503 vertical-align: middle;
504 }
505
506 .wio-chart-container {
507 position: relative;
508 display: inline-block;
509 margin-right: 5px;
510 }
511
512 .wio-chart-container canvas {
513 display: block;
514 }
515
516 .wio-overview-chart-container {
517 float: left;
518 margin-right: 20px;
519 }
520
521 .wio-overview-chart-container-webp {
522 float: right;
523 margin-left: 20px;
524 }
525
526 .wio-chart-wrapper {
527 position: relative;
528 width: 200px;
529 height: 200px;
530 }
531
532 .wio-chart-percent {
533 color: #afafaf;
534 position: absolute;
535 font-size: 35px;
536 font-weight: 600;
537 left: 50%;
538 bottom: 167px;
539 z-index: 100;
540 transform: translateX(-45%);
541 -webkit-transform: translateX(-45%);
542 -ms-transform: translateX(-45%);
543 }
544
545 .wio-chart-percent span {
546 font-size: 20px;
547 vertical-align: super;
548 }
549
550 #wio-overview-chart-legend {
551 overflow: hidden;
552 }
553
554 .wio-doughnut-legend li {
555 display: inline-block;
556 position: relative;
557 margin-bottom: 15px;
558 border-radius: 5px;
559 padding: 3px 8px 2px 31px;
560 font-size: 9px;
561 cursor: default;
562 -webkit-transition: background-color 200ms ease-in-out;
563 -moz-transition: background-color 200ms ease-in-out;
564 -o-transition: background-color 200ms ease-in-out;
565 transition: background-color 200ms ease-in-out;
566 }
567
568 .wio-doughnut-legend li span {
569 display: block;
570 position: absolute;
571 left: 0;
572 top: 0;
573 width: 25px;
574 height: 25px;
575 border-radius: 50%;
576 }
577
578 .wio-optimize-button {
579 min-width: 180px;
580 padding: 12px 30px;
581 background: @greenButtonBg;
582 color: @greenButtonColor;
583 border: 0;
584 box-shadow: none;
585 font-size: 14px;
586 text-transform: uppercase !important;
587 font-weight: bold;
588 border-radius: 4px;
589 outline: none;
590
591 &:active {
592 box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5);
593 }
594
595 &:disabled {
596 background: lighten(@greenButtonBg, 10%);
597 color: lighten(@greenButtonColor, 30%);
598 }
599
600 &.wio-running {
601 color: @orangeButtonColor;
602 background: @orangeButtonBg url("../img/Spinner-1s-33px.gif") 10px center no-repeat;
603 padding-left: 50px;
604 }
605 }
606
607 .wio-global-optim-phrase {
608 width: 180px;
609 padding-top: 20px;
610 font-size: 14px;
611 text-align: center;
612 }
613
614 .wio-total-percent, .wio-total-percent-webp {
615 color: darken(@positiveColor, 20);
616 }
617
618 #wio-start-msg-top, #wio-start-msg-right, #wio-start-msg-complete {
619 display: none;
620 }
621
622 .wio-text-left {
623 text-align: left;
624 }
625
626 span.wio-num {
627 display: inline !important;
628 position: inherit !important;
629 }
630
631
632 // WIDGETS SPACE
633 // -----------------------------------------------
634 .wio-image-optimize-board {
635 padding-bottom: 0 !important;
636 }
637
638 .wio-page-statistic {
639 padding: 20px;
640
641
642 .wio-optimize-statistic {
643 display: flex;
644 justify-content: space-between;
645 }
646
647 .wrio-statistic-buttons-wrap {
648 display: flex;
649 justify-content: space-between;
650 }
651 }
652
653 .wio-stat-totals {
654 padding: 20px 20px;
655 background: #efefef;
656 font-weight: bold;
657 vertical-align: middle;
658
659 &__counter {
660 display: inline-block;
661 background: #ffffff;
662 min-width: 30px;
663 height: 25px;
664 padding: 2px 5px;
665 border-radius: 3px;
666 border: 1px dashed #bdb5b5;
667 color: #222;
668 font-weight: normal;
669 text-align: center;
670 }
671
672 &__loading {
673 color: #fff;
674 background: #fff url("../img/quick-start-loader.gif") center no-repeat !important;
675 background-size: 16px 16px !important;
676 }
677
678 &__totals {
679
680 }
681
682 &__optimized {
683 background: #8bc34a;
684 color: #fff;
685 }
686 }
687
688 .wrio-optimization-progress {
689 //margin-top: 30px;
690 background: none;
691 padding: 0;
692
693 h4 {
694 font-size: 15px;
695 font-weight: 700;
696 }
697
698 /*button {
699 padding: 5px 10px;
700 border: 0;
701 font-size: 11px;
702 text-transform: uppercase !important;
703 font-weight: bold;
704 border-radius: 4px;
705 outline: none;
706 background: @greyButtonBg;
707 color: @greyButtonColor;
708 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
709
710 &:active {
711 box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5);
712 }
713
714 &.wbcr-rio-loading {
715 width: 56px;
716 font-size: 0;
717 background: @greyButtonBg url("../img/quick-start-loader.gif") center no-repeat;
718 }
719
720 &.wbcr-rio-selected {
721 background: #f3efe2;
722 color: #d8d8d8;
723
724 &:active {
725 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
726 }
727 }
728 }*/
729
730 .wbcr-rio-warning-message {
731 padding: 20px;
732 background: #efefef;
733 font-size: 15px;
734 color: #b7b7b7;
735 font-style: italic;
736 }
737 }
738
739 .wio-widget {
740 padding: 0 !important;
741
742 .wio-chart-percent {
743 font-size: 44px;
744 line-height: 1;
745 }
746
747 .wio-bars {
748 width: 60%;
749 margin-left: 155px;
750 }
751
752 .col-chart.col-chart {
753 width: 100%;
754 }
755
756 .col-controls {
757 width: 45%;
758 padding-left: 5px;
759 padding-top: 110px
760 }
761
762 .wio-doughnut-legend {
763 /*padding-top:30px;*/
764 text-align: left;
765 }
766
767 .wio-widget-bottom {
768 display: table;
769 padding-top: 20px !important;
770 width: 100%;
771 text-align: right;
772 }
773
774 .wio-widget-bottom li {
775 display: table-cell;
776 }
777
778 .wio-widget-bottom li:first-child {
779 text-align: left;
780 }
781 }
782
783 // FORMS SPACE
784 // -----------------------------------------------
785 .factory-checkbox {
786 &.wrio-checkbox-premium-label:after {
787 .premium-label();
788 }
789 }
790
791 .factory-checkbox-disabled {
792 input, button {
793 pointer-events: none;
794 cursor: not-allowed;
795 opacity: .65;
796 filter: alpha(opacity=65);
797 -webkit-box-shadow: none;
798 box-shadow: none;
799 }
800 }
801
802 #wrio-webp-options, #wrio-error-log-options {
803 h3 {
804 font-size: 14px;
805 margin: 0 0 10px 0;
806 font-weight: 600;
807 color: #565656;
808 }
809
810 .wrio-webp-options-info {
811 color: #8a8787;
812 font-size: 12px;
813 }
814
815 ul {
816 padding-left: 0;
817
818 li {
819 &:after {
820 content: '';
821 display: block;
822 clear: both;;
823 }
824
825 label {
826 font-weight: 600;
827 }
828
829 .wrio-webp-options-radio, .wrio-error-log-options-checkbox {
830 display: block;
831 float: left;
832 margin-top: 2px;
833 margin-right: 8px;
834
835 &:focus {
836 outline: none;
837 box-shadow: none;
838 }
839 }
840
841 .wrio-webp-options-info, .wrio-error-log-options-info {
842 padding-left: 25px;
843 }
844 }
845 }
846
847
848 }
849
850 // MEDIA SPACE
851 // -----------------------------------------------
852
853 @media (max-width: 830px) {
854 .wio [class^="col-"] {
855 float: none;
856 margin-bottom: 1.5em;
857 }
858
859 .wio .col-1-3,
860 .wio .col-1-2 {
861 width: auto;
862 padding: 0 28px;
863 clear: both;
864 padding-top: 1em;
865 }
866 }
867
868 @keyframes wiohello {
869 0%, 100% {
870 background: #FFF;
871 }
872 50% {
873 background: #F4F7F9;
874 }
875 }
876
877 @media (max-width: 1520px) and (min-width: 1381px), (max-width: 1086px) {
878 .wio-columns {
879 .col-statistics.col-statistics, .col-chart.col-chart {
880 width: 50%;
881 }
882 }
883
884 }
885
886 @media (max-width: 808px) {
887 .wio-columns {
888 .col-statistics.col-statistics, .col-chart.col-chart {
889 width: auto;
890 float: none;
891 padding: 0;
892 }
893
894 .col-chart.col-chart {
895 margin-top: 3em;
896 }
897 }
898 }
899 /*@media (max-width: 1380px) and (min-width: 1246px), (max-width: 380px) {
900 .wio-overview-chart-container {
901 float: none;
902 margin-right: 0;
903 }
904 }
905
906 @media (max-width: 1380px) and (min-width: 1246px), (max-width: 380px) {
907 .wio-overview-chart-container {
908 float: none;
909 margin-right: 0;
910 }
911
912 .wio-doughnut-legend {
913 margin-top: 18px;
914 }
915
916 .wio-global-optim-phrase {
917 padding-top: 0;
918 width: auto;
919 }
920 }*/
921 }
922