| [ 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% - 42px ); /* 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 .button { 800 min-height: 32px; 801 line-height: 2.30769231; /* 30px for 32px height with 13px font */ 802 padding: 0 12px; 803 } 804 805 .edit-attachment-frame .wp-media-wrapper { 806 margin-bottom: 12px; 807 } 808 809 .edit-attachment-frame input, 810 .edit-attachment-frame textarea { 811 padding: 4px 8px; 812 line-height: 1.42857143; 813 } 814 815 .edit-attachment-frame .attachment-info { 816 overflow: auto; 817 box-sizing: border-box; 818 margin-bottom: 0; 819 padding: 12px 16px 0; 820 width: 35%; 821 height: 100%; 822 box-shadow: inset 0 4px 4px -4px rgba(0, 0, 0, 0.1); 823 border-bottom: 0; 824 border-right: 1px solid #dcdcde; 825 background: #f6f7f7; 826 } 827 828 .edit-attachment-frame .attachment-info .details, 829 .edit-attachment-frame .attachment-info .settings { 830 position: relative; /* RTL fix, #WP29352 */ 831 overflow: hidden; 832 float: none; 833 margin-bottom: 15px; 834 padding-bottom: 15px; 835 border-bottom: 1px solid #dcdcde; 836 } 837 838 .edit-attachment-frame .attachment-info .filename { 839 font-weight: 400; 840 color: #646970; 841 } 842 843 .edit-attachment-frame .attachment-info .thumbnail { 844 margin-bottom: 12px; 845 } 846 847 .attachment-info .actions { 848 margin-bottom: 16px; 849 } 850 851 .attachment-info .actions a { 852 display: inline; 853 text-decoration: none; 854 } 855 856 .copy-to-clipboard-container { 857 display: flex; 858 align-items: center; 859 margin-top: 8px; 860 clear: both; 861 } 862 863 .copy-to-clipboard-container .copy-attachment-url { 864 white-space: normal; 865 } 866 867 .copy-to-clipboard-container .success { 868 color: #007017; 869 margin-right: 8px; 870 } 871 872 /*------------------------------------------------------------------------------ 873 14.2 - Image Editor 874 ------------------------------------------------------------------------------*/ 875 .wp_attachment_details .attachment-alt-text { 876 margin-bottom: 5px; 877 } 878 879 .wp_attachment_details #attachment_alt { 880 max-width: 500px; 881 height: 3.28571428em; 882 } 883 884 .wp_attachment_details .attachment-alt-text-description { 885 margin-top: 5px; 886 } 887 888 .wp_attachment_details label[for="content"] { 889 font-size: 13px; 890 line-height: 1.5; 891 margin: 1em 0; 892 } 893 894 .wp_attachment_details #attachment_caption { 895 height: 4em; 896 } 897 898 .describe .image-editor { 899 vertical-align: top; 900 } 901 902 .imgedit-wrap { 903 position: relative; 904 padding-top: 10px; 905 } 906 907 .image-editor p, 908 .image-editor fieldset { 909 margin: 8px 0; 910 } 911 912 .image-editor legend { 913 margin-bottom: 5px; 914 } 915 916 .describe .imgedit-wrap .image-editor { 917 padding: 0 5px; 918 } 919 920 .wp_attachment_holder div.updated { 921 margin-top: 0; 922 } 923 924 .wp_attachment_holder .imgedit-wrap > div { 925 height: auto; 926 } 927 928 .imgedit-panel-content { 929 display: flex; 930 flex-wrap: wrap; 931 gap: 20px; 932 margin-bottom: 20px; 933 } 934 935 .imgedit-settings { 936 max-width: 240px; /* Prevent reflow when help info is expanded. */ 937 } 938 939 .imgedit-group-controls > * { 940 display: none; 941 } 942 943 .imgedit-panel-active .imgedit-group-controls > * { 944 display: block; 945 } 946 947 .imgedit-panel-active .imgedit-group-controls > .imgedit-crop-apply { 948 display: flex; 949 } 950 951 .imgedit-crop-apply { 952 gap: 4px; 953 flex-wrap: wrap; 954 } 955 956 .wp_attachment_holder .imgedit-wrap .image-editor { 957 float: left; 958 width: 250px; 959 } 960 961 .image-editor input { 962 margin-top: 0; 963 vertical-align: middle; 964 } 965 966 .imgedit-wait { 967 position: absolute; 968 top: 0; 969 bottom: 0; 970 width: 100%; 971 background: #fff; 972 opacity: 0.7; 973 filter: alpha(opacity=70); 974 display: none; 975 } 976 977 .imgedit-wait:before { 978 content: ""; 979 display: block; 980 width: 20px; 981 height: 20px; 982 position: absolute; 983 right: 50%; 984 top: 50%; 985 margin: -10px -10px 0 0; 986 background: transparent url(../images/spinner.gif) no-repeat center; 987 background-size: 20px 20px; 988 transform: translateZ(0); 989 } 990 991 .no-float { 992 float: none; 993 } 994 995 .media-disabled, 996 .image-editor .disabled { 997 /* WCAG 1.4.3 Text or images of text that are part of an inactive user 998 interface component ... have no contrast requirement. */ 999 color: #a7aaad; 1000 } 1001 1002 .A1B1 { 1003 overflow: hidden; 1004 } 1005 1006 .wp_attachment_image .button, 1007 .A1B1 .button { 1008 float: right; 1009 } 1010 1011 .no-js .wp_attachment_image .button { 1012 display: none; 1013 } 1014 1015 .wp_attachment_image .spinner, 1016 .A1B1 .spinner { 1017 float: right; 1018 } 1019 1020 .imgedit-menu .note-no-rotate { 1021 clear: both; 1022 margin: 0; 1023 padding: 1em 0 0; 1024 } 1025 1026 .imgedit-menu .button:after, 1027 .imgedit-menu .button:before { 1028 font: normal 16px/1 dashicons; 1029 margin-left: 8px; 1030 vertical-align: middle; 1031 position: relative; 1032 top: -2px; 1033 -webkit-font-smoothing: antialiased; 1034 -moz-osx-font-smoothing: grayscale; 1035 } 1036 1037 .imgedit-menu .imgedit-rotate.button:after { 1038 content: '\f140'; 1039 margin-right: 2px; 1040 margin-left: 0; 1041 } 1042 1043 .imgedit-menu .imgedit-rotate.button[aria-expanded="true"]:after { 1044 content: '\f142'; 1045 } 1046 1047 .imgedit-menu .button.disabled { 1048 color: #a7aaad; 1049 border-color: #dcdcde; 1050 background: #f6f7f7; 1051 box-shadow: none; 1052 text-shadow: 0 1px 0 #fff; 1053 cursor: default; 1054 transform: none; 1055 } 1056 1057 .imgedit-crop:before { 1058 content: "\f165"; 1059 content: "\f165" / ''; 1060 } 1061 1062 .imgedit-scale:before { 1063 content: "\f211"; 1064 content: "\f211" / ''; 1065 } 1066 1067 .imgedit-rotate:before { 1068 content: "\f167"; 1069 content: "\f167" / ''; 1070 } 1071 1072 .imgedit-undo:before { 1073 content: "\f171"; 1074 content: "\f171" / ''; 1075 } 1076 1077 .imgedit-redo:before { 1078 content: "\f172"; 1079 content: "\f172" / ''; 1080 } 1081 1082 .imgedit-crop-wrap { 1083 position: relative; 1084 } 1085 1086 .imgedit-crop-wrap img { 1087 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); 1088 background-position: 100% 0, 10px 10px; 1089 background-size: 20px 20px; 1090 } 1091 1092 .imgedit-crop-wrap { 1093 padding: 20px; 1094 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); 1095 background-position: 100% 0, 10px 10px; 1096 background-size: 20px 20px; 1097 } 1098 1099 1100 .imgedit-crop { 1101 margin: 0 0 0 8px; 1102 } 1103 1104 .imgedit-rotate { 1105 margin: 0 3px 0 8px; 1106 } 1107 1108 .imgedit-undo { 1109 margin: 0 3px; 1110 } 1111 1112 .imgedit-redo { 1113 margin: 0 3px 0 8px; 1114 } 1115 1116 .imgedit-thumbnail-preview-group { 1117 display: flex; 1118 flex-wrap: wrap; 1119 column-gap: 10px; 1120 } 1121 1122 .imgedit-thumbnail-preview { 1123 margin: 10px 0 0 8px; 1124 } 1125 1126 .imgedit-thumbnail-preview-caption { 1127 display: block; 1128 } 1129 1130 #poststuff .imgedit-group-top h2 { 1131 display: inline-block; 1132 margin: 0; 1133 padding: 0; 1134 font-size: 14px; 1135 line-height: 1.4; 1136 } 1137 1138 #poststuff .imgedit-group-top .button-link { 1139 text-decoration: none; 1140 color: #1d2327; 1141 } 1142 1143 .imgedit-applyto .imgedit-label { 1144 display: block; 1145 padding: .5em 0 0; 1146 } 1147 1148 .imgedit-popup-menu, 1149 .imgedit-help { 1150 display: none; 1151 padding-bottom: 8px; 1152 } 1153 1154 .imgedit-panel-tools > .imgedit-menu { 1155 display: flex; 1156 column-gap: 4px; 1157 align-items: flex-start; 1158 flex-wrap: wrap; 1159 } 1160 1161 .imgedit-popup-menu { 1162 width: calc( 100% - 20px ); 1163 position: absolute; 1164 background: #fff; 1165 padding: 10px; 1166 box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); 1167 } 1168 1169 .image-editor .imgedit-menu .imgedit-popup-menu button { 1170 display: block; 1171 margin: 2px 0; 1172 width: 100%; 1173 white-space: break-spaces; 1174 line-height: 1.5; 1175 padding-top: 3px; 1176 padding-bottom: 2px; 1177 } 1178 1179 .imgedit-rotate-menu-container { 1180 position: relative; 1181 } 1182 1183 .imgedit-help.imgedit-restore { 1184 padding-bottom: 0; 1185 } 1186 1187 /* higher specificity than buttons */ 1188 .image-editor .imgedit-settings .imgedit-help-toggle, 1189 .image-editor .imgedit-settings .imgedit-help-toggle:hover, 1190 .image-editor .imgedit-settings .imgedit-help-toggle:active { 1191 border: 1px solid transparent; 1192 margin: -1px -1px 0 0; 1193 padding: 0; 1194 background: transparent; 1195 color: var(--wp-admin-theme-color); 1196 font-size: 20px; 1197 line-height: 1; 1198 cursor: pointer; 1199 box-sizing: content-box; 1200 box-shadow: none; 1201 } 1202 1203 .image-editor .imgedit-settings .imgedit-help-toggle:focus { 1204 color: var(--wp-admin-theme-color); 1205 border-color: var(--wp-admin-theme-color); 1206 box-shadow: 0 0 0 1px var(--wp-admin-theme-color); 1207 /* Only visible in Windows High Contrast mode */ 1208 outline: 2px solid transparent; 1209 } 1210 1211 .form-table td.imgedit-response { 1212 padding: 0; 1213 } 1214 1215 .imgedit-submit-btn { 1216 margin-right: 20px; 1217 } 1218 1219 .imgedit-wrap .nowrap { 1220 white-space: nowrap; 1221 font-size: 12px; 1222 line-height: inherit; 1223 } 1224 1225 span.imgedit-scale-warn { 1226 display: flex; 1227 align-items: center; 1228 margin: 4px; 1229 gap: 4px; 1230 color: #b32d2e; 1231 font-style: normal; 1232 visibility: hidden; 1233 vertical-align: middle; 1234 } 1235 1236 .imgedit-save-target { 1237 margin: 8px 0; 1238 } 1239 1240 .imgedit-save-target legend { 1241 font-weight: 600; 1242 } 1243 1244 .imgedit-group { 1245 margin-bottom: 20px; 1246 } 1247 1248 .image-editor .imgedit-original-dimensions { 1249 display: inline-block; 1250 } 1251 1252 .image-editor .imgedit-scale-controls input[type="text"], 1253 .image-editor .imgedit-crop-ratio input[type="text"], 1254 .image-editor .imgedit-crop-sel input[type="text"], 1255 .image-editor .imgedit-scale-controls input[type="number"], 1256 .image-editor .imgedit-crop-ratio input[type="number"], 1257 .image-editor .imgedit-crop-sel input[type="number"] { 1258 width: 80px; 1259 font-size: 14px; 1260 padding: 0 8px; 1261 } 1262 1263 .imgedit-separator { 1264 display: inline-block; 1265 width: 7px; 1266 text-align: center; 1267 font-size: 13px; 1268 color: #3c434a; 1269 } 1270 1271 .image-editor .imgedit-scale-button-wrapper { 1272 margin-top: 0.3077em; 1273 display: block; 1274 } 1275 1276 .image-editor .imgedit-scale-controls .button { 1277 margin-bottom: 0; 1278 } 1279 1280 audio, video { 1281 display: inline-block; 1282 max-width: 100%; 1283 } 1284 1285 .wp-core-ui .mejs-container { 1286 width: 100%; 1287 max-width: 100%; 1288 } 1289 1290 .wp-core-ui .mejs-container * { 1291 box-sizing: border-box; 1292 } 1293 1294 .wp-core-ui .mejs-time { 1295 box-sizing: content-box; 1296 } 1297 1298 /* =Media Queries 1299 -------------------------------------------------------------- */ 1300 1301 /** 1302 * HiDPI Displays 1303 */ 1304 @media print, 1305 (min-resolution: 120dpi) { 1306 .imgedit-wait:before { 1307 background-image: url(../images/spinner-2x.gif); 1308 } 1309 } 1310 1311 @media screen and (max-width: 782px) { 1312 .edit-attachment-frame input, 1313 .edit-attachment-frame textarea { 1314 line-height: 1.5; 1315 } 1316 1317 .wp_attachment_details label[for="content"] { 1318 font-size: 14px; 1319 line-height: 1.5; 1320 } 1321 1322 .wp_attachment_details textarea { 1323 line-height: 1.5; 1324 } 1325 1326 .wp_attachment_details #attachment_alt { 1327 height: 3.375em; 1328 } 1329 1330 .media-upload-form .media-item.error, 1331 .media-upload-form .media-item .error { 1332 font-size: 13px; 1333 line-height: 1.5; 1334 } 1335 1336 .media-upload-form .media-item.error { 1337 padding: 1px 10px; 1338 } 1339 1340 .media-upload-form .media-item .error { 1341 padding: 10px 12px 10px 0; 1342 } 1343 1344 .image-editor .imgedit-scale input[type="text"], 1345 .image-editor .imgedit-crop-ratio input[type="text"], 1346 .image-editor .imgedit-crop-sel input[type="text"] { 1347 font-size: 16px; 1348 padding: 6px 10px; 1349 } 1350 1351 .wp_attachment_holder .imgedit-wrap .imgedit-panel-content, 1352 .wp_attachment_holder .imgedit-wrap .image-editor { 1353 float: none; 1354 width: auto; 1355 max-width: none; 1356 padding-bottom: 16px; 1357 } 1358 1359 .copy-to-clipboard-container .success { 1360 font-size: 14px; 1361 } 1362 1363 /* Restructure image editor on narrow viewports. */ 1364 .imgedit-crop-wrap img{ 1365 width: 100%; 1366 } 1367 1368 .media-modal .imgedit-wrap .imgedit-panel-content, 1369 .media-modal .imgedit-wrap .image-editor { 1370 position: initial !important; 1371 } 1372 1373 .media-modal .imgedit-wrap .image-editor { 1374 box-sizing: border-box; 1375 width: 100% !important; 1376 } 1377 1378 .image-editor .imgedit-scale-button-wrapper { 1379 display: inline-block; 1380 } 1381 } 1382 1383 @media only screen and (max-width: 600px) { 1384 .media-item-wrapper { 1385 grid-template-columns: 1fr; 1386 } 1387 } 1388 1389 /** 1390 * Media queries for media grid. 1391 */ 1392 @media only screen and (max-width: 1120px) { 1393 /* override for media-views.css */ 1394 #wp-media-grid .wp-filter .attachment-filters { 1395 max-width: 100%; 1396 } 1397 } 1398 1399 @media only screen and (max-width: 1000px) { 1400 /* override for forms.css */ 1401 .wp-filter p.search-box { 1402 float: none; 1403 width: 100%; 1404 display: flex; 1405 flex-wrap: nowrap; 1406 column-gap: 0; 1407 } 1408 1409 .wp-filter p.search-box #media-search-input { 1410 width: 100%; 1411 } 1412 1413 } 1414 1415 @media only screen and (max-width: 782px) { 1416 .media-frame.mode-select .attachments-browser.fixed .media-toolbar { 1417 top: 46px; 1418 left: 10px; 1419 } 1420 1421 .media-frame.mode-grid .media-toolbar select { 1422 min-height: 40px; 1423 padding: 0 12px 0 24px; 1424 } 1425 1426 .media-frame.mode-grid .media-toolbar input[type="search"] { 1427 min-height: 40px; 1428 padding: 0 12px; 1429 } 1430 1431 .wp-filter p.search-box { 1432 margin-bottom: 0; 1433 } 1434 } 1435 1436 @media only screen and (max-width: 600px) { 1437 .media-frame.mode-select .attachments-browser.fixed .media-toolbar { 1438 top: 0; 1439 } 1440 } 1441 1442 @media only screen and (max-width: 480px) { 1443 .edit-attachment-frame .media-frame-title { 1444 left: 110px; 1445 } 1446 1447 .upload-php .media-modal-close, 1448 .edit-attachment-frame .edit-media-header .left, 1449 .edit-attachment-frame .edit-media-header .right { 1450 width: 40px; 1451 height: 40px; 1452 } 1453 1454 .edit-attachment-frame .edit-media-header .right:before, 1455 .edit-attachment-frame .edit-media-header .left:before { 1456 line-height: 40px !important; 1457 } 1458 1459 .edit-attachment-frame .edit-media-header .left { 1460 left: 82px; 1461 } 1462 1463 .edit-attachment-frame .edit-media-header .right { 1464 left: 41px; 1465 } 1466 1467 .edit-attachment-frame .media-frame-content { 1468 top: 40px; 1469 } 1470 1471 .edit-attachment-frame .attachment-media-view { 1472 float: none; 1473 height: auto; 1474 width: 100%; 1475 } 1476 1477 .edit-attachment-frame .attachment-info { 1478 height: auto; 1479 width: 100%; 1480 } 1481 } 1482 1483 @media only screen and (max-width: 640px), screen and (max-height: 400px) { 1484 .upload-php .mode-grid .media-sidebar{ 1485 max-width: 100%; 1486 } 1487 } 1488 1489 @media only screen and (max-width: 375px) { 1490 .media-item .attachment-tools { 1491 align-items: baseline; 1492 } 1493 .media-item .edit-attachment.copy-to-clipboard-container { 1494 flex-direction: column; 1495 } 1496 1497 .copy-to-clipboard-container .success { 1498 line-height: normal; 1499 margin-top: 10px; 1500 } 1501 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Sat Jun 27 08:20:12 2026 | Cross-referenced by PHPXref |