| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 /*! This file is auto-generated */ 2 /*------------------------------------------------------------------------------ 3 14.0 - Media Screen 4 ------------------------------------------------------------------------------*/ 5 6 .media-item .describe { 7 border-collapse: collapse; 8 width: 100%; 9 border-top: 1px solid #dcdcde; 10 clear: both; 11 cursor: default; 12 } 13 14 .media-item.media-blank .describe { 15 border: 0; 16 } 17 18 .media-item .describe th { 19 vertical-align: top; 20 text-align: right; 21 padding: 5px 10px 10px; 22 width: 140px; 23 } 24 25 .media-item .describe .align th { 26 padding-top: 0; 27 } 28 29 .media-item .media-item-info tr { 30 background-color: transparent; 31 } 32 33 .media-item .describe td { 34 padding: 0 0 8px 8px; 35 vertical-align: top; 36 } 37 38 .media-item thead.media-item-info td { 39 padding: 4px 10px 0; 40 } 41 42 .media-item .media-item-info .A1B1 { 43 padding: 0 10px 0 0; 44 } 45 46 .media-item td.savesend { 47 padding-bottom: 15px; 48 } 49 50 .media-item .thumbnail { 51 max-height: 128px; 52 max-width: 128px; 53 } 54 55 .media-list-subtitle { 56 display: block; 57 } 58 59 .media-list-title { 60 display: block; 61 } 62 63 #wpbody-content #async-upload-wrap a { 64 display: none; 65 } 66 67 .media-upload-form { 68 margin-top: 20px; 69 } 70 71 .media-upload-form td label { 72 margin-left: 6px; 73 margin-right: 2px; 74 } 75 76 .media-upload-form .align .field label { 77 display: inline; 78 padding: 0 23px 0 0; 79 margin: 0 3px 0 1em; 80 font-weight: 600; 81 } 82 83 .media-upload-form tr.image-size label { 84 margin: 0 5px 0 0; 85 font-weight: 600; 86 } 87 88 .media-upload-form th.label label { 89 font-weight: 600; 90 margin: 0.5em; 91 font-size: 13px; 92 } 93 94 .media-upload-form th.label label span { 95 padding: 0 5px; 96 } 97 98 .media-item .describe input[type="text"], 99 .media-item .describe textarea { 100 width: 460px; 101 } 102 103 .media-item .describe p.help { 104 margin: 0; 105 padding: 0 5px 0 0; 106 } 107 108 .describe-toggle-on, 109 .describe-toggle-off { 110 display: block; 111 line-height: 2.76923076; 112 float: left; 113 margin-left: 10px; 114 } 115 116 .media-item .attachment-tools { 117 display: flex; 118 align-items: center; 119 } 120 121 .media-item .edit-attachment { 122 padding: 14px 0; 123 display: block; 124 margin-left: 10px; 125 } 126 127 .media-item .edit-attachment.copy-to-clipboard-container { 128 display: flex; 129 margin-top: 0; 130 } 131 132 .media-item-copy-container .success { 133 line-height: 0; 134 } 135 136 .media-item button .copy-attachment-url { 137 margin-top: 14px; 138 } 139 140 .media-item .copy-to-clipboard-container { 141 margin-top: 7px; 142 } 143 144 .media-item .describe-toggle-off, 145 .media-item.open .describe-toggle-on { 146 display: none; 147 } 148 149 .media-item.open .describe-toggle-off { 150 display: block; 151 } 152 153 .media-upload-form .media-item { 154 min-height: 70px; 155 margin-bottom: 1px; 156 position: relative; 157 width: 100%; 158 background: #fff; 159 } 160 161 .media-upload-form .media-item, 162 .media-upload-form .media-item .error { 163 box-shadow: 0 1px 0 #dcdcde; 164 } 165 166 #media-items:empty { 167 border: 0 none; 168 } 169 170 .media-item .filename { 171 padding: 14px 2px; 172 overflow: hidden; 173 margin-right: 4px; 174 } 175 176 .media-item .pinkynail { 177 float: right; 178 margin: 14px; 179 max-height: 70px; 180 max-width: 70px; 181 } 182 183 .media-item .startopen, 184 .media-item .startclosed { 185 display: none; 186 } 187 188 .media-item .progress { 189 display: inline-block; 190 height: 22px; 191 margin: 0 6px 7px; 192 width: 200px; 193 line-height: 2em; 194 padding: 0; 195 overflow: hidden; 196 border-radius: 22px; 197 background: #dcdcde; 198 box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); 199 } 200 201 .media-item .bar { 202 z-index: 9; 203 width: 0; 204 height: 100%; 205 margin-top: -22px; 206 border-radius: 22px; 207 background-color: #2271b1; 208 box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3); 209 } 210 211 .media-item .progress .percent { 212 z-index: 10; 213 position: relative; 214 width: 200px; 215 padding: 0; 216 color: #fff; 217 text-align: center; 218 line-height: 22px; 219 font-weight: 400; 220 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); 221 } 222 223 .upload-php .fixed .column-parent { 224 width: 15%; 225 } 226 227 .js .html-uploader #plupload-upload-ui { 228 display: none; 229 } 230 231 .js .html-uploader #html-upload-ui { 232 display: block; 233 } 234 235 #html-upload-ui #async-upload { 236 font-size: 1em; 237 } 238 239 .media-upload-form .media-item.error, 240 .media-upload-form .media-item .error { 241 width: auto; 242 margin: 0 0 1px; 243 } 244 245 .media-upload-form .media-item .error { 246 padding: 10px 14px 10px 0; 247 min-height: 50px; 248 } 249 250 .media-item .error-div button.dismiss { 251 float: left; 252 margin: 0 15px 0 10px; 253 } 254 255 /*------------------------------------------------------------------------------ 256 14.1 - Media Library 257 ------------------------------------------------------------------------------*/ 258 259 .find-box { 260 background-color: #fff; 261 box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); 262 width: 600px; 263 overflow: hidden; 264 margin-right: -300px; 265 position: fixed; 266 top: 30px; 267 bottom: 30px; 268 right: 50%; 269 z-index: 100105; 270 } 271 272 .find-box-head { 273 background: #fff; 274 border-bottom: 1px solid #dcdcde; 275 height: 36px; 276 font-size: 18px; 277 font-weight: 600; 278 line-height: 2; 279 padding: 0 16px 0 36px; 280 position: absolute; 281 top: 0; 282 right: 0; 283 left: 0; 284 } 285 286 .find-box-inside { 287 overflow: auto; 288 padding: 16px; 289 background-color: #fff; 290 position: absolute; 291 top: 37px; 292 bottom: 45px; 293 overflow-y: scroll; 294 width: 100%; 295 box-sizing: border-box; 296 } 297 298 .find-box-search { 299 padding-bottom: 16px; 300 } 301 302 .find-box-search .spinner { 303 float: none; 304 right: 105px; 305 position: absolute; 306 } 307 308 .find-box-search, 309 #find-posts-response { 310 position: relative; /* RTL fix, #WP28010 */ 311 } 312 313 #find-posts-input, 314 #find-posts-search { 315 float: right; 316 } 317 318 #find-posts-input { 319 width: 140px; 320 height: 28px; 321 margin: 0 0 0 4px; 322 } 323 324 .widefat .found-radio { 325 padding-left: 0; 326 width: 16px; 327 } 328 329 #find-posts-close { 330 width: 36px; 331 height: 36px; 332 border: none; 333 padding: 0; 334 position: absolute; 335 top: 0; 336 left: 0; 337 cursor: pointer; 338 text-align: center; 339 background: none; 340 color: #646970; 341 } 342 343 #find-posts-close:hover, 344 #find-posts-close:focus { 345 color: var(--wp-admin-theme-color-darker-20, #183ad6); 346 } 347 348 #find-posts-close:focus { 349 box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9); 350 /* Only visible in Windows High Contrast mode */ 351 outline: 2px solid transparent; 352 outline-offset: -2px; 353 } 354 355 #find-posts-close:before { 356 font: normal 20px/36px dashicons; 357 vertical-align: top; 358 -webkit-font-smoothing: antialiased; 359 -moz-osx-font-smoothing: grayscale; 360 content: "\f158"; 361 content: "\f158" / ''; 362 } 363 364 .find-box-buttons { 365 padding: 8px 16px; 366 background: #fff; 367 border-top: 1px solid #dcdcde; 368 position: absolute; 369 bottom: 0; 370 right: 0; 371 left: 0; 372 } 373 374 @media screen and (max-width: 782px) { 375 .find-box-inside { 376 bottom: 57px; 377 } 378 379 #delete_all { 380 margin-bottom: 0; 381 } 382 } 383 384 @media screen and (max-width: 660px) { 385 386 .find-box { 387 top: 0; 388 bottom: 0; 389 right: 0; 390 left: 0; 391 margin: 0; 392 width: 100%; 393 } 394 395 } 396 397 .ui-find-overlay { 398 position: fixed; 399 top: 0; 400 right: 0; 401 left: 0; 402 bottom: 0; 403 background: #000; 404 opacity: 0.7; 405 filter: alpha(opacity=70); 406 z-index: 100100; 407 } 408 409 .drag-drop #drag-drop-area { 410 border: 4px dashed #c3c4c7; 411 height: 200px; 412 } 413 414 .drag-drop .drag-drop-inside { 415 margin: 60px auto 0; 416 width: 250px; 417 } 418 419 .drag-drop-inside p { 420 font-size: 14px; 421 margin: 5px 0; 422 display: none; 423 } 424 425 .drag-drop .drag-drop-inside p { 426 text-align: center; 427 } 428 429 .drag-drop-inside p.drag-drop-info { 430 font-size: 20px; 431 } 432 433 .drag-drop .drag-drop-inside p, 434 .drag-drop-inside p.drag-drop-buttons { 435 display: block; 436 } 437 438 /* 439 #drag-drop-area:-moz-drag-over { 440 border-color: #83b4d8; 441 } 442 border color while dragging a file over the uploader drop area */ 443 .drag-drop.drag-over #drag-drop-area { 444 border-color: #9ec2e6; 445 } 446 447 #plupload-upload-ui { 448 position: relative; 449 } 450 451 .post-type-attachment .wp-filter select { 452 margin: 0 0 0 6px; 453 } 454 455 /** 456 * Media Library grid view 457 */ 458 459 .media-frame.mode-grid, 460 .media-frame.mode-grid .media-frame-content, 461 .media-frame.mode-grid .attachments-browser:not(.has-load-more) .attachments, 462 .media-frame.mode-grid .attachments-browser.has-load-more .attachments-wrapper, 463 .media-frame.mode-grid .uploader-inline-content { 464 position: static; 465 } 466 467 /* Regions we don't use at all */ 468 .media-frame.mode-grid .media-frame-title, 469 .media-frame.mode-grid .media-frame-router, 470 .media-frame.mode-grid .media-frame-menu { 471 display: none; 472 } 473 474 .media-frame.mode-grid .media-frame-content { 475 background-color: transparent; 476 border: none; 477 } 478 479 .upload-php .mode-grid .media-sidebar { 480 position: relative; 481 width: auto; 482 margin-top: 12px; 483 padding: 0 16px; 484 border-right: 4px solid #d63638; 485 box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); 486 background-color: #fff; 487 } 488 489 .upload-php .mode-grid .hide-sidebar .media-sidebar { 490 display: none; 491 } 492 493 .upload-php .mode-grid .media-sidebar .media-uploader-status { 494 border-bottom: none; 495 padding-bottom: 0; 496 max-width: 100%; 497 } 498 499 .upload-php .mode-grid .media-sidebar .upload-error { 500 margin: 12px 0; 501 padding: 4px 0 0; 502 border: none; 503 box-shadow: none; 504 background: none; 505 } 506 507 .upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2 { 508 display: none; 509 } 510 511 .media-frame.mode-grid .uploader-inline { 512 position: relative; 513 top: auto; 514 left: auto; 515 right: auto; 516 bottom: auto; 517 padding-top: 0; 518 margin-top: 20px; 519 border: 4px dashed #c3c4c7; 520 } 521 522 .media-frame.mode-select .attachments-browser.fixed:not(.has-load-more) .attachments, 523 .media-frame.mode-select .attachments-browser.has-load-more.fixed .attachments-wrapper { 524 position: relative; 525 top: 94px; /* prevent jumping up when the toolbar becomes fixed */ 526 padding-bottom: 94px; /* offset for above so the bottom doesn't get cut off */ 527 } 528 529 .media-frame.mode-grid .attachment:focus, 530 .media-frame.mode-grid .selected.attachment:focus, 531 .media-frame.mode-grid .attachment.details:focus { 532 box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9); 533 /* Only visible in Windows High Contrast mode */ 534 outline: 2px solid transparent; 535 outline-offset: -6px; 536 } 537 538 .media-frame.mode-grid .selected.attachment { 539 box-shadow: 540 inset 0 0 0 5px #f0f0f1, 541 inset 0 0 0 7px #c3c4c7; 542 } 543 544 .media-frame.mode-grid .attachment.details { 545 box-shadow: 546 inset 0 0 0 3px #f0f0f1, 547 inset 0 0 0 7px var(--wp-admin-theme-color, #3858e9); 548 } 549 550 .media-frame.mode-grid.mode-select .attachment .thumbnail { 551 opacity: 0.65; 552 } 553 554 .media-frame.mode-select .attachment.selected .thumbnail { 555 opacity: 1; 556 } 557 558 .media-frame.mode-grid .media-toolbar { 559 margin-bottom: 15px; 560 height: auto; 561 } 562 563 .media-frame.mode-grid .media-toolbar label:not(.media-search-input-label) { 564 border: 0; 565 clip-path: inset(50%); 566 height: 1px; 567 margin: -1px; 568 overflow: hidden; 569 padding: 0; 570 position: absolute; 571 width: 1px; 572 /* Many screen reader and browser combinations announce broken words as they would appear visually. */ 573 word-wrap: normal !important; 574 word-break: normal !important; 575 } 576 577 .media-frame.mode-grid .media-toolbar select { 578 margin: 0 0 0 10px; 579 min-height: 32px; 580 line-height: 2.14285714; /* 30px for 32px height with 14px font */ 581 padding: 0 8px 0 24px; 582 } 583 584 .media-frame.mode-grid .media-toolbar input[type="search"] { 585 min-height: 32px; 586 padding: 0 8px; 587 } 588 589 .media-frame.mode-grid .media-toolbar-secondary { 590 display: flex; 591 flex-wrap: wrap; 592 align-items: center; 593 gap: 8px; 594 } 595 596 .media-frame.mode-grid.mode-edit .media-toolbar-secondary > .select-mode-toggle-button { 597 margin: 0 0 0 8px; 598 height: 100%; 599 } 600 601 .media-frame.mode-grid .attachments-browser .bulk-select { 602 display: inline-block; 603 margin: 0 0 0 10px; 604 } 605 606 .media-frame.mode-grid .search { 607 margin-top: 0; 608 } 609 610 .media-frame-content .media-search-input-label { 611 vertical-align: baseline; 612 } 613 614 .attachments-browser .media-toolbar-secondary > .media-button { 615 margin-left: 10px; 616 } 617 618 .media-frame.mode-select .attachments-browser.fixed .media-toolbar { 619 position: fixed; 620 top: 32px; 621 right: auto; 622 left: 20px; 623 margin-top: 0; 624 } 625 626 .media-frame.mode-grid .attachments-browser { 627 padding: 0; 628 } 629 630 .media-frame.mode-grid .attachments-browser .attachments { 631 padding: 2px; 632 } 633 634 .media-frame.mode-grid .attachments-browser .no-media { 635 color: #646970; /* same as no plugins and no themes */ 636 font-size: 18px; 637 font-style: normal; 638 margin: 0; 639 padding: 100px 0 0; 640 text-align: center; 641 } 642 643 /** 644 * Attachment details modal 645 */ 646 647 .edit-attachment-frame { 648 display: block; 649 height: 100%; 650 width: 100%; 651 } 652 653 .edit-attachment-frame .edit-media-header { 654 overflow: hidden; 655 } 656 657 .upload-php .media-modal-close .media-modal-icon:before { 658 content: "\f335"; 659 content: "\f335" / ''; 660 font-size: 22px; 661 } 662 663 .upload-php .media-modal-close, 664 .edit-attachment-frame .edit-media-header .left, 665 .edit-attachment-frame .edit-media-header .right { 666 cursor: pointer; 667 color: #787c82; 668 background-color: transparent; 669 height: 50px; 670 width: 50px; 671 padding: 0; 672 position: absolute; 673 text-align: center; 674 border: 0; 675 border-right: 1px solid #dcdcde; 676 transition: color .1s ease-in-out, background .1s ease-in-out; 677 } 678 679 .upload-php .media-modal-close { 680 top: 0; 681 left: 0; 682 } 683 684 .edit-attachment-frame .edit-media-header .left { 685 left: 102px; 686 } 687 688 .edit-attachment-frame .edit-media-header .right { 689 left: 51px; 690 } 691 692 .edit-attachment-frame .media-frame-title { 693 right: 0; 694 left: 150px; /* leave space for prev/next/close */ 695 } 696 697 .edit-attachment-frame .edit-media-header .right:before, 698 .edit-attachment-frame .edit-media-header .left:before { 699 font: normal 20px/50px dashicons !important; 700 display: inline; 701 font-weight: 300; 702 } 703 704 .upload-php .media-modal-close:hover, 705 .upload-php .media-modal-close:focus, 706 .edit-attachment-frame .edit-media-header .left:hover, 707 .edit-attachment-frame .edit-media-header .right:hover, 708 .edit-attachment-frame .edit-media-header .left:focus, 709 .edit-attachment-frame .edit-media-header .right:focus { 710 background: #dcdcde; 711 border-color: #c3c4c7; 712 color: #000; 713 outline: none; 714 box-shadow: none; 715 } 716 717 .upload-php .media-modal-close:focus, 718 .edit-attachment-frame .edit-media-header .left:focus, 719 .edit-attachment-frame .edit-media-header .right:focus { 720 /* Only visible in Windows High Contrast mode */ 721 outline: 2px solid transparent; 722 outline-offset: -2px; 723 } 724 725 .upload-php .media-modal-close:focus .media-modal-icon:before, 726 .upload-php .media-modal-close:hover .media-modal-icon:before { 727 color: #000; 728 } 729 730 .edit-attachment-frame .edit-media-header .left:before { 731 content: "\f345"; 732 content: "\f341" / ''; 733 } 734 735 .edit-attachment-frame .edit-media-header .right:before { 736 content: "\f341"; 737 content: "\f345" / ''; 738 } 739 740 .edit-attachment-frame .edit-media-header [disabled], 741 .edit-attachment-frame .edit-media-header [disabled]:hover { 742 color: #c3c4c7; 743 background: inherit; 744 cursor: default; 745 } 746 747 .edit-attachment-frame .media-frame-content, 748 .edit-attachment-frame .media-frame-router { 749 right: 0; 750 } 751 752 .edit-attachment-frame .media-frame-content { 753 border-bottom: none; 754 bottom: 0; 755 top: 50px; 756 } 757 758 .edit-attachment-frame .attachment-details { 759 position: absolute; 760 overflow: auto; 761 top: 0; 762 bottom: 0; 763 left: 0; 764 right: 0; 765 box-shadow: inset 0 4px 4px -4px rgba(0, 0, 0, 0.1); 766 } 767 768 .edit-attachment-frame .attachment-media-view { 769 float: right; 770 width: 65%; 771 height: 100%; 772 } 773 774 .edit-attachment-frame .attachment-media-view .thumbnail { 775 box-sizing: border-box; 776 padding: 16px; 777 height: 100%; 778 } 779 780 .edit-attachment-frame .attachment-media-view .details-image { 781 display: block; 782 margin: 0 auto 16px; 783 max-width: 100%; 784 max-height: 90%; 785 max-height: calc( 100% - 56px ); /* leave space for actions underneath */ 786 background-image: linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7); 787 background-position: 100% 0, 10px 10px; 788 background-size: 20px 20px; 789 } 790 791 .edit-attachment-frame .attachment-media-view .details-image.icon { 792 background: none; 793 } 794 795 .edit-attachment-frame .attachment-media-view .attachment-actions { 796 text-align: center; 797 } 798 799 .edit-attachment-frame .wp-media-wrapper { 800 margin-bottom: 12px; 801 } 802 803 .edit-attachment-frame input, 804 .edit-attachment-frame textarea { 805 padding: 4px 8px; 806 line-height: 1.42857143; 807 } 808 809 .edit-attachment-frame .attachment-info { 810 overflow: auto; 811 box-sizing: border-box; 812 margin-bottom: 0; 813 padding: 12px 16px 0; 814 width: 35%; 815 height: 100%; 816 box-shadow: inset 0 4px 4px -4px rgba(0, 0, 0, 0.1); 817 border-bottom: 0; 818 border-right: 1px solid #dcdcde; 819 background: #f6f7f7; 820 } 821 822 .edit-attachment-frame .attachment-info .details, 823 .edit-attachment-frame .attachment-info .settings { 824 position: relative; /* RTL fix, #WP29352 */ 825 overflow: hidden; 826 float: none; 827 margin-bottom: 15px; 828 padding-bottom: 15px; 829 border-bottom: 1px solid #dcdcde; 830 } 831 832 .edit-attachment-frame .attachment-info .filename { 833 font-weight: 400; 834 color: #646970; 835 } 836 837 .edit-attachment-frame .attachment-info .thumbnail { 838 margin-bottom: 12px; 839 } 840 841 .attachment-info .actions { 842 margin-bottom: 16px; 843 } 844 845 .attachment-info .actions a { 846 display: inline; 847 text-decoration: none; 848 } 849 850 .copy-to-clipboard-container { 851 display: flex; 852 align-items: center; 853 margin-top: 8px; 854 clear: both; 855 } 856 857 .copy-to-clipboard-container .copy-attachment-url { 858 white-space: normal; 859 } 860 861 .copy-to-clipboard-container .success { 862 color: #007017; 863 margin-right: 8px; 864 } 865 866 /*------------------------------------------------------------------------------ 867 14.2 - Image Editor 868 ------------------------------------------------------------------------------*/ 869 .wp_attachment_details .attachment-alt-text { 870 margin-bottom: 5px; 871 } 872 873 .wp_attachment_details #attachment_alt { 874 max-width: 500px; 875 height: 3.28571428em; 876 } 877 878 .wp_attachment_details .attachment-alt-text-description { 879 margin-top: 5px; 880 } 881 882 .wp_attachment_details label[for="content"] { 883 font-size: 13px; 884 line-height: 1.5; 885 margin: 1em 0; 886 } 887 888 .wp_attachment_details #attachment_caption { 889 height: 4em; 890 } 891 892 .describe .image-editor { 893 vertical-align: top; 894 } 895 896 .imgedit-wrap { 897 position: relative; 898 padding-top: 10px; 899 } 900 901 .image-editor p, 902 .image-editor fieldset { 903 margin: 8px 0; 904 } 905 906 .image-editor legend { 907 margin-bottom: 5px; 908 } 909 910 .describe .imgedit-wrap .image-editor { 911 padding: 0 5px; 912 } 913 914 .wp_attachment_holder div.updated { 915 margin-top: 0; 916 } 917 918 .wp_attachment_holder .imgedit-wrap > div { 919 height: auto; 920 } 921 922 .imgedit-panel-content { 923 display: flex; 924 flex-wrap: wrap; 925 gap: 20px; 926 margin-bottom: 20px; 927 } 928 929 .imgedit-settings { 930 max-width: 240px; /* Prevent reflow when help info is expanded. */ 931 } 932 933 .imgedit-group-controls > * { 934 display: none; 935 } 936 937 .imgedit-panel-active .imgedit-group-controls > * { 938 display: block; 939 } 940 941 .imgedit-panel-active .imgedit-group-controls > .imgedit-crop-apply { 942 display: flex; 943 } 944 945 .imgedit-crop-apply { 946 gap: 4px; 947 flex-wrap: wrap; 948 } 949 950 .wp_attachment_holder .imgedit-wrap .image-editor { 951 float: left; 952 width: 250px; 953 } 954 955 .image-editor input { 956 margin-top: 0; 957 vertical-align: middle; 958 } 959 960 .imgedit-wait { 961 position: absolute; 962 top: 0; 963 bottom: 0; 964 width: 100%; 965 background: #fff; 966 opacity: 0.7; 967 filter: alpha(opacity=70); 968 display: none; 969 } 970 971 .imgedit-wait:before { 972 content: ""; 973 display: block; 974 width: 20px; 975 height: 20px; 976 position: absolute; 977 right: 50%; 978 top: 50%; 979 margin: -10px -10px 0 0; 980 background: transparent url(../images/spinner.gif) no-repeat center; 981 background-size: 20px 20px; 982 transform: translateZ(0); 983 } 984 985 .no-float { 986 float: none; 987 } 988 989 .media-disabled, 990 .image-editor .disabled { 991 /* WCAG 1.4.3 Text or images of text that are part of an inactive user 992 interface component ... have no contrast requirement. */ 993 color: #a7aaad; 994 } 995 996 .A1B1 { 997 overflow: hidden; 998 } 999 1000 .wp_attachment_image .button, 1001 .A1B1 .button { 1002 float: right; 1003 } 1004 1005 .no-js .wp_attachment_image .button { 1006 display: none; 1007 } 1008 1009 .wp_attachment_image .spinner, 1010 .A1B1 .spinner { 1011 float: right; 1012 } 1013 1014 .imgedit-menu .note-no-rotate { 1015 clear: both; 1016 margin: 0; 1017 padding: 1em 0 0; 1018 } 1019 1020 .imgedit-menu .button:after, 1021 .imgedit-menu .button:before { 1022 font: normal 16px/1 dashicons; 1023 margin-left: 8px; 1024 vertical-align: middle; 1025 position: relative; 1026 top: -2px; 1027 -webkit-font-smoothing: antialiased; 1028 -moz-osx-font-smoothing: grayscale; 1029 } 1030 1031 .imgedit-menu .imgedit-rotate.button:after { 1032 content: '\f140'; 1033 margin-right: 2px; 1034 margin-left: 0; 1035 } 1036 1037 .imgedit-menu .imgedit-rotate.button[aria-expanded="true"]:after { 1038 content: '\f142'; 1039 } 1040 1041 .imgedit-menu .button.disabled { 1042 color: #a7aaad; 1043 border-color: #dcdcde; 1044 background: #f6f7f7; 1045 box-shadow: none; 1046 text-shadow: 0 1px 0 #fff; 1047 cursor: default; 1048 transform: none; 1049 } 1050 1051 .imgedit-crop:before { 1052 content: "\f165"; 1053 content: "\f165" / ''; 1054 } 1055 1056 .imgedit-scale:before { 1057 content: "\f211"; 1058 content: "\f211" / ''; 1059 } 1060 1061 .imgedit-rotate:before { 1062 content: "\f167"; 1063 content: "\f167" / ''; 1064 } 1065 1066 .imgedit-undo:before { 1067 content: "\f171"; 1068 content: "\f171" / ''; 1069 } 1070 1071 .imgedit-redo:before { 1072 content: "\f172"; 1073 content: "\f172" / ''; 1074 } 1075 1076 .imgedit-crop-wrap { 1077 position: relative; 1078 } 1079 1080 .imgedit-crop-wrap img { 1081 background-image: linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7); 1082 background-position: 100% 0, 10px 10px; 1083 background-size: 20px 20px; 1084 } 1085 1086 .imgedit-crop-wrap { 1087 padding: 20px; 1088 background-image: linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7); 1089 background-position: 100% 0, 10px 10px; 1090 background-size: 20px 20px; 1091 } 1092 1093 1094 .imgedit-crop { 1095 margin: 0 0 0 8px; 1096 } 1097 1098 .imgedit-rotate { 1099 margin: 0 3px 0 8px; 1100 } 1101 1102 .imgedit-undo { 1103 margin: 0 3px; 1104 } 1105 1106 .imgedit-redo { 1107 margin: 0 3px 0 8px; 1108 } 1109 1110 .imgedit-thumbnail-preview-group { 1111 display: flex; 1112 flex-wrap: wrap; 1113 column-gap: 10px; 1114 } 1115 1116 .imgedit-thumbnail-preview { 1117 margin: 10px 0 0 8px; 1118 } 1119 1120 .imgedit-thumbnail-preview-caption { 1121 display: block; 1122 } 1123 1124 #poststuff .imgedit-group-top h2 { 1125 display: inline-block; 1126 margin: 0; 1127 padding: 0; 1128 font-size: 14px; 1129 line-height: 1.4; 1130 } 1131 1132 #poststuff .imgedit-group-top .button-link { 1133 text-decoration: none; 1134 color: #1d2327; 1135 } 1136 1137 .imgedit-applyto .imgedit-label { 1138 display: block; 1139 padding: .5em 0 0; 1140 } 1141 1142 .imgedit-popup-menu, 1143 .imgedit-help { 1144 display: none; 1145 padding-bottom: 8px; 1146 } 1147 1148 .imgedit-panel-tools > .imgedit-menu { 1149 display: flex; 1150 column-gap: 4px; 1151 align-items: flex-start; 1152 flex-wrap: wrap; 1153 } 1154 1155 .imgedit-popup-menu { 1156 width: calc( 100% - 20px ); 1157 position: absolute; 1158 background: #fff; 1159 padding: 10px; 1160 box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); 1161 } 1162 1163 .image-editor .imgedit-menu .imgedit-popup-menu button { 1164 display: block; 1165 margin: 2px 0; 1166 width: 100%; 1167 white-space: break-spaces; 1168 line-height: 1.5; 1169 padding-top: 3px; 1170 padding-bottom: 2px; 1171 } 1172 1173 .imgedit-rotate-menu-container { 1174 position: relative; 1175 } 1176 1177 .imgedit-help.imgedit-restore { 1178 padding-bottom: 0; 1179 } 1180 1181 /* higher specificity than buttons */ 1182 .image-editor .imgedit-settings .imgedit-help-toggle, 1183 .image-editor .imgedit-settings .imgedit-help-toggle:hover, 1184 .image-editor .imgedit-settings .imgedit-help-toggle:active { 1185 border: 1px solid transparent; 1186 margin: -1px -1px 0 0; 1187 padding: 0; 1188 background: transparent; 1189 color: var(--wp-admin-theme-color); 1190 font-size: 20px; 1191 line-height: 1; 1192 cursor: pointer; 1193 box-sizing: content-box; 1194 box-shadow: none; 1195 } 1196 1197 .image-editor .imgedit-settings .imgedit-help-toggle:focus { 1198 color: var(--wp-admin-theme-color); 1199 border-color: var(--wp-admin-theme-color); 1200 box-shadow: 0 0 0 1px var(--wp-admin-theme-color); 1201 /* Only visible in Windows High Contrast mode */ 1202 outline: 2px solid transparent; 1203 } 1204 1205 .form-table td.imgedit-response { 1206 padding: 0; 1207 } 1208 1209 .imgedit-submit-btn { 1210 margin-right: 20px; 1211 } 1212 1213 .imgedit-wrap .nowrap { 1214 white-space: nowrap; 1215 font-size: 12px; 1216 line-height: inherit; 1217 } 1218 1219 span.imgedit-scale-warn { 1220 display: flex; 1221 align-items: center; 1222 margin: 4px; 1223 gap: 4px; 1224 color: #b32d2e; 1225 font-style: normal; 1226 visibility: hidden; 1227 vertical-align: middle; 1228 } 1229 1230 .imgedit-save-target { 1231 margin: 8px 0; 1232 } 1233 1234 .imgedit-save-target legend { 1235 font-weight: 600; 1236 } 1237 1238 .imgedit-group { 1239 margin-bottom: 20px; 1240 } 1241 1242 .image-editor .imgedit-original-dimensions { 1243 display: inline-block; 1244 } 1245 1246 .image-editor .imgedit-scale-controls input[type="text"], 1247 .image-editor .imgedit-crop-ratio input[type="text"], 1248 .image-editor .imgedit-crop-sel input[type="text"], 1249 .image-editor .imgedit-scale-controls input[type="number"], 1250 .image-editor .imgedit-crop-ratio input[type="number"], 1251 .image-editor .imgedit-crop-sel input[type="number"] { 1252 width: 80px; 1253 font-size: 14px; 1254 padding: 0 8px; 1255 } 1256 1257 .imgedit-separator { 1258 display: inline-block; 1259 width: 7px; 1260 text-align: center; 1261 font-size: 13px; 1262 color: #3c434a; 1263 } 1264 1265 .image-editor .imgedit-scale-button-wrapper { 1266 margin-top: 0.3077em; 1267 display: block; 1268 } 1269 1270 .image-editor .imgedit-scale-controls .button { 1271 margin-bottom: 0; 1272 } 1273 1274 audio, video { 1275 display: inline-block; 1276 max-width: 100%; 1277 } 1278 1279 .wp-core-ui .mejs-container { 1280 width: 100%; 1281 max-width: 100%; 1282 } 1283 1284 .wp-core-ui .mejs-container * { 1285 box-sizing: border-box; 1286 } 1287 1288 .wp-core-ui .mejs-time { 1289 box-sizing: content-box; 1290 } 1291 1292 /* =Media Queries 1293 -------------------------------------------------------------- */ 1294 1295 /** 1296 * HiDPI Displays 1297 */ 1298 @media print, 1299 (min-resolution: 120dpi) { 1300 .imgedit-wait:before { 1301 background-image: url(../images/spinner-2x.gif); 1302 } 1303 } 1304 1305 @media screen and (max-width: 782px) { 1306 .edit-attachment-frame input, 1307 .edit-attachment-frame textarea { 1308 line-height: 1.5; 1309 } 1310 1311 .wp_attachment_details label[for="content"] { 1312 font-size: 14px; 1313 line-height: 1.5; 1314 } 1315 1316 .wp_attachment_details textarea { 1317 line-height: 1.5; 1318 } 1319 1320 .wp_attachment_details #attachment_alt { 1321 height: 3.375em; 1322 } 1323 1324 .media-upload-form .media-item.error, 1325 .media-upload-form .media-item .error { 1326 font-size: 13px; 1327 line-height: 1.5; 1328 } 1329 1330 .media-upload-form .media-item.error { 1331 padding: 1px 10px; 1332 } 1333 1334 .media-upload-form .media-item .error { 1335 padding: 10px 12px 10px 0; 1336 } 1337 1338 .image-editor .imgedit-scale input[type="text"], 1339 .image-editor .imgedit-crop-ratio input[type="text"], 1340 .image-editor .imgedit-crop-sel input[type="text"] { 1341 font-size: 16px; 1342 padding: 6px 10px; 1343 } 1344 1345 .wp_attachment_holder .imgedit-wrap .imgedit-panel-content, 1346 .wp_attachment_holder .imgedit-wrap .image-editor { 1347 float: none; 1348 width: auto; 1349 max-width: none; 1350 padding-bottom: 16px; 1351 } 1352 1353 .copy-to-clipboard-container .success { 1354 font-size: 14px; 1355 } 1356 1357 /* Restructure image editor on narrow viewports. */ 1358 .imgedit-crop-wrap img{ 1359 width: 100%; 1360 } 1361 1362 .media-modal .imgedit-wrap .imgedit-panel-content, 1363 .media-modal .imgedit-wrap .image-editor { 1364 position: initial !important; 1365 } 1366 1367 .media-modal .imgedit-wrap .image-editor { 1368 box-sizing: border-box; 1369 width: 100% !important; 1370 } 1371 1372 .image-editor .imgedit-scale-button-wrapper { 1373 display: inline-block; 1374 } 1375 } 1376 1377 @media only screen and (max-width: 600px) { 1378 .media-item-wrapper { 1379 grid-template-columns: 1fr; 1380 } 1381 } 1382 1383 /** 1384 * Media queries for media grid. 1385 */ 1386 @media only screen and (max-width: 1120px) { 1387 /* override for media-views.css */ 1388 #wp-media-grid .wp-filter .attachment-filters { 1389 max-width: 100%; 1390 } 1391 } 1392 1393 @media only screen and (max-width: 1000px) { 1394 /* override for forms.css */ 1395 .wp-filter p.search-box { 1396 float: none; 1397 width: 100%; 1398 display: flex; 1399 flex-wrap: nowrap; 1400 column-gap: 0; 1401 } 1402 1403 .wp-filter p.search-box #media-search-input { 1404 width: 100%; 1405 } 1406 1407 } 1408 1409 @media only screen and (max-width: 782px) { 1410 .media-frame.mode-select .attachments-browser.fixed .media-toolbar { 1411 top: 46px; 1412 left: 10px; 1413 } 1414 1415 .media-frame.mode-grid .media-toolbar select { 1416 min-height: 40px; 1417 padding: 0 12px 0 24px; 1418 } 1419 1420 .media-frame.mode-grid .media-toolbar input[type="search"] { 1421 min-height: 40px; 1422 padding: 0 12px; 1423 } 1424 1425 .wp-filter p.search-box { 1426 margin-bottom: 0; 1427 } 1428 } 1429 1430 @media only screen and (max-width: 600px) { 1431 .media-frame.mode-select .attachments-browser.fixed .media-toolbar { 1432 top: 0; 1433 } 1434 } 1435 1436 @media only screen and (max-width: 480px) { 1437 .edit-attachment-frame .media-frame-title { 1438 left: 110px; 1439 } 1440 1441 .upload-php .media-modal-close, 1442 .edit-attachment-frame .edit-media-header .left, 1443 .edit-attachment-frame .edit-media-header .right { 1444 width: 40px; 1445 height: 40px; 1446 } 1447 1448 .edit-attachment-frame .edit-media-header .right:before, 1449 .edit-attachment-frame .edit-media-header .left:before { 1450 line-height: 40px !important; 1451 } 1452 1453 .edit-attachment-frame .edit-media-header .left { 1454 left: 82px; 1455 } 1456 1457 .edit-attachment-frame .edit-media-header .right { 1458 left: 41px; 1459 } 1460 1461 .edit-attachment-frame .media-frame-content { 1462 top: 40px; 1463 } 1464 1465 .edit-attachment-frame .attachment-media-view { 1466 float: none; 1467 height: auto; 1468 width: 100%; 1469 } 1470 1471 .edit-attachment-frame .attachment-info { 1472 height: auto; 1473 width: 100%; 1474 } 1475 } 1476 1477 @media only screen and (max-width: 640px), screen and (max-height: 400px) { 1478 .upload-php .mode-grid .media-sidebar{ 1479 max-width: 100%; 1480 } 1481 } 1482 1483 @media only screen and (max-width: 375px) { 1484 .media-item .attachment-tools { 1485 align-items: baseline; 1486 } 1487 .media-item .edit-attachment.copy-to-clipboard-container { 1488 flex-direction: column; 1489 } 1490 1491 .copy-to-clipboard-container .success { 1492 line-height: normal; 1493 margin-top: 10px; 1494 } 1495 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Sat Jul 11 08:20:14 2026 | Cross-referenced by PHPXref |