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