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