| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 /*! This file is auto-generated */ 2 /** 3 * Base Styles 4 */ 5 .media-modal * { 6 box-sizing: content-box; 7 } 8 9 .media-modal input, 10 .media-modal select, 11 .media-modal textarea { 12 box-sizing: border-box; 13 } 14 15 .media-modal, 16 .media-frame { 17 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 18 font-size: 12px; 19 -webkit-overflow-scrolling: touch; 20 } 21 22 .media-modal legend { 23 padding: 0; 24 font-size: 13px; 25 } 26 27 .media-modal label { 28 font-size: 13px; 29 } 30 31 .media-modal .legend-inline { 32 position: absolute; 33 transform: translate(100%, 50%); 34 margin-right: -1%; 35 line-height: 1.2; 36 } 37 38 .media-frame a { 39 border-bottom: none; 40 color: #2271b1; 41 } 42 43 .media-frame a:hover, 44 .media-frame a:active { 45 color: #135e96; 46 } 47 48 .media-frame a:focus { 49 box-shadow: 0 0 0 2px #2271b1; 50 color: #043959; 51 /* Only visible in Windows High Contrast mode */ 52 outline: 2px solid transparent; 53 } 54 55 .media-frame a.button { 56 color: #2c3338; 57 } 58 59 .media-frame a.button:hover { 60 color: #1d2327; 61 } 62 63 .media-frame a.button-primary, 64 .media-frame a.button-primary:hover { 65 color: #fff; 66 } 67 68 .media-frame input, 69 .media-frame textarea { 70 padding: 6px 8px; 71 } 72 73 .media-frame select, 74 .wp-admin .media-frame select { 75 min-height: 30px; 76 vertical-align: middle; 77 } 78 79 .media-frame input[type="text"], 80 .media-frame input[type="password"], 81 .media-frame input[type="color"], 82 .media-frame input[type="date"], 83 .media-frame input[type="datetime"], 84 .media-frame input[type="datetime-local"], 85 .media-frame input[type="email"], 86 .media-frame input[type="month"], 87 .media-frame input[type="number"], 88 .media-frame input[type="search"], 89 .media-frame input[type="tel"], 90 .media-frame input[type="time"], 91 .media-frame input[type="url"], 92 .media-frame input[type="week"], 93 .media-frame textarea, 94 .media-frame select { 95 box-shadow: 0 0 0 transparent; 96 border-radius: 4px; 97 border: 1px solid #8c8f94; 98 background-color: #fff; 99 color: #2c3338; 100 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 101 font-size: 13px; 102 line-height: 1.38461538; 103 } 104 105 .media-frame input[type="text"], 106 .media-frame input[type="password"], 107 .media-frame input[type="date"], 108 .media-frame input[type="datetime"], 109 .media-frame input[type="datetime-local"], 110 .media-frame input[type="email"], 111 .media-frame input[type="month"], 112 .media-frame input[type="number"], 113 .media-frame input[type="search"], 114 .media-frame input[type="tel"], 115 .media-frame input[type="time"], 116 .media-frame input[type="url"], 117 .media-frame input[type="week"] { 118 padding: 0 8px; 119 /* inherits font size 13px */ 120 line-height: 2.15384615; /* 28px */ 121 } 122 123 /* Search field in the Media Library toolbar */ 124 .media-frame.mode-grid .wp-filter input[type="search"] { 125 font-size: 14px; 126 line-height: 2; 127 } 128 129 .media-frame input[type="text"]:focus, 130 .media-frame input[type="password"]:focus, 131 .media-frame input[type="number"]:focus, 132 .media-frame input[type="search"]:focus, 133 .media-frame input[type="email"]:focus, 134 .media-frame input[type="url"]:focus, 135 .media-frame textarea:focus, 136 .media-frame select:focus { 137 border-color: #3582c4; 138 box-shadow: 0 0 0 1px #3582c4; 139 outline: 2px solid transparent; 140 } 141 142 .media-frame input:disabled, 143 .media-frame textarea:disabled, 144 .media-frame input[readonly], 145 .media-frame textarea[readonly] { 146 background-color: #f0f0f1; 147 } 148 149 .media-frame input[type="search"] { 150 -webkit-appearance: textfield; 151 } 152 153 .media-frame ::-webkit-input-placeholder { 154 color: #646970; 155 } 156 157 .media-frame ::-moz-placeholder { 158 color: #646970; 159 } 160 161 /* 162 * In some cases there's the need of higher specificity, 163 * for example higher than `.media-embed .setting`. 164 */ 165 .media-frame .hidden, 166 .media-frame .setting.hidden { 167 display: none; 168 } 169 170 /*! 171 * jQuery UI Draggable/Sortable 1.11.4 172 * http://jqueryui.com 173 * 174 * Copyright jQuery Foundation and other contributors 175 * Released under the MIT license. 176 * http://jquery.org/license 177 */ 178 .ui-draggable-handle, 179 .ui-sortable-handle { 180 touch-action: none; 181 } 182 183 /** 184 * Modal 185 */ 186 .media-modal { 187 position: fixed; 188 top: 30px; 189 right: 30px; 190 left: 30px; 191 bottom: 30px; 192 z-index: 160000; 193 } 194 195 .wp-customizer .media-modal { 196 z-index: 560000; 197 } 198 199 .media-modal-backdrop { 200 position: fixed; 201 top: 0; 202 right: 0; 203 left: 0; 204 bottom: 0; 205 min-height: 360px; 206 background: #000; 207 opacity: 0.7; 208 z-index: 159900; 209 } 210 211 .wp-customizer .media-modal-backdrop { 212 z-index: 559900; 213 } 214 215 .media-modal-close { 216 position: absolute; 217 top: 0; 218 left: 0; 219 width: 50px; 220 height: 50px; 221 margin: 0; 222 padding: 0; 223 border: 1px solid transparent; 224 background: none; 225 color: #646970; 226 z-index: 1000; 227 cursor: pointer; 228 outline: none; 229 transition: color .1s ease-in-out, background .1s ease-in-out; 230 } 231 232 .media-modal-close:hover, 233 .media-modal-close:active { 234 color: #135e96; 235 } 236 237 .media-modal-close:focus { 238 color: #135e96; 239 border-color: #4f94d4; 240 box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); 241 /* Only visible in Windows High Contrast mode */ 242 outline: 2px solid transparent; 243 } 244 245 .media-modal-close span.media-modal-icon { 246 background-image: none; 247 } 248 249 .media-modal-close .media-modal-icon:before { 250 content: "\f158" / ''; 251 font: normal 20px/1 dashicons; 252 vertical-align: middle; 253 -webkit-font-smoothing: antialiased; 254 -moz-osx-font-smoothing: grayscale; 255 } 256 257 .media-modal-content { 258 position: absolute; 259 top: 0; 260 right: 0; 261 left: 0; 262 bottom: 0; 263 overflow: auto; 264 min-height: 300px; 265 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7); 266 background: #fff; 267 -webkit-font-smoothing: subpixel-antialiased; 268 } 269 270 .media-modal-content .media-frame select.attachment-filters { 271 margin-top: 32px; 272 margin-left: 2%; 273 width: 42%; 274 width: calc(48% - 12px); 275 } 276 277 /* higher specificity */ 278 .wp-core-ui .media-modal-icon { 279 background-image: url(../images/uploader-icons.png); 280 background-repeat: no-repeat; 281 } 282 283 /** 284 * Toolbar 285 */ 286 .media-toolbar { 287 position: absolute; 288 top: 0; 289 right: 0; 290 left: 0; 291 z-index: 100; 292 height: 60px; 293 padding: 0 16px; 294 border: 0 solid #dcdcde; 295 overflow: hidden; 296 } 297 298 .media-frame-toolbar .media-toolbar { 299 top: auto; 300 bottom: -47px; 301 height: auto; 302 overflow: visible; 303 border-top: 1px solid #dcdcde; 304 } 305 306 .media-toolbar-primary { 307 float: left; 308 height: 100%; 309 position: relative; 310 } 311 312 .media-toolbar-secondary { 313 float: right; 314 height: 100%; 315 } 316 317 .media-toolbar-primary > .media-button, 318 .media-toolbar-primary > .media-button-group { 319 margin-right: 10px; 320 float: right; 321 margin-top: 15px; 322 } 323 324 .media-toolbar-secondary > .media-button, 325 .media-toolbar-secondary > .media-button-group { 326 margin-left: 10px; 327 margin-top: 15px; 328 } 329 330 /** 331 * Sidebar 332 */ 333 .media-sidebar { 334 position: absolute; 335 top: 0; 336 left: 0; 337 bottom: 0; 338 width: 267px; 339 padding: 0 16px; 340 z-index: 75; 341 background: #f6f7f7; 342 border-right: 1px solid #dcdcde; 343 overflow: auto; 344 -webkit-overflow-scrolling: touch; 345 } 346 347 /* 348 * Implementation of bottom padding in overflow content differs across browsers. 349 * We need a different method. See https://github.com/w3c/csswg-drafts/issues/129 350 */ 351 .media-sidebar::after { 352 content: ""; 353 display: flex; 354 clear: both; 355 height: 24px; 356 } 357 358 .hide-toolbar .media-sidebar { 359 bottom: 0; 360 } 361 362 .media-sidebar h2, 363 .image-details .media-embed h2 { 364 position: relative; 365 font-weight: 600; 366 text-transform: uppercase; 367 font-size: 12px; 368 color: #646970; 369 margin: 24px 0 8px; 370 } 371 372 .media-sidebar .setting, 373 .attachment-details .setting { 374 display: block; 375 float: right; 376 width: 100%; 377 margin: 0 0 10px; 378 } 379 380 .attachment-details h2 { 381 display: grid; 382 grid-template-columns: auto 5em; 383 } 384 385 .media-sidebar .collection-settings .setting { 386 margin: 1px 0; 387 } 388 389 .media-sidebar .setting.has-description, 390 .attachment-details .setting.has-description { 391 margin-bottom: 5px; 392 } 393 394 .media-sidebar .setting .link-to-custom { 395 margin: 3px 2px 0; 396 } 397 398 .media-sidebar .setting span, /* Back-compat for pre-5.3 */ 399 .attachment-details .setting span, /* Back-compat for pre-5.3 */ 400 .media-sidebar .setting .name, 401 .media-sidebar .setting .value, 402 .attachment-details .setting .name { 403 min-width: 30%; 404 margin-left: 4%; 405 font-size: 12px; 406 text-align: left; 407 word-wrap: break-word; 408 } 409 410 .media-sidebar .setting .name { 411 max-width: 80px; 412 } 413 414 .media-sidebar .setting .value { 415 text-align: right; 416 } 417 418 .media-sidebar .setting select { 419 max-width: 65%; 420 } 421 422 .media-sidebar .setting input[type="checkbox"], 423 .media-sidebar .field input[type="checkbox"], 424 .media-sidebar .setting input[type="radio"], 425 .media-sidebar .field input[type="radio"], 426 .attachment-details .setting input[type="checkbox"], 427 .attachment-details .field input[type="checkbox"], 428 .attachment-details .setting input[type="radio"], 429 .attachment-details .field input[type="radio"] { 430 float: none; 431 margin: 8px 3px 0; 432 padding: 0; 433 } 434 435 .media-sidebar .setting span, /* Back-compat for pre-5.3 */ 436 .attachment-details .setting span, /* Back-compat for pre-5.3 */ 437 .media-sidebar .setting .name, 438 .media-sidebar .setting .value, 439 .media-sidebar .checkbox-label-inline, 440 .attachment-details .setting .name, 441 .attachment-details .setting .value, 442 .compat-item label span { 443 float: right; 444 min-height: 22px; 445 padding-top: 8px; 446 line-height: 1.33333333; 447 font-weight: 400; 448 color: #646970; 449 } 450 451 .media-sidebar .checkbox-label-inline { 452 font-size: 12px; 453 } 454 455 .media-sidebar .copy-to-clipboard-container, 456 .attachment-details .copy-to-clipboard-container { 457 flex-wrap: wrap; 458 margin-top: 10px; 459 margin-right: calc( 35% - 1px ); 460 padding-top: 10px; 461 } 462 463 /* Needs high specificity. */ 464 .attachment-details .attachment-info .copy-to-clipboard-container { 465 float: none; 466 } 467 468 .media-sidebar .copy-to-clipboard-container .success, 469 .attachment-details .copy-to-clipboard-container .success { 470 padding: 0; 471 min-height: 0; 472 line-height: 2.18181818; 473 text-align: right; 474 color: #007017; 475 } 476 477 .compat-item label span { 478 text-align: left; 479 } 480 481 .media-sidebar .setting input[type="text"], 482 .media-sidebar .setting input[type="password"], 483 .media-sidebar .setting input[type="email"], 484 .media-sidebar .setting input[type="number"], 485 .media-sidebar .setting input[type="search"], 486 .media-sidebar .setting input[type="tel"], 487 .media-sidebar .setting input[type="url"], 488 .media-sidebar .setting textarea, 489 .media-sidebar .setting .value, 490 .attachment-details .setting input[type="text"], 491 .attachment-details .setting input[type="password"], 492 .attachment-details .setting input[type="email"], 493 .attachment-details .setting input[type="number"], 494 .attachment-details .setting input[type="search"], 495 .attachment-details .setting input[type="tel"], 496 .attachment-details .setting input[type="url"], 497 .attachment-details .setting textarea, 498 .attachment-details .setting .value, 499 .attachment-details .setting + .description { 500 box-sizing: border-box; 501 margin: 1px; 502 width: 65%; 503 float: left; 504 } 505 506 .media-sidebar .setting .value, 507 .attachment-details .setting .value, 508 .attachment-details .setting + .description { 509 margin: 0 1px; 510 text-align: right; 511 } 512 513 .attachment-details .setting + .description { 514 clear: both; 515 font-size: 12px; 516 font-style: normal; 517 margin-bottom: 10px; 518 } 519 520 .media-sidebar .setting textarea, 521 .attachment-details .setting textarea, 522 .compat-item .field textarea { 523 height: 62px; 524 resize: vertical; 525 } 526 527 .media-sidebar .alt-text textarea, 528 .attachment-details .alt-text textarea, 529 .compat-item .alt-text textarea, 530 .alt-text textarea { 531 height: 50px; 532 } 533 534 .compat-item { 535 float: right; 536 width: 100%; 537 overflow: hidden; 538 } 539 540 .compat-item table { 541 width: 100%; 542 table-layout: fixed; 543 border-spacing: 0; 544 border: 0; 545 } 546 547 .compat-item tr { 548 padding: 2px 0; 549 display: block; 550 overflow: hidden; 551 } 552 553 .compat-item .label, 554 .compat-item .field { 555 display: block; 556 margin: 0; 557 padding: 0; 558 } 559 560 .compat-item .label { 561 min-width: 30%; 562 margin-left: 4%; 563 float: right; 564 text-align: left; 565 } 566 567 .compat-item .label span { 568 display: block; 569 width: 100%; 570 } 571 572 .compat-item .field { 573 float: left; 574 width: 65%; 575 margin: 1px; 576 } 577 578 .compat-item .field input[type="text"], 579 .compat-item .field input[type="password"], 580 .compat-item .field input[type="email"], 581 .compat-item .field input[type="number"], 582 .compat-item .field input[type="search"], 583 .compat-item .field input[type="tel"], 584 .compat-item .field input[type="url"], 585 .compat-item .field textarea { 586 width: 100%; 587 margin: 0; 588 box-sizing: border-box; 589 } 590 591 .sidebar-for-errors .attachment-details, 592 .sidebar-for-errors .compat-item, 593 .sidebar-for-errors .media-sidebar .media-progress-bar, 594 .sidebar-for-errors .upload-details { 595 display: none !important; 596 } 597 598 /** 599 * Menu 600 */ 601 .media-menu { 602 position: absolute; 603 top: 0; 604 right: 0; 605 left: 0; 606 bottom: 0; 607 margin: 0; 608 padding: 50px 0 10px; 609 background: #f6f7f7; 610 border-left-width: 1px; 611 border-left-style: solid; 612 border-left-color: #c3c4c7; 613 -webkit-user-select: none; 614 user-select: none; 615 } 616 617 .media-menu .media-menu-item { 618 display: block; 619 box-sizing: border-box; 620 width: 100%; 621 position: relative; 622 border: 0; 623 margin: 0; 624 padding: 8px 20px; 625 font-size: 14px; 626 line-height: 1.28571428; 627 background: transparent; 628 color: #2271b1; 629 text-align: right; 630 text-decoration: none; 631 cursor: pointer; 632 } 633 634 .media-menu .media-menu-item:hover { 635 background: rgba(0, 0, 0, 0.04); 636 } 637 638 .media-menu .media-menu-item:active { 639 color: #2271b1; 640 outline: none; 641 } 642 643 .media-menu .active, 644 .media-menu .active:hover { 645 color: #1d2327; 646 font-weight: 600; 647 } 648 649 .media-menu .media-menu-item:focus { 650 box-shadow: 0 0 0 2px #2271b1; 651 color: #043959; 652 /* Only visible in Windows High Contrast mode */ 653 outline: 2px solid transparent; 654 } 655 656 .media-menu .separator { 657 height: 0; 658 margin: 12px 20px; 659 padding: 0; 660 border-top: 1px solid #dcdcde; 661 } 662 663 /** 664 * Menu 665 */ 666 .media-router { 667 position: relative; 668 padding: 0 6px; 669 margin: 0; 670 clear: both; 671 } 672 673 .media-router .media-menu-item { 674 position: relative; 675 float: right; 676 border: 0; 677 margin: 0; 678 padding: 8px 10px 9px; 679 height: 18px; 680 line-height: 1.28571428; 681 font-size: 14px; 682 text-decoration: none; 683 background: transparent; 684 cursor: pointer; 685 transition: none; 686 } 687 688 .media-router .media-menu-item:last-child { 689 border-left: 0; 690 } 691 692 .media-router .media-menu-item:hover, 693 .media-router .media-menu-item:active { 694 color: #2271b1; 695 } 696 697 .media-router .active, 698 .media-router .active:hover { 699 color: #1d2327; 700 } 701 702 .media-router .media-menu-item:focus { 703 box-shadow: 0 0 0 2px #2271b1; 704 color: #043959; 705 /* Only visible in Windows High Contrast mode */ 706 outline: 2px solid transparent; 707 z-index: 1; 708 } 709 710 .media-router .active, 711 .media-router .media-menu-item.active:last-child { 712 margin: -1px -1px 0; 713 background: #fff; 714 border: 1px solid #dcdcde; 715 border-bottom: none; 716 } 717 718 .media-router .active:after { 719 display: none; 720 } 721 722 /** 723 * Frame 724 */ 725 .media-frame { 726 overflow: hidden; 727 position: absolute; 728 top: 0; 729 right: 0; 730 left: 0; 731 bottom: 0; 732 } 733 734 .media-frame-menu { 735 position: absolute; 736 top: 0; 737 right: 0; 738 bottom: 0; 739 width: 200px; 740 z-index: 150; 741 } 742 743 .media-frame-title { 744 position: absolute; 745 top: 0; 746 right: 200px; 747 left: 0; 748 height: 50px; 749 z-index: 200; 750 } 751 752 .media-frame-router { 753 position: absolute; 754 top: 50px; 755 right: 200px; 756 left: 0; 757 height: 36px; 758 z-index: 200; 759 } 760 761 .media-frame-content { 762 position: absolute; 763 top: 84px; 764 right: 200px; 765 left: 0; 766 bottom: 61px; 767 height: auto; 768 width: auto; 769 margin: 0; 770 overflow: auto; 771 background: #fff; 772 border-top: 1px solid #dcdcde; 773 } 774 775 .media-frame-toolbar { 776 position: absolute; 777 right: 200px; 778 left: 0; 779 z-index: 100; 780 bottom: 60px; 781 height: auto; 782 } 783 784 .media-frame.hide-menu .media-frame-title, 785 .media-frame.hide-menu .media-frame-router, 786 .media-frame.hide-menu .media-frame-toolbar, 787 .media-frame.hide-menu .media-frame-content { 788 right: 0; 789 } 790 791 .media-frame.hide-toolbar .media-frame-content { 792 bottom: 0; 793 } 794 795 .media-frame.hide-router .media-frame-content { 796 top: 50px; 797 } 798 799 .media-frame.hide-menu .media-frame-menu, 800 .media-frame.hide-menu .media-frame-menu-heading, 801 .media-frame.hide-router .media-frame-router, 802 .media-frame.hide-toolbar .media-frame-toolbar { 803 display: none; 804 } 805 806 .media-frame-title h1 { 807 padding: 0 16px; 808 font-size: 22px; 809 line-height: 2.27272727; 810 margin: 0; 811 } 812 813 .media-frame-menu-heading, 814 .media-attachments-filter-heading { 815 position: absolute; 816 right: 20px; 817 top: 22px; 818 margin: 0; 819 font-size: 13px; 820 line-height: 1; 821 /* Above the media-frame-menu. */ 822 z-index: 151; 823 } 824 825 .media-attachments-filter-heading { 826 top: 10px; 827 right: 16px; 828 } 829 830 .mode-grid .media-attachments-filter-heading { 831 top: 0; 832 right: -9999px; 833 } 834 835 .mode-grid .media-frame-actions-heading { 836 display: none; 837 } 838 839 .wp-core-ui .button.media-frame-menu-toggle { 840 display: none; 841 } 842 843 .media-frame-title .suggested-dimensions { 844 font-size: 14px; 845 float: left; 846 margin-left: 20px; 847 } 848 849 .media-frame-content .crop-content { 850 height: 100%; 851 } 852 853 .options-general-php .crop-content.site-icon, 854 .wp-customizer:not(.mobile) .media-frame-content .crop-content.site-icon { 855 margin-left: 300px; 856 } 857 858 .media-frame-content .crop-content .crop-image { 859 display: block; 860 margin: auto; 861 max-width: 100%; 862 max-height: 100%; 863 } 864 865 .media-frame-content .crop-content .upload-errors { 866 position: absolute; 867 width: 300px; 868 top: 50%; 869 right: 50%; 870 margin-right: -150px; 871 margin-left: -150px; 872 z-index: 600000; 873 } 874 875 /** 876 * Iframes 877 */ 878 .media-frame .media-iframe { 879 overflow: hidden; 880 } 881 882 .media-frame .media-iframe, 883 .media-frame .media-iframe iframe { 884 height: 100%; 885 width: 100%; 886 border: 0; 887 } 888 889 /** 890 * Attachment Browser Filters 891 */ 892 .media-frame select.attachment-filters { 893 margin-top: 11px; 894 margin-left: 2%; 895 max-width: 42%; 896 max-width: calc(48% - 12px); 897 } 898 899 .media-frame select.attachment-filters:last-of-type { 900 margin-left: 0; 901 } 902 903 /** 904 * Search 905 */ 906 .media-frame .search { 907 margin: 32px 0 0; 908 padding: 4px; 909 font-size: 13px; 910 color: #3c434a; 911 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 912 -webkit-appearance: none; 913 } 914 915 .media-toolbar-primary .search { 916 max-width: 100%; 917 } 918 919 .media-modal .media-frame .media-search-input-label { 920 position: absolute; 921 right: 0; 922 top: 10px; 923 margin: 0; 924 line-height: 1; 925 } 926 927 /** 928 * Attachments 929 */ 930 .wp-core-ui .attachments { 931 margin: 0; 932 -webkit-overflow-scrolling: touch; 933 } 934 935 /** 936 * Attachment 937 */ 938 .wp-core-ui .attachment { 939 position: relative; 940 float: right; 941 padding: 8px; 942 margin: 0; 943 color: #3c434a; 944 cursor: pointer; 945 list-style: none; 946 text-align: center; 947 -webkit-user-select: none; 948 user-select: none; 949 width: 25%; 950 box-sizing: border-box; 951 } 952 953 .wp-core-ui .attachment:focus, 954 .wp-core-ui .selected.attachment:focus, 955 .wp-core-ui .attachment.details:focus { 956 box-shadow: 957 inset 0 0 2px 3px #fff, 958 inset 0 0 0 7px #4f94d4; 959 /* Only visible in Windows High Contrast mode */ 960 outline: 2px solid transparent; 961 outline-offset: -6px; 962 } 963 964 .wp-core-ui .selected.attachment { 965 box-shadow: 966 inset 0 0 0 5px #fff, 967 inset 0 0 0 7px #c3c4c7; 968 } 969 970 .wp-core-ui .attachment.details { 971 box-shadow: 972 inset 0 0 0 3px #fff, 973 inset 0 0 0 7px #2271b1; 974 } 975 976 .wp-core-ui .attachment-preview { 977 position: relative; 978 box-shadow: 979 inset 0 0 15px rgba(0, 0, 0, 0.1), 980 inset 0 0 0 1px rgba(0, 0, 0, 0.05); 981 background: #f0f0f1; 982 cursor: pointer; 983 } 984 985 .wp-core-ui .attachment-preview:before { 986 content: ""; 987 display: block; 988 padding-top: 100%; 989 } 990 991 .wp-core-ui .attachment .icon { 992 margin: 0 auto; 993 overflow: hidden; 994 } 995 996 .wp-core-ui .attachment .thumbnail { 997 overflow: hidden; 998 position: absolute; 999 top: 0; 1000 left: 0; 1001 bottom: 0; 1002 right: 0; 1003 opacity: 1; 1004 transition: opacity .1s; 1005 } 1006 1007 .wp-core-ui .attachment .portrait img { 1008 max-width: 100%; 1009 } 1010 1011 .wp-core-ui .attachment .landscape img { 1012 max-height: 100%; 1013 } 1014 1015 .wp-core-ui .attachment .thumbnail:after { 1016 content: ""; 1017 display: block; 1018 position: absolute; 1019 top: 0; 1020 right: 0; 1021 left: 0; 1022 bottom: 0; 1023 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); 1024 overflow: hidden; 1025 } 1026 1027 .wp-core-ui .attachment .thumbnail img { 1028 top: 0; 1029 right: 0; 1030 } 1031 1032 .wp-core-ui .attachment .thumbnail .centered { 1033 position: absolute; 1034 top: 0; 1035 right: 0; 1036 width: 100%; 1037 height: 100%; 1038 transform: translate( -50%, 50% ); 1039 } 1040 1041 .wp-core-ui .attachment .thumbnail .centered img { 1042 transform: translate( 50%, -50% ); 1043 } 1044 1045 .wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon { 1046 transform: translate( 50%, -70% ); 1047 } 1048 1049 .wp-core-ui .attachment .filename { 1050 position: absolute; 1051 right: 0; 1052 left: 0; 1053 bottom: 0; 1054 overflow: hidden; 1055 max-height: 100%; 1056 word-wrap: break-word; 1057 text-align: center; 1058 font-weight: 600; 1059 background: rgba(255, 255, 255, 0.8); 1060 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); 1061 } 1062 1063 .wp-core-ui .attachment .filename div { 1064 padding: 5px 10px; 1065 } 1066 1067 .wp-core-ui .attachment .thumbnail img { 1068 position: absolute; 1069 } 1070 1071 .wp-core-ui .attachment-close { 1072 display: block; 1073 position: absolute; 1074 top: 5px; 1075 left: 5px; 1076 height: 22px; 1077 width: 22px; 1078 padding: 0; 1079 background-color: #fff; 1080 border-radius: 3px; 1081 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3); 1082 transition: none; 1083 } 1084 1085 .wp-core-ui .attachment-close .media-modal-icon { 1086 display: inline-block; 1087 background-position: -96px 4px; 1088 height: 22px; 1089 width: 22px; 1090 } 1091 1092 .wp-core-ui .attachment-close:hover .media-modal-icon, 1093 .wp-core-ui .attachment-close:focus .media-modal-icon { 1094 background-position: -36px 4px; 1095 } 1096 1097 .wp-core-ui .attachment .check { 1098 display: none; 1099 height: 24px; 1100 width: 24px; 1101 padding: 0; 1102 border: 0; 1103 position: absolute; 1104 z-index: 10; 1105 top: 0; 1106 left: 0; 1107 outline: none; 1108 background: #f0f0f1; 1109 cursor: pointer; 1110 box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(0, 0, 0, 0.15); 1111 } 1112 1113 .wp-core-ui .attachment .check .media-modal-icon { 1114 display: block; 1115 background-position: -1px 0; 1116 height: 15px; 1117 width: 15px; 1118 margin: 5px; 1119 } 1120 1121 .wp-core-ui .attachment .check:hover .media-modal-icon { 1122 background-position: -40px 0; 1123 } 1124 1125 .wp-core-ui .attachment.selected .check { 1126 display: block; 1127 } 1128 1129 .wp-core-ui .attachment.details .check, 1130 .wp-core-ui .attachment.selected .check:focus, 1131 .wp-core-ui .media-frame.mode-grid .attachment.selected .check { 1132 background-color: #2271b1; 1133 box-shadow: 1134 0 0 0 1px #fff, 1135 0 0 0 2px #2271b1; 1136 } 1137 1138 .wp-core-ui .attachment.selected .check:focus { 1139 /* Only visible in Windows High Contrast mode */ 1140 outline: 2px solid transparent; 1141 } 1142 1143 .wp-core-ui .attachment.details .check .media-modal-icon, 1144 .wp-core-ui .media-frame.mode-grid .attachment.selected .check .media-modal-icon { 1145 background-position: -21px 0; 1146 } 1147 1148 .wp-core-ui .attachment.details .check:hover .media-modal-icon, 1149 .wp-core-ui .attachment.selected .check:focus .media-modal-icon, 1150 .wp-core-ui .media-frame.mode-grid .attachment.selected .check:hover .media-modal-icon { 1151 background-position: -60px 0; 1152 } 1153 1154 .wp-core-ui .media-frame .attachment .describe { 1155 position: relative; 1156 display: block; 1157 width: 100%; 1158 margin: 0; 1159 padding: 0 8px; 1160 font-size: 12px; 1161 border-radius: 0; 1162 } 1163 1164 /** 1165 * Attachments Browser 1166 */ 1167 .media-frame .attachments-browser { 1168 position: relative; 1169 width: 100%; 1170 height: 100%; 1171 overflow: hidden; 1172 } 1173 1174 .attachments-browser .media-toolbar { 1175 left: 300px; 1176 height: 72px; 1177 background: #fff; 1178 } 1179 1180 .attachments-browser.hide-sidebar .media-toolbar { 1181 left: 0; 1182 } 1183 1184 .attachments-browser .media-toolbar-primary > .media-button, 1185 .attachments-browser .media-toolbar-primary > .media-button-group, 1186 .attachments-browser .media-toolbar-secondary > .media-button, 1187 .attachments-browser .media-toolbar-secondary > .media-button-group { 1188 margin: 10px 0; 1189 } 1190 1191 .attachments-browser .attachments { 1192 padding: 2px 8px 8px; 1193 } 1194 1195 .attachments-browser:not(.has-load-more) .attachments, 1196 .attachments-browser.has-load-more .attachments-wrapper, 1197 .attachments-browser .uploader-inline { 1198 position: absolute; 1199 top: 72px; 1200 right: 0; 1201 left: 300px; 1202 bottom: 0; 1203 overflow: auto; 1204 outline: none; 1205 } 1206 1207 .attachments-browser .uploader-inline.hidden { 1208 display: none; 1209 } 1210 1211 .attachments-browser .media-toolbar-primary { 1212 max-width: 33%; 1213 } 1214 1215 .mode-grid .attachments-browser .media-toolbar-primary { 1216 display: flex; 1217 align-items: center; 1218 column-gap: .5rem; 1219 margin: 11px 0; 1220 } 1221 1222 .mode-grid .attachments-browser .media-toolbar-mode-select .media-toolbar-primary { 1223 display: none; 1224 } 1225 1226 .attachments-browser .media-toolbar-secondary { 1227 max-width: 66%; 1228 } 1229 1230 .uploader-inline .close { 1231 background-color: transparent; 1232 border: 0; 1233 cursor: pointer; 1234 height: 48px; 1235 outline: none; 1236 padding: 0; 1237 position: absolute; 1238 left: 2px; 1239 text-align: center; 1240 top: 2px; 1241 width: 48px; 1242 z-index: 1; 1243 } 1244 1245 .uploader-inline .close:before { 1246 font: normal 30px/1 dashicons !important; 1247 color: #50575e; 1248 display: inline-block; 1249 content: "\f335" / ''; 1250 font-weight: 300; 1251 margin-top: 1px; 1252 } 1253 1254 .uploader-inline .close:focus { 1255 outline: 1px solid #4f94d4; 1256 box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); 1257 } 1258 1259 .attachments-browser.hide-sidebar .attachments, 1260 .attachments-browser.hide-sidebar .uploader-inline { 1261 left: 0; 1262 margin-left: 0; 1263 } 1264 1265 .attachments-browser .instructions { 1266 display: inline-block; 1267 margin-top: 16px; 1268 line-height: 1.38461538; 1269 font-size: 13px; 1270 color: #646970; 1271 } 1272 1273 .attachments-browser .no-media { 1274 padding: 2em 2em 0 0; 1275 } 1276 1277 .more-loaded .attachment:not(.found-media) { 1278 background: #dcdcde; 1279 } 1280 1281 .load-more-wrapper { 1282 clear: both; 1283 display: flex; 1284 flex-wrap: wrap; 1285 align-items: center; 1286 justify-content: center; 1287 padding: 1em 0; 1288 } 1289 1290 .load-more-wrapper .load-more-count { 1291 min-width: 100%; 1292 margin: 0 0 1em; 1293 text-align: center; 1294 } 1295 1296 .load-more-wrapper .load-more { 1297 margin: 0; 1298 } 1299 1300 /* Needs high specificity. */ 1301 .media-frame .load-more-wrapper .load-more + .spinner { 1302 float: none; 1303 margin: 0 10px 0 -30px; 1304 } 1305 1306 /* Reset spinner margin when the button is hidden to avoid horizontal scrollbar. */ 1307 .media-frame .load-more-wrapper .load-more.hidden + .spinner { 1308 margin: 0; 1309 } 1310 1311 /* Force a new row within the flex container. */ 1312 .load-more-wrapper::after { 1313 content: ""; 1314 min-width: 100%; 1315 order: 1; 1316 } 1317 1318 .load-more-wrapper .load-more-jump { 1319 margin: 0 12px 0 0; 1320 } 1321 1322 .attachment.new-media { 1323 outline: 2px dotted #c3c4c7; 1324 } 1325 1326 /** 1327 * Progress Bar 1328 */ 1329 .media-progress-bar { 1330 position: relative; 1331 height: 10px; 1332 width: 70%; 1333 margin: 10px auto; 1334 border-radius: 10px; 1335 background: #dcdcde; 1336 background: rgba(0, 0, 0, 0.1); 1337 } 1338 1339 .media-progress-bar div { 1340 height: 10px; 1341 min-width: 20px; 1342 width: 0; 1343 background: #2271b1; 1344 border-radius: 10px; 1345 transition: width 300ms; 1346 } 1347 1348 .media-uploader-status .media-progress-bar { 1349 display: none; 1350 width: 100%; 1351 } 1352 1353 .uploading.media-uploader-status .media-progress-bar { 1354 display: block; 1355 } 1356 1357 .attachment-preview .media-progress-bar { 1358 position: absolute; 1359 top: 50%; 1360 right: 15%; 1361 width: 70%; 1362 margin: -5px 0 0; 1363 } 1364 1365 .media-uploader-status { 1366 position: relative; 1367 margin: 0 auto; 1368 padding-bottom: 10px; 1369 max-width: 400px; 1370 } 1371 1372 .uploader-inline .media-uploader-status h2 { 1373 display: none; 1374 } 1375 1376 .media-uploader-status .upload-details { 1377 display: none; 1378 font-size: 12px; 1379 color: #646970; 1380 } 1381 1382 .uploading.media-uploader-status .upload-details { 1383 display: block; 1384 } 1385 1386 .media-uploader-status .upload-detail-separator { 1387 padding: 0 4px; 1388 } 1389 1390 .media-uploader-status .upload-count { 1391 color: #3c434a; 1392 } 1393 1394 .media-uploader-status .upload-dismiss-errors, 1395 .media-uploader-status .upload-errors { 1396 display: none; 1397 } 1398 1399 .errors.media-uploader-status .upload-dismiss-errors, 1400 .errors.media-uploader-status .upload-errors { 1401 display: block; 1402 } 1403 1404 .media-uploader-status .upload-dismiss-errors { 1405 transition: none; 1406 text-decoration: none; 1407 } 1408 1409 .upload-errors .upload-error { 1410 padding: 12px; 1411 margin-bottom: 12px; 1412 background: #fff; 1413 border-right: 4px solid #d63638; 1414 box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); 1415 } 1416 1417 .uploader-inline .upload-errors .upload-error { 1418 padding: 12px 30px; 1419 background-color: #fcf0f1; 1420 box-shadow: none; 1421 } 1422 1423 .upload-errors .upload-error-filename { 1424 font-weight: 600; 1425 } 1426 1427 .upload-errors .upload-error-message { 1428 display: block; 1429 padding-top: 8px; 1430 word-wrap: break-word; 1431 } 1432 1433 /** 1434 * Window and Editor uploaders used to display "drop zones" 1435 */ 1436 .uploader-window, 1437 .wp-editor-wrap .uploader-editor { 1438 top: 0; 1439 right: 0; 1440 left: 0; 1441 bottom: 0; 1442 text-align: center; 1443 display: none; 1444 } 1445 1446 .uploader-window { 1447 position: fixed; 1448 z-index: 250000; 1449 opacity: 0; /* Only the inline uploader is animated with JS, the editor one isn't */ 1450 transition: opacity 250ms; 1451 } 1452 1453 .wp-editor-wrap .uploader-editor { 1454 position: absolute; 1455 z-index: 99998; /* under the toolbar */ 1456 background: rgba(140, 143, 148, 0.9); 1457 } 1458 1459 .uploader-window, 1460 .wp-editor-wrap .uploader-editor.droppable { 1461 background: rgba(10, 75, 120, 0.9); 1462 } 1463 1464 .uploader-window-content, 1465 .wp-editor-wrap .uploader-editor-content { 1466 position: absolute; 1467 top: 10px; 1468 right: 10px; 1469 left: 10px; 1470 bottom: 10px; 1471 border: 1px dashed #fff; 1472 } 1473 1474 /* uploader drop-zone title */ 1475 .uploader-window h1, /* Back-compat for pre-5.3 */ 1476 .uploader-window .uploader-editor-title, 1477 .wp-editor-wrap .uploader-editor .uploader-editor-title { 1478 position: absolute; 1479 top: 50%; 1480 right: 0; 1481 left: 0; 1482 transform: translateY(-50%); 1483 font-size: 3em; 1484 line-height: 1.3; 1485 font-weight: 600; 1486 color: #fff; 1487 margin: 0; 1488 padding: 0 10px; 1489 } 1490 1491 .wp-editor-wrap .uploader-editor .uploader-editor-title { 1492 display: none; 1493 } 1494 1495 .wp-editor-wrap .uploader-editor.droppable .uploader-editor-title { 1496 display: block; 1497 } 1498 1499 .uploader-window .media-progress-bar { 1500 margin-top: 20px; 1501 max-width: 300px; 1502 background: transparent; 1503 border-color: #fff; 1504 display: none; 1505 } 1506 1507 .uploader-window .media-progress-bar div { 1508 background: #fff; 1509 } 1510 1511 .uploading .uploader-window .media-progress-bar { 1512 display: block; 1513 } 1514 1515 .media-frame .uploader-inline { 1516 margin-bottom: 20px; 1517 padding: 0; 1518 text-align: center; 1519 } 1520 1521 .uploader-inline-content { 1522 position: absolute; 1523 top: 30%; 1524 right: 0; 1525 left: 0; 1526 } 1527 1528 .uploader-inline-content .upload-ui { 1529 margin: 2em 0; 1530 } 1531 1532 .uploader-inline-content .post-upload-ui { 1533 margin-bottom: 2em; 1534 } 1535 1536 .uploader-inline .has-upload-message .upload-ui { 1537 margin: 0 0 4em; 1538 } 1539 1540 .uploader-inline h2 { 1541 font-size: 20px; 1542 line-height: 1.4; 1543 font-weight: 400; 1544 margin: 0; 1545 } 1546 1547 .uploader-inline .has-upload-message .upload-instructions { 1548 font-size: 14px; 1549 color: #3c434a; 1550 font-weight: 400; 1551 } 1552 1553 .uploader-inline .drop-instructions { 1554 display: none; 1555 } 1556 1557 .supports-drag-drop .uploader-inline .drop-instructions { 1558 display: block; 1559 } 1560 1561 .uploader-inline p { 1562 margin: 0.5em 0; 1563 } 1564 1565 .uploader-inline .media-progress-bar { 1566 display: none; 1567 } 1568 1569 .uploading.uploader-inline .media-progress-bar { 1570 display: block; 1571 } 1572 1573 .uploader-inline .browser { 1574 display: inline-block !important; 1575 } 1576 1577 /** 1578 * Selection 1579 */ 1580 .media-selection { 1581 position: absolute; 1582 top: 0; 1583 right: 0; 1584 left: 350px; 1585 height: 60px; 1586 padding: 0 16px 0 0; 1587 overflow: hidden; 1588 white-space: nowrap; 1589 } 1590 1591 .media-selection .selection-info { 1592 display: inline-block; 1593 font-size: 12px; 1594 height: 60px; 1595 margin-left: 10px; 1596 vertical-align: top; 1597 } 1598 1599 .media-selection.empty, 1600 .media-selection.editing { 1601 display: none; 1602 } 1603 1604 .media-selection.one .edit-selection { 1605 display: none; 1606 } 1607 1608 .media-selection .count { 1609 display: block; 1610 padding-top: 12px; 1611 font-size: 14px; 1612 line-height: 1.42857142; 1613 font-weight: 600; 1614 } 1615 1616 .media-selection .button-link { 1617 float: right; 1618 padding: 1px 8px; 1619 margin: 1px -8px 1px 8px; 1620 line-height: 1.4; 1621 border-left: 1px solid #dcdcde; 1622 color: #2271b1; 1623 text-decoration: none; 1624 } 1625 1626 .media-selection .button-link:hover, 1627 .media-selection .button-link:focus { 1628 color: #135e96; 1629 } 1630 1631 .media-selection .button-link:last-child { 1632 border-left: 0; 1633 margin-left: 0; 1634 } 1635 1636 .selection-info .clear-selection { 1637 color: #d63638; 1638 } 1639 1640 .selection-info .clear-selection:hover, 1641 .selection-info .clear-selection:focus { 1642 color: #d63638; 1643 } 1644 1645 .media-selection .selection-view { 1646 display: inline-block; 1647 vertical-align: top; 1648 } 1649 1650 .media-selection .attachments { 1651 display: inline-block; 1652 height: 48px; 1653 margin: 6px; 1654 padding: 0; 1655 overflow: hidden; 1656 vertical-align: top; 1657 } 1658 1659 .media-selection .attachment { 1660 width: 40px; 1661 padding: 0; 1662 margin: 4px; 1663 } 1664 1665 .media-selection .attachment .thumbnail { 1666 top: 0; 1667 left: 0; 1668 bottom: 0; 1669 right: 0; 1670 } 1671 1672 .media-selection .attachment .icon { 1673 width: 50%; 1674 } 1675 1676 .media-selection .attachment-preview { 1677 box-shadow: none; 1678 background: none; 1679 } 1680 1681 .wp-core-ui .media-selection .attachment:focus, 1682 .wp-core-ui .media-selection .selected.attachment:focus, 1683 .wp-core-ui .media-selection .attachment.details:focus { 1684 box-shadow: 1685 0 0 0 1px #fff, 1686 0 0 2px 3px #4f94d4; 1687 /* Only visible in Windows High Contrast mode */ 1688 outline: 2px solid transparent; 1689 } 1690 1691 .wp-core-ui .media-selection .selected.attachment { 1692 box-shadow: none; 1693 } 1694 1695 .wp-core-ui .media-selection .attachment.details { 1696 box-shadow: 1697 0 0 0 1px #fff, 1698 0 0 0 3px #2271b1; 1699 } 1700 1701 .media-selection:after { 1702 content: ""; 1703 display: block; 1704 position: absolute; 1705 top: 0; 1706 left: 0; 1707 bottom: 0; 1708 width: 25px; 1709 background-image: linear-gradient(to right,#fff,rgba(255, 255, 255, 0)); 1710 } 1711 1712 .media-selection .attachment .filename { 1713 display: none; 1714 } 1715 1716 /** 1717 * Spinner 1718 */ 1719 .media-frame .spinner { 1720 background: url(../images/spinner.gif) no-repeat; 1721 background-size: 20px 20px; 1722 float: left; 1723 display: inline-block; 1724 visibility: hidden; 1725 opacity: 0.7; 1726 filter: alpha(opacity=70); 1727 width: 20px; 1728 height: 20px; 1729 margin: 0; 1730 vertical-align: middle; 1731 } 1732 1733 .media-frame .media-sidebar .settings-save-status .spinner { 1734 position: absolute; 1735 left: 0; 1736 top: 0; 1737 } 1738 1739 .media-frame.mode-grid .spinner { 1740 margin: 0; 1741 float: none; 1742 vertical-align: middle; 1743 } 1744 1745 .media-modal .media-toolbar .spinner { 1746 float: none; 1747 vertical-align: bottom; 1748 margin: 0 5px 5px 0; 1749 } 1750 1751 .media-frame .instructions + .spinner.is-active { 1752 vertical-align: middle; 1753 } 1754 1755 .media-frame .spinner.is-active { 1756 visibility: visible; 1757 } 1758 1759 /** 1760 * Attachment Details 1761 */ 1762 .attachment-details { 1763 position: relative; 1764 overflow: auto; 1765 } 1766 1767 .attachment-details .settings-save-status { 1768 text-align: left; 1769 text-transform: none; 1770 font-weight: 400; 1771 } 1772 1773 .attachment-details .settings-save-status .spinner { 1774 float: none; 1775 margin-right: 5px; 1776 } 1777 1778 .attachment-details .settings-save-status .saved { 1779 display: none; 1780 } 1781 1782 .attachment-details.save-waiting .settings-save-status .spinner { 1783 visibility: visible; 1784 } 1785 1786 .attachment-details.save-complete .settings-save-status .saved { 1787 display: inline-block; 1788 } 1789 1790 .attachment-info { 1791 overflow: hidden; 1792 min-height: 60px; 1793 margin-bottom: 16px; 1794 line-height: 1.5; 1795 color: #646970; 1796 border-bottom: 1px solid #dcdcde; 1797 padding-bottom: 11px; 1798 } 1799 1800 .attachment-info .wp-media-wrapper { 1801 margin-bottom: 8px; 1802 } 1803 1804 .attachment-info .wp-media-wrapper.wp-audio { 1805 margin-top: 13px; 1806 } 1807 1808 .attachment-info .filename { 1809 font-weight: 600; 1810 color: #3c434a; 1811 word-wrap: break-word; 1812 } 1813 1814 .attachment-info .thumbnail { 1815 position: relative; 1816 float: right; 1817 max-width: 120px; 1818 max-height: 120px; 1819 margin-top: 5px; 1820 margin-left: 10px; 1821 margin-bottom: 5px; 1822 } 1823 1824 .uploading .attachment-info .thumbnail { 1825 width: 120px; 1826 height: 80px; 1827 box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1); 1828 } 1829 1830 .uploading .attachment-info .media-progress-bar { 1831 margin-top: 35px; 1832 } 1833 1834 .attachment-info .thumbnail-image:after { 1835 content: ""; 1836 display: block; 1837 position: absolute; 1838 top: 0; 1839 right: 0; 1840 left: 0; 1841 bottom: 0; 1842 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); 1843 overflow: hidden; 1844 } 1845 1846 .attachment-info .thumbnail img { 1847 display: block; 1848 max-width: 120px; 1849 max-height: 120px; 1850 margin: 0 auto; 1851 } 1852 1853 .attachment-info .details { 1854 float: right; 1855 font-size: 12px; 1856 max-width: 100%; 1857 } 1858 1859 .attachment-info .edit-attachment, 1860 .attachment-info .delete-attachment, 1861 .attachment-info .trash-attachment, 1862 .attachment-info .untrash-attachment { 1863 display: block; 1864 text-decoration: none; 1865 white-space: nowrap; 1866 } 1867 1868 .attachment-details.needs-refresh .attachment-info .edit-attachment { 1869 display: none; 1870 } 1871 1872 .attachment-info .edit-attachment { 1873 display: block; 1874 } 1875 1876 .media-modal .delete-attachment, 1877 .media-modal .trash-attachment, 1878 .media-modal .untrash-attachment { 1879 display: inline; 1880 padding: 0; 1881 color: #d63638; 1882 } 1883 1884 .media-modal .delete-attachment:hover, 1885 .media-modal .delete-attachment:focus, 1886 .media-modal .trash-attachment:hover, 1887 .media-modal .trash-attachment:focus, 1888 .media-modal .untrash-attachment:hover, 1889 .media-modal .untrash-attachment:focus { 1890 color: #d63638; 1891 } 1892 1893 /** 1894 * Attachment Display Settings 1895 */ 1896 .attachment-display-settings { 1897 width: 100%; 1898 float: right; 1899 overflow: hidden; 1900 } 1901 1902 .collection-settings { 1903 overflow: hidden; 1904 } 1905 1906 .collection-settings .setting input[type="checkbox"] { 1907 float: right; 1908 margin-left: 8px; 1909 } 1910 1911 .collection-settings .setting span, /* Back-compat for pre-5.3 */ 1912 .collection-settings .setting .name { 1913 min-width: inherit; 1914 } 1915 1916 /** 1917 * Image Editor 1918 */ 1919 .media-modal .imgedit-wrap { 1920 position: static; 1921 } 1922 1923 .media-modal .imgedit-wrap .imgedit-panel-content { 1924 padding: 16px 16px 0; 1925 overflow: visible; 1926 } 1927 1928 /* 1929 * Implementation of bottom padding in overflow content differs across browsers. 1930 * We need a different method. See https://github.com/w3c/csswg-drafts/issues/129 1931 */ 1932 .media-modal .imgedit-wrap .imgedit-save-target { 1933 margin: 8px 0 24px; 1934 } 1935 1936 .media-modal .imgedit-group { 1937 background: none; 1938 border: none; 1939 box-shadow: none; 1940 margin: 0; 1941 padding: 0; 1942 position: relative; /* RTL fix, #WP29352 */ 1943 } 1944 1945 .media-modal .imgedit-group.imgedit-panel-active { 1946 margin-bottom: 16px; 1947 padding-bottom: 16px; 1948 } 1949 1950 .media-modal .imgedit-group-top { 1951 margin: 0; 1952 } 1953 1954 .media-modal .imgedit-group-top h2, 1955 .media-modal .imgedit-group-top h2 .button-link { 1956 display: inline-block; 1957 text-transform: uppercase; 1958 font-size: 12px; 1959 color: #646970; 1960 margin: 0; 1961 margin-top: 3px; 1962 } 1963 1964 .media-modal .imgedit-group-top h2 a, 1965 .media-modal .imgedit-group-top h2 .button-link { 1966 text-decoration: none; 1967 color: #646970; 1968 } 1969 1970 /* higher specificity than media.css */ 1971 .wp-core-ui.media-modal .image-editor .imgedit-help-toggle, 1972 .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:hover, 1973 .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:active { 1974 border: 1px solid transparent; 1975 margin: 0; 1976 padding: 0; 1977 background: transparent; 1978 color: #2271b1; 1979 font-size: 20px; 1980 line-height: 1; 1981 cursor: pointer; 1982 box-sizing: content-box; 1983 box-shadow: none; 1984 } 1985 1986 .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus { 1987 color: #2271b1; 1988 border-color: #2271b1; 1989 box-shadow: 0 0 0 1px #2271b1; 1990 /* Only visible in Windows High Contrast mode */ 1991 outline: 2px solid transparent; 1992 } 1993 1994 .wp-core-ui.media-modal .imgedit-group-top .dashicons-arrow-down.imgedit-help-toggle { 1995 margin-top: -3px; 1996 } 1997 1998 .wp-core-ui.media-modal .image-editor h3 .imgedit-help-toggle { 1999 margin-top: -2px; 2000 } 2001 2002 .media-modal .imgedit-help-toggled span.dashicons:before { 2003 content: "\f142" / ''; 2004 } 2005 2006 .media-modal .imgedit-thumbnail-preview { 2007 margin: 10px 0 0 8px; 2008 } 2009 2010 .imgedit-thumbnail-preview-caption { 2011 display: block; 2012 } 2013 2014 .media-modal .imgedit-wrap div.updated, /* Back-compat for pre-5.5 */ 2015 .media-modal .imgedit-wrap .notice { 2016 margin: 0 16px; 2017 } 2018 2019 /** 2020 * Embed from URL and Image Details 2021 */ 2022 .embed-url { 2023 display: block; 2024 position: relative; 2025 padding: 16px; 2026 margin: 0; 2027 z-index: 250; 2028 background: #fff; 2029 font-size: 18px; 2030 } 2031 2032 .media-frame .embed-url input { 2033 font-size: 18px; 2034 line-height: 1.22222222; /* 22px */ 2035 padding: 12px 14px 12px 40px; /* right padding to leave room for the spinner */ 2036 width: 100%; 2037 min-width: 200px; 2038 box-shadow: inset -2px 2px 4px -2px rgba(0, 0, 0, 0.1); 2039 } 2040 2041 .media-frame .embed-url input::-ms-clear { 2042 display: none; /* the "x" in IE 11 conflicts with the spinner */ 2043 } 2044 2045 .media-frame .embed-url .spinner { 2046 position: absolute; 2047 top: 32px; 2048 left: 26px; 2049 } 2050 2051 .media-frame .embed-loading .embed-url .spinner { 2052 visibility: visible; 2053 } 2054 2055 .embed-link-settings, 2056 .embed-media-settings { 2057 position: absolute; 2058 top: 82px; 2059 right: 0; 2060 left: 0; 2061 bottom: 0; 2062 padding: 0 16px; 2063 overflow: auto; 2064 } 2065 2066 .media-embed .embed-link-settings .link-text { 2067 margin-top: 0; 2068 } 2069 2070 /* 2071 * Implementation of bottom padding in overflow content differs across browsers. 2072 * We need a different method. See https://github.com/w3c/csswg-drafts/issues/129 2073 */ 2074 .embed-link-settings::after, 2075 .embed-media-settings::after { 2076 content: ""; 2077 display: flex; 2078 clear: both; 2079 height: 24px; 2080 } 2081 2082 .media-embed .embed-link-settings { 2083 /* avoid Firefox to give focus to the embed preview container parent */ 2084 overflow: visible; 2085 } 2086 2087 .embed-preview img, 2088 .embed-preview iframe, 2089 .embed-preview embed, 2090 .mejs-container video { 2091 max-width: 100%; 2092 vertical-align: middle; 2093 } 2094 2095 .embed-preview a { 2096 display: inline-block; 2097 } 2098 2099 .embed-preview img { 2100 display: block; 2101 height: auto; 2102 } 2103 2104 .mejs-container:focus { 2105 outline: 1px solid #2271b1; 2106 box-shadow: 0 0 0 2px #2271b1; 2107 } 2108 2109 .image-details .media-modal { 2110 right: 140px; 2111 left: 140px; 2112 } 2113 2114 .image-details .media-frame-title, 2115 .image-details .media-frame-content, 2116 .image-details .media-frame-router { 2117 right: 0; 2118 } 2119 2120 .image-details .embed-media-settings { 2121 top: 0; 2122 overflow: visible; 2123 padding: 0; 2124 } 2125 2126 .image-details .embed-media-settings::after { 2127 content: none; 2128 } 2129 2130 .image-details .embed-media-settings, 2131 .image-details .embed-media-settings div { 2132 box-sizing: border-box; 2133 } 2134 2135 .image-details .column-settings { 2136 background: #f6f7f7; 2137 border-left: 1px solid #dcdcde; 2138 min-height: 100%; 2139 width: 55%; 2140 position: absolute; 2141 top: 0; 2142 right: 0; 2143 } 2144 2145 .image-details .column-settings h2 { 2146 margin: 20px; 2147 padding-top: 20px; 2148 border-top: 1px solid #dcdcde; 2149 color: #1d2327; 2150 } 2151 2152 .image-details .column-image { 2153 width: 45%; 2154 position: absolute; 2155 right: 55%; 2156 top: 0; 2157 } 2158 2159 .image-details .image { 2160 margin: 20px; 2161 } 2162 2163 .image-details .image img { 2164 max-width: 100%; 2165 max-height: 500px; 2166 } 2167 2168 .image-details .advanced-toggle { 2169 padding: 0; 2170 color: #646970; 2171 text-transform: uppercase; 2172 text-decoration: none; 2173 } 2174 2175 .image-details .advanced-toggle:hover, 2176 .image-details .advanced-toggle:active { 2177 color: #646970; 2178 } 2179 2180 .image-details .advanced-toggle:after { 2181 font: normal 20px/1 dashicons; 2182 vertical-align: top; 2183 -webkit-font-smoothing: antialiased; 2184 -moz-osx-font-smoothing: grayscale; 2185 content: "\f140" / ''; 2186 display: inline-block; 2187 margin-top: -2px; 2188 } 2189 2190 .image-details .advanced-visible .advanced-toggle:after { 2191 content: "\f142" / ''; 2192 } 2193 2194 .image-details .custom-size label, /* Back-compat for pre-5.3 */ 2195 .image-details .custom-size .custom-size-setting { 2196 display: block; 2197 float: right; 2198 } 2199 2200 .image-details .custom-size .custom-size-setting label { 2201 float: none; 2202 } 2203 2204 .image-details .custom-size input { 2205 width: 5em; 2206 } 2207 2208 .image-details .custom-size .sep { 2209 float: right; 2210 margin: 26px 6px 0; 2211 } 2212 2213 .image-details .custom-size .description { 2214 margin-right: 0; 2215 } 2216 2217 .media-embed .thumbnail { 2218 max-width: 100%; 2219 max-height: 200px; 2220 position: relative; 2221 float: right; 2222 } 2223 2224 .media-embed .thumbnail img { 2225 max-height: 200px; 2226 display: block; 2227 } 2228 2229 .media-embed .thumbnail:after { 2230 content: ""; 2231 display: block; 2232 position: absolute; 2233 top: 0; 2234 right: 0; 2235 left: 0; 2236 bottom: 0; 2237 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); 2238 overflow: hidden; 2239 } 2240 2241 .media-embed .setting, 2242 .media-embed .setting-group { 2243 width: 100%; 2244 margin: 10px 0; 2245 float: right; 2246 display: block; 2247 clear: both; 2248 } 2249 2250 .media-embed .setting-group .setting:not(.checkbox-setting) { 2251 margin: 0; 2252 } 2253 2254 .media-embed .setting.has-description { 2255 margin-bottom: 5px; 2256 } 2257 2258 .media-embed .description { 2259 clear: both; 2260 font-style: normal; 2261 } 2262 2263 .media-embed .content-track + .description { 2264 line-height: 1.4; 2265 /* The !important needs to override a high specificity selector from wp-medialement.css */ 2266 max-width: none !important; 2267 } 2268 2269 .media-embed .remove-track { 2270 margin-bottom: 10px; 2271 } 2272 2273 .image-details .embed-media-settings .setting, 2274 .image-details .embed-media-settings .setting-group { 2275 float: none; 2276 width: auto; 2277 } 2278 2279 .image-details .actions { 2280 margin: 10px 0; 2281 } 2282 2283 .image-details .hidden { 2284 display: none; 2285 } 2286 2287 .media-embed .setting input[type="text"], 2288 .media-embed .setting textarea, 2289 .media-embed fieldset { 2290 display: block; 2291 width: 100%; 2292 max-width: 400px; 2293 } 2294 2295 .image-details .embed-media-settings .setting input[type="text"], 2296 .image-details .embed-media-settings .setting textarea { 2297 max-width: inherit; 2298 width: 70%; 2299 } 2300 2301 .image-details .embed-media-settings .setting input.link-to-custom, 2302 .image-details .embed-media-settings .link-target, 2303 .image-details .embed-media-settings .custom-size, 2304 .image-details .embed-media-settings .setting-group, 2305 .image-details .description { 2306 margin-right: 27%; 2307 width: 70%; 2308 } 2309 2310 .image-details .description { 2311 font-style: normal; 2312 margin-top: 0; 2313 } 2314 2315 .image-details .embed-media-settings .link-target { 2316 margin-top: 16px; 2317 } 2318 2319 .image-details .checkbox-label, 2320 .audio-details .checkbox-label, 2321 .video-details .checkbox-label { 2322 vertical-align: baseline; 2323 } 2324 2325 .media-embed .setting input.hidden, 2326 .media-embed .setting textarea.hidden { 2327 display: none; 2328 } 2329 2330 .media-embed .setting span, /* Back-compat for pre-5.3 */ 2331 .media-embed .setting .name, 2332 .media-embed .setting-group .name { 2333 display: inline-block; 2334 font-size: 13px; 2335 line-height: 1.84615384; 2336 color: #646970; 2337 } 2338 2339 .media-embed .setting span { 2340 display: block; /* Back-compat for pre-5.3 */ 2341 width: 200px; /* Back-compat for pre-5.3 */ 2342 } 2343 2344 .image-details .embed-media-settings .setting span, /* Back-compat for pre-5.3 */ 2345 .image-details .embed-media-settings .setting .name { 2346 float: right; 2347 width: 25%; 2348 text-align: left; 2349 margin: 8px 1% 0; 2350 line-height: 1.1; 2351 } 2352 2353 /* Buttons group in IE 11. */ 2354 .media-frame .setting-group .button-group, 2355 .image-details .embed-media-settings .setting .button-group { 2356 width: auto; 2357 } 2358 2359 .media-embed-sidebar { 2360 position: absolute; 2361 top: 0; 2362 right: 440px; 2363 } 2364 2365 .advanced-section, 2366 .link-settings { 2367 margin-top: 10px; 2368 } 2369 2370 /** 2371 * Button groups fix: can be removed together with the Back-compat for pre-5.3 2372 */ 2373 .media-frame .setting .button-group { 2374 display: flex; 2375 margin: 0 !important; 2376 max-width: none !important; 2377 } 2378 2379 /** 2380 * Localization 2381 */ 2382 .rtl .media-modal, 2383 .rtl .media-frame, 2384 .rtl .media-frame .search, 2385 .rtl .media-frame input[type="text"], 2386 .rtl .media-frame input[type="password"], 2387 .rtl .media-frame input[type="number"], 2388 .rtl .media-frame input[type="search"], 2389 .rtl .media-frame input[type="email"], 2390 .rtl .media-frame input[type="url"], 2391 .rtl .media-frame input[type="tel"], 2392 .rtl .media-frame textarea, 2393 .rtl .media-frame select { 2394 font-family: Tahoma, sans-serif; 2395 } 2396 2397 :lang(he-il) .rtl .media-modal, 2398 :lang(he-il) .rtl .media-frame, 2399 :lang(he-il) .rtl .media-frame .search, 2400 :lang(he-il) .rtl .media-frame input[type="text"], 2401 :lang(he-il) .rtl .media-frame input[type="password"], 2402 :lang(he-il) .rtl .media-frame input[type="number"], 2403 :lang(he-il) .rtl .media-frame input[type="search"], 2404 :lang(he-il) .rtl .media-frame input[type="email"], 2405 :lang(he-il) .rtl .media-frame input[type="url"], 2406 :lang(he-il) .rtl .media-frame textarea, 2407 :lang(he-il) .rtl .media-frame select { 2408 font-family: Arial, sans-serif; 2409 } 2410 2411 /** 2412 * Responsive layout 2413 */ 2414 @media only screen and (max-width: 900px) { 2415 .media-modal .media-frame-title { 2416 height: 40px; 2417 } 2418 2419 .media-modal .media-frame-title h1 { 2420 line-height: 2.22222222; 2421 font-size: 18px; 2422 } 2423 2424 .media-modal-close { 2425 width: 42px; 2426 height: 42px; 2427 } 2428 2429 /* Drop-down menu */ 2430 .media-frame .media-frame-title { 2431 position: static; 2432 padding: 0 44px; 2433 text-align: center; 2434 } 2435 2436 .media-frame:not(.hide-menu) .media-frame-router, 2437 .media-frame:not(.hide-menu) .media-frame-content, 2438 .media-frame:not(.hide-menu) .media-frame-toolbar { 2439 right: 0; 2440 } 2441 2442 .media-frame:not(.hide-menu) .media-frame-router { 2443 /* 40 title + (40 - 6) menu toggle button + 6 spacing */ 2444 top: 80px; 2445 } 2446 2447 .media-frame:not(.hide-menu) .media-frame-content { 2448 /* 80 + room for the tabs */ 2449 top: 114px; 2450 } 2451 2452 .media-frame.hide-router .media-frame-content { 2453 top: 80px; 2454 } 2455 2456 .media-frame:not(.hide-menu) .media-frame-menu { 2457 position: static; 2458 width: 0; 2459 } 2460 2461 .media-frame:not(.hide-menu) .media-menu { 2462 display: none; 2463 width: auto; 2464 max-width: 80%; 2465 overflow: auto; 2466 z-index: 2000; 2467 top: 75px; 2468 right: 50%; 2469 transform: translateX(50%); 2470 left: auto; 2471 bottom: auto; 2472 padding: 5px 0; 2473 border: 1px solid #c3c4c7; 2474 } 2475 2476 .media-frame:not(.hide-menu) .media-menu.visible { 2477 display: block; 2478 } 2479 2480 .media-frame:not(.hide-menu) .media-menu > a { 2481 padding: 12px 16px; 2482 font-size: 16px; 2483 } 2484 2485 .media-frame:not(.hide-menu) .media-menu .separator { 2486 margin: 5px 10px; 2487 } 2488 2489 /* Visually hide the menu heading keeping it available to assistive technologies. */ 2490 .media-frame-menu-heading { 2491 clip-path: inset(50%); 2492 height: 1px; 2493 overflow: hidden; 2494 padding: 0; 2495 width: 1px; 2496 border: 0; 2497 margin: -1px; 2498 word-wrap: normal !important; 2499 } 2500 2501 /* Reveal the menu toggle button. */ 2502 .wp-core-ui .media-frame:not(.hide-menu) .button.media-frame-menu-toggle { 2503 display: inline-flex; 2504 align-items: center; 2505 position: absolute; 2506 right: 50%; 2507 transform: translateX(50%); 2508 margin: -6px 0 0; 2509 padding: 0 12px 0 2px; 2510 font-size: 0.875rem; 2511 font-weight: 600; 2512 text-decoration: none; 2513 background: transparent; 2514 /* Only for IE11 to vertically align text within the inline-flex button */ 2515 height: 0.1%; 2516 /* Modern browsers */ 2517 min-height: 40px; 2518 } 2519 2520 .wp-core-ui .button.media-frame-menu-toggle:hover, 2521 .wp-core-ui .button.media-frame-menu-toggle:active { 2522 background: transparent; 2523 transform: none; 2524 } 2525 2526 .wp-core-ui .button.media-frame-menu-toggle:focus { 2527 /* Only visible in Windows High Contrast mode */ 2528 outline: 1px solid transparent; 2529 } 2530 /* End drop-down menu */ 2531 2532 .media-sidebar { 2533 width: 230px; 2534 } 2535 2536 .options-general-php .crop-content.site-icon, 2537 .wp-customizer:not(.mobile) .media-frame-content .crop-content.site-icon { 2538 margin-left: 262px; 2539 } 2540 2541 .attachments-browser .attachments, 2542 .attachments-browser .uploader-inline, 2543 .attachments-browser .media-toolbar, 2544 .attachments-browser .attachments-wrapper, 2545 .attachments-browser.has-load-more .attachments-wrapper { 2546 left: 262px; 2547 } 2548 2549 .attachments-browser .media-toolbar { 2550 height: 82px; 2551 } 2552 2553 .attachments-browser .attachments, 2554 .attachments-browser .uploader-inline, 2555 .media-frame-content .attachments-browser .attachments-wrapper { 2556 top: 82px; 2557 } 2558 2559 .media-sidebar .setting, 2560 .attachment-details .setting { 2561 margin: 6px 0; 2562 } 2563 2564 .media-sidebar .setting input, 2565 .media-sidebar .setting textarea, 2566 .media-sidebar .setting .name, 2567 .attachment-details .setting input, 2568 .attachment-details .setting textarea, 2569 .attachment-details .setting .name, 2570 .compat-item label span { 2571 float: none; 2572 display: inline-block; 2573 } 2574 2575 .media-sidebar .setting span, /* Back-compat for pre-5.3 */ 2576 .attachment-details .setting span, /* Back-compat for pre-5.3 */ 2577 .media-sidebar .checkbox-label-inline { 2578 float: none; 2579 } 2580 2581 .media-sidebar .setting .select-label-inline { 2582 display: inline; 2583 } 2584 2585 .media-sidebar .setting .name, 2586 .media-sidebar .checkbox-label-inline, 2587 .attachment-details .setting .name, 2588 .compat-item label span { 2589 text-align: inherit; 2590 min-height: 16px; 2591 margin: 0; 2592 padding: 8px 2px 2px; 2593 } 2594 2595 /* Needs high specificity. */ 2596 .media-sidebar .setting .copy-to-clipboard-container, 2597 .attachment-details .attachment-info .copy-to-clipboard-container { 2598 margin-right: 0; 2599 padding-top: 0; 2600 } 2601 2602 .media-sidebar .setting .copy-attachment-url, 2603 .attachment-details .attachment-info .copy-attachment-url { 2604 margin: 0 1px; 2605 } 2606 2607 .media-sidebar .setting .value, 2608 .attachment-details .setting .value { 2609 float: none; 2610 width: auto; 2611 } 2612 2613 .media-sidebar .setting input[type="text"], 2614 .media-sidebar .setting input[type="password"], 2615 .media-sidebar .setting input[type="email"], 2616 .media-sidebar .setting input[type="number"], 2617 .media-sidebar .setting input[type="search"], 2618 .media-sidebar .setting input[type="tel"], 2619 .media-sidebar .setting input[type="url"], 2620 .media-sidebar .setting textarea, 2621 .media-sidebar .setting select, 2622 .attachment-details .setting input[type="text"], 2623 .attachment-details .setting input[type="password"], 2624 .attachment-details .setting input[type="email"], 2625 .attachment-details .setting input[type="number"], 2626 .attachment-details .setting input[type="search"], 2627 .attachment-details .setting input[type="tel"], 2628 .attachment-details .setting input[type="url"], 2629 .attachment-details .setting textarea, 2630 .attachment-details .setting select, 2631 .attachment-details .setting + .description { 2632 float: none; 2633 width: 98%; 2634 max-width: none; 2635 height: auto; 2636 } 2637 2638 .media-frame .media-toolbar input[type="search"] { 2639 line-height: 2.25; /* 36px */ 2640 } 2641 2642 .media-sidebar .setting select.columns, 2643 .attachment-details .setting select.columns { 2644 width: auto; 2645 } 2646 2647 .media-frame input, 2648 .media-frame textarea, 2649 .media-frame .search { 2650 padding: 3px 6px; 2651 } 2652 2653 .wp-admin .media-frame select { 2654 min-height: 40px; 2655 font-size: 16px; 2656 line-height: 1.625; 2657 padding: 5px 8px 5px 24px; 2658 } 2659 2660 .image-details .column-image { 2661 width: 30%; 2662 right: 70%; 2663 } 2664 2665 .image-details .column-settings { 2666 width: 70%; 2667 } 2668 2669 .image-details .media-modal { 2670 right: 30px; 2671 left: 30px; 2672 } 2673 2674 .image-details .embed-media-settings .setting, 2675 .image-details .embed-media-settings .setting-group { 2676 margin: 20px; 2677 } 2678 2679 .image-details .embed-media-settings .setting span, /* Back-compat for pre-5.3 */ 2680 .image-details .embed-media-settings .setting .name { 2681 float: none; 2682 text-align: right; 2683 width: 100%; 2684 margin-bottom: 4px; 2685 margin-right: 0; 2686 } 2687 2688 .media-modal .legend-inline { 2689 position: static; 2690 transform: none; 2691 margin-right: 0; 2692 margin-bottom: 6px; 2693 } 2694 2695 .image-details .embed-media-settings .setting-group .setting { 2696 margin-bottom: 0; 2697 } 2698 2699 .image-details .embed-media-settings .setting input.link-to-custom, 2700 .image-details .embed-media-settings .setting input[type="text"], 2701 .image-details .embed-media-settings .setting textarea { 2702 width: 100%; 2703 margin-right: 0; 2704 } 2705 2706 .image-details .embed-media-settings .setting.has-description { 2707 margin-bottom: 5px; 2708 } 2709 2710 .image-details .description { 2711 width: auto; 2712 margin: 0 20px; 2713 } 2714 2715 .image-details .embed-media-settings .custom-size { 2716 margin-right: 20px; 2717 } 2718 2719 .collection-settings .setting input[type="checkbox"] { 2720 float: none; 2721 margin-top: 0; 2722 } 2723 2724 .media-selection { 2725 min-width: 120px; 2726 } 2727 2728 .media-selection:after { 2729 background: none; 2730 } 2731 2732 .media-selection .attachments { 2733 display: none; 2734 } 2735 2736 .media-modal .attachments-browser .media-toolbar .search { 2737 max-width: 100%; 2738 height: auto; 2739 float: left; 2740 } 2741 2742 .media-modal .attachments-browser .media-toolbar .attachment-filters { 2743 height: auto; 2744 } 2745 2746 /* Text inputs need to be 16px, or they force zooming on iOS */ 2747 .media-frame input[type="text"], 2748 .media-frame input[type="password"], 2749 .media-frame input[type="number"], 2750 .media-frame input[type="search"], 2751 .media-frame input[type="email"], 2752 .media-frame input[type="url"], 2753 .media-frame textarea, 2754 .media-frame select { 2755 font-size: 16px; 2756 line-height: 1.5; 2757 } 2758 2759 .media-frame .media-toolbar input[type="search"] { 2760 line-height: 2.3755; /* 38px */ 2761 } 2762 2763 .media-modal .media-toolbar .spinner { 2764 margin-bottom: 10px; 2765 } 2766 } 2767 2768 @media screen and (max-width: 782px) { 2769 .imgedit-panel-content { 2770 grid-template-columns: auto; 2771 } 2772 2773 .media-frame-toolbar .media-toolbar { 2774 bottom: -54px; 2775 } 2776 2777 .mode-grid .attachments-browser .media-toolbar-primary { 2778 display: grid; 2779 grid-template-columns: auto 1fr; 2780 } 2781 2782 .mode-grid .attachments-browser .media-toolbar-primary input[type="search"] { 2783 width: 100%; 2784 } 2785 2786 .media-sidebar .copy-to-clipboard-container .success, 2787 .attachment-details .copy-to-clipboard-container .success { 2788 font-size: 14px; 2789 line-height: 2.71428571; 2790 } 2791 2792 .media-frame .wp-filter .media-toolbar-secondary { 2793 position: unset; 2794 } 2795 2796 .media-frame .media-toolbar-secondary .spinner { 2797 position: absolute; 2798 top: 0; 2799 bottom: 0; 2800 margin: auto; 2801 right: 0; 2802 left: 0; 2803 z-index: 9; 2804 } 2805 2806 .media-bg-overlay { 2807 content: ''; 2808 background: #ffffff; 2809 width: 100%; 2810 height: 100%; 2811 display: none; 2812 position: absolute; 2813 right: 0; 2814 left: 0; 2815 top: 0; 2816 bottom: 0; 2817 opacity: 0.6; 2818 } 2819 } 2820 2821 /* Responsive on portrait and landscape */ 2822 @media only screen and (max-width: 640px), screen and (max-height: 400px) { 2823 /* Full-bleed modal */ 2824 .media-modal, 2825 .image-details .media-modal { 2826 position: fixed; 2827 top: 0; 2828 right: 0; 2829 left: 0; 2830 bottom: 0; 2831 } 2832 2833 .media-modal-backdrop { 2834 position: fixed; 2835 } 2836 2837 .options-general-php .crop-content.site-icon, 2838 .wp-customizer:not(.mobile) .media-frame-content .crop-content.site-icon { 2839 margin-left: 0; 2840 } 2841 2842 .media-sidebar { 2843 z-index: 1900; 2844 max-width: 70%; 2845 bottom: 120%; 2846 box-sizing: border-box; 2847 padding-bottom: 0; 2848 } 2849 2850 .media-sidebar.visible { 2851 bottom: 0; 2852 } 2853 2854 .attachments-browser .attachments, 2855 .attachments-browser .uploader-inline, 2856 .attachments-browser .media-toolbar, 2857 .media-frame-content .attachments-browser .attachments-wrapper { 2858 left: 0; 2859 } 2860 2861 .image-details .media-frame-title { 2862 display: block; 2863 top: 0; 2864 font-size: 14px; 2865 } 2866 2867 .image-details .column-image, 2868 .image-details .column-settings { 2869 width: 100%; 2870 position: relative; 2871 right: 0; 2872 } 2873 2874 .image-details .column-settings { 2875 padding: 4px 0; 2876 } 2877 2878 /* Media tabs on the top */ 2879 .media-frame-content .media-toolbar .instructions { 2880 display: none; 2881 } 2882 2883 /* Change margin direction on load more button in responsive views. */ 2884 .load-more-wrapper .load-more-jump { 2885 margin: 12px 0 0; 2886 } 2887 2888 } 2889 2890 @media only screen and (min-width: 901px) and (max-height: 400px) { 2891 .media-menu, 2892 .media-frame:not(.hide-menu) .media-menu { 2893 top: 0; 2894 padding-top: 44px; 2895 } 2896 2897 /* Change margin direction on load more button in responsive views. */ 2898 .load-more-wrapper .load-more-jump { 2899 margin: 12px 0 0; 2900 } 2901 2902 } 2903 2904 @media only screen and (max-width: 480px) { 2905 .wp-core-ui.wp-customizer .media-button { 2906 margin-top: 13px; 2907 } 2908 } 2909 2910 /** 2911 * HiDPI Displays 2912 */ 2913 @media print, 2914 (min-resolution: 120dpi) { 2915 2916 .wp-core-ui .media-modal-icon { 2917 background-image: url(../images/uploader-icons-2x.png); 2918 background-size: 134px 15px; 2919 } 2920 2921 .media-frame .spinner { 2922 background-image: url(../images/spinner-2x.gif); 2923 } 2924 } 2925 2926 .media-frame-content[data-columns="1"] .attachment { 2927 width: 100%; 2928 } 2929 2930 .media-frame-content[data-columns="2"] .attachment { 2931 width: 50%; 2932 } 2933 2934 .media-frame-content[data-columns="3"] .attachment { 2935 width: 33.33%; 2936 } 2937 2938 .media-frame-content[data-columns="4"] .attachment { 2939 width: 25%; 2940 } 2941 2942 .media-frame-content[data-columns="5"] .attachment { 2943 width: 20%; 2944 } 2945 2946 .media-frame-content[data-columns="6"] .attachment { 2947 width: 16.66%; 2948 } 2949 2950 .media-frame-content[data-columns="7"] .attachment { 2951 width: 14.28%; 2952 } 2953 2954 .media-frame-content[data-columns="8"] .attachment { 2955 width: 12.5%; 2956 } 2957 2958 .media-frame-content[data-columns="9"] .attachment { 2959 width: 11.11%; 2960 } 2961 2962 .media-frame-content[data-columns="10"] .attachment { 2963 width: 10%; 2964 } 2965 2966 .media-frame-content[data-columns="11"] .attachment { 2967 width: 9.09%; 2968 } 2969 2970 .media-frame-content[data-columns="12"] .attachment { 2971 width: 8.33%; 2972 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Mon Dec 1 08:20:04 2025 | Cross-referenced by PHPXref |