| 1 |
/** |
| 2 |
* Autosmush |
| 3 |
*/ |
| 4 |
.wpo-fieldgroup .autosmush { |
| 5 |
display: inline-block; |
| 6 |
width: 100%; |
| 7 |
} |
| 8 |
|
| 9 |
.wpo-fieldgroup .autosmush h3 { |
| 10 |
font-size: 1.2em; |
| 11 |
margin: 3px 18px; |
| 12 |
} |
| 13 |
|
| 14 |
/** |
| 15 |
* Compression Server |
| 16 |
*/ |
| 17 |
.wpo-fieldgroup .compression_server div { |
| 18 |
max-width: 300px; |
| 19 |
} |
| 20 |
|
| 21 |
.wpo-fieldgroup .compression_server h2 { |
| 22 |
margin: 10px 0; |
| 23 |
} |
| 24 |
|
| 25 |
.wpo-fieldgroup .compression_server h3 { |
| 26 |
clear: both; |
| 27 |
width: 100%; |
| 28 |
} |
| 29 |
|
| 30 |
.wpo-fieldgroup .compression_server p { |
| 31 |
margin: 1px; |
| 32 |
} |
| 33 |
|
| 34 |
.wpo-fieldgroup .compression_server p:last-of-type { |
| 35 |
margin-bottom: 10px; |
| 36 |
} |
| 37 |
|
| 38 |
.wpo-fieldgroup .compression_server { |
| 39 |
display: -ms-flexbox; |
| 40 |
display: flex; |
| 41 |
-ms-flex-flow: row wrap; |
| 42 |
flex-flow: row wrap; |
| 43 |
} |
| 44 |
|
| 45 |
.wpo-fieldgroup .compression_server > div { |
| 46 |
-ms-flex: 1; |
| 47 |
flex: 1; |
| 48 |
margin-right: 10px; |
| 49 |
height: 100%; |
| 50 |
position: relative; |
| 51 |
} |
| 52 |
|
| 53 |
.wpo-fieldgroup .compression_server input[type=radio] { |
| 54 |
position: absolute; |
| 55 |
z-index: 1; |
| 56 |
top: calc(50% + 2px); |
| 57 |
left: 20px; |
| 58 |
transform: translatey(-50%); |
| 59 |
} |
| 60 |
|
| 61 |
.wpo-fieldgroup .compression_server input[type=radio] + div#wpo-resmushit-details h4 { |
| 62 |
color: #23282D; |
| 63 |
margin-top: 0; |
| 64 |
margin-bottom: 0.9em; |
| 65 |
font-size: 1.2em; |
| 66 |
} |
| 67 |
|
| 68 |
.wpo-fieldgroup .compression_server div#wpo-resmushit-details { |
| 69 |
display: block; |
| 70 |
position: relative; |
| 71 |
box-sizing: border-box; |
| 72 |
height: 100%; |
| 73 |
background: #FFF; |
| 74 |
text-align: left; |
| 75 |
box-shadow: 0px 3px 10px -2px hsla(150, 5%, 65%, 0.5); |
| 76 |
} |
| 77 |
|
| 78 |
.wpo-fieldgroup .compression_server input[type=radio] + div#wpo-resmushit-details { |
| 79 |
padding: 20px; |
| 80 |
border: 2px solid #FFF; |
| 81 |
padding-left: 65px; |
| 82 |
position: relative; |
| 83 |
border-radius: 5px; |
| 84 |
color: #82868B; |
| 85 |
} |
| 86 |
|
| 87 |
.wpo-fieldgroup .compression_server input[type=radio] + div#wpo-resmushit-details::before { |
| 88 |
content: ""; |
| 89 |
display: block; |
| 90 |
position: absolute; |
| 91 |
top: 0; |
| 92 |
left: 52px; |
| 93 |
height: 100%; |
| 94 |
border-right: 1px solid #EDEFF0; |
| 95 |
} |
| 96 |
|
| 97 |
.wpo-fieldgroup .save-options { |
| 98 |
margin: 10px 0; |
| 99 |
} |
| 100 |
|
| 101 |
.wpo-fieldgroup .compression_server input[type=radio]:focus + div#wpo-resmushit-details, |
| 102 |
.wpo-fieldgroup .compression_server input[type=radio] + div#wpo-resmushit-details:hover { |
| 103 |
border-color: rgba(0, 134, 184, 0.38); |
| 104 |
} |
| 105 |
|
| 106 |
.wpo-fieldgroup .compression_server input[type=radio]:focus + div#wpo-resmushit-details, |
| 107 |
.wpo-fieldgroup .compression_server input[type=radio] + div#wpo-resmushit-details:active { |
| 108 |
box-shadow: 0px 3px 10px -2px #5B9DD9; |
| 109 |
} |
| 110 |
|
| 111 |
.wpo-fieldgroup .compression_server input[type=radio]:focus + div#wpo-resmushit-details h4, |
| 112 |
.wpo-fieldgroup .compression_server input[type=radio] + div#wpo-resmushit-details:focus h4, |
| 113 |
.wpo-fieldgroup .compression_server input[type=radio] + div#wpo-resmushit-details:active h4 { |
| 114 |
color: #0086B9; |
| 115 |
} |
| 116 |
|
| 117 |
.wpo-fieldgroup .compression_server input[type=radio]:checked + div#wpo-resmushit-details, |
| 118 |
.wpo-fieldgroup .compression_server input[type=radio]:checked + div#wpo-resmushit-details:hover { |
| 119 |
border-color: #0086B9; |
| 120 |
} |
| 121 |
|
| 122 |
@media only screen and (max-width: 700px) { |
| 123 |
.wpo-fieldgroup .compression_server { |
| 124 |
-ms-flex-direction: column; |
| 125 |
flex-direction: column; |
| 126 |
} |
| 127 |
.wpo-fieldgroup .compression_server > div { |
| 128 |
margin-bottom: 15px; |
| 129 |
max-width: 100%; |
| 130 |
} |
| 131 |
} |
| 132 |
/** |
| 133 |
* Compression Options |
| 134 |
*/ |
| 135 |
.wpo-fieldgroup h4 { |
| 136 |
margin: 1em 0; |
| 137 |
width: 100%; |
| 138 |
} |
| 139 |
|
| 140 |
.wpo-fieldgroup .image_quality input[type=radio] { |
| 141 |
position: absolute; |
| 142 |
visibility: hidden; |
| 143 |
display: none; |
| 144 |
} |
| 145 |
|
| 146 |
.wpo-fieldgroup .image_quality label { |
| 147 |
color: #23282D; |
| 148 |
display: inline-block; |
| 149 |
cursor: pointer; |
| 150 |
font-weight: bold; |
| 151 |
padding: 5px 20px; |
| 152 |
background: #F9F9F9; |
| 153 |
float: left; |
| 154 |
margin: 0 0.5px; |
| 155 |
} |
| 156 |
|
| 157 |
.wpo-fieldgroup .image_quality input[type=radio]:checked + label { |
| 158 |
color: white; |
| 159 |
background: #0088B9; |
| 160 |
} |
| 161 |
|
| 162 |
.wpo-fieldgroup .image_quality label + .wpo-fieldgroup .image_quality input[type=radio] + label { |
| 163 |
border-left: solid 3px #675F6B; |
| 164 |
} |
| 165 |
|
| 166 |
.wpo-fieldgroup .image_quality.radio-group { |
| 167 |
border: solid 0.5px #C4C4C4; |
| 168 |
display: inline-block; |
| 169 |
border-radius: 5px; |
| 170 |
overflow: hidden; |
| 171 |
border-bottom: solid 2px #C4C4C4; |
| 172 |
background: #C4C4C4; |
| 173 |
} |
| 174 |
|
| 175 |
.wpo-fieldgroup .image_options input { |
| 176 |
min-height: 16px; |
| 177 |
min-width: 16px; |
| 178 |
margin: 3px 2px; |
| 179 |
} |
| 180 |
|
| 181 |
img#wpo_smush_images_save_options_spinner { |
| 182 |
max-width: 20px; |
| 183 |
max-height: 20px; |
| 184 |
} |
| 185 |
|
| 186 |
span#wpo_smush_images_save_options_fail { |
| 187 |
font-size: inherit; |
| 188 |
color: red; |
| 189 |
} |
| 190 |
|
| 191 |
span#wpo_smush_images_save_options_done { |
| 192 |
font-size: inherit; |
| 193 |
color: green; |
| 194 |
} |
| 195 |
|
| 196 |
#smush-complete-summary span.clearfix { |
| 197 |
height: 10px; |
| 198 |
display: block; |
| 199 |
clear: both; |
| 200 |
} |
| 201 |
|
| 202 |
#smush-complete-summary span.close { |
| 203 |
display: block; |
| 204 |
clear: both; |
| 205 |
text-align: left; |
| 206 |
color: #DF6927; |
| 207 |
border: 2px solid; |
| 208 |
border-radius: 50%; |
| 209 |
cursor: pointer; |
| 210 |
} |
| 211 |
|
| 212 |
#smush-complete-summary .wpo-save-btn-container { |
| 213 |
-ms-flex-pack: center; |
| 214 |
justify-content: center; |
| 215 |
margin: 10px 0; |
| 216 |
} |
| 217 |
|
| 218 |
.modal-message-text { |
| 219 |
margin: 0 25px; |
| 220 |
} |
| 221 |
|
| 222 |
.smush-options.custom_compression { |
| 223 |
margin: 10px; |
| 224 |
} |
| 225 |
|
| 226 |
#smush-backup-delete-days { |
| 227 |
width: 70px; |
| 228 |
margin: 0 8px; |
| 229 |
} |
| 230 |
|
| 231 |
img#wpo_smush_delete_backup_spinner { |
| 232 |
max-width: 20px; |
| 233 |
max-height: 20px; |
| 234 |
position: relative; |
| 235 |
top: 4px; |
| 236 |
} |
| 237 |
|
| 238 |
span#wpo_smush_delete_backup_done { |
| 239 |
font-size: inherit; |
| 240 |
color: green; |
| 241 |
} |
| 242 |
|
| 243 |
.wpo-fieldgroup .smush-options.custom_compression { |
| 244 |
display: -ms-flexbox; |
| 245 |
display: flex; |
| 246 |
-ms-flex-align: center; |
| 247 |
align-items: center; |
| 248 |
margin-left: 24px; |
| 249 |
} |
| 250 |
|
| 251 |
.wpo-fieldgroup .smush-options.custom_compression > span { |
| 252 |
display: inline-block; |
| 253 |
padding: 6px; |
| 254 |
border: 1px solid #CFD2D4; |
| 255 |
border-radius: 4px; |
| 256 |
font-size: 0.9em; |
| 257 |
position: relative; |
| 258 |
} |
| 259 |
|
| 260 |
.wpo-fieldgroup .smush-options.custom_compression > span.slider-start::after { |
| 261 |
content: ""; |
| 262 |
width: 6px; |
| 263 |
height: 6px; |
| 264 |
display: block; |
| 265 |
position: absolute; |
| 266 |
top: 0; |
| 267 |
left: 100%; |
| 268 |
transform: translate(-3px, 8px) rotate(45deg); |
| 269 |
border-right: 1px solid #CFD2D4; |
| 270 |
border-top: 1px solid #CFD2D4; |
| 271 |
background: #EDEFF0; |
| 272 |
} |
| 273 |
|
| 274 |
.wpo-fieldgroup .smush-options.custom_compression > span.slider-end::before { |
| 275 |
content: ""; |
| 276 |
width: 6px; |
| 277 |
height: 6px; |
| 278 |
display: block; |
| 279 |
position: absolute; |
| 280 |
top: 0; |
| 281 |
right: 100%; |
| 282 |
transform: translate(3px, 8px) rotate(45deg); |
| 283 |
border-left: 1px solid #CFD2D4; |
| 284 |
border-bottom: 1px solid #CFD2D4; |
| 285 |
background: #EDEFF0; |
| 286 |
} |
| 287 |
|
| 288 |
.wpo-fieldgroup .smush-options.custom_compression > input { |
| 289 |
margin-left: 8px; |
| 290 |
margin-right: 8px; |
| 291 |
} |
| 292 |
|
| 293 |
@media screen and (max-width: 782px) { |
| 294 |
.wpo-fieldgroup input[type=radio] { |
| 295 |
height: 16px; |
| 296 |
width: 16px; |
| 297 |
} |
| 298 |
.wpo-fieldgroup input[type=radio]:checked:before { |
| 299 |
width: 6px; |
| 300 |
height: 6px; |
| 301 |
margin: 4px; |
| 302 |
} |
| 303 |
.wpo-fieldgroup .smush-options.custom_compression { |
| 304 |
-ms-flex-direction: column; |
| 305 |
flex-direction: column; |
| 306 |
} |
| 307 |
.wpo-fieldgroup .smush-options.custom_compression > input { |
| 308 |
width: 100%; |
| 309 |
} |
| 310 |
.wpo-fieldgroup .smush-options.custom_compression > span { |
| 311 |
display: block; |
| 312 |
width: 100%; |
| 313 |
} |
| 314 |
.wpo-fieldgroup .smush-options.custom_compression > span.slider-start::after { |
| 315 |
left: 0; |
| 316 |
transform: translate(7px, 22px) rotate(135deg); |
| 317 |
} |
| 318 |
.wpo-fieldgroup .smush-options.custom_compression > span.slider-end::before { |
| 319 |
right: auto; |
| 320 |
left: 100%; |
| 321 |
transform: translate(-14px, -5px) rotate(135deg); |
| 322 |
} |
| 323 |
} |
| 324 |
/** |
| 325 |
* Uncompressed images |
| 326 |
*/ |
| 327 |
#wpo_smush_settings .align-left { |
| 328 |
float: left; |
| 329 |
} |
| 330 |
|
| 331 |
#wpo_smush_settings .align-right { |
| 332 |
float: right; |
| 333 |
} |
| 334 |
|
| 335 |
.wpo-fieldgroup .wpo_smush_images_buttons_wrap { |
| 336 |
width: 100%; |
| 337 |
} |
| 338 |
|
| 339 |
.wpo-fieldgroup .smush-refresh-icon, |
| 340 |
.wpo-fieldgroup .smush-select-actions { |
| 341 |
font-size: 15px; |
| 342 |
} |
| 343 |
|
| 344 |
.wpo-fieldgroup img.wpo_smush_images_loader { |
| 345 |
display: none; |
| 346 |
min-height: 20px; |
| 347 |
min-width: 20px; |
| 348 |
} |
| 349 |
|
| 350 |
.wpo-fieldgroup .dashicons.dashicons-image-rotate { |
| 351 |
font-size: 15px; |
| 352 |
} |
| 353 |
|
| 354 |
.wpo-fieldgroup .wpo-toggle-advanced-options { |
| 355 |
cursor: pointer; |
| 356 |
text-decoration: underline; |
| 357 |
color: #0088BC; |
| 358 |
} |
| 359 |
|
| 360 |
.wpo-fieldgroup .button.wpo-toggle-advanced-options { |
| 361 |
display: block; |
| 362 |
width: calc(100% + 40px); |
| 363 |
margin-left: -20px; |
| 364 |
margin-right: -20px; |
| 365 |
padding-left: 20px; |
| 366 |
padding-right: 20px; |
| 367 |
position: relative; |
| 368 |
text-decoration: none; |
| 369 |
} |
| 370 |
|
| 371 |
.wpo-fieldgroup .button.wpo-toggle-advanced-options span.dashicons { |
| 372 |
text-decoration: none; |
| 373 |
font-size: 16px; |
| 374 |
height: 16px; |
| 375 |
vertical-align: middle; |
| 376 |
color: #444; |
| 377 |
transition: 0.2s all; |
| 378 |
position: relative; |
| 379 |
} |
| 380 |
|
| 381 |
.wp-version-7 .wpo-fieldgroup .button.wpo-toggle-advanced-options span.dashicons { |
| 382 |
top: -6px; |
| 383 |
} |
| 384 |
|
| 385 |
.wpo-fieldgroup .wpo-toggle-advanced-options span.text { |
| 386 |
background: #F2F4F4; |
| 387 |
z-index: 1; |
| 388 |
position: relative; |
| 389 |
padding-right: 5px; |
| 390 |
} |
| 391 |
|
| 392 |
.wpo-fieldgroup .button.wpo-toggle-advanced-options:hover, |
| 393 |
.wpo-fieldgroup .button.wpo-toggle-advanced-options:focus { |
| 394 |
background: transparent; |
| 395 |
} |
| 396 |
|
| 397 |
.wpo-fieldgroup .button.wpo-toggle-advanced-options .wpo-toggle-advanced-options__text-show { |
| 398 |
display: inline-block; |
| 399 |
} |
| 400 |
|
| 401 |
.wpo-fieldgroup .button.wpo-toggle-advanced-options .wpo-toggle-advanced-options__text-hide { |
| 402 |
display: none; |
| 403 |
} |
| 404 |
|
| 405 |
.wpo-fieldgroup .button.wpo-toggle-advanced-options.opened .wpo-toggle-advanced-options__text-show { |
| 406 |
display: none; |
| 407 |
} |
| 408 |
|
| 409 |
.wpo-fieldgroup .button.wpo-toggle-advanced-options.opened .wpo-toggle-advanced-options__text-hide { |
| 410 |
display: inline-block; |
| 411 |
margin-bottom: 20px; |
| 412 |
} |
| 413 |
|
| 414 |
.wpo-fieldgroup .button.wpo-toggle-advanced-options.opened::before { |
| 415 |
content: ""; |
| 416 |
border-top: 1px solid #CCC; |
| 417 |
width: 100%; |
| 418 |
position: absolute; |
| 419 |
top: 16px; |
| 420 |
left: 0; |
| 421 |
} |
| 422 |
|
| 423 |
.wpo-fieldgroup .button.wpo-toggle-advanced-options.opened span.dashicons { |
| 424 |
transform: rotate(180deg); |
| 425 |
} |
| 426 |
|
| 427 |
.wp-version-7 .wpo-fieldgroup .button.wpo-toggle-advanced-options.opened span.dashicons { |
| 428 |
top: 4px; |
| 429 |
} |
| 430 |
|
| 431 |
.wpo-fieldgroup .wpo-advanced-options { |
| 432 |
display: none; |
| 433 |
} |
| 434 |
|
| 435 |
.wpo-advanced-options > fieldset:first-child { |
| 436 |
margin-top: 10px; |
| 437 |
} |
| 438 |
|
| 439 |
.wpo-fieldgroup .button.wpo-toggle-advanced-options.opened + .wpo-advanced-options { |
| 440 |
display: block; |
| 441 |
} |
| 442 |
|
| 443 |
.wpo_smush_image:focus-within label { |
| 444 |
box-shadow: 0 0 4px #0272AA; |
| 445 |
} |
| 446 |
|
| 447 |
.wpo_smush_image .wpo_smush_image__input:checked + label { |
| 448 |
border-color: #0272AA; |
| 449 |
} |
| 450 |
|
| 451 |
.uncompressed-images input[type=checkbox] { |
| 452 |
position: absolute; |
| 453 |
opacity: 0; |
| 454 |
width: 0; |
| 455 |
height: 0; |
| 456 |
} |
| 457 |
|
| 458 |
.uncompressed-images small.red { |
| 459 |
clear: both; |
| 460 |
display: block; |
| 461 |
margin: 5px; |
| 462 |
} |
| 463 |
|
| 464 |
.smush-actions .wpo_primary_small { |
| 465 |
display: inline-block; |
| 466 |
margin: 5px; |
| 467 |
} |
| 468 |
|
| 469 |
.smush-actions { |
| 470 |
display: inline-block; |
| 471 |
width: 100%; |
| 472 |
margin: 10px 0; |
| 473 |
} |
| 474 |
|
| 475 |
.smush-actions .dashicons.dashicons-yes { |
| 476 |
font-size: 15px; |
| 477 |
margin: 0 5px; |
| 478 |
} |
| 479 |
|
| 480 |
.smush-actions img { |
| 481 |
max-height: 25px; |
| 482 |
max-width: 25px; |
| 483 |
} |
| 484 |
|
| 485 |
/** |
| 486 |
* Log and panels |
| 487 |
*/ |
| 488 |
#smush-log-modal { |
| 489 |
width: 100%; |
| 490 |
height: 100%; |
| 491 |
} |
| 492 |
|
| 493 |
#log-panel { |
| 494 |
height: 80%; |
| 495 |
overflow: scroll; |
| 496 |
margin: 2%; |
| 497 |
} |
| 498 |
|
| 499 |
#log-panel pre { |
| 500 |
text-align: left; |
| 501 |
overflow: auto; |
| 502 |
height: 100%; |
| 503 |
background: gainsboro; |
| 504 |
} |
| 505 |
|
| 506 |
.smush-information { |
| 507 |
margin-bottom: 10px; |
| 508 |
} |
| 509 |
|
| 510 |
/** |
| 511 |
* Smush modal progress box & related styling |
| 512 |
*/ |
| 513 |
#smush_stats { |
| 514 |
text-align: center; |
| 515 |
margin: 0 auto; |
| 516 |
padding: 2%; |
| 517 |
min-width: 350px; |
| 518 |
font-size: larger; |
| 519 |
} |
| 520 |
|
| 521 |
#smush_stats .wpo_smush_stats_cta_btn { |
| 522 |
clear: both; |
| 523 |
display: block; |
| 524 |
text-align: center; |
| 525 |
} |
| 526 |
|
| 527 |
#smush_stats .smush_stats_row td:first-child { |
| 528 |
text-align: left; |
| 529 |
} |
| 530 |
|
| 531 |
#smush_stats tr.smush_stats_row td:last-child { |
| 532 |
text-align: right; |
| 533 |
} |
| 534 |
|
| 535 |
#smush_stats #wpo_smush_images_information_container p { |
| 536 |
padding: 10px; |
| 537 |
} |
| 538 |
|
| 539 |
#smush-complete-summary .checkmark-circle { |
| 540 |
width: 50px; |
| 541 |
height: 50px; |
| 542 |
position: relative; |
| 543 |
display: inline-block; |
| 544 |
vertical-align: top; |
| 545 |
} |
| 546 |
|
| 547 |
#smush-complete-summary .checkmark-circle .background { |
| 548 |
width: 50px; |
| 549 |
height: 50px; |
| 550 |
border-radius: 50%; |
| 551 |
background: #DF6927; |
| 552 |
position: absolute; |
| 553 |
} |
| 554 |
|
| 555 |
#smush-complete-summary .checkmark-circle .checkmark { |
| 556 |
border-radius: 5px; |
| 557 |
} |
| 558 |
|
| 559 |
#smush-complete-summary .checkmark-circle .checkmark.draw:after { |
| 560 |
animation-delay: 100ms; |
| 561 |
animation-duration: 1s; |
| 562 |
animation-timing-function: ease; |
| 563 |
animation-name: checkmark; |
| 564 |
transform: scalex(-1) rotate(135deg); |
| 565 |
animation-fill-mode: forwards; |
| 566 |
} |
| 567 |
|
| 568 |
#smush-complete-summary .checkmark-circle .checkmark:after { |
| 569 |
opacity: 1; |
| 570 |
height: 25px; |
| 571 |
width: 12.5px; |
| 572 |
transform-origin: left top; |
| 573 |
border-right: 5px solid white; |
| 574 |
border-top: 5px solid white; |
| 575 |
border-radius: 2.5px !important; |
| 576 |
content: ""; |
| 577 |
left: 8.3333333333px; |
| 578 |
top: 25px; |
| 579 |
position: absolute; |
| 580 |
} |
| 581 |
|
| 582 |
#smush_stats .wpo_primary_small { |
| 583 |
text-align: center; |
| 584 |
} |
| 585 |
|
| 586 |
#smush-complete-summary #summary-message { |
| 587 |
padding: 15px; |
| 588 |
} |
| 589 |
|
| 590 |
img#wpo_smush_images_clear_stats_spinner { |
| 591 |
width: 20px; |
| 592 |
line-height: 1; |
| 593 |
vertical-align: middle; |
| 594 |
} |
| 595 |
|
| 596 |
/* Animated progress bar */ |
| 597 |
#wpo_smush_images_information_container { |
| 598 |
padding: 10px; |
| 599 |
} |
| 600 |
|
| 601 |
#wpo_smush_images_information_wrapper .progress-bar { |
| 602 |
height: 25px; |
| 603 |
padding: 1px; |
| 604 |
width: 350px; |
| 605 |
margin: 10px auto; |
| 606 |
border-radius: 5px; |
| 607 |
} |
| 608 |
|
| 609 |
#wpo_smush_images_information_wrapper .progress-bar span { |
| 610 |
display: inline-block; |
| 611 |
height: 100%; |
| 612 |
border-radius: 3px; |
| 613 |
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; |
| 614 |
transition: width 0.4s ease-in-out; |
| 615 |
} |
| 616 |
|
| 617 |
#wpo_smush_images_information_wrapper .orange span { |
| 618 |
background-color: #DF6927; |
| 619 |
} |
| 620 |
|
| 621 |
#wpo_smush_images_information_wrapper .stripes span { |
| 622 |
background-size: 30px; |
| 623 |
background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); |
| 624 |
animation: animate-stripes 3s linear infinite; |
| 625 |
} |
| 626 |
|
| 627 |
/** |
| 628 |
* Smush metabox |
| 629 |
*/ |
| 630 |
#smush-metabox-inside-wrapper { |
| 631 |
display: inline-table; |
| 632 |
width: 100%; |
| 633 |
} |
| 634 |
|
| 635 |
#smush-metabox-inside-wrapper h4 { |
| 636 |
margin: 2px 0; |
| 637 |
} |
| 638 |
|
| 639 |
#smush-metabox-inside-wrapper label { |
| 640 |
margin-top: 5px; |
| 641 |
clear: left; |
| 642 |
display: block; |
| 643 |
} |
| 644 |
|
| 645 |
#smush-metabox-inside-wrapper .wpo_smush_single_image { |
| 646 |
display: block; |
| 647 |
} |
| 648 |
|
| 649 |
#smush-metabox-inside-wrapper .wpo_smush_single_image.action_button { |
| 650 |
padding: 5px 0; |
| 651 |
} |
| 652 |
|
| 653 |
#smush-metabox-inside-wrapper fieldset { |
| 654 |
margin: 10px 0; |
| 655 |
} |
| 656 |
|
| 657 |
#smush-metabox-inside-wrapper input[type=radio] { |
| 658 |
margin: -4px 4px 0 0; |
| 659 |
} |
| 660 |
|
| 661 |
#smush-metabox-inside-wrapper .alignleft { |
| 662 |
float: left; |
| 663 |
} |
| 664 |
|
| 665 |
#smush-metabox-inside-wrapper p#smush_info { |
| 666 |
margin: 20px auto; |
| 667 |
padding-top: 10px; |
| 668 |
clear: both; |
| 669 |
} |
| 670 |
|
| 671 |
#smush-metabox-inside-wrapper .wpo-toggle-advanced-options { |
| 672 |
cursor: pointer; |
| 673 |
display: block; |
| 674 |
clear: both; |
| 675 |
margin-top: 10px; |
| 676 |
margin-bottom: 10px; |
| 677 |
} |
| 678 |
|
| 679 |
#smush-metabox-inside-wrapper .wpo-toggle-advanced-options:not(.opened) ~ .wpo-advanced-options { |
| 680 |
display: none; |
| 681 |
} |
| 682 |
|
| 683 |
#smush-metabox-inside-wrapper .wpo-toggle-advanced-options.opened ~ .wpo-advanced-options { |
| 684 |
display: block !important; |
| 685 |
} |
| 686 |
|
| 687 |
#smush-metabox-inside-wrapper .smush-options.custom_compression span, |
| 688 |
.wpo-smush-compress-popup-content .smush-options.custom_compression span { |
| 689 |
display: block; |
| 690 |
max-width: 30%; |
| 691 |
clear: both; |
| 692 |
} |
| 693 |
|
| 694 |
#smush-metabox-inside-wrapper input#custom_compression_slider, |
| 695 |
.wpo-smush-compress-popup-content input#custom_compression_slider { |
| 696 |
display: block; |
| 697 |
clear: both; |
| 698 |
width: 100%; |
| 699 |
} |
| 700 |
|
| 701 |
#smush-metabox-inside-wrapper .smush-options.custom_compression span.alignleft, |
| 702 |
.wpo-smush-compress-popup-content .smush-options.custom_compression span.alignleft { |
| 703 |
float: left; |
| 704 |
} |
| 705 |
|
| 706 |
#smush-metabox-inside-wrapper .smush-options.custom_compression span.alignright, |
| 707 |
.wpo-smush-compress-popup-content .smush-options.custom_compression span.alignright { |
| 708 |
float: right; |
| 709 |
text-align: right; |
| 710 |
} |
| 711 |
|
| 712 |
.smush-metabox-dashboard-link { |
| 713 |
clear: both; |
| 714 |
padding-top: 15px; |
| 715 |
text-align: right; |
| 716 |
} |
| 717 |
|
| 718 |
.media-frame-content .attachment-compat .compat-item { |
| 719 |
overflow: visible !important; |
| 720 |
} |
| 721 |
|
| 722 |
/** Smush popup content **/ |
| 723 |
.wpo-smush-compress-popup-content { |
| 724 |
text-align: left; |
| 725 |
padding: 20px; |
| 726 |
} |
| 727 |
|
| 728 |
.wpo-smush-compress-popup-content .wpo-toggle-advanced-options { |
| 729 |
margin-top: 20px; |
| 730 |
} |
| 731 |
|
| 732 |
.wpo-smush-compress-popup-content h3 { |
| 733 |
margin-top: 0; |
| 734 |
text-align: center; |
| 735 |
} |
| 736 |
|
| 737 |
.wpo-smush-compress-popup-content h4 { |
| 738 |
margin-bottom: 5px; |
| 739 |
margin-top: 10px; |
| 740 |
} |
| 741 |
|
| 742 |
.wpo-smush-compress-popup-content .wpo-advanced-options { |
| 743 |
display: none; |
| 744 |
} |
| 745 |
|
| 746 |
.wpo-smush-compress-popup-content .wpo-toggle-advanced-options.opened + .wpo-advanced-options { |
| 747 |
display: block; |
| 748 |
} |
| 749 |
|
| 750 |
/* Smush Media Library column */ |
| 751 |
.wpo-smush-media-library-column .wpo-smush-compress-popup-btn { |
| 752 |
margin-bottom: 5px; |
| 753 |
} |
| 754 |
|
| 755 |
.wpo-smush-media-library-column .wpo_restore_single_image { |
| 756 |
margin-bottom: 5px; |
| 757 |
} |
| 758 |
|
| 759 |
/* fix for elementor restore button position */ |
| 760 |
.wpo_restore_single_image .alignright { |
| 761 |
float: right; |
| 762 |
} |
| 763 |
|
| 764 |
/** |
| 765 |
* Force fix the modals |
| 766 |
*/ |
| 767 |
.blockUI.blockMsg.blockPage { |
| 768 |
z-index: 170000 !important; |
| 769 |
right: 0; |
| 770 |
left: 0 !important; |
| 771 |
margin-right: auto !important; |
| 772 |
margin-left: auto !important; |
| 773 |
max-width: 90%; |
| 774 |
cursor: default !important; |
| 775 |
} |
| 776 |
|
| 777 |
.blockUI.blockOverlay { |
| 778 |
cursor: default !important; |
| 779 |
} |
| 780 |
|
| 781 |
/** |
| 782 |
* Tooltip Styles |
| 783 |
*/ |
| 784 |
.ui-tooltip.ui-widget-content { |
| 785 |
background: #1D2327; |
| 786 |
color: #FFF; |
| 787 |
border-radius: 4px; |
| 788 |
padding: 6px 10px; |
| 789 |
font-size: 13px; |
| 790 |
max-width: 260px; |
| 791 |
line-height: 1.3; |
| 792 |
z-index: 999990; |
| 793 |
box-shadow: none; |
| 794 |
} |
| 795 |
|
| 796 |
/** |
| 797 |
* Animation needed for smush |
| 798 |
*/ |
| 799 |
@keyframes checkmark { |
| 800 |
0% { |
| 801 |
height: 0; |
| 802 |
width: 0; |
| 803 |
opacity: 1; |
| 804 |
} |
| 805 |
20% { |
| 806 |
height: 0; |
| 807 |
width: 12.5px; |
| 808 |
opacity: 1; |
| 809 |
} |
| 810 |
40% { |
| 811 |
height: 25px; |
| 812 |
width: 12.5px; |
| 813 |
opacity: 1; |
| 814 |
} |
| 815 |
100% { |
| 816 |
height: 25px; |
| 817 |
width: 12.5px; |
| 818 |
opacity: 1; |
| 819 |
} |
| 820 |
} |
| 821 |
@keyframes animate-stripes { |
| 822 |
0% { |
| 823 |
background-position: 0 0; |
| 824 |
} |
| 825 |
100% { |
| 826 |
background-position: 60px 0; |
| 827 |
} |
| 828 |
} |
| 829 |
@keyframes animate-stripes { |
| 830 |
0% { |
| 831 |
background-position: 0 0; |
| 832 |
} |
| 833 |
100% { |
| 834 |
background-position: 60px 0; |
| 835 |
} |
| 836 |
} |
| 837 |
#wpo_smush_restore_all_compressed_images_btn + span > span { |
| 838 |
line-height: 28px; |
| 839 |
} |