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