PluginProbe
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF / trunk
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF vtrunk
2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.9 2.2.8 trunk 1.10 1.3.3 1.3.4 1.3.5 1.3.5.1 1.3.5.2 1.3.6 1.3.6.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 All 103 releases
← All changes | assets/css/admin.css +1127 -1424 1.3.5.2 → trunk View file →
@@ -1,228 +1,265 @@
1 -.imagify-plugins-error {
2 - overflow:hidden;
3 - padding-left:20px;
4 - list-style-type:disc
1 +/**
2 + * == Utilities Classes
3 + */
4 +
5 +/* Util: Flexbox */
6 +.imagify-flex {
7 + display: flex;
5 8 }
9 +.imagify-vcenter {
10 + align-items: center;
11 +}
12 +.imagify-noshrink {
13 + flex-shrink: 0;
14 +}
15 +.imagify-nogrow {
16 + flex-grow: 0;
17 +}
6 18
7 -.imagify-plugins-error li {
8 - width:300px;
9 - line-height:30px
19 +/* Util: dimension */
20 +.imagify-wauto {
21 + width: auto;
10 22 }
11 -@media (max-width: 570px) {
12 - .imagify-plugins-error li {
13 - width: auto;
14 - }
23 +.imagify-hauto {
24 + height: auto;
15 25 }
26 +.imagify-full-width {
27 + width: 100%;
28 +}
16 29
17 -.imagify-notice-dismiss.notice-dismiss {
18 - text-decoration: none;
30 +/* Util: float */
31 +.imagify-start {
32 + float: left;
19 33 }
34 +.imagify-end {
35 + float: right;
36 +}
20 37
21 -.imagify-spinner {
22 - display: inline-block;
23 - width: 20px;
24 - height: 20px;
25 - margin-right: 5px;
26 - vertical-align: middle;
27 - background: rgba(0, 0, 0, 0) url("../images/spinner.gif") no-repeat scroll 0 0 / 20px 20px;
28 - opacity: 0.7;
38 +/* Util: text-align */
39 +.imagify-txt-start.imagify-txt-start.imagify-txt-start {
40 + text-align: left;
29 41 }
42 +.imagify-txt-center.imagify-txt-center.imagify-txt-center {
43 + text-align: center;
44 +}
45 +.imagify-txt-end.imagify-txt-end.imagify-txt-end {
46 + text-align: right;
47 +}
30 48
31 -.misc-pub-section.misc-pub-imagify h4 {
32 - font-size: 14px;
33 - margin-top: 5px;
49 +/* Util: margin/padding */
50 +.imagify-mt0.imagify-mt0 {
51 + margin-top: 0;
52 +}
53 +.imagify-mt1.imagify-mt1 {
54 + margin-top: 1em;
55 +}
56 +.imagify-mt2.imagify-mt2 {
57 + margin-top: 2em;
58 +}
59 +.imagify-mt3.imagify-mt3 {
60 + margin-top: 3em;
61 +}
62 +.imagify-mb0.imagify-mb0 {
34 63 margin-bottom: 0;
35 64 }
36 -
37 -/* Some Sweet alert styles */
38 -.imagify-sweet-alert button {
39 - margin-top: 17px !important;
40 - height: 45px !important;
41 - letter-spacing: 3px;
42 - text-transform: uppercase !important;
43 - border-radius: 3px !important;
44 - background-color: #40b1d0 !important;
45 - box-shadow: 0 3px 0 #338ea6 !important;
65 +.imagify-mb1.imagify-mb1 {
66 + margin-bottom: 1em;
46 67 }
47 -.imagify-sweet-alert button.cancel {
48 - background: #777 !important;
49 - box-shadow: 0 3px 0 #444 !important;
68 +.imagify-mr1.imagify-mr1 {
69 + margin-right: 1em;
50 70 }
51 -.imagify-sweet-alert-signup .sa-confirm-button-container {
52 - width: 40%;
71 +.imagify-ml2.imagify-ml2 {
72 + margin-left: 2em;
53 73 }
54 -.imagify-sweet-alert-signup button {
55 - width: 100%;
56 - padding: 0 !important;
74 +.imagify-mr2.imagify-mr2 {
75 + margin-right: 2em;
57 76 }
58 -.imagify-sweet-alert .sa-input-error:before,
59 -.imagify-sweet-alert .sa-input-error:after,
60 -.imagify-sweet-alert .la-ball-fall {
61 - top: 25% !important;
77 +
78 +.imagify-pl0.imagify-pl0.imagify-pl0 {
79 + padding-left: 0;
62 80 }
63 -
64 -#wpwrap {
65 - transition: all .4s;
81 +.imagify-pb0.imagify-pb0 {
82 + padding-bottom: 0;
66 83 }
67 -.stop-scrolling #wpwrap {
68 - filter: blur(2px);
84 +.imagify-pr1.imagify-pr1 {
85 + padding-right: 1em;
69 86 }
70 -.stop-scrolling #wpwrap #wpadminbar {
71 - top: -32px;
87 +.imagify-pr2.imagify-pr2 {
88 + padding-right: 2em;
72 89 }
73 90
74 -/* Some basic colors */
75 -.imagify-primary {
76 - color: #40b1d0;
91 +/* Util: Overflow */
92 +.imagify-oh {
93 + overflow: hidden;
77 94 }
78 -.imagify-secondary {
79 - color: #8cc152;
95 +.imagify-clear {
96 + clear: both;
80 97 }
81 -
82 -#imagify-check-api-container {
83 - font-weight: bold;
98 +.imagify-clearfix:after,
99 +.imagify-inline-options:after,
100 +.imagify-settings-main-content:after,
101 +.imagify-settings-section:after {
102 + content: "";
103 + display: table;
104 + width: 100%;
105 + clear: both;
84 106 }
107 +.imagify-setting-optim-level .imagify-inline-options:after {
108 + display: none;
109 +}
85 110
86 -#imagify-check-api-container .dashicons {
87 - font-size: 25px;
111 +/* Util: Dividers */
112 +.imagify-divider {
113 + height: 1px;
114 + margin: 20px 0;
115 + background: #D2D3D6;
88 116 }
89 -
90 -#imagify-check-api-container .dashicons-no:before {
91 - color: #f06e57;
92 - vertical-align: -1px;
117 +.imagify-pipe {
118 + display: inline-block;
119 + margin: 0 .75em;
120 + vertical-align: middle;
121 + height: 15px;
122 + width: 1px;
123 + background: #979797;
93 124 }
94 125
95 -#imagify-check-api-container .dashicons-yes:before {
96 - color: #8BC34A;
97 - vertical-align: -1px;
126 +/* Titles */
127 +.imagify-h3-like.imagify-h3-like.imagify-h3-like {
128 + margin-bottom: 0;
129 + font-size: 19px;
130 + font-weight: 500;
131 + color: #1F2332;
98 132 }
99 -.imagify-valid {
100 - color: #8BC34A;
133 +.imagify-h4-like.imagify-h4-like.imagify-h4-like {
134 + font-size: 14px;
135 + font-weight: bold;
136 + color: #2E3243;
101 137 }
102 138
103 -.imagify-chart {
104 - width: 33.33%;
105 - position: relative;
139 +/* Default counter */
140 +.imagify-count.imagify-count {
141 + counter-reset: num;
106 142 }
107 -#imagify-overview-chart-legend {
108 - overflow: hidden;
143 +.imagify-count .imagify-count-title {
144 + font-weight: bold;
109 145 }
110 -.imagify-doughnut-legend {
111 - margin-top: 38px;
112 - list-style: none;
146 +.imagify-default-settings {
147 + color: #73818c;
148 + font-weight: normal;
113 149 }
150 +.imagify-count .imagify-count-title:before {
151 + counter-increment: num 1;
152 + content: counter(num) ". ";
153 +}
114 154
115 -.imagify-doughnut-legend li {
116 - display: block;
117 - padding-left: 30px;
118 - position: relative;
119 - margin-bottom: 15px;
120 - border-radius: 5px;
121 - padding: 3px 8px 2px 31px;
122 - font-size: 14px;
123 - font-weight: 600;
124 - cursor: default;
125 - -webkit-transition: background-color 200ms ease-in-out;
126 - -moz-transition: background-color 200ms ease-in-out;
127 - -o-transition: background-color 200ms ease-in-out;
128 - transition: background-color 200ms ease-in-out;
155 +/* List counter */
156 +.imagify-count-list {
157 + counter-reset: listcount;
129 158 }
130 -
131 -.imagify-doughnut-legend li span {
132 - display: block;
133 - position: absolute;
134 - left: 0; top: 0;
135 - width: 25px;
136 - height: 25px;
137 - border-radius: 50%;
159 +.imagify-count-list li {
160 + display: flex;
161 + align-items: center;
138 162 }
139 -
140 -.imagify-chart {
141 - float: left;
142 - margin-bottom: 20px;
163 +.imagify-count-list li + li {
164 + margin-top: .5em;
143 165 }
144 -td .imagify-chart {
145 - float: none;
146 - margin-bottom: 0;
166 +.imagify-count-list li:before {
167 + display: flex;
168 + flex-basis: 24px;
169 + flex-shrink: 0;
170 + flex-grow: 0;
171 + align-items: center;
172 + justify-content: center;
173 + margin-right: 16px;
174 + border: 2px solid #40b1d0;
175 + width: 24px;
176 + height: 24px;
177 + counter-increment: listcount 1;
178 + content: counter(listcount);
179 + color: #40b1d0;
180 + border-radius: 50%;
147 181 }
148 182
149 -.imagify-chart-container {
150 - position: relative;
151 - width: 180px;
152 - float: left;
153 - margin-right: 40px;
183 +/* Table layout */
184 +.imagify-table {
185 + display: table;
186 + width: 100%;
154 187 }
155 -td .imagify-chart-container {
156 - width: 18px;
157 - height: 18px;
158 - float: none;
159 - margin-right: 10px;
188 +.imagify-cell {
189 + display: table-cell;
190 + padding: 10px;
191 + vertical-align: top;
160 192 }
161 -td .imagify-chart {
162 - top: 4px;
193 +.imagify-cell.va-top,
194 +.va-top .imagify-cell {
195 + vertical-align: top;
163 196 }
164 197
165 -.imagify-chart-percent {
166 - position: absolute;
167 - left: 0; right: 0;
168 - top: 50%;
169 - margin-top: -14px;
170 - text-align: center;
171 - font-size: 55px;
172 - font-weight: bold;
173 - color: #46B1CE;
198 +.imagify-bulk-submit .imagify-cell {
199 + padding-top: 0;
174 200 }
175 -.imagify-chart-percent span {
176 - font-size: 20px;
177 - vertical-align: super;
201 +
202 +/* When an "Imagify" modal is open in a page */
203 +body.imagify-modal-is-open {
204 + overflow: hidden;
178 205 }
179 206
180 -.media_page_imagify-bulk-optimization .media-item {
181 - margin: 0;
207 +/* Loader/Spinner */
208 +.imagify-spinner {
209 + display: inline-block;
210 + width: 20px;
211 + height: 20px;
212 + margin-right: 5px;
213 + vertical-align: middle;
214 + background: rgba(0, 0, 0, 0) url("../images/spinner.gif") no-repeat scroll 0 0 / 20px 20px;
215 + opacity: 0.7;
182 216 }
217 +.spinner.imagify-hidden {
218 + width: 0;
219 + margin: 4px 0 0 0;
220 +}
183 221
184 -.media_page_imagify-bulk-optimization .media-item .progress {
185 - float: none;
186 - width: 100%;
187 - margin: 0;
188 - background: #1F2331;
189 - box-shadow: 0;
190 - border-radius: 0;
222 +/* Some basic colors */
223 +.imagify-primary.imagify-primary.imagify-primary {
224 + color: #40b1d0;
191 225 }
226 +.imagify-secondary.imagify-secondary.imagify-secondary,
227 +.imagify-valid {
228 + color: #8BC34A;
229 +}
192 230
193 -.media_page_imagify-bulk-optimization .media-item .percent {
194 - width: auto;
195 - padding: 0 5px;
196 - line-height: 1.85;
197 - font-size: 12px;
231 +/* Informations in column (media popin, media details) */
232 +.misc-pub-section.misc-pub-imagify h4 {
233 + font-size: 14px;
234 + margin-top: 5px;
235 + margin-bottom: 0;
198 236 }
199 237
200 -.media_page_imagify-bulk-optimization .media-item .progress,
201 -.media_page_imagify-bulk-optimization .media-item .percent {
202 - text-align: right;
238 +/* Doughnut */
239 +.imagify-chart {
240 + position: relative;
241 + top: 1px;
242 + display: inline-block;
243 + vertical-align: middle;
203 244 }
204 -.media_page_imagify-bulk-optimization .media-item .progress .bar {
205 - width: 1px;
206 - height: 22px;
207 - margin-top: 0;
208 - background: #46B1CE;
209 - border-radius: 0;
210 - overflow: visible;
211 - -webkit-transition: width .5s;
212 - transition: width .5s;
245 +.imagify-chart-container {
246 + position: relative;
247 + display: inline-block;
248 + margin-right: 5px;
213 249 }
250 +.imagify-chart-container canvas {
251 + display: block;
252 +}
214 253
215 -
216 -/*
254 +/**
217 255 *
218 256 * == Settings page
219 - *
257 + *
220 258 */
221 259
222 260
223 -/* Basic HTML elements */
224 -
261 +/* Basic HTML elements for Options and Bulk pages */
225 262 .imagify-settings a,
226 263 .imagify-settings .button,
227 264 .imagify-settings input,
228 265 .imagify-welcome a,
@@ -234,52 +271,36 @@
234 271 .imagify-settings a {
235 272 color: #40b1d0;
236 273 }
237 274
238 -.imagify-options-title {
239 - padding-bottom: .5em;
240 - border-bottom: 3px solid #F2F2F2;
241 - font-size: 13px;
242 - font-weight: 500;
243 - text-transform: uppercase;
244 - letter-spacing: 0.025em;
245 - color: #40b1d0;
246 -}
247 -
248 275 .imagify-settings,
249 276 .imagify-settings p,
250 277 .imagify-settings th {
251 278 color: #5F758E;
252 279 }
253 -@media (max-width: 782px) {
254 - .imagify-settings .form-table th {
255 - padding-top: 2em;
256 - padding-bottom: .5em;
257 - }
258 -}
259 -.imagify-settings .form-table td {
260 - vertical-align: top;
261 -}
262 -.imagify-settings .form-table th span {
263 - cursor: pointer;
264 -}
265 -.imagify-middle th {
266 - padding-top: 35px;
267 -}
268 -.imagify-settings .button,
280 +
281 +/* Buttons */
282 +.imagify-main-content .button,
283 +.imagify-settings-section .button,
269 284 .imagify-welcome .button,
270 -.imagify-notice .button {
285 +.imagify-notice .button,
286 +.imagify-button.imagify-button,
287 +.imagify-button-primary.imagify-button-primary,
288 +.imagify-button-secondary.imagify-button-secondary {
271 289 height: auto;
272 - padding: 8px 20px;
290 + padding: 11px 22px;
273 291 border: 0 none;
274 292 font-size: 14px;
275 293 font-weight: 600;
294 + text-transform: uppercase;
295 + letter-spacing: 0.01em;
296 + word-spacing: 0.01em;
276 297 box-shadow: 0 3px 0 rgba(0, 0, 0, .15);
298 + border-radius: 3px;
299 + cursor: pointer;
300 + transition: all .275s;
277 301 }
278 -.imagify-notice .button-mini {
279 - padding: 2px 10px;
280 - font-size: 13px;
281 -}
302 +
282 303 .button-primary.button-mini {
283 304 padding: 2px 10px;
284 305 }
285 306 .imagify-settings .button.button-mini-flat {
@@ -285,9 +306,9 @@
285 306 .imagify-settings .button.button-mini-flat {
286 307 padding: 3px 6px 5px;
287 308 font-size: 12px;
288 309 box-shadow: none!important;
289 - line-height: 1.2;
310 + line-height: 1.2;
290 311 }
291 312 .imagify-settings .button.button-mini-flat:hover,
292 313 .imagify-settings .button.button-mini-flat:focus {
293 314 box-shadow: none!important;
@@ -292,9 +313,10 @@
292 313 .imagify-settings .button.button-mini-flat:focus {
293 314 box-shadow: none!important;
294 315 }
295 316
296 -.imagify-title .button-ghost.button-ghost {
317 +.imagify-title .button-ghost.button-ghost,
318 +.imagify-button-ghost.imagify-button-ghost {
297 319 padding: 2px 9px;
298 320 border: 1px solid #40B1D0;
299 321 font-size: 12px;
300 322 font-weight: normal;
@@ -299,60 +321,207 @@
299 321 font-size: 12px;
300 322 font-weight: normal;
301 323 color: #40B1D0;
302 324 background: transparent;
325 + box-shadow: none;
303 326 }
304 327 .imagify-title .button-ghost.button-ghost:hover,
305 -.imagify-title .button-ghost.button-ghost:focus {
328 +.imagify-title .button-ghost.button-ghost:focus,
329 +.imagify-button-ghost.imagify-button-ghost:hover,
330 +.imagify-button-ghost.imagify-button-ghost:focus {
306 331 border-color: transparent;
307 332 color: #000;
308 333 background: #40B1D0;
309 334 }
310 -.button .dashicons {
335 +.imagify-button-ghost.imagify-button-ghost:hover,
336 +.imagify-button-ghost.imagify-button-ghost:focus {
337 + color: #FFF;
338 +}
339 +.imagify-button-medium.imagify-button-medium {
340 + text-transform: uppercase;
341 + letter-spacing: 0.1em;
342 + padding: 3px 10px;
343 + font-weight: bold;
344 +}
345 +.imagify-button-medium.imagify-button-ghost {
346 + border-width: 2px;
347 +}
348 +[class*="imagify-"] .button .dashicons {
311 349 margin-right: 5px;
312 350 vertical-align: middle;
351 + line-height: 1;
313 352 }
353 +
314 354 .imagify-settings .button-primary.button-primary,
315 -.imagify-welcome .button-primary.button-primary {
355 +.imagify-welcome .button-primary.button-primary,
356 +.imagify-button-primary.imagify-button-primary {
316 357 background: #40B1D0;
317 358 color: #FFF;
318 359 box-shadow: 0 3px 0 rgba(51, 142, 166, 1);
319 - text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799
360 + text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799!important;
320 361 }
362 +.imagify-button-secondary.imagify-button-secondary {
363 + background: #8BC34A;
364 + color: #FFF;
365 + box-shadow: 0 3px 0 #6F9C3B;
366 + text-shadow: 0 -1px 1px #6F9C3B, 1px 0 1px #6F9C3B, 0 1px 1px #6F9C3B!important;
367 +}
321 368 .imagify-settings .button-primary:hover,
322 369 .imagify-settings .button-primary:focus,
323 370 .imagify-welcome .button-primary:hover,
324 -.imagify-welcome .button-primary:focus {
371 +.imagify-welcome .button-primary:focus,
372 +.imagify-button-primary.imagify-button-primary:hover,
373 +.imagify-button-primary.imagify-button-primary:focus {
325 374 background: rgb(51, 142, 166);
326 375 box-shadow: 0 3px 0 rgb(31, 122, 146);
327 376 }
328 -.imagify-settings input[type="text"] {
329 - color: #4A4A4A;
330 - font-weight: 600;
377 +.imagify-button-secondary.imagify-button-secondary:hover,
378 +.imagify-button-secondary.imagify-button-secondary:focus {
379 + background: #6F9C3B;
380 + color: #FFF;
381 +}
382 +
383 +.imagify-button-light.imagify-button-light {
384 + background: #FFF;
385 + color: #4a4a4a;
386 + box-shadow: 0 2px 0 rgba(0, 0, 0, .2);
387 +}
388 +.imagify-block-secondary .imagify-button-light.imagify-button-light {
389 + color: #6F9C3B;
390 +}
391 +.imagify-button-light.imagify-button-light:hover,
392 +.imagify-button-light.imagify-button-light:focus {
393 + color: #FFF;
394 + background: rgba(0, 0, 0, .2);
395 +}
396 +
397 +/* Buttons clean */
398 +.button.imagify-button-clean,
399 +.imagify-button-clean {
400 + padding: 0;
401 + background: transparent;
331 402 box-shadow: none;
332 403 }
333 -.imagify-settings p.submit .button-primary {
334 - margin-left: 240px;
404 +.imagify-button-clean .dashicons-plus {
405 + width: 32px;
406 + height: 25px;
335 407 }
336 -@media (max-width: 850px) {
337 - .imagify-settings p.submit .button-primary {
338 - margin-left: 0px;
339 - }
340 - .imagify-settings p.submit {
341 - text-align: center;
342 - }
408 +.imagify-button-clean .dashicons-plus:before {
409 + display: flex;
410 + align-items: center;
411 + justify-content: center;
412 + width: 25px;
413 + height: 22px;
414 + margin-left: 2px;
415 + padding-top: 3px;
416 + font-size: 17px;
417 + background: #40B1D0;
418 + color: #FFF;
419 + transition: all .275s;
343 420 }
421 +.button.imagify-button-clean:hover,
422 +.button.imagify-button-clean:focus,
423 +.button.imagify-button-clean:active,
424 +.button.imagify-button-clean[disabled] {
425 + background: transparent!important;
426 + color: #343A49;
427 + box-shadow: none;
428 +}
429 +.button.imagify-button-clean:hover .dashicons-plus:before,
430 +.button.imagify-button-clean:focus .dashicons-plus:before {
431 + background: #343A49;
432 +}
344 433
434 +/* Buttons link-like */
435 +button.imagify-link-like {
436 + border: 0;
437 + padding: 0;
438 + color: inherit;
439 + text-decoration: underline;
440 + font-size: 13px;
441 + box-shadow: none;
442 + background: transparent;
443 + cursor: pointer;
444 +}
345 445
346 -/* Header & Subheader */
446 +/* Modifier */
447 +.imagify-section-positive .imagify-button-light {
448 + color: #709A41;
449 +}
450 +.imagify-button.imagify-button-big {
451 + font-size: 15px;
452 + padding: 11px 30px;
453 +}
454 +.imagify-button-big .dashicons {
455 + font-size: 1.45em;
456 + margin-right: 6px;
457 + margin-left: -4px;
458 +}
347 459
460 +.imagify-settings .button .dashicons,
461 +.imagify-welcome .button .dashicons,
462 +.imagify-notice .button .dashicons,
463 +.imagify-button.imagify-button .dashicons,
464 +.imagify-button-primary.imagify-button-primary .dashicons,
465 +.imagify-button-secondary.imagify-button-secondary .dashicons {
466 + vertical-align: middle;
467 + line-height: 1;
468 +}
469 +
470 +[class*="imagify-"] .button-text {
471 + display: inline-block;
472 + vertical-align: middle;
473 +}
474 +
475 +/* Exception in Media edition page and post Edition pages (insert media popin) */
476 +.wp_attachment_image .imagify-button-primary,
477 +.media-frame-content .imagify-button-primary {
478 + padding: 0 10px 1px;
479 + margin: 0 5px 2px 0;
480 + font-size: 13px;
481 + line-height: 26px;
482 + box-shadow: 0 3px 0 rgba(51, 142, 166, 1);
483 +}
484 +.wp_attachment_image .imagify-button-primary {
485 + float: left;
486 +}
487 +
488 +/**
489 + * == Header & Subheader & Sections
490 + *
491 + * (options, Welcome Notice, Bulk)
492 + */
348 493 .imagify-title.imagify-title {
349 494 position: relative;
350 - padding: 30px 50px;
495 + padding: 10px 30px;
351 496 font-size: 23px;
352 - background: #2E3243;
497 + background: #1F2332;
353 498 color: #FFF;
354 499 }
500 +.imagify-welcome .imagify-logo {
501 + opacity: 1;
502 +}
503 +.imagify-welcome .imagify-title {
504 + display: flex;
505 + padding: 20px 30px;
506 +}
507 +.imagify-settings .imagify-title { /* (options and bulk) */
508 + display: flex;
509 + justify-content: space-between;
510 + align-items: center;
511 +}
512 +.imagify-settings .imagify-logo-block {
513 + display: flex;
514 + align-items: center;
515 + flex-shrink: 0;
516 + flex-grow: 0;
517 + padding: 0;
518 + margin-right: 35px;
519 + color: inherit;
520 +}
521 +.imagify-logo-block sup {
522 + color: #1F2332;
523 +}
355 524 .imagify-settings .imagify-title + .imagify-notice {
356 525 margin: 0;
357 526 border-right: 1px solid #D9D9D9;
358 527 padding-top: 15px;
@@ -357,85 +526,141 @@
357 526 border-right: 1px solid #D9D9D9;
358 527 padding-top: 15px;
359 528 padding-bottom: 15px;
360 529 }
530 +.imagify-title .title-text {
531 + font-size: 28px;
532 + font-weight: bold;
533 + color: #FFF;
534 +}
535 +.imagify-lb-icon {
536 + padding-right: 18px;
537 +}
538 +.imagify-lb-text img {
539 + margin-bottom: .15em;
540 +}
541 +.imagify-lb-text {
542 + font-size: 23px;
543 + font-weight: bold;
544 + color: #FFF;
545 +}
361 546 .imagify-logo {
547 + display: block;
362 548 vertical-align: top;
549 + opacity: .4;
363 550 }
364 551 .imagify-sub-header,
365 -.imagify-sub-title.imagify-sub-title,
366 -.imagify-settings div.submit { /* heavier is better */
552 +.imagify-sub-title.imagify-sub-title, /* heavier is better */
553 +.imagify-settings div.submit,
554 +.imagify-section {
367 555 margin: 0;
368 556 padding: 20px;
369 557 background: #F2F5F7;
370 558 }
559 +.imagify-sub-title.imagify-sub-title,
560 +.imagify-section-positive {
561 + padding-left: 40px;
562 +}
563 +.imagify-section-positive {
564 + background: #8cc152;
565 + color: #FFF;
566 +}
567 +.imagify-section-positive p {
568 + color: #FFF
569 +}
570 +.imagify-section-gray {
571 + background: #D9E4EB;
572 +}
573 +.imagify-section-gray .imagify-count-title {
574 + color: #4a4a4a;
575 +}
576 +.imagify-section p:first-child {
577 + margin-top: 0;
578 +}
579 +.imagify-section p:last-child {
580 + margin-bottom: 0;
581 +}
371 582
372 -.imagify-bulk-info {
373 - margin: 1em 1em 1em 240px;
374 - transition: margin .3s;
583 +/* Documentation link */
584 +.imagify-settings .imagify-documentation-link-box {
585 + display: flex;
586 + padding: 12px 13px 14px;
587 + border: 1px solid #40b1d0;
588 + color: #E5EBEF;
589 + border-radius: 3px;
375 590 }
376 -@media (max-width: 850px) {
377 - .imagify-bulk-info {
378 - margin: 1em;
379 - }
591 +.imagify-documentation-link-icon {
592 + width: 23px;
593 + height: 31px;
594 + font-size: 2.6em;
595 + margin-right: 15px;
596 + line-height: 1.3;
380 597 }
381 -.imagify-bulk-info p {
382 - display: inline-block;
383 - text-align: left;
384 - width: 400px;
385 - max-width: 100%;
598 +.imagify-documentation-link-box span {
599 + font-size: 12px;
600 +}
601 +.imagify-documentation-link-box a {
386 602 font-weight: bold;
387 603 }
388 604
389 -@media (min-width: 1500px) {
390 - .imagify-settings div.submit {
391 - display: table;
392 - width: 100%;
605 +@media (max-width: 1120px) {
606 + .imagify-settings .imagify-title {
607 + flex-wrap: wrap;
393 608 }
394 - .imagify-settings div.submit > * {
395 - display: table-cell;
396 - vertical-align: middle;
397 - }
398 - .imagify-bulk-info {
399 - padding: 0 25px;
400 - text-align: right;
401 - }
402 609 }
403 -.imagify-settings div.submit {
404 - margin-top: 2em;
405 - padding: 20px 0;
610 +
611 +.imagify-settings-section {
612 + padding: 10px 20px;
406 613 }
407 -.imagify-sub-header th {
408 - text-align: right;
614 +.imagify-account-info-col .imagify-settings-section {
615 + padding-right: 0;
409 616 }
410 -.imagify-sub-header .form-table {
411 - margin: 0;
617 +.imagify-settings-main-content,
618 +.imagify-welcome .imagify-settings-section {
619 + border: 1px solid #D9D9D9;
620 + border-top-width: 0;
621 + background: #FFF;
412 622 }
413 -.imagify-sub-header th,
414 -.imagify-sub-header td {
415 - padding-top: 0;
416 - padding-bottom: 0;
623 +
624 +.imagify-settings-main-content {
625 + padding-bottom: 20px;
417 626 }
418 -[for="api_key"] {
419 - padding-top: 5px;
627 +.imagify-settings-main-content p,
628 +.imagify-settings-main-content .imagify-setting-line {
629 + font-size: 14px;
630 + line-height: 1.5;
420 631 }
421 632
422 -.imagify-notice .imagify-rate-us.imagify-rate-us {
423 - position: relative;
424 - bottom: 0; right: 0;
425 - text-align: left;
633 +.imagify-settings-main-content .code {
634 + max-height: 10em;
635 + padding: 3px 5px 2px 5px;
636 + overflow: auto;
637 + background: #EAEAEA;
638 + background: rgba(0,0,0,.07);
426 639 }
427 640
428 -.imagify-notice .imagify-rate-us .stars {
429 - margin: 0;
641 +.imagify-settings-main-content + .imagify-settings-main-content {
642 + margin-top: 20px;
643 + border-top-width: 1px;
430 644 }
431 645
646 +.imagify-br {
647 + line-height: 2;
648 +}
649 +
650 +/* New to imagify, title */
651 +p.imagify-section-title.imagify-section-title {
652 + font-size: 20px;
653 + margin-top: -.3em;
654 + margin-bottom: -.6em;
655 +}
656 +
657 +/**
658 + * == Rating (Notice + Settings)
659 + */
432 660 .imagify-rate-us.imagify-rate-us {
433 - position: absolute;
434 - bottom: 50%;
435 - right: 20px;
436 661 text-align: right;
437 - margin-bottom: -2.4em;
662 + margin: -1em -2.4em -1em 0;
438 663 color: #FFF;
439 664 }
440 665 .imagify-rate-us a {
441 666 color: #40B1D0;
@@ -468,32 +693,21 @@
468 693 margin-left: 0;
469 694 }
470 695 }
471 696
472 -
473 -/* Sections */
474 -
475 -.imagify-settings-section {
476 - padding: 10px 20px;
477 -}
478 -[id="imagify-settings"],
479 -.imagify-welcome .imagify-settings-section {
480 - border: 1px solid #D9D9D9;
481 - border-top: 0 none;
482 - background: #FFF;
483 -}
484 -.imagify-br {
485 - line-height: 2;
486 -}
487 -
488 -
489 -/* Some colors */
697 +/**
698 + * == Messages & infos
699 + */
490 700 .imagify-important {
491 701 color: #F5A623;
492 702 }
703 +.imagify-success,
704 +.imagify-settings .imagify-success {
705 + color: #8BC34A;
706 +}
493 707 .imagify-info,
494 708 .imagify-info a {
495 - color: #40B1D0;
709 + color: #7A8996;
496 710 font-size: 12px;
497 711 }
498 712 .imagify-info {
499 713 position: relative;
@@ -498,55 +712,27 @@
498 712 .imagify-info {
499 713 position: relative;
500 714 display: inline-block;
501 715 padding-left: 25px;
502 - vertical-align: top;
503 716 }
504 717 .imagify-info .dashicons {
505 718 position: absolute;
506 - left: 0; top: -1px;
719 + left: 0; top: 0;
720 + color: #40B1D0;
507 721 }
508 -label + .imagify-info,
509 -label + .imagify-options-line,
510 -.imagify-visual-label {
511 - display: inline-block;
512 - max-width: 70%;
513 - margin-left: 15px;
514 - margin-top: 2px!important;
515 - -webkit-transition: opacity .3s;
516 - transition: opacity .3s;
517 -}
518 -.imagify-visual-label {
519 - vertical-align: -5px;
520 -}
521 -label[for="imagify_sizes_full"] + .imagify-info {
522 - vertical-align: middle;
523 -}
524 722
525 -.imagify-settings.imagify-settings [type="checkbox"]:not(:checked) + label + .imagify-options-line,
526 -.imagify-settings.imagify-settings [type="checkbox"]:not(:checked) + label .imagify-visual-label {
527 - opacity: .5;
528 -}
529 -.imagify-settings.imagify-settings [type="checkbox"]:checked + label + .imagify-options-line,
530 -.imagify-settings.imagify-settings [type="checkbox"]:checked + label .imagify-visual-label {
531 - opacity: 1;
532 -}
533 -
534 -.imagify-checkbox-marged {
535 - max-width: 500px;
536 - margin-left: 45px;
537 -}
538 -
539 -
540 -
541 723 /* Custom checkboxes in CSS */
542 -
543 724 .imagify-settings.imagify-settings [type="checkbox"]:not(:checked),
544 -.imagify-settings.imagify-settings [type="checkbox"]:checked {
725 +.imagify-settings.imagify-settings [type="checkbox"]:checked,
726 +.imagify-checkbox.imagify-checkbox:not(:checked),
727 +.imagify-checkbox.imagify-checkbox:checked {
728 + position: absolute;
545 729 opacity: 0.01;
546 730 }
547 731 .imagify-settings.imagify-settings [type="checkbox"]:not(:checked):focus,
548 -.imagify-settings.imagify-settings [type="checkbox"]:checked:focus {
732 +.imagify-settings.imagify-settings [type="checkbox"]:checked:focus,
733 +.imagify-checkbox.imagify-checkbox:not(:checked):focus,
734 +.imagify-checkbox.imagify-checkbox:checked:focus {
549 735 box-shadow: none!important; /* system value to override */
550 736 outline: none!important;
551 737 border: 0 none!important;
552 738 }
@@ -551,34 +737,46 @@
551 737 border: 0 none!important;
552 738 }
553 739
554 740 .imagify-settings [type="checkbox"]:not(:checked) + label,
555 -.imagify-settings [type="checkbox"]:checked + label {
741 +.imagify-settings [type="checkbox"]:checked + label,
742 +.imagify-checkbox.imagify-checkbox:not(:checked) + label,
743 +.imagify-checkbox.imagify-checkbox:checked + label {
556 744 position: relative;
557 - padding-left: 6px;
745 + display: flex;
746 + align-items: center;
747 + min-height: 24px;
748 + padding-left: 40px;
558 749 cursor: pointer;
559 - vertical-align: top;
750 + font-size: 14px;
751 + font-weight: bold;
752 + color: #2E3243;
560 753 }
561 754
562 755 /* checkbox aspect */
563 756 .imagify-settings [type="checkbox"]:not(:checked) + label:before,
564 -.imagify-settings [type="checkbox"]:checked + label:before {
757 +.imagify-settings [type="checkbox"]:checked + label:before,
758 +.imagify-checkbox.imagify-checkbox:not(:checked) + label:before,
759 +.imagify-checkbox.imagify-checkbox:checked + label:before {
565 760 content: '';
566 761 position: absolute;
567 762 left: 0; top: 0;
568 - width: 28px; height: 28px;
569 - margin: 0 0 0 -24px;
763 + width: 22px; height: 22px;
570 764 border: 2px solid #8BA6B4;
571 765 background: #FFFFFF;
572 - border-radius: 4px;
766 + border-radius: 3px;
573 767 }
574 768 /* checked mark aspect */
575 769 .imagify-settings [type="checkbox"]:not(:checked) + label:after,
576 -.imagify-settings [type="checkbox"]:checked + label:after {
770 +.imagify-settings [type="checkbox"]:checked + label:after,
771 +.imagify-checkbox.imagify-checkbox:not(:checked) + label:after,
772 +.imagify-checkbox.imagify-checkbox:checked + label:after {
577 773 content: "✓";
578 774 position: absolute;
579 775 font-size: 1.4em;
580 - top: 3px; left: -16px;
776 + top: -2px; left: 4.5px;
777 + color: #8BA6B4;
778 + font-weight: normal;
581 779 -webkit-transition: all .2s;
582 780 -moz-transition: all .2s;
583 781 -ms-transition: all .2s;
584 782 transition: all .2s;
@@ -584,14 +782,17 @@
584 782 transition: all .2s;
585 783 }
586 784 /* disabled aspect */
587 785 .imagify-settings [type="checkbox"][disabled]:not(:checked) + label:before,
588 -.imagify-settings [type="checkbox"][disabled]:checked + label:before {
786 +.imagify-settings [type="checkbox"][disabled]:checked + label:before,
787 +.imagify-checkbox.imagify-checkbox[disabled]:not(:checked) + label:before,
788 +.imagify-checkbox.imagify-checkbox[disabled]:checked + label:before {
589 789 border-color: #ccc;
590 790 background: #ddd;
591 791 }
592 792 /* checked mark aspect changes */
593 -.imagify-settings [type="checkbox"]:not(:checked) + label:after {
793 +.imagify-settings [type="checkbox"]:not(:checked) + label:after,
794 +.imagify-checkbox.imagify-checkbox:not(:checked) + label:after {
594 795 opacity: 0;
595 796 -webkit-transform: scale(0);
596 797 -moz-transform: scale(0);
597 798 -ms-transform: scale(0);
@@ -596,9 +797,10 @@
596 797 -moz-transform: scale(0);
597 798 -ms-transform: scale(0);
598 799 transform: scale(0);
599 800 }
600 -.imagify-settings [type="checkbox"]:checked + label:after {
801 +.imagify-settings [type="checkbox"]:checked + label:after,
802 +.imagify-checkbox.imagify-checkbox:checked + label:after {
601 803 opacity: 1;
602 804 -webkit-transform: scale(1);
603 805 -moz-transform: scale(1);
604 806 -ms-transform: scale(1);
@@ -603,15 +805,30 @@
603 805 -moz-transform: scale(1);
604 806 -ms-transform: scale(1);
605 807 transform: scale(1);
606 808 }
607 -input[id^="imagify_sizes_"]:checked + label {
608 - font-weight: bold;
809 +
810 +/* medium version */
811 +.medium.imagify-checkbox:not(:checked) + label:before,
812 +.medium.imagify-checkbox:checked + label:before {
813 + width: 22px;
814 + height: 22px;
815 + border-width: 1.5px;
816 + border-radius: 2px;
817 + margin-top: 0;
609 818 }
819 +.medium.imagify-checkbox:not(:checked) + label:after,
820 +.medium.imagify-checkbox:checked + label:after {
821 + font-size: 1.1em;
822 + left: -17px;
823 + top: 3px;
824 +}
610 825
611 826 /* mini version */
612 827 .imagify-settings .mini[type="checkbox"]:not(:checked) + label:before,
613 -.imagify-settings .mini[type="checkbox"]:checked + label:before {
828 +.imagify-settings .mini[type="checkbox"]:checked + label:before,
829 +.mini.imagify-checkbox:not(:checked) + label:before,
830 +.mini.imagify-checkbox:checked + label:before {
614 831 width: 15px;
615 832 height: 15px;
616 833 border-width: 1px;
617 834 border-radius: 2px;
@@ -617,21 +834,50 @@
617 834 border-radius: 2px;
618 835 margin-top: 0;
619 836 }
620 837 .imagify-settings .mini[type="checkbox"]:not(:checked) + label:after,
621 -.imagify-settings .mini[type="checkbox"]:checked + label:after {
622 - content: "✓";
838 +.imagify-settings .mini[type="checkbox"]:checked + label:after,
839 +.mini.imagify-checkbox:not(:checked) + label:after,
840 +.mini.imagify-checkbox:checked + label:after {
623 841 font-size: .9em;
624 842 left: -21px;
625 - top: 1px;
843 + top: -0.5px;
626 844 }
627 845 /* focus aspect */
628 846 .imagify-settings [type="checkbox"]:not(:checked):focus + label:before,
629 -.imagify-settings [type="checkbox"]:checked:focus + label:before {
847 +.imagify-settings [type="checkbox"]:checked:focus + label:before,
848 +.imagify-checkbox.imagify-checkbox:not(:checked):focus + label:before,
849 +.imagify-checkbox.imagify-checkbox:checked:focus + label:before {
630 850 border-style: dotted;
631 851 border-color: #40b1d0;
632 852 }
633 853
854 +/* Checkbox groups */
855 +.imagify-check-group {
856 + padding-left: 2px;
857 + margin-bottom: 0;
858 +}
859 +.imagify-check-group.imagify-is-scrollable {
860 + height: 15em;
861 + overflow-y: auto;
862 + padding: 8px;
863 + margin: 1.5em 0 0 -8px;
864 + background: #F4F7F9;
865 + border: 1px solid #D2D3D6;
866 + border-radius: 3px;
867 +}
868 +.imagify-is-scrollable legend + p {
869 + margin-top: 0;
870 +}
871 +.imagify-is-scrollable [type="checkbox"]:not(:checked) + label:before,
872 +.imagify-is-scrollable [type="checkbox"]:checked + label:before {
873 + background: #F4F7F9;
874 +}
875 +.imagify-settings .imagify-check-group.imagify-check-group label {
876 + color: #338EA6;
877 + font-weight: 500;
878 +}
879 +
634 880 /* Custom radio in CSS */
635 881 .imagify-inline-options {
636 882 position: relative;
637 883 display: table;
@@ -638,13 +884,9 @@
638 884 width: 100%;
639 885 max-width: 600px;
640 886 border-collapse: collapse;
641 887 }
642 -.imagify-inline-options:after {
643 - content: "";
644 - display: table;
645 - clear: both;
646 -}
888 +
647 889 .imagify-inline-options input[type="radio"]:not(:checked),
648 890 .imagify-inline-options input[type="radio"]:checked {
649 891 position: absolute;
650 892 left: 5px; top: 5px;
@@ -649,15 +891,12 @@
649 891 position: absolute;
650 892 left: 5px; top: 5px;
651 893 display: none;
652 894 }
895 +
653 896 .imagify-inline-options input[type="radio"]:not(:checked) + label,
654 897 .imagify-inline-options input[type="radio"]:checked + label {
655 898 position: relative;
656 - /*
657 - float: left;
658 - padding: 13px 40px;
659 - */
660 899 display: table-cell;
661 900 padding: 13px 10px;
662 901 text-align: center;
663 902
@@ -666,22 +905,20 @@
666 905 text-transform: uppercase;
667 906 letter-spacing: 0.1em;
668 907 color: #FFF;
669 908 background: #2E3243;
670 - border-left: 1px solid rgba(255, 255, 255, 0.2);
671 - box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.1) inset, inset -1px 0 0 rgba(255, 255, 255, 0.2);
909 + box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.1) inset;
672 910 z-index: 2;
673 911 -webkit-transition: all .275s;
674 912 transition: all .275s;
913 + cursor: pointer;
675 914 }
676 -.imagify-bulk-submit .imagify-inline-options input[type="radio"]:not(:checked) + label,
677 -.imagify-bulk-submit .imagify-inline-options input[type="radio"]:checked + label {
678 - margin-bottom: 1.75em;
679 -}
915 +
680 916 .imagify-inline-options input[type="radio"]:not(:checked) + label:first-of-type,
681 917 .imagify-inline-options input[type="radio"]:checked + label:first-of-type {
682 918 border-radius: 3px 0 0 3px;
683 919 }
920 +
684 921 .imagify-inline-options input[type="radio"]:not(:checked) + label:last-of-type,
685 922 .imagify-inline-options input[type="radio"]:checked + label:last-of-type {
686 923 border-radius: 0 3px 3px 0;
687 924 }
@@ -689,175 +926,82 @@
689 926 .imagify-inline-options input[type="radio"]:checked + label {
690 927 background: #8BC34A
691 928 }
692 929
930 +.imagify-inline-options input[type="radio"]:disabled + label {
931 + background: #ccc;
932 + color: #999;
933 + cursor:not-allowed;
934 +}
935 +
693 936 .imagify-inline-options .imagify-info {
694 937 margin-top: 15px;
695 938 }
696 -.imagify-btn-info {
697 - display: block;
698 - font-size: 0.7em;
699 - letter-spacing: 0;
700 - line-height: 1;
701 - text-transform: none;
939 +
940 +/**
941 + * Account information columns (Settings & Bulk)
942 + */
943 +.imagify-col.imagify-col.imagify-account-info-col,
944 +.imagify-account-info-col {
945 + width: 380px;
946 + max-width: 100%;
947 + padding: 0 20px 0 0;
702 948 }
703 -
704 -/* Some inputs */
705 -#describe-resize-larger input {
706 - width: 5em;
949 +.imagify-col.imagify-col.imagify-shared-with-account-col,
950 +.imagify-shared-with-account-col {
951 + width: calc(100% - 380px);
952 + padding: 0;
707 953 }
708 954
709 -/* Ads & columns */
710 -.imagify-col {
711 - overflow: hidden;
955 +.imagify-account-info-col .imagify-options-title {
956 + padding: 24px 26px;
957 + color: #FFF;
958 + background: #1F2332;
712 959 }
713 -.imagify-sidebar {
714 - float: right;
715 - width: 280px;
716 - margin-left: 25px;
960 +.imagify-block-secondary {
961 + padding: 26px 26px 35px;
962 + border: 1px solid #75A345;
963 + background: #8BC34A;
964 + border-radius: 3px;
965 + color: #FFF;
717 966 }
718 -.imagify-sidebar-section {
719 - border: 1px solid #BBB;
720 - background: #FFF;
967 +.imagify-block-secondary.imagify-block-secondary p,
968 +.imagify-account-info-col .imagify-block-secondary.imagify-block-secondary h3 {
969 + color: inherit;
721 970 }
722 -.imagify-sidebar-section + .imagify-sidebar-section {
723 - margin-top: 2em;
971 +.imagify-account-info-col .imagify-col-content h3:first-child {
972 + margin-top: 0;
724 973 }
725 -@media (max-width: 760px) {
726 - .imagify-settings {
727 - display: flex;
728 - flex-direction: column;
729 - }
730 - .imagify-sidebar {
731 - order: 2;
732 - float: none;
733 - width: auto;
734 - margin-left: 0;
735 - margin-top: 25px;
736 - }
737 - .wp-media-products {
738 - text-align: center;
739 - }
740 - .wp-media-products li {
741 - display: inline-block;
742 - width: 100%;
743 - max-width: 276px;
744 - }
974 +.imagify-account-info-col .imagify-col-content h3 {
975 + font-size: 19px;
745 976 }
746 -.imagify-sidebar-title {
747 - display: block;
748 - padding: 20px 15px;
749 - border-bottom: 1px solid #BBB;
750 - font-size: 14px;
751 - font-weight: bold;
752 - color: #23282d;
753 - background: #F2F5F7;
977 +.imagify-account-info-col .imagify-col-content p {
978 + margin: 1.5em 0;
754 979 }
755 -.imagify-sidebar-title img {
756 - vertical-align: top;
757 - margin-right: 5px;
758 -}
759 -.imagify-sidebar .wp-media-products {
980 +.imagify-account-info-col .imagify-col-content p:first-child {
760 981 margin-top: 0;
761 - margin-bottom: -.5em;
762 982 }
763 -.imagify-sidebar .wp-media-products .links {
764 - display: block;
765 - padding: 85px 25px 24px;
766 - text-align: center;
767 - background-color: #2E3243;
768 - background-size: contain;
769 - background-repeat: no-repeat;
770 - background-position: 50% 0;
771 - text-decoration: none;
772 -}
773 -.imagify-sidebar .wp-media-products .links p {
774 - margin: 1.5em auto;
775 - color: #FFF;
776 -}
777 -.imagify-sidebar .wp-media-products .wprocket-link {
778 - background-image: linear-gradient(to bottom, rgba(59, 30, 78 ,0), rgba(59, 30, 78 ,0) 130px, rgba(59 ,30 ,78 , 1) 210px), url("../images/sidebar-wp-rocket.jpg");
779 - background-color: #3B1E4E;
780 - background-repeat: repeat-x, no-repeat;
781 -}
782 983
783 -.imagify-sidebar-content {
784 - padding: 10px 20px;
984 +.imagify-user-plan-label {
985 + float: right;
986 + margin-top: -4px;
987 + padding: 2px 10px;
988 + border: 2px solid #40B1D0;
989 + font-size: 14px;
990 + text-transform: uppercase;
991 + letter-spacing: 0.02em;
992 + color: #40B1D0;
993 + border-radius: 3px;
785 994 }
786 995
787 -.imagify-mark-styled {
788 - display: inline-block;
789 - padding: 1px 2px 1px 4px;
790 - line-height: 1.3;
791 - font-weight: bold;
792 - background: #F7A933;
793 - transform-origine: 50% 50%;
794 - transform: rotateZ(-2deg) rotateX(-10deg) skewX(-2deg) skewY(-3deg);
795 - text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
996 +/* Content given after remote answer, avoid "flash" effect on content */
997 +.imagify-user-plan-label:empty {
998 + display: none;
796 999 }
797 -.imagify-mark-styled span {
798 - display: inline-block;
799 - transform: rotateZ(2deg) rotateX(10deg) skewX(2deg) skewY(3deg);
800 -}
801 1000
802 -.imagify-discount-code {
803 - margin: 0.35em 0 .5em;
804 - display: block;
805 - font-size: 2em;
806 - letter-spacing: .05em;
807 - font-weight: bold;
808 - text-align: center;
809 - text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
810 -}
811 -.imagify-big-text {
812 - font-size: 15px;
813 - font-weight: bold;
814 -}
815 -.imagify-big-text strong {
816 - font-size: 20px;
817 -}
818 -a.btn-rocket {
819 - display: block;
820 - font-size: 1.15em;
821 - padding: 12px;
822 - background: #F7A933;
823 - box-shadow: 0 3px 0 #D69626;
824 - border-radius: 3px;
825 - color: #FFF;
826 - text-transform: uppercase;
827 - font-weight: bold;
828 - text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
829 - text-decoration: none;
830 -}
831 -a.btn-rocket:hover,
832 -a.btn-rocket:focus {
833 - background: darkorange;
834 - box-shadow: 0 3px 0 darkorange;
835 -}
836 -
837 -
838 -/*
839 - * == Welcome section
1001 +/**
1002 + * == Columns
840 1003 */
841 -
842 -.imagify-welcome {
843 - margin: 30px 20px 0 0;
844 -}
845 -.imagify-welcome .baseline {
846 - display: inline-block;
847 - margin: .2em 0 0 2em;
848 - font-size: 17px;
849 -}
850 -.imagify-welcome .imagify-logo {
851 - vertical-align: middle;
852 -}
853 -.imagify-welcome-remove {
854 - position: absolute;
855 - top: 50%; right: 15px;
856 - margin-top: -8px;
857 - color: #FFF;
858 - text-decoration: none;
859 -}
860 1004 .imagify-columns {
861 1005 overflow: hidden;
862 1006 padding: 15px 0;
863 1007 counter-reset: cols;
@@ -871,19 +1015,17 @@
871 1015 .imagify-columns .col-1-3 {
872 1016 width: 33.333%;
873 1017 padding-left: 28px;
874 1018 }
1019 +.imagify-columns .col-2-3 {
1020 + width: 66.666%;
1021 + padding-left: 28px
1022 +}
875 1023 .imagify-columns .col-1-2 {
876 1024 width: 50%;
877 1025 padding: 0 20px;
878 1026 }
879 -.imagify-columns .col-informations {
880 - width: 41.6%;
881 - padding-right: 30px;
882 -}
883 -.imagify-columns .col-statistics {
884 - width: 25%;
885 -}
1027 +
886 1028 @media (max-width: 830px) {
887 1029 .imagify-columns [class^="col-"] {
888 1030 float: none;
889 1031 margin-bottom: 1.5em;
@@ -895,99 +1037,10 @@
895 1037 clear: both;
896 1038 padding-top: 1em;
897 1039 }
898 1040 }
899 -.imagify-columns [class^="col-"] img {
900 - float: left;
901 - margin-right: 18px;
902 -}
903 -.imagify-col-content {
904 - overflow: hidden;
905 -}
906 -.imagify-col-title {
907 - margin: 0 0 15px 0;
908 - font-size: 23px;
909 -}
910 -.counter .imagify-col-title:before {
911 - counter-increment: cols;
912 - content: counter(cols) ". ";
913 - color: #40B1D0;
914 -}
915 -.imagify-col-desc {
916 - color: #5F758E;
917 - margin-bottom: 2em;
918 -}
919 1041
920 -
921 -/*
922 - * == Imagify Notices
923 - */
924 -.imagify-notice.imagify-notice {
925 - position: relative;
926 - display: -webkit-box;
927 - display: -webkit-flex;
928 - display: -ms-flexbox;
929 - display: flex;
930 - padding: 0;
931 - margin: 10px 20px 10px 2px;
932 - border: 0 none;
933 - background: #2E3243;
934 - box-shadow: none;
935 - color: #FFF;
936 -}
937 -@media (max-width:782px) {
938 - .imagify-notice.imagify-notice,
939 - .imagify-welcome {
940 - margin-right: 12px;
941 - }
942 -}
943 -@media (max-width: 450px) {
944 - .imagify-notice.imagify-notice {
945 - -webkit-box-orient: vertical;
946 - -webkit-box-direction: normal;
947 - -webkit-flex-direction: column;
948 - -ms-flex-direction: column;
949 - flex-direction: column;
950 - }
951 -}
952 -.wrap .imagify-notice {
953 - margin: 5px 15px 2px;
954 - position: relative;
955 -}
956 -.imagify-notice-logo {
957 - padding: 18px 23px;
958 - background: #40B1D0;
959 -}
960 -.updated .imagify-notice-logo {
961 - background: #8BC34A;
962 -}
963 -.error .imagify-notice-logo {
964 - background: #D0021B;
965 -}
966 -
967 -.imagify-notice-title {
968 - font-size: 15px;
969 -}
970 -
971 -.imagify-notice-content {
972 - padding: 5px 23px;
973 -}
974 -.imagify-notice-content.imagify-notice-content p {
975 - margin: 0.65em 0;
976 -}
977 -.imagify-notice a {
978 - color: #40B1D0;
979 -}
980 -.imagify-notice a:hover,
981 -.imagify-notice a:focus {
982 - color: #FEE102;
983 -}
984 -
985 -.imagify-notice code {
986 - background: rgba(0, 0, 0, 0.4) none repeat scroll 0 0;
987 -}
988 -
989 -/*
1042 +/**
990 1043 * == Custom column & Metabox
991 1044 */
992 1045 .column-imagify_optimized_file.column-imagify_optimized_file {
993 1046 width: 300px;
@@ -994,16 +1047,51 @@
994 1047 text-align: center;
995 1048 vertical-align: middle;
996 1049 }
997 1050 .column-imagify_optimized_file > * {
998 - max-width: 235px;
1051 + max-width: 21em;
999 1052 margin: 0 auto;
1000 1053 }
1001 -ul.imagify-datas-list.imagify-datas-list {
1002 - margin: 0 auto;
1003 - color: #555;
1004 - font-size: 10px;
1054 +@media (min-width: 1151px) and (max-width: 1800px) {
1055 + .column-imagify_optimized_file.column-imagify_optimized_file {
1056 + width: 21em;
1057 + }
1005 1058 }
1059 +@media (min-width: 783px) and (max-width: 1150px) {
1060 + .column-imagify_optimized_file.column-imagify_optimized_file {
1061 + width: 13em;
1062 + }
1063 + table.media .column-title .has-media-icon ~ .row-actions.row-actions {
1064 + margin-left: 0;
1065 + }
1066 +}
1067 +@media (max-width: 782px) {
1068 + table.media .column-imagify_optimized_file.column-imagify_optimized_file {
1069 + text-align: left;
1070 + }
1071 + table.media .imagify-datas-more-action,
1072 + table.media .imagify-datas-actions-links {
1073 + text-align: center;
1074 + }
1075 + table.media .column-imagify_optimized_file > *,
1076 + table.media .column-imagify_optimized_file .imagify-datas-actions-links a {
1077 + max-width: 100%;
1078 + margin-left: 0;
1079 + }
1080 +}
1081 +@media (min-width: 783px) and (max-width: 1150px), (max-width: 360px) {
1082 + table.media .imagify-hide-if-small {
1083 + position: absolute;
1084 + margin: -1px;
1085 + padding: 0;
1086 + height: 1px;
1087 + width: 1px;
1088 + overflow: hidden;
1089 + clip: rect(0 0 0 0);
1090 + border: 0;
1091 + word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
1092 + }
1093 +}
1006 1094 .compat-field-imagify .label {
1007 1095 vertical-align: top;
1008 1096 }
1009 1097 .compat-field-imagify ul.imagify-datas-list {
@@ -1009,8 +1097,12 @@
1009 1097 .compat-field-imagify ul.imagify-datas-list {
1010 1098 margin-top: 7px;
1011 1099 font-size: 11px;
1012 1100 }
1101 +ul.imagify-datas-list.imagify-datas-list {
1102 + margin: 0 auto;
1103 + color: #555;
1104 +}
1013 1105 ul.imagify-datas-list .big {
1014 1106 font-size: 12px;
1015 1107 color: #40B1D0;
1016 1108 }
@@ -1016,15 +1108,8 @@
1016 1108 }
1017 1109 .imagify-data-item {
1018 1110 overflow: hidden;
1019 1111 }
1020 -.imagify-data-item .imagify-chart {
1021 - display: inline-block;
1022 - top: 1px;
1023 - width: 20px;
1024 - vertical-align: middle;
1025 - margin-bottom: 0;
1026 -}
1027 1112 li.imagify-data-item {
1028 1113 clear: both;
1029 1114 margin-bottom: 2px;
1030 1115 }
@@ -1030,16 +1115,17 @@
1030 1115 }
1031 1116 ul.imagify-datas-list .imagify-data-item span.data,
1032 1117 ul.imagify-datas-list .imagify-data-item strong {
1033 1118 float: left;
1034 - width: 50%;
1119 + width: 38%;
1035 1120 -webkit-box-sizing: border-box;
1036 1121 -moz-box-sizing: border-box;
1037 1122 box-sizing: border-box;
1038 1123 }
1039 1124 ul.imagify-datas-list .imagify-data-item span.data {
1125 + width: 62%;
1126 + padding-right: 5px;
1040 1127 text-align: left;
1041 - padding-right: 5px;
1042 1128 }
1043 1129 .compat-field-imagify .imagify-datas-list .imagify-data-item .data {
1044 1130 width: 130px;
1045 1131 text-align: left;
@@ -1048,9 +1134,20 @@
1048 1134 ul.imagify-datas-list .imagify-data-item strong {
1049 1135 text-align: left;
1050 1136 padding-left: 5px;
1051 1137 }
1052 -
1138 +.media-sidebar .imagify-datas-list .imagify-data-item .data {
1139 + width: auto;
1140 + float: none;
1141 +}
1142 +.media-sidebar .imagify-datas-list .imagify-data-item strong {
1143 + display: inline-block;
1144 + width: auto;
1145 + float: none;
1146 +}
1147 +.media-sidebar .imagify-datas-list .imagify-data-item .imagify-chart {
1148 + float: left;
1149 +}
1053 1150 .imagify-datas-more-action.imagify-datas-more-action {
1054 1151 margin: .4em auto;
1055 1152 background: linear-gradient(to bottom, transparent, transparent 49%, rgba(0,0,0,.075) 50%, rgba(0,0,0,.075) 58%, transparent 58%, transparent);
1056 1153 }
@@ -1082,10 +1179,10 @@
1082 1179 }
1083 1180 .imagify-datas-more-action .the-text {
1084 1181 display: inline-block;
1085 1182 vertical-align: middle;
1086 - height: 20px;
1087 - line-height: 20px;
1183 + height: auto;
1184 + line-height: inherit;
1088 1185 }
1089 1186
1090 1187 ul.imagify-datas-details.imagify-datas-details {
1091 1188 margin: .7em auto;
@@ -1100,10 +1197,17 @@
1100 1197 .imagify-datas-actions-links {
1101 1198 overflow: hidden;
1102 1199 border-top: 2px solid transparent;
1103 1200 padding-top: 5px;
1104 - font-size: 8px;
1201 + font-size: 11px;
1105 1202 }
1203 +.nggform .imagify-datas-actions-links {
1204 + position: relative;
1205 + z-index: 2;
1206 +}
1207 +.nggform .row-actions {
1208 + z-index: 1;
1209 +}
1106 1210 .imagify-datas-actions-links a {
1107 1211 position: relative;
1108 1212 display: inline-block;
1109 1213 padding-left: 17px;
@@ -1116,20 +1220,30 @@
1116 1220 .misc-pub-imagify .imagify-datas-actions-links {
1117 1221 border-top: 2px solid #f2f2f2;
1118 1222 padding-bottom: 5px;
1119 1223 }
1224 +/* Library */
1225 +.column-imagify_optimized_file .imagify-datas-actions-links a {
1226 + margin: 0 .7em;
1227 + padding-left: 15px;
1228 +}
1229 +
1120 1230 /* Media edition */
1121 1231 .compat-field-imagify .imagify-datas-actions-links a,
1122 1232 .misc-pub-imagify .imagify-datas-actions-links a {
1123 - font-size: 10px;
1124 1233 float: left;
1125 1234 width: 50%;
1126 1235 }
1127 -/* Medias list */
1128 -.column-imagify_optimized_file .imagify-datas-actions-links a {
1129 - margin: 0 .7em;
1130 - padding-left: 15px;
1236 +.media-sidebar .compat-field-imagify .imagify-datas-actions-links a,
1237 +.submitbox .misc-pub-imagify .imagify-datas-actions-links a {
1238 + display: block;
1239 + width: auto;
1240 + float: none;
1131 1241 }
1242 +.media-sidebar .compat-field-imagify .imagify-datas-actions-links br,
1243 +.submitbox .misc-pub-imagify .imagify-datas-actions-links br {
1244 + display: none;
1245 +}
1132 1246 .imagify-datas-actions-links a:only-child {
1133 1247 float: none;
1134 1248 width: auto;
1135 1249 }
@@ -1143,68 +1257,16 @@
1143 1257 margin-right: 2px;
1144 1258 font-size: 11px;
1145 1259 }
1146 1260
1147 -/*
1261 +/**
1148 1262 * == Bulk page
1149 1263 */
1150 1264
1151 -.imagify-title > h1 {
1152 - padding: 0;
1153 -}
1154 -.imagify-title-right {
1155 - display: table;
1156 - float: right;
1157 - margin-top: -10px;
1158 -}
1159 -.imagify-title-right p {
1160 - margin: 0;
1161 -}
1162 -.imagify-title-right a {
1163 - font-weight: bold;
1164 - text-decoration: none;
1165 -}
1166 -.imagify-title-right > div {
1167 - display: table-cell;
1168 - vertical-align: middle;
1169 -}
1170 -.imagify-title-right .dashicons-arrow-down-alt2 {
1171 - vertical-align: -4px;
1172 - margin-left: 2px;
1173 -}
1174 -@media (max-width: 1200px) {
1175 - .imagify-bulk .imagify-title {
1176 - display: -webkit-box;
1177 - display: -webkit-flex;
1178 - display: -ms-flexbox;
1179 - display: flex;
1180 - -webkit-box-orient: vertical;
1181 - -webkit-box-direction: normal;
1182 - -webkit-flex-direction: column;
1183 - -ms-flex-direction: column;
1184 - flex-direction: column;
1185 - }
1186 - .imagify-title-right {
1187 - -webkit-box-ordinal-group: 3;
1188 - -webkit-order: 2;
1189 - -ms-flex-order: 2;
1190 - order: 2;
1191 - margin-top: 20px;
1192 - }
1193 -}
1194 1265 .imagify-account,
1195 1266 .imagify-account-link {
1196 1267 padding-right: 15px;
1197 1268 }
1198 -.imagify-sep-v {
1199 - width: 1px;
1200 - background: rgba(255, 255, 255, .2);
1201 -}
1202 -.imagify-credit-left {
1203 - position: relative;
1204 - min-width: 280px;
1205 - padding-left: 15px;
1206 -}
1207 1269 .imagify-meteo-icon {
1208 1270 display: inline-block;
1209 1271 height: 38px;
1210 1272 vertical-align: middle;
@@ -1213,96 +1275,30 @@
1213 1275 .imagify-user-plan {
1214 1276 color: #40b1d0;
1215 1277 }
1216 1278
1217 -@media (max-width: 630px) {
1218 - .imagify-title-right {
1219 - display: block;
1220 - width: auto;
1221 - }
1222 - .imagify-title-right > div {
1223 - display: block;
1224 - width: auto;
1225 - margin-top: 10px;
1226 - max-width: 100%;
1227 - }
1228 - .imagify-credit-left {
1229 - padding-left: 0;
1230 - }
1231 -}
1232 -/*
1233 -.imagify-meteo-icon:after {
1234 - opacity: 0;
1235 - visibility: hidden;
1236 - content: attr(data-title);
1237 - position: absolute;
1238 - top: 100%;
1239 - left: 50%;
1240 - font-size: 11px;
1241 - line-height: 1.3;
1242 - width: 150px;
1243 - margin-left: -80px;
1244 - padding: 6px 12px;
1245 - background: #60758d;
1246 - border-radius: 4px;
1247 - -webkit-transition: opacity .3s;
1248 - transition: opacity .3s;
1249 -}
1250 -.imagify-meteo-icon:hover:after,
1251 -.imagify-meteo-icon:focus:after {
1252 - opacity: 1;
1253 - visibility: visible;
1254 -}
1255 -*/
1256 1279 .imagify-meteo-title.imagify-meteo-title {
1257 1280 color: #FFF;
1258 1281 font-size: 17px;
1259 1282 }
1260 -.imagify-space-left {
1261 - display: inline-block;
1262 - min-height: 38px;
1263 - min-width: 245px;
1264 - vertical-align: middle;
1265 -}
1266 1283 .imagify-space-left > p {
1267 1284 color: #FFF;
1268 1285 }
1269 -[class^="imagify-bar-"],
1270 -#wp-admin-bar-imagify-profile [class^="imagify-bar-"] {
1286 +[class^="imagify-bar-"] {
1271 1287 position: relative;
1272 - height: 15px;
1288 + height: 8px;
1273 1289 width: 100%;
1274 - background: #60758D;
1290 + background: #343A49;
1275 1291 color: #FFF;
1276 1292 font-size: 10px;
1277 1293 }
1278 -.base-transparent {
1279 - background: transparent;
1294 +
1295 +.imagify-progress {
1296 + height: 8px;
1280 1297 }
1281 -[class^="imagify-bar-"].right-outside-number {
1282 - -webkit-box-sizing: border-box;
1283 - box-sizing: border-box;
1284 - padding-right: 45px;
1298 +.imagify-progress {
1299 + transition: width .3s;
1285 1300 }
1286 -.right-outside-number .imagify-barnb {
1287 - display: block;
1288 - margin-right: -45px;
1289 - text-align: right;
1290 - font-weight: bold;
1291 - line-height: 15px;
1292 -}
1293 -.imagify-progress-value,
1294 -#wp-admin-bar-imagify-profile .imagify-progress-value {
1295 - position: absolute;
1296 - top: 0; right: 0; left: 0; bottom: 0;
1297 - text-align: center;
1298 - line-height: 13px;
1299 - font-weight: bold;
1300 -}
1301 -.imagify-progress,
1302 -#wp-admin-bar-imagify-profile .imagify-progress {
1303 - height: 15px;
1304 -}
1305 1301 .imagify-bar-positive .imagify-progress {
1306 1302 background: #8CC152;
1307 1303 }
1308 1304 .imagify-bar-positive .imagify-barnb {
@@ -1307,110 +1303,29 @@
1307 1303 }
1308 1304 .imagify-bar-positive .imagify-barnb {
1309 1305 color: #8CC152;
1310 1306 }
1307 +.imagify-bar-primary .imagify-progress {
1308 + background: #40B1D0;
1309 +}
1310 +.imagify-bar-primary .imagify-barnb {
1311 + color: #40B1D0;
1312 +}
1311 1313 .imagify-bar-negative .imagify-progress {
1312 - background: #73818C;
1314 + background: #D2D3D6;
1313 1315 }
1314 1316 .imagify-bar-negative .imagify-barnb {
1315 - color: #73818C;
1317 + color: #7A8996;
1316 1318 }
1317 1319 .imagify-bar-neutral .imagify-progress {
1318 1320 background: #F5A623;
1319 1321 }
1320 1322 .imagify-space-left .imagify-bar-negative .imagify-progress {
1321 - background: #D0021B;
1323 + background: #ffffff;
1322 1324 }
1323 1325
1324 -/* admin bar version */
1325 -#wpadminbar #wp-admin-bar-imagify-profile * {
1326 - line-height: 1.5;
1327 - white-space: initial;
1328 -}
1329 -#wpadminbar #wp-admin-bar-imagify .ab-submenu {
1330 - padding-bottom: 0;
1331 -}
1332 -#wpadminbar #wp-admin-bar-imagify-profile .ab-item {
1333 - height: auto;
1334 - padding: 0 13px;
1335 -}
1336 -#wpadminbar #wp-admin-bar-imagify-profile {
1337 - min-width: 200px;
1338 - padding: 15px 0 10px;
1339 - margin-top: 0.7em;
1340 - background: #222;
1341 -}
1342 -#wp-admin-bar-imagify .dashicons {
1343 - font-family: "dashicons";
1344 - font-size: 18px;
1345 - vertical-align: middle;
1346 - margin: 0 5px 0 0;
1347 -}
1348 -#wp-admin-bar-imagify .button-text {
1326 +.imagify-btn-ghost {
1349 1327 display: inline-block;
1350 - vertical-align: middle;
1351 -}
1352 -#wp-admin-bar-imagify .imagify-abq-row {
1353 - display: table;
1354 - width: 100%;
1355 -}
1356 -#wp-admin-bar-imagify .imagify-abq-row + .imagify-abq-row {
1357 - margin-top: .75em;
1358 -}
1359 -#wp-admin-bar-imagify .imagify-abq-row > * {
1360 - display: table-cell;
1361 -}
1362 -#wp-admin-bar-imagify-profile .imagify-meteo-icon {
1363 - padding-right: 7px;
1364 -}
1365 -#wp-admin-bar-imagify-profile .imagify-meteo-icon img {
1366 - width: 37px;
1367 -}
1368 -#wp-admin-bar-imagify-profile .imagify-meteo-title {
1369 - font-size: 17px;
1370 -}
1371 -#wp-admin-bar-imagify-profile .imagify-meteo-subs {
1372 - color: #72889F;
1373 -}
1374 -#wpadminbar #wp-admin-bar-imagify-profile strong {
1375 - font-weight: bold;
1376 -}
1377 -#wpadminbar #wp-admin-bar-imagify-profile .imagify-user-plan,
1378 -#wpadminbar #wp-admin-bar-imagify-profile a {
1379 - padding: 0;
1380 - color: #40B1D0;
1381 -}
1382 -#wpadminbar #wp-admin-bar-imagify-profile .imagify-account-link {
1383 - display: table;
1384 -}
1385 -#wpadminbar #wp-admin-bar-imagify-profile .imagify-account-link > * {
1386 - display: table-cell;
1387 -}
1388 -#wpadminbar #wp-admin-bar-imagify-profile .imagify-space-left {
1389 - max-width: 210px;
1390 - min-width: 210px;
1391 - width: 210px;
1392 -}
1393 -#wpadminbar #wp-admin-bar-imagify-profile .imagify-space-left p {
1394 - font-size: 12px;
1395 -}
1396 -#wp-admin-bar-imagify-profile .imagify-error,
1397 -#wp-admin-bar-imagify-profile .imagify-warning {
1398 - padding: 10px;
1399 - margin: 0 -13px -13px;
1400 -}
1401 -#wp-admin-bar-imagify-profile .imagify-error p + p,
1402 -#wp-admin-bar-imagify-profile .imagify-warning p + p {
1403 - margin-top: .5em;
1404 -}
1405 -#wp-admin-bar-imagify-profile .imagify-error p + p + p,
1406 -#wp-admin-bar-imagify-profile .imagify-warning p + p + p {
1407 - margin-top: 1em;
1408 -}
1409 -
1410 -.btn-ghost,
1411 -#wpadminbar #wp-admin-bar-imagify-profile .btn-ghost {
1412 - display: inline-block;
1413 1328 height: auto;
1414 1329 padding: 7px 10px;
1415 1330 border: 1px solid #FFF;
1416 1331 text-align: center;
@@ -1419,500 +1334,51 @@
1419 1334 border-radius: 3px;
1420 1335 transition: all .275s;
1421 1336 }
1422 1337
1423 -.btn-ghost:hover,
1424 -.btn-ghost:focus,
1425 -#wpadminbar #wp-admin-bar-imagify-profile .btn-ghost:hover,
1426 -#wpadminbar #wp-admin-bar-imagify-profile .btn-ghost:focus {
1338 +.imagify-btn-ghost:hover,
1339 +.imagify-btn-ghost:focus {
1427 1340 background: #FFF;
1428 1341 color: #888;
1429 1342 }
1430 1343
1431 -.txt-center {
1432 - text-align: center;
1344 +/* Some Errors */
1345 +.imagify-error {
1346 + background: #D0021B;
1347 + color: #FFF;
1433 1348 }
1434 -
1435 -.imagify-list-dash li {
1436 - position: relative;
1437 - padding-left: 24px;
1438 -}
1439 -.imagify-list-dash li:before {
1440 - content: "";
1441 - position: absolute;
1442 - left: 0; top: 9px;
1443 - height: 1px; width: 12px;
1444 - background: #5f758e;
1445 -}
1446 -
1447 -.imagify-sub-title.imagify-sub-title {
1448 - font-size: 23px;
1449 - background: #FFF;
1450 - color: #2E3243;
1451 - border-left: 1px solid #D9D9D9;
1452 - border-right: 1px solid #D9D9D9;
1453 - font-weight: lighter;
1454 -}
1455 -.imagify-sub-title .icon-bulk {
1456 - margin-right: 10px;
1457 - vertical-align: middle;
1458 -}
1459 -.imagify-sub-title .title-text {
1349 +.imagify-settings-section .imagify-error {
1460 1350 display: inline-block;
1461 - line-height: 1;
1462 - vertical-align: middle;
1463 -}
1464 -.imagify-bulk .imagify-settings-section {
1465 - border: 1px solid #D9D9D9;
1466 - border-top: 0;
1467 - background: #F2F5F7;
1468 - color: #4A4A4A;
1469 -}
1470 -.imagify-bulk .imagify-settings-section p,
1471 -.imagify-bulk .imagify-settings-section li,
1472 -.imagify-bulk .imagify-settings-section h3 {
1473 - color: #4A4A4A;
1474 -}
1475 -.imagify-bulk .imagify-settings-section h3 {
1476 - margin-bottom: 2em;
1477 -}
1478 -
1479 -.imagify-bulk-submit {
1480 - margin-top: 4em;
1481 -}
1482 -#imagify-bulk-action {
1483 - float: left;
1484 -}
1485 -#imagify-bulk-action + .imagify-tooltips {
1486 - overflow: hidden;
1487 - display: block;
1488 -}
1489 -.imagify-title .imagify-tooltips {
1490 - position: absolute;
1491 - top: 100%;
1492 - left: 0;
1493 -}
1494 -.imagify-tooltips .icon-round {
1495 - float: left;
1496 - display: inline-block;
1497 - width: 28px;
1498 - height: 28px;
1499 - border: 1px solid #FFF;
1500 - margin-right: 8px;
1501 - margin-bottom: 8px;
1502 - font-size: 17px;
1503 - font-style: italic;
1504 - line-height: 29px;
1505 - font-weight: bold;
1506 - text-align: center;
1507 - border-radius: 50%;
1508 -}
1509 -.imagify-tooltips .tooltip-content {
1510 - display: block;
1511 - position: relative;
1512 - max-width: 250px;
1513 - padding: 7px 15px 8px;
1514 - background: #2e3242;
1515 - color: #FFF;
1516 - font-size: 10px;
1351 + padding: 7px 10px;
1352 + margin: 10px 0 0 45px;
1517 1353 border-radius: 3px;
1518 1354 }
1519 -.imagify-tooltips.right .tooltip-content {
1520 - margin-left: 12px;
1355 +.imagify-settings-section .imagify-error code {
1356 + font-weight: normal;
1521 1357 }
1522 -.imagify-tooltips.bottom .tooltip-content {
1523 - margin-top: 4px;
1524 -}
1525 -.imagify-inline-options label .tooltip-content {
1526 - position: absolute;
1527 - left: 0; right: 0;
1528 - top: 100%;
1529 - text-transform: none;
1530 - font-size: 10px;
1531 - letter-spacing: 0;
1532 - text-align: center;
1533 -}
1534 -.imagify-tooltips .tooltip-content:after {
1535 - content: "";
1536 - position: absolute;
1537 -}
1538 -.imagify-tooltips.right .tooltip-content:after {
1539 - top: 16px; left: -6px;
1540 - border-right: 8px solid #2e3242;
1541 - border-top: 6px solid transparent;
1542 - border-bottom: 6px solid transparent;
1543 -}
1544 -.imagify-tooltips.bottom .tooltip-content:after {
1545 - top: -5px; left: 50%;
1546 - margin-left: -3px;
1547 - border-bottom: 6px solid #2e3242;
1548 - border-left: 6px solid transparent;
1549 - border-right: 6px solid transparent;
1550 -}
1551 -.imagify-space-tooltips .tooltip-content {
1552 - max-width: 280px;
1553 - margin-top: 20px;
1554 - margin-left: 0;
1555 - padding: 5px 15px 5px;
1556 - font-size: 13px;
1557 - background: #40B1D0;
1558 - box-shadow: 0 3px 0 #338EA6;
1559 -}
1560 -.imagify-space-tooltips .tooltip-content:after {
1561 - top: -14px;
1562 - left: 50%;
1563 - margin-left: -7px;
1564 - border: 0 none;
1565 - border-bottom: 15px solid #40B1D0;
1566 - border-left: 15px solid transparent;
1567 - border-right: 15px solid transparent;
1568 -}
1569 -.tooltip-content.tooltip-table {
1570 - display: table;
1571 - width: 100%;
1572 -}
1573 -.tooltip-content.tooltip-table > * {
1574 - display: table-cell;
1575 - vertical-align: middle;
1576 -}
1577 -.tooltip-content .cell-icon {
1578 - width: 28px;
1579 -}
1580 -.tooltip-content .cell-icon .icon {
1581 - margin-bottom: 0;
1582 -}
1583 -.tooltip-content .cell-text {
1584 - padding: 5px 10px 5px 0;
1585 - line-height: 1.3;
1586 -}
1587 -.tooltip-content .cell-sep {
1588 - width: 1px;
1589 - background: rgba(255, 255, 255, .4);
1590 -}
1591 -.tooltip-content .cell-cta {
1592 - padding-left: 10px;
1593 -}
1594 -.tooltip-content .cell-cta a {
1595 - display: block;
1596 - color: #FFF;
1597 - width: 100%;
1598 - height: 100%;
1599 - white-space: nowrap;
1600 -}
1601 -
1602 -.imagify-number-you-optimized .number {
1603 - float: left;
1604 - margin-right: 15px;
1605 - font-size: 36px;
1606 - font-weight: bold;
1607 - line-height: 1.1;
1608 -}
1609 -.imagify-number-you-optimized .text {
1610 - display: block;
1611 - overflow: hidden;
1612 - font-size: 12px;
1613 -}
1614 -.imagify-number-you-optimized {
1615 - padding-bottom: 0.85em;
1616 - margin-bottom: 1.35em;
1617 - overflow: hidden;
1618 - border-bottom: 1px solid rgba(0,0,0, 0.05);
1619 -}
1620 -.imagify-bars p {
1621 - font-weight: bold;
1622 - font-size: 12px;
1623 - margin-bottom: 0;
1624 -}
1625 -.imagify-bars + .imagify-number-you-optimized {
1626 - border-bottom: 0;
1627 - padding-top: 0.85em;
1628 -}
1629 -.imagify-bars + .imagify-number-you-optimized p {
1630 - color: #46b1ce;
1631 -}
1632 -
1633 -/*
1634 - * == Bulk table
1635 - */
1636 -.imagify-bulk-table {
1637 - margin-top: 2em;
1638 - max-height: 600px;
1639 - max-height: 60vh;
1640 - overflow: auto;
1641 -}
1642 -.imagify-bulk-table table {
1643 - width: 100%;
1644 - border-spacing: 0;
1645 - border-collapse: collapse;
1646 - border: 1px solid #D3D3D3;
1647 -}
1648 -.imagify-bulk-table td {
1649 - padding: 8px 15px;
1650 -}
1651 -.imagify-bulk-table thead tr,
1652 -.imagify-bulk-table thead th {
1653 - background: #2E3242;
1654 -}
1655 -.imagify-bulk-table tfoot tr,
1656 -.imagify-bulk-table tfoot th {
1657 - background: #73818C;
1658 -}
1659 -.imagify-bulk-table thead th {
1660 - padding: 14px 15px;
1661 - text-align: left;
1662 - color: #F2F5F7;
1663 - font-weight: bold;
1664 - font-size: 14px;
1665 -}
1666 -.imagify-bulk-table tfoot td {
1667 - padding: 14px 15px;
1668 - color: #F9FAFA;
1669 -}
1670 -
1671 -.imagify-bulk-table tbody tr,
1672 -.imagify-bulk-table tbody td {
1673 - background: #FFF;
1674 -}
1675 -.imagify-bulk-table tbody tr:nth-child(odd),
1676 -.imagify-bulk-table tbody tr:nth-child(odd) td {
1677 - background: #F2F5F7;
1678 -}
1679 -
1680 -.imagify-bulk-table .imagify-row-progress {
1358 +.imagify-settings-section .imagify-error.hidden {
1681 1359 display: none;
1682 1360 }
1683 -
1684 -.imagify-bulk-table .imagify-row-progress,
1685 -.imagify-bulk-table .imagify-row-progress td {
1686 - height: 15px;
1687 - padding: 0;
1688 -}
1689 -.imagify-bulk-table .imagify-no-uploaded-yet td {
1690 - height: 200px;
1691 - font-size: 17px;
1692 - letter-spacing: .1em;
1693 - word-spacing: .12em;
1694 - vertical-align: middle;
1695 - text-transform: uppercase;
1696 - font-weight: bold;
1697 - text-align: center;
1698 - color: #999;
1699 - background-color: #FFF;
1700 -}
1701 -
1702 -.imagify-row-complete {
1703 - padding: 35px 20px;
1704 - margin-top: 2em;
1705 - background: #8BC34A;
1706 - color: #FFF;
1707 - text-shadow: 0 0 2px rgba(0,0,0,.1);
1708 -}
1709 -.imagify-row-complete .imagify-ac-chart {
1710 - margin-top: 3px;
1711 -}
1712 -.imagify-row-complete p {
1713 - color: #FFF;
1714 - margin: 0;
1715 -}
1716 -
1717 -@-webkit-keyframes congrate {
1718 - 0% {
1719 - opacity: 0;
1720 - -webkit-transform: scale(1);
1721 - }
1722 - 50% {
1723 - -webkit-transform: scale(1.05);
1724 - opacity: 1;
1725 - }
1726 - 100% {
1727 - -webkit-transform: scale(1);
1728 - opacity: 1;
1729 - }
1730 -}
1731 -​
1732 -@keyframes congrate {
1733 - 0% {
1734 - opacity: 0;
1735 - transform: scale(1);
1736 - }
1737 - 50% {
1738 - transform: scale(1.05);
1739 - opacity: 1;
1740 - }
1741 - 100% {
1742 - transform: scale(1);
1743 - opacity: 1;
1744 - }
1745 -}
1746 -
1747 -
1748 -.imagify-row-complete.done {
1749 - -webkit-animation: congrate 500ms ease-in-out;
1750 - animation: congrate 500ms ease-in-out;
1751 -}
1752 -
1753 -.imagify-all-complete {
1754 - margin: 1.5em 0;
1755 -}
1756 -.imagify-all-complete > div {
1757 - display: inline-block;
1758 - vertical-align: middle;
1759 -}
1760 -.imagify-ac-report {
1761 - min-width: 310px;
1762 -}
1763 -.imagify-ac-chart {
1764 - width: 46px;
1765 - height: 46px;
1766 - float: left;
1767 - margin: 0 20px 0 10px;
1768 -}
1769 -.imagify-ac-report-text {
1770 - overflow: hidden;
1771 -}
1772 -.imagify-ac-report-text p {
1773 - line-height: 1.3;
1774 -}
1775 -.imagify-ac-rt-big {
1776 - font-weight: bold;
1777 - font-size: 24px;
1778 - letter-spacing: 0.15em;
1779 - word-spacing: 0.15em;
1780 - text-transform: uppercase;
1781 -}
1782 -.imagify-ac-share {
1783 - text-align: right;
1784 -}
1785 -.imagify-ac-share-content {
1786 - display: inline-block;
1787 - padding: 10px 15px;
1788 - background: rgba(255,255,255,.2);
1789 -}
1790 -.imagify-ac-share-content > * {
1791 - display: inline-block;
1792 - vertical-align: middle;
1793 -}
1794 -.imagify-bulk-table .imagify-ac-share-content p {
1795 - margin-right: 5px;
1796 -}
1797 -.imagify-share-networks,
1798 -.imagify-share-networks li {
1799 - margin: 0;
1800 -}
1801 -.imagify-share-networks li {
1802 - display: inline-block;
1803 -}
1804 -.imagify-share-networks a {
1805 - display: inline-block;
1806 - vertical-align: -7px;
1807 - margin: 0 5px;
1808 - text-decoration: none;
1809 - color: #FFF;
1810 -}
1811 -
1812 -/* TD's width */
1813 -.imagify-cell-filename {
1814 - max-width: 200px;
1815 -}
1816 -.imagify-cell-status {
1817 - max-width: 145px;
1818 -}
1819 -.imagify-cell-status .dashicons-warning {
1820 - margin-right: 2px;
1821 -}
1822 -.imagify-cell-thumbnails {
1823 - max-width: 120px;
1824 -}
1825 -
1826 -td.imagify-cell-filename {
1827 - text-overflow: clip; /* ellipsis replace all the text by ... :`/ */
1828 - white-space: nowrap;
1829 - overflow: hidden;
1830 -}
1831 -.imagify-bulk-table td.imagify-cell-totaloriginal {
1832 - padding-right: 78px;
1833 -}
1834 -
1835 -.imagiuploaded,
1836 -.imagifilename {
1837 - display: inline-block;
1838 - vertical-align: middle;
1839 -}
1840 -.imagifilename {
1841 - font-size: 12px;
1842 -}
1843 -.imagiuploaded {
1844 - width: 33px;
1845 - height: 33px;
1846 - margin-right: 5px;
1847 - margin-left: -8px;
1848 - overflow: hidden;
1849 - background: url(../images/upload-image.png) 0 0 no-repeat;
1850 - background-size: cover;
1851 -}
1852 -.imagiuploaded img {
1853 - max-widht: 100%;
1854 - height: auto;
1855 -}
1856 -
1857 -.imagistatus {
1858 - color: #8CA6B3;
1859 - text-transform: uppercase;
1860 - font-weight: bold;
1861 -}
1862 -.status-compressing {
1863 - color: #46B1CE;
1864 -}
1865 -.status-error {
1866 - color: #CE0B24;
1867 -}
1868 -.status-warning {
1869 - color: #f5a623;
1870 -}
1871 -.status-complete {
1872 - color: #8CC152;
1873 -}
1874 -.imagify-error {
1875 - background: #D0021B;
1876 - color: #FFF;
1877 -}
1878 -.imagify-warning,
1879 -#wpadminbar .imagify-warning * {
1361 +.imagify-warning {
1880 1362 background: #f5a623;
1881 1363 color: #FFF;
1882 1364 text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
1883 1365 }
1884 -.imagify-bulk-table .imagify-cell-thumbnails {
1885 - text-align: center;
1886 -}
1887 -.imagify-cell-percentage,
1888 -.imagify-cell-savings {
1889 - color: #46B1CE;
1890 - font-weight: bold;
1891 -}
1892 -.imagify-cell-optimized {
1893 - font-weight: bold;
1894 -}
1895 1366
1896 -.imagify-cell-totaloriginal {
1897 - text-align: right;
1898 -}
1899 -
1900 -/* icon rotate */
1901 -.dashicons.rotate {
1902 - -webkit-animation: icon-rotate 2.6s infinite linear;
1903 - animation: icon-rotate 2.6s infinite linear;
1904 -}
1905 -.dashicons-admin-generic {
1906 - transform-origin: 48.75% 51.75%;
1907 -}
1908 -
1909 -
1910 -/* Imagify Modal */
1367 +/* Imagify Modal (is everywhere) */
1911 1368 .imagify-modal {
1369 + display: -webkit-box;
1370 + display: -ms-flexbox;
1912 1371 display: flex;
1372 + -webkit-box-orient: vertical;
1373 + -webkit-box-direction: normal;
1374 + -ms-flex-direction: column;
1913 1375 flex-direction: column;
1376 + -webkit-box-align: center;
1377 + -ms-flex-align: center;
1914 1378 align-items: center;
1379 + -webkit-box-pack: center;
1380 + -ms-flex-pack: center;
1915 1381 justify-content: center;
1916 1382 }
1917 1383 .js .imagify-modal {
1918 1384 display: none;
@@ -1928,9 +1394,9 @@
1928 1394 box-sizing: border-box;
1929 1395 position: relative;
1930 1396 width: 800px;
1931 1397 max-width: 95%;
1932 - max-height: 90vw;
1398 + max-height: 90vh;
1933 1399 overflow: auto;
1934 1400 padding: 20px 25px;
1935 1401 margin: 1em auto;
1936 1402 background: #FFF;
@@ -1936,9 +1402,13 @@
1936 1402 background: #FFF;
1937 1403 box-shadow: 1px 1px 4px rgba(0,0,0,.7);
1938 1404 border-radius: 3px;
1939 1405 }
1940 -#imagify-visual-comparison .imagify-modal-content {
1406 +.imagify-modal-loading .imagify-modal-content{
1407 + overflow: hidden;
1408 +}
1409 +#imagify-visual-comparison .imagify-modal-content,
1410 +.imagify-visual-comparison .imagify-modal-content {
1941 1411 max-width: 1400px;
1942 1412 background: transparent;
1943 1413 padding: 5px;
1944 1414 box-shadow: none;
@@ -1958,12 +1428,8 @@
1958 1428 font-size: 18px;
1959 1429 letter-spacing: 0.075em;
1960 1430 text-align: center;
1961 1431 }
1962 -.text-justify {
1963 - text-align: justify;
1964 -}
1965 -
1966 1432 .imagify-modal .close-btn {
1967 1433 display: none;
1968 1434 visibility: hidden;
1969 1435 position: absolute;
@@ -1973,8 +1439,11 @@
1973 1439 background: transparent none;
1974 1440 border-radius: 0;
1975 1441 cursor: pointer;
1976 1442 }
1443 +.imagify-modal .close-btn i {
1444 + margin-left: -2px;
1445 +}
1977 1446 .imagify-modal .close-btn:hover,
1978 1447 .imagify-modal .close-btn:focus {
1979 1448 color: #40b1d0;
1980 1449 }
@@ -1980,141 +1449,375 @@
1980 1449 }
1981 1450 .js .imagify-modal .close-btn {
1982 1451 display: block;
1983 1452 visibility: visible;
1453 + z-index: 12;
1984 1454 }
1985 -#imagify-visual-comparison .close-btn {
1986 - top: 50px;
1987 - right: 5px;
1988 - width: 33px;
1989 - height: 33px;
1990 - padding: 1px 0 0 2px;
1991 - border: 1px solid #F2F2F2;
1992 - color: #F2F2F2;
1993 - line-height: 19px;
1455 +
1456 +/* Attachments specifics */
1457 +.wp_attachment_image #imagify-visual-comparison .imagify-modal-content,
1458 +.imagify-visual-comparison .imagify-modal-content {
1459 + padding-top: 40px;
1460 +}
1461 +
1462 +/* Col, behavior depending on parent */
1463 +.imagify-col {
1464 + float: left;
1465 + width: 50%;
1466 + box-sizing: border-box;
1467 + -webkit-flex-basis: 50%;
1468 + -ms-flex-preferred-size: 50%;
1469 + flex-basis: 50%;
1470 +}
1471 +.imagify-col {
1472 + padding-right: 20px;
1473 +}
1474 +.imagify-col + .imagify-col {
1475 + padding-right: 0;
1476 + padding-left: 20px;
1477 +}
1478 +
1479 +.imagify-col:target {
1480 + animation: hello 1s 3 linear backwards;
1481 +}
1482 +
1483 +@keyframes hello {
1484 + 0%, 100% {
1485 + background: #FFF;
1486 + }
1487 + 50% {
1488 + background: #F4F7F9;
1489 + }
1490 +}
1491 +@media (max-width: 730px) {
1492 + .imagify-settings .imagify-documentation-link-box{
1493 + margin-top: 2em;
1494 + }
1495 +}
1496 +
1497 +@media (max-width: 782px) {
1498 + input[type="radio"], input[type="checkbox"] {
1499 + height: 1.5625rem;
1500 + width: 1.5625rem;
1501 + margin: 1px;
1502 + }
1503 + [class*="imagify-"] .button-text{
1504 + font-size: 13px;
1505 + }
1506 + .imagify-account-info-col .imagify-settings-section{
1507 + padding: 0 10px;
1508 + }
1509 + .imagify-settings-section{
1510 + padding: 10px;
1511 + }
1512 + .imagify-check-group.imagify-is-scrollable{
1513 + margin: auto;
1514 + }
1515 + .imagify-settings-section .imagify-col,
1516 + .imagify-col.imagify-col.imagify-shared-with-account-col,
1517 + .imagify-media-lib-section .imagify-col,
1518 + .imagify-custom-folders-section .imagify-col,
1519 + .imagify-shared-with-account-col {
1520 + width:100%;
1521 + float: none;
1522 + padding-right: 0;
1523 + }
1524 + .imagify-col.imagify-col.imagify-account-info-col,
1525 + .imagify-media-lib-section .imagify-account-info-col,
1526 + .imagify-custom-folders-section .imagify-account-info-col,
1527 + .imagify-account-info-col{
1528 + width: 100%;
1529 + float: none;
1530 + padding-left: 0;
1531 + padding-right: 0;
1532 + }
1533 + .imagify-lb-text{
1534 + font-size: 20px;
1535 + }
1536 + .imagify-vcenter{
1537 + -webkit-flex-direction: column;
1538 + -ms-flex-direction: column;
1539 + flex-direction: column;
1540 + -webkit-box-direction: normal;
1541 + -webkit-box-orient: vertical;
1542 + -moz-box-direction: normal;
1543 + -moz-box-orient: vertical;
1544 + align-items: center;
1545 + }
1546 + .imagify-pr2.imagify-pr2{
1547 + padding-right: 0em;
1548 + }
1549 +}
1550 +
1551 +.imagify-upsell {
1552 + position:relative;
1553 + background: #c51161;
1554 + padding: 20px 25px;
1555 +}
1556 +
1557 +.imagify-upsell p {
1558 + color: #fff !important;
1559 +}
1560 +
1561 +.imagify-upsell-button {
1562 + display: block;
1563 + background: #fff;
1564 + border-radius: 5px;
1565 + color: #c51161 !important;
1566 + font-weight: bold;
1567 + padding: 10px 0;
1994 1568 text-align: center;
1995 - border-radius: 50%;
1569 + text-decoration: none;
1570 + text-transform: uppercase;
1996 1571 }
1997 1572
1998 -.imagify-modal .imagify-comparison-title {
1999 - font-size: 28px;
2000 - margin-bottom: 1em;
2001 - color: #F2F2F2;
2002 - text-align: left;
1573 +.imagify-upsell-arrow::after {
1574 + content: '\2192';
1575 + font-size: large;
1576 + margin-left: 5px;
1577 + vertical-align: top;
2003 1578 }
2004 -.imagify-modal .imagify-comparison-title .twentytwenty-duo-buttons {
2005 - position: static;
2006 - margin: 0 10px 0 15px;
1579 +
1580 +.imagify-upsell .imagify-meteo-icon {
1581 + filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(104deg) brightness(103%) contrast(103%);
2007 1582 }
2008 -.imagify-comparison-title .twentytwenty-duo-buttons button {
2009 - float: none;
2010 - padding: 6px 12px;
2011 - font-size: 16px;
2012 - text-transform: none;
2013 - border: 1px solid #40B1D0;
2014 - color: #888899;
2015 - letter-spacing: 0;
1583 +
1584 +.imagify-original-fize-size {
1585 + display: block !important;
2016 1586 }
2017 -.imagify-comparison-title .twentytwenty-duo-buttons button:focus {
2018 - outline: none;
2019 - box-shadow: none;
1587 +
1588 +.imagify-original-fize-size .value {
1589 + padding-left: 15px !important;
2020 1590 }
2021 -.imagify-comparison-title .twentytwenty-duo-buttons .selected {
2022 - border: 1px solid #40B1D0;
2023 - color: #FFF;
2024 - background: #40B1D0;
1591 +.imagify-plugin-family-cards {
1592 + display: flex;
1593 + flex-wrap: wrap;
1594 + margin: 0 -10px;
2025 1595 }
2026 -
2027 -.imagify-comparison-levels {
2028 - margin: 15px 0;
2029 - overflow: hidden;
1596 +.imagify-plugin-family-col {
1597 + width: 25%;
1598 + box-sizing: border-box;
1599 + padding: 0 10px;
1600 + margin-bottom: 20px;
1601 + display: flex;
1602 + flex-direction: column;
2030 1603 }
2031 -.imagify-comparison-levels div {
2032 - display: none;
2033 - min-width: 175px;
2034 - font-size: 11px;
1604 +@media (max-width: 1200px) {
1605 + .imagify-plugin-family-col {
1606 + width: 50%;
1607 + }
2035 1608 }
2036 -.imagify-comparison-levels .imagify-chart,
2037 -.imagify-comparison-levels .imagify-chart-container {
2038 - width: 25px;
2039 - float: none;
2040 - margin: 0;
1609 +@media (max-width: 600px) {
1610 + .imagify-plugin-family-col {
1611 + width: 100%;
1612 + }
2041 1613 }
2042 -.imagify-c-level.go-left {
2043 - float: left;
1614 +.imagify-card {
1615 + border: 1px solid #dfdfdf;
1616 + background-color: #f4f7f9;
1617 + border-radius: 5px;
1618 + width: 100%;
1619 + display: flex;
1620 + flex-direction: column;
1621 + flex: 1 1 auto;
2044 1622 }
2045 -.imagify-c-level.go-right {
2046 - float: right;
1623 +.imagify-card-header {
1624 + margin-bottom: 10px;
1625 + padding-top: 25px;
2047 1626 }
2048 -.imagify-c-level.go-right,
2049 -.imagify-c-level.go-left {
2050 - display: table;
1627 +.imagify-card-logo {
1628 + min-height: 42px;
1629 + display: flex;
1630 + align-items: center;
1631 + justify-content: center;
2051 1632 }
2052 -.imagify-c-level .imagify-c-level-row {
2053 - display: table-row;
2054 - margin: 0;
2055 - color: #FFF;
1633 +.imagify-card-logo img {
1634 + display: block;
1635 + margin: 0 auto;
1636 + max-width: 100%;
1637 + height: auto;
2056 1638 }
2057 -.imagify-c-level-row > span {
2058 - display: table-cell;
2059 - padding: 2px 0;
1639 +.imagify-card-header h4 {
1640 + text-align: center;
1641 + color: #323232;
1642 + font-size: 1.1em;
1643 + font-weight:bold;
2060 1644 }
2061 -.imagify-c-level-row .value {
2062 - text-align: right;
2063 - padding-left: 5px;
1645 +.imagify-card-body {
1646 + margin-bottom: 10px;
1647 + padding: 0 10px 0 10px;
1648 + flex: 1 1 auto;
2064 1649 }
2065 -.imagify-c-level-row .value.level {
2066 - color: #40b1d0;
1650 +.imagify-card-body p {
1651 + font-size: 1em;
1652 + color: #323232;
1653 + text-align:center;
1654 + line-height: 17px;
2067 1655 }
2068 -.imagify-c-level-row .value.size {
2069 - color: #8bc34a;
1656 +.imagify-card-footer {
1657 + display: flex;
1658 + justify-content: center;
1659 + align-items: center;
1660 + padding: 10px;
1661 + height: 40px;
1662 + margin-top: auto;
1663 +}
1664 +.imagify-card-footer span {
1665 + text-transform: uppercase;
1666 + font-weight:bold;
1667 + color: #6f9c3b;
1668 +}
1669 +.imagify-card-footer a {
1670 + margin: 0 15px 0 15px;
1671 + font-size: 1em;
2070 1672 font-weight: bold;
2071 1673 }
2072 -.imagify-c-level-row .value .imagify-chart {
2073 - top: 1px;
1674 +.imagify-card-footer a.imagify-card-btn {
1675 + text-transform: uppercase;
1676 + text-decoration: none;
1677 + background-color: #2f3242;
1678 + padding: 8px 20px 8px 20px;
1679 + color: white;
2074 1680 }
1681 +.imagify-upsell-cta {
1682 + display: inline-flex;
1683 + align-items: center;
1684 + justify-content: center;
1685 +}
1686 +.imagify-upsell-cta .imagify-svg-icon {
1687 + margin-left: 7px;
1688 + margin-top: 2px;
1689 +}
1690 +.imagify-upsell.imagify-col-content .imagify-space-left p {
1691 + font-size: 14px;
1692 +}
2075 1693
2076 -@-webkit-keyframes icon-rotate {
2077 - from {
2078 - -webkit-transform: rotate(0deg);
2079 - transform: rotate(0deg);
2080 - }
2081 - to {
2082 - -webkit-transform: rotate(360deg);
2083 - transform: rotate(360deg);
2084 - }
1694 +/* Analytics opt-in ============================================================================= */
1695 +.imagify-analytics-section {
1696 + padding: 20px 24px;
1697 + background: #f6f7f7;
1698 + border-radius: 4px;
2085 1699 }
2086 -@keyframes icon-rotate {
2087 - from {
2088 - transform: rotate(0deg);
2089 - }
2090 - to {
2091 - transform: rotate(360deg);
2092 - }
1700 +
1701 +.imagify-analytics-optin {
1702 + display: flex;
1703 + flex-direction: column;
1704 + gap: 8px;
2093 1705 }
2094 1706
2095 -.imagify-menu-bar-img {
2096 - margin-top: 1em;
1707 +.imagify-analytics-label {
1708 + display: inline-flex;
1709 + align-items: center;
1710 + gap: 12px;
1711 + cursor: pointer;
1712 + font-size: 14px;
1713 + font-weight: 600;
1714 + color: #2E3243;
2097 1715 }
2098 1716
2099 -/**
2100 - * Visual Comparison
2101 - */
2102 -.imagify-modal .loader {
1717 +/* Hide native checkbox */
1718 +.imagify-analytics-checkbox {
2103 1719 position: absolute;
2104 - top: 50%;
2105 - left: 50%;
2106 - margin: -32px 0 0 -32px;
2107 1720 opacity: 0;
2108 - visibility: hidden;
2109 - transition: opacity .4s;
1721 + width: 0;
1722 + height: 0;
2110 1723 }
2111 -.imagify-modal .loading .loader {
2112 - visibility: visible;
2113 - opacity: 1;
1724 +
1725 +/* Toggle switch track */
1726 +.imagify-analytics-toggle-ui {
1727 + position: relative;
1728 + display: inline-block;
1729 + width: 48px;
1730 + height: 26px;
1731 + background: #ccc;
1732 + border-radius: 13px;
1733 + transition: background .2s ease;
1734 + flex-shrink: 0;
2114 1735 }
2115 1736
2116 -.imagify-settings .imagify-visual-comparison-text {
2117 - margin-top: 1em;
2118 - color: #40b1d0;
2119 - font-weight: bold;
2120 -}
1737 +/* Toggle switch thumb */
1738 +.imagify-analytics-toggle-ui::after {
1739 + content: '';
1740 + position: absolute;
1741 + top: 3px;
1742 + left: 3px;
1743 + width: 20px;
1744 + height: 20px;
1745 + background: #fff;
1746 + border-radius: 50%;
1747 + box-shadow: 0 1px 3px rgba(0,0,0,.3);
1748 + transition: transform .2s ease;
1749 +}
1750 +
1751 +.imagify-analytics-checkbox:checked ~ .imagify-analytics-toggle-ui,
1752 +.imagify-analytics-label .imagify-analytics-checkbox:checked + .imagify-analytics-toggle-ui {
1753 + background: #40B1D0;
1754 +}
1755 +
1756 +.imagify-analytics-checkbox:checked + .imagify-analytics-toggle-ui::after {
1757 + transform: translateX(22px);
1758 +}
1759 +
1760 +.imagify-analytics-description {
1761 + margin: 0;
1762 + color: #666;
1763 + font-size: 13px;
1764 +}
1765 +
1766 +.imagify-btn-link {
1767 + background: none;
1768 + border: none;
1769 + padding: 0;
1770 + color: #40B1D0;
1771 + text-decoration: underline;
1772 + cursor: pointer;
1773 + font-size: inherit;
1774 +}
1775 +
1776 +.imagify-btn-link:hover {
1777 + color: #338ea6;
1778 +}
1779 +
1780 +/* Analytics data table (modal + thank-you notice) */
1781 +.imagify-analytics-data-table {
1782 + width: 100%;
1783 + border-collapse: collapse;
1784 + margin: 12px 0;
1785 + border-left: 3px solid #40B1D0;
1786 + background-color: #F0FAFD;
1787 + border-radius: 4px;
1788 + overflow: hidden;
1789 +}
1790 +
1791 +.imagify-analytics-data-table td {
1792 + padding: 8px 12px;
1793 + font-size: 13px;
1794 + border-bottom: 1px solid #D8EFF6;
1795 + vertical-align: top;
1796 + color: #2E3243;
1797 +}
1798 +
1799 +.imagify-analytics-data-table td:first-child {
1800 + font-weight: 600;
1801 + width: 40%;
1802 +}
1803 +
1804 +.imagify-analytics-data-table tr:last-child td {
1805 + border-bottom: 0;
1806 +}
1807 +
1808 +/* Thank-you notice text colour override */
1809 +.imagify-analytics-thankyou-notice,
1810 +.imagify-analytics-thankyou-notice p {
1811 + color: #1d2327;
1812 +}
1813 +
1814 +/* Opt-in ask notice */
1815 +.imagify-analytics-optin-notice .imagify-analytics-data-container {
1816 + margin-bottom: 12px;
1817 +}
1818 +
1819 +.imagify-analytics-optin-notice .imagify-analytics-data-container .description {
1820 + color: #666;
1821 + font-size: 13px;
1822 +}
1823 +