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