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