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