[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/css/ -> media-rtl.css (source)

   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  
 380  @media screen and (max-width: 660px) {
 381  
 382      .find-box {
 383          top: 0;
 384          bottom: 0;
 385          right: 0;
 386          left: 0;
 387          margin: 0;
 388          width: 100%;
 389      }
 390  
 391  }
 392  
 393  .ui-find-overlay {
 394      position: fixed;
 395      top: 0;
 396      right: 0;
 397      left: 0;
 398      bottom: 0;
 399      background: #000;
 400      opacity: 0.7;
 401      filter: alpha(opacity=70);
 402      z-index: 100100;
 403  }
 404  
 405  .drag-drop #drag-drop-area {
 406      border: 4px dashed #c3c4c7;
 407      height: 200px;
 408  }
 409  
 410  .drag-drop .drag-drop-inside {
 411      margin: 60px auto 0;
 412      width: 250px;
 413  }
 414  
 415  .drag-drop-inside p {
 416      font-size: 14px;
 417      margin: 5px 0;
 418      display: none;
 419  }
 420  
 421  .drag-drop .drag-drop-inside p {
 422      text-align: center;
 423  }
 424  
 425  .drag-drop-inside p.drag-drop-info {
 426      font-size: 20px;
 427  }
 428  
 429  .drag-drop .drag-drop-inside p,
 430  .drag-drop-inside p.drag-drop-buttons {
 431      display: block;
 432  }
 433  
 434  /*
 435  #drag-drop-area:-moz-drag-over {
 436      border-color: #83b4d8;
 437  }
 438  border color while dragging a file over the uploader drop area */
 439  .drag-drop.drag-over #drag-drop-area {
 440      border-color: #9ec2e6;
 441  }
 442  
 443  #plupload-upload-ui {
 444      position: relative;
 445  }
 446  
 447  .post-type-attachment .wp-filter select {
 448      margin: 0 0 0 6px;
 449  }
 450  
 451  /**
 452   * Media Library grid view
 453   */
 454  
 455  .media-frame.mode-grid,
 456  .media-frame.mode-grid .media-frame-content,
 457  .media-frame.mode-grid .attachments-browser:not(.has-load-more) .attachments,
 458  .media-frame.mode-grid .attachments-browser.has-load-more .attachments-wrapper,
 459  .media-frame.mode-grid .uploader-inline-content {
 460      position: static;
 461  }
 462  
 463  /* Regions we don't use at all */
 464  .media-frame.mode-grid .media-frame-title,
 465  .media-frame.mode-grid .media-frame-router,
 466  .media-frame.mode-grid .media-frame-menu {
 467      display: none;
 468  }
 469  
 470  .media-frame.mode-grid .media-frame-content {
 471      background-color: transparent;
 472      border: none;
 473  }
 474  
 475  .upload-php .mode-grid .media-sidebar {
 476      position: relative;
 477      width: auto;
 478      margin-top: 12px;
 479      padding: 0 16px;
 480      border-right: 4px solid #d63638;
 481      box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
 482      background-color: #fff;
 483  }
 484  
 485  .upload-php .mode-grid .hide-sidebar .media-sidebar {
 486      display: none;
 487  }
 488  
 489  .upload-php .mode-grid .media-sidebar .media-uploader-status {
 490      border-bottom: none;
 491      padding-bottom: 0;
 492      max-width: 100%;
 493  }
 494  
 495  .upload-php .mode-grid .media-sidebar .upload-error {
 496      margin: 12px 0;
 497      padding: 4px 0 0;
 498      border: none;
 499      box-shadow: none;
 500      background: none;
 501  }
 502  
 503  .upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2 {
 504      display: none;
 505  }
 506  
 507  .media-frame.mode-grid .uploader-inline {
 508      position: relative;
 509      top: auto;
 510      left: auto;
 511      right: auto;
 512      bottom: auto;
 513      padding-top: 0;
 514      margin-top: 20px;
 515      border: 4px dashed #c3c4c7;
 516  }
 517  
 518  .media-frame.mode-select .attachments-browser.fixed:not(.has-load-more) .attachments,
 519  .media-frame.mode-select .attachments-browser.has-load-more.fixed .attachments-wrapper {
 520      position: relative;
 521      top: 94px; /* prevent jumping up when the toolbar becomes fixed */
 522      padding-bottom: 94px; /* offset for above so the bottom doesn't get cut off */
 523  }
 524  
 525  .media-frame.mode-grid .attachment:focus,
 526  .media-frame.mode-grid .selected.attachment:focus,
 527  .media-frame.mode-grid .attachment.details:focus {
 528      box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9);
 529      /* Only visible in Windows High Contrast mode */
 530      outline: 2px solid transparent;
 531      outline-offset: -6px;
 532  }
 533  
 534  .media-frame.mode-grid .selected.attachment {
 535      box-shadow:
 536          inset 0 0 0 5px #f0f0f1,
 537          inset 0 0 0 7px #c3c4c7;
 538  }
 539  
 540  .media-frame.mode-grid .attachment.details {
 541      box-shadow:
 542          inset 0 0 0 3px #f0f0f1,
 543          inset 0 0 0 7px var(--wp-admin-theme-color, #3858e9);
 544  }
 545  
 546  .media-frame.mode-grid.mode-select .attachment .thumbnail {
 547      opacity: 0.65;
 548  }
 549  
 550  .media-frame.mode-select .attachment.selected .thumbnail {
 551      opacity: 1;
 552  }
 553  
 554  .media-frame.mode-grid .media-toolbar {
 555      margin-bottom: 15px;
 556      height: auto;
 557  }
 558  
 559  .media-frame.mode-grid .media-toolbar label:not(.media-search-input-label) {
 560      border: 0;
 561      clip-path: inset(50%);
 562      height: 1px;
 563      margin: -1px;
 564      overflow: hidden;
 565      padding: 0;
 566      position: absolute;
 567      width: 1px;
 568      /* Many screen reader and browser combinations announce broken words as they would appear visually. */
 569      word-wrap: normal !important;
 570      word-break: normal !important;
 571  }
 572  
 573  .media-frame.mode-grid .media-toolbar select {
 574      margin: 0 0 0 10px;
 575      min-height: 32px;
 576      line-height: 2.14285714; /* 30px for 32px height with 14px font */
 577      padding: 0 8px 0 24px;
 578  }
 579  
 580  .media-frame.mode-grid .media-toolbar input[type="search"] {
 581      min-height: 32px;
 582      padding: 0 8px;
 583  }
 584  
 585  .media-frame.mode-grid .media-toolbar-secondary {
 586      display: flex;
 587      flex-wrap: wrap;
 588      align-items: center;
 589      gap: 8px;
 590  }
 591  
 592  .media-frame.mode-grid.mode-edit .media-toolbar-secondary > .select-mode-toggle-button {
 593      margin: 0 0 0 8px;
 594      height: 100%;
 595  }
 596  
 597  .media-frame.mode-grid .attachments-browser .bulk-select {
 598      display: inline-block;
 599      margin: 0 0 0 10px;
 600  }
 601  
 602  .media-frame.mode-grid .search {
 603      margin-top: 0;
 604  }
 605  
 606  .media-frame-content .media-search-input-label {
 607      vertical-align: baseline;
 608  }
 609  
 610  .attachments-browser .media-toolbar-secondary > .media-button {
 611      margin-left: 10px;
 612  }
 613  
 614  .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
 615      position: fixed;
 616      top: 32px;
 617      right: auto;
 618      left: 20px;
 619      margin-top: 0;
 620  }
 621  
 622  .media-frame.mode-grid .attachments-browser {
 623      padding: 0;
 624  }
 625  
 626  .media-frame.mode-grid .attachments-browser .attachments {
 627      padding: 2px;
 628  }
 629  
 630  .media-frame.mode-grid .attachments-browser .no-media {
 631      color: #646970; /* same as no plugins and no themes */
 632      font-size: 18px;
 633      font-style: normal;
 634      margin: 0;
 635      padding: 100px 0 0;
 636      text-align: center;
 637  }
 638  
 639  /**
 640   * Attachment details modal
 641   */
 642  
 643  .edit-attachment-frame {
 644      display: block;
 645      height: 100%;
 646      width: 100%;
 647  }
 648  
 649  .edit-attachment-frame .edit-media-header {
 650      overflow: hidden;
 651  }
 652  
 653  .upload-php .media-modal-close .media-modal-icon:before {
 654      content: "\f335";
 655      content: "\f335" / '';
 656      font-size: 22px;
 657  }
 658  
 659  .upload-php .media-modal-close,
 660  .edit-attachment-frame .edit-media-header .left,
 661  .edit-attachment-frame .edit-media-header .right {
 662      cursor: pointer;
 663      color: #787c82;
 664      background-color: transparent;
 665      height: 50px;
 666      width: 50px;
 667      padding: 0;
 668      position: absolute;
 669      text-align: center;
 670      border: 0;
 671      border-right: 1px solid #dcdcde;
 672      transition: color .1s ease-in-out, background .1s ease-in-out;
 673  }
 674  
 675  .upload-php .media-modal-close {
 676      top: 0;
 677      left: 0;
 678  }
 679  
 680  .edit-attachment-frame .edit-media-header .left {
 681      left: 102px;
 682  }
 683  
 684  .edit-attachment-frame .edit-media-header .right {
 685      left: 51px;
 686  }
 687  
 688  .edit-attachment-frame .media-frame-title {
 689      right: 0;
 690      left: 150px; /* leave space for prev/next/close */
 691  }
 692  
 693  .edit-attachment-frame .edit-media-header .right:before,
 694  .edit-attachment-frame .edit-media-header .left:before {
 695      font: normal 20px/50px dashicons !important;
 696      display: inline;
 697      font-weight: 300;
 698  }
 699  
 700  .upload-php .media-modal-close:hover,
 701  .upload-php .media-modal-close:focus,
 702  .edit-attachment-frame .edit-media-header .left:hover,
 703  .edit-attachment-frame .edit-media-header .right:hover,
 704  .edit-attachment-frame .edit-media-header .left:focus,
 705  .edit-attachment-frame .edit-media-header .right:focus {
 706      background: #dcdcde;
 707      border-color: #c3c4c7;
 708      color: #000;
 709      outline: none;
 710      box-shadow: none;
 711  }
 712  
 713  .upload-php .media-modal-close:focus,
 714  .edit-attachment-frame .edit-media-header .left:focus,
 715  .edit-attachment-frame .edit-media-header .right:focus {
 716      /* Only visible in Windows High Contrast mode */
 717      outline: 2px solid transparent;
 718      outline-offset: -2px;
 719  }
 720  
 721  .upload-php .media-modal-close:focus .media-modal-icon:before,
 722  .upload-php .media-modal-close:hover .media-modal-icon:before {
 723      color: #000;
 724  }
 725  
 726  .edit-attachment-frame .edit-media-header .left:before {
 727      content: "\f345";
 728      content: "\f341" / '';
 729  }
 730  
 731  .edit-attachment-frame .edit-media-header .right:before {
 732      content: "\f341";
 733      content: "\f345" / '';
 734  }
 735  
 736  .edit-attachment-frame .edit-media-header [disabled],
 737  .edit-attachment-frame .edit-media-header [disabled]:hover {
 738      color: #c3c4c7;
 739      background: inherit;
 740      cursor: default;
 741  }
 742  
 743  .edit-attachment-frame .media-frame-content,
 744  .edit-attachment-frame .media-frame-router {
 745      right: 0;
 746  }
 747  
 748  .edit-attachment-frame .media-frame-content {
 749      border-bottom: none;
 750      bottom: 0;
 751      top: 50px;
 752  }
 753  
 754  .edit-attachment-frame .attachment-details {
 755      position: absolute;
 756      overflow: auto;
 757      top: 0;
 758      bottom: 0;
 759      left: 0;
 760      right: 0;
 761      box-shadow: inset 0 4px 4px -4px rgba(0, 0, 0, 0.1);
 762  }
 763  
 764  .edit-attachment-frame .attachment-media-view {
 765      float: right;
 766      width: 65%;
 767      height: 100%;
 768  }
 769  
 770  .edit-attachment-frame .attachment-media-view .thumbnail {
 771      box-sizing: border-box;
 772      padding: 16px;
 773      height: 100%;
 774  }
 775  
 776  .edit-attachment-frame .attachment-media-view .details-image {
 777      display: block;
 778      margin: 0 auto 16px;
 779      max-width: 100%;
 780      max-height: 90%;
 781      max-height: calc( 100% - 42px ); /* leave space for actions underneath */
 782      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);
 783      background-position: 100% 0, 10px 10px;
 784      background-size: 20px 20px;
 785  }
 786  
 787  .edit-attachment-frame .attachment-media-view .details-image.icon {
 788      background: none;
 789  }
 790  
 791  .edit-attachment-frame .attachment-media-view .attachment-actions {
 792      text-align: center;
 793  }
 794  
 795  .edit-attachment-frame .button {
 796      min-height: 32px;
 797      line-height: 2.30769231; /* 30px for 32px height with 13px font */
 798      padding: 0 12px;
 799  }
 800  
 801  .edit-attachment-frame .wp-media-wrapper {
 802      margin-bottom: 12px;
 803  }
 804  
 805  .edit-attachment-frame input,
 806  .edit-attachment-frame textarea {
 807      padding: 4px 8px;
 808      line-height: 1.42857143;
 809  }
 810  
 811  .edit-attachment-frame .attachment-info {
 812      overflow: auto;
 813      box-sizing: border-box;
 814      margin-bottom: 0;
 815      padding: 12px 16px 0;
 816      width: 35%;
 817      height: 100%;
 818      box-shadow: inset 0 4px 4px -4px rgba(0, 0, 0, 0.1);
 819      border-bottom: 0;
 820      border-right: 1px solid #dcdcde;
 821      background: #f6f7f7;
 822  }
 823  
 824  .edit-attachment-frame .attachment-info .details,
 825  .edit-attachment-frame .attachment-info .settings {
 826      position: relative; /* RTL fix, #WP29352 */
 827      overflow: hidden;
 828      float: none;
 829      margin-bottom: 15px;
 830      padding-bottom: 15px;
 831      border-bottom: 1px solid #dcdcde;
 832  }
 833  
 834  .edit-attachment-frame .attachment-info .filename {
 835      font-weight: 400;
 836      color: #646970;
 837  }
 838  
 839  .edit-attachment-frame .attachment-info .thumbnail {
 840      margin-bottom: 12px;
 841  }
 842  
 843  .attachment-info .actions {
 844      margin-bottom: 16px;
 845  }
 846  
 847  .attachment-info .actions a {
 848      display: inline;
 849      text-decoration: none;
 850  }
 851  
 852  .copy-to-clipboard-container {
 853      display: flex;
 854      align-items: center;
 855      margin-top: 8px;
 856      clear: both;
 857  }
 858  
 859  .copy-to-clipboard-container .copy-attachment-url {
 860      white-space: normal;
 861  }
 862  
 863  .copy-to-clipboard-container .success {
 864      color: #007017;
 865      margin-right: 8px;
 866  }
 867  
 868  /*------------------------------------------------------------------------------
 869    14.2 - Image Editor
 870  ------------------------------------------------------------------------------*/
 871  .wp_attachment_details .attachment-alt-text {
 872      margin-bottom: 5px;
 873  }
 874  
 875  .wp_attachment_details #attachment_alt {
 876      max-width: 500px;
 877      height: 3.28571428em;
 878  }
 879  
 880  .wp_attachment_details .attachment-alt-text-description {
 881      margin-top: 5px;
 882  }
 883  
 884  .wp_attachment_details label[for="content"] {
 885      font-size: 13px;
 886      line-height: 1.5;
 887      margin: 1em 0;
 888  }
 889  
 890  .wp_attachment_details #attachment_caption {
 891      height: 4em;
 892  }
 893  
 894  .describe .image-editor {
 895      vertical-align: top;
 896  }
 897  
 898  .imgedit-wrap {
 899      position: relative;
 900      padding-top: 10px;
 901  }
 902  
 903  .image-editor p,
 904  .image-editor fieldset {
 905      margin: 8px 0;
 906  }
 907  
 908  .image-editor legend {
 909      margin-bottom: 5px;
 910  }
 911  
 912  .describe .imgedit-wrap .image-editor {
 913      padding: 0 5px;
 914  }
 915  
 916  .wp_attachment_holder div.updated {
 917      margin-top: 0;
 918  }
 919  
 920  .wp_attachment_holder .imgedit-wrap > div {
 921      height: auto;
 922  }
 923  
 924  .imgedit-panel-content {
 925      display: flex;
 926      flex-wrap: wrap;
 927      gap: 20px;
 928      margin-bottom: 20px;
 929  }
 930  
 931  .imgedit-settings {
 932      max-width: 240px; /* Prevent reflow when help info is expanded. */
 933  }
 934  
 935  .imgedit-group-controls > * {
 936      display: none;
 937  }
 938  
 939  .imgedit-panel-active .imgedit-group-controls > * {
 940      display: block;
 941  }
 942  
 943  .imgedit-panel-active .imgedit-group-controls > .imgedit-crop-apply {
 944      display: flex;
 945  }
 946  
 947  .imgedit-crop-apply {
 948      gap: 4px;
 949      flex-wrap: wrap;
 950  }
 951  
 952  .wp_attachment_holder .imgedit-wrap .image-editor {
 953      float: left;
 954      width: 250px;
 955  }
 956  
 957  .image-editor input {
 958      margin-top: 0;
 959      vertical-align: middle;
 960  }
 961  
 962  .imgedit-wait {
 963      position: absolute;
 964      top: 0;
 965      bottom: 0;
 966      width: 100%;
 967      background: #fff;
 968      opacity: 0.7;
 969      filter: alpha(opacity=70);
 970      display: none;
 971  }
 972  
 973  .imgedit-wait:before {
 974      content: "";
 975      display: block;
 976      width: 20px;
 977      height: 20px;
 978      position: absolute;
 979      right: 50%;
 980      top: 50%;
 981      margin: -10px -10px 0 0;
 982      background: transparent url(../images/spinner.gif) no-repeat center;
 983      background-size: 20px 20px;
 984      transform: translateZ(0);
 985  }
 986  
 987  .no-float {
 988      float: none;
 989  }
 990  
 991  .media-disabled,
 992  .image-editor .disabled {
 993      /* WCAG 1.4.3 Text or images of text that are part of an inactive user
 994         interface component ... have no contrast requirement. */
 995      color: #a7aaad;
 996  }
 997  
 998  .A1B1 {
 999      overflow: hidden;
1000  }
1001  
1002  .wp_attachment_image .button,
1003  .A1B1 .button {
1004      float: right;
1005  }
1006  
1007  .no-js .wp_attachment_image .button {
1008      display: none;
1009  }
1010  
1011  .wp_attachment_image .spinner,
1012  .A1B1 .spinner {
1013      float: right;
1014  }
1015  
1016  .imgedit-menu .note-no-rotate {
1017      clear: both;
1018      margin: 0;
1019      padding: 1em 0 0;
1020  }
1021  
1022  .imgedit-menu .button:after,
1023  .imgedit-menu .button:before {
1024      font: normal 16px/1 dashicons;
1025      margin-left: 8px;
1026      vertical-align: middle;
1027      position: relative;
1028      top: -2px;
1029      -webkit-font-smoothing: antialiased;
1030      -moz-osx-font-smoothing: grayscale;
1031  }
1032  
1033  .imgedit-menu .imgedit-rotate.button:after {
1034      content: '\f140';
1035      margin-right: 2px;
1036      margin-left: 0;
1037  }
1038  
1039  .imgedit-menu .imgedit-rotate.button[aria-expanded="true"]:after {
1040      content: '\f142';
1041  }
1042  
1043  .imgedit-menu .button.disabled {
1044      color: #a7aaad;
1045      border-color: #dcdcde;
1046      background: #f6f7f7;
1047      box-shadow: none;
1048      text-shadow: 0 1px 0 #fff;
1049      cursor: default;
1050      transform: none;
1051  }
1052  
1053  .imgedit-crop:before {
1054      content: "\f165";
1055      content: "\f165" / '';
1056  }
1057  
1058  .imgedit-scale:before {
1059      content: "\f211";
1060      content: "\f211" / '';
1061  }
1062  
1063  .imgedit-rotate:before {
1064      content: "\f167";
1065      content: "\f167" / '';
1066  }
1067  
1068  .imgedit-undo:before {
1069      content: "\f171";
1070      content: "\f171" / '';
1071  }
1072  
1073  .imgedit-redo:before {
1074      content: "\f172";
1075      content: "\f172" / '';
1076  }
1077  
1078  .imgedit-crop-wrap {
1079      position: relative;
1080  }
1081  
1082  .imgedit-crop-wrap img {
1083      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);
1084      background-position: 100% 0, 10px 10px;
1085      background-size: 20px 20px;
1086  }
1087  
1088  .imgedit-crop-wrap {
1089      padding: 20px;
1090      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);
1091      background-position: 100% 0, 10px 10px;
1092      background-size: 20px 20px;
1093  }
1094  
1095  
1096  .imgedit-crop {
1097      margin: 0 0 0 8px;
1098  }
1099  
1100  .imgedit-rotate {
1101      margin: 0 3px 0 8px;
1102  }
1103  
1104  .imgedit-undo {
1105      margin: 0 3px;
1106  }
1107  
1108  .imgedit-redo {
1109      margin: 0 3px 0 8px;
1110  }
1111  
1112  .imgedit-thumbnail-preview-group {
1113      display: flex;
1114      flex-wrap: wrap;
1115      column-gap: 10px;
1116  }
1117  
1118  .imgedit-thumbnail-preview {
1119      margin: 10px 0 0 8px;
1120  }
1121  
1122  .imgedit-thumbnail-preview-caption {
1123      display: block;
1124  }
1125  
1126  #poststuff .imgedit-group-top h2 {
1127      display: inline-block;
1128      margin: 0;
1129      padding: 0;
1130      font-size: 14px;
1131      line-height: 1.4;
1132  }
1133  
1134  #poststuff .imgedit-group-top .button-link {
1135      text-decoration: none;
1136      color: #1d2327;
1137  }
1138  
1139  .imgedit-applyto .imgedit-label {
1140      display: block;
1141      padding: .5em 0 0;
1142  }
1143  
1144  .imgedit-popup-menu,
1145  .imgedit-help {
1146      display: none;
1147      padding-bottom: 8px;
1148  }
1149  
1150  .imgedit-panel-tools > .imgedit-menu {
1151      display: flex;
1152      column-gap: 4px;
1153      align-items: flex-start;
1154      flex-wrap: wrap;
1155  }
1156  
1157  .imgedit-popup-menu {
1158      width: calc( 100% - 20px );
1159      position: absolute;
1160      background: #fff;
1161      padding: 10px;
1162      box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
1163  }
1164  
1165  .image-editor .imgedit-menu .imgedit-popup-menu button {
1166      display: block;
1167      margin: 2px 0;
1168      width: 100%;
1169      white-space: break-spaces;
1170      line-height: 1.5;
1171      padding-top: 3px;
1172      padding-bottom: 2px;
1173  }
1174  
1175  .imgedit-rotate-menu-container {
1176      position: relative;
1177  }
1178  
1179  .imgedit-help.imgedit-restore {
1180      padding-bottom: 0;
1181  }
1182  
1183  /* higher specificity than buttons */
1184  .image-editor .imgedit-settings .imgedit-help-toggle,
1185  .image-editor .imgedit-settings .imgedit-help-toggle:hover,
1186  .image-editor .imgedit-settings .imgedit-help-toggle:active {
1187      border: 1px solid transparent;
1188      margin: -1px -1px 0 0;
1189      padding: 0;
1190      background: transparent;
1191      color: #2271b1;
1192      font-size: 20px;
1193      line-height: 1;
1194      cursor: pointer;
1195      box-sizing: content-box;
1196      box-shadow: none;
1197  }
1198  
1199  .image-editor .imgedit-settings .imgedit-help-toggle:focus {
1200      color: #2271b1;
1201      border-color: #2271b1;
1202      box-shadow: 0 0 0 1px #2271b1;
1203      /* Only visible in Windows High Contrast mode */
1204      outline: 2px solid transparent;
1205  }
1206  
1207  .form-table td.imgedit-response {
1208      padding: 0;
1209  }
1210  
1211  .imgedit-submit-btn {
1212      margin-right: 20px;
1213  }
1214  
1215  .imgedit-wrap .nowrap {
1216      white-space: nowrap;
1217      font-size: 12px;
1218      line-height: inherit;
1219  }
1220  
1221  span.imgedit-scale-warn {
1222      display: flex;
1223      align-items: center;
1224      margin: 4px;
1225      gap: 4px;
1226      color: #b32d2e;
1227      font-style: normal;
1228      visibility: hidden;
1229      vertical-align: middle;
1230  }
1231  
1232  .imgedit-save-target {
1233      margin: 8px 0;
1234  }
1235  
1236  .imgedit-save-target legend {
1237      font-weight: 600;
1238  }
1239  
1240  .imgedit-group {
1241      margin-bottom: 20px;
1242  }
1243  
1244  .image-editor .imgedit-original-dimensions {
1245      display: inline-block;
1246  }
1247  
1248  .image-editor .imgedit-scale-controls input[type="text"],
1249  .image-editor .imgedit-crop-ratio input[type="text"],
1250  .image-editor .imgedit-crop-sel input[type="text"],
1251  .image-editor .imgedit-scale-controls input[type="number"],
1252  .image-editor .imgedit-crop-ratio input[type="number"],
1253  .image-editor .imgedit-crop-sel input[type="number"] {
1254      width: 80px;
1255      font-size: 14px;
1256      padding: 0 8px;
1257  }
1258  
1259  .imgedit-separator {
1260      display: inline-block;
1261      width: 7px;
1262      text-align: center;
1263      font-size: 13px;
1264      color: #3c434a;
1265  }
1266  
1267  .image-editor .imgedit-scale-button-wrapper {
1268      margin-top: 0.3077em;
1269      display: block;
1270  }
1271  
1272  .image-editor .imgedit-scale-controls .button {
1273      margin-bottom: 0;
1274  }
1275  
1276  audio, video {
1277      display: inline-block;
1278      max-width: 100%;
1279  }
1280  
1281  .wp-core-ui .mejs-container {
1282      width: 100%;
1283      max-width: 100%;
1284  }
1285  
1286  .wp-core-ui .mejs-container * {
1287      box-sizing: border-box;
1288  }
1289  
1290  .wp-core-ui .mejs-time {
1291      box-sizing: content-box;
1292  }
1293  
1294  /* =Media Queries
1295  -------------------------------------------------------------- */
1296  
1297  /**
1298   * HiDPI Displays
1299   */
1300  @media print,
1301    (min-resolution: 120dpi) {
1302      .imgedit-wait:before {
1303          background-image: url(../images/spinner-2x.gif);
1304      }
1305  }
1306  
1307  @media screen and (max-width: 782px) {
1308      .edit-attachment-frame input,
1309      .edit-attachment-frame textarea {
1310          line-height: 1.5;
1311      }
1312  
1313      .wp_attachment_details label[for="content"] {
1314          font-size: 14px;
1315          line-height: 1.5;
1316      }
1317  
1318      .wp_attachment_details textarea {
1319          line-height: 1.5;
1320      }
1321  
1322      .wp_attachment_details #attachment_alt {
1323          height: 3.375em;
1324      }
1325  
1326      .media-upload-form .media-item.error,
1327      .media-upload-form .media-item .error {
1328          font-size: 13px;
1329          line-height: 1.5;
1330      }
1331  
1332      .media-upload-form .media-item.error {
1333          padding: 1px 10px;
1334      }
1335  
1336      .media-upload-form .media-item .error {
1337          padding: 10px 12px 10px 0;
1338      }
1339  
1340      .image-editor .imgedit-scale input[type="text"],
1341      .image-editor .imgedit-crop-ratio input[type="text"],
1342      .image-editor .imgedit-crop-sel input[type="text"] {
1343          font-size: 16px;
1344          padding: 6px 10px;
1345      }
1346  
1347      .wp_attachment_holder .imgedit-wrap .imgedit-panel-content,
1348      .wp_attachment_holder .imgedit-wrap .image-editor {
1349          float: none;
1350          width: auto;
1351          max-width: none;
1352          padding-bottom: 16px;
1353      }
1354  
1355      .copy-to-clipboard-container .success {
1356          font-size: 14px;
1357      }
1358  
1359      /* Restructure image editor on narrow viewports. */
1360      .imgedit-crop-wrap img{
1361          width: 100%;
1362      }
1363  
1364      .media-modal .imgedit-wrap .imgedit-panel-content,
1365      .media-modal .imgedit-wrap .image-editor {
1366          position: initial !important;
1367      }
1368  
1369      .media-modal .imgedit-wrap .image-editor {
1370          box-sizing: border-box;
1371          width: 100% !important;
1372      }
1373  
1374      .image-editor .imgedit-scale-button-wrapper {
1375          display: inline-block;
1376      }
1377  }
1378  
1379  @media only screen and (max-width: 600px) {
1380      .media-item-wrapper {
1381          grid-template-columns: 1fr;
1382      }
1383  }
1384  
1385  /**
1386   * Media queries for media grid.
1387   */
1388  @media only screen and (max-width: 1120px) {
1389      /* override for media-views.css */
1390      #wp-media-grid .wp-filter .attachment-filters {
1391          max-width: 100%;
1392      }
1393  }
1394  
1395  @media only screen and (max-width: 1000px) {
1396      /* override for forms.css */
1397      .wp-filter p.search-box {
1398          float: none;
1399          width: 100%;
1400          margin-bottom: 20px;
1401          display: flex;
1402          flex-wrap: nowrap;
1403          column-gap: 0;
1404      }
1405  
1406      .wp-filter p.search-box #media-search-input {
1407          width: 100%;
1408      }
1409  
1410  }
1411  
1412  @media only screen and (max-width: 782px) {
1413      .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
1414          top: 46px;
1415          left: 10px;
1416      }
1417  }
1418  
1419  @media only screen and (max-width: 600px) {
1420      .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
1421          top: 0;
1422      }
1423  }
1424  
1425  @media only screen and (max-width: 480px) {
1426      .edit-attachment-frame .media-frame-title {
1427          left: 110px;
1428      }
1429  
1430      .upload-php .media-modal-close,
1431      .edit-attachment-frame .edit-media-header .left,
1432      .edit-attachment-frame .edit-media-header .right {
1433          width: 40px;
1434          height: 40px;
1435      }
1436  
1437      .edit-attachment-frame .edit-media-header .right:before,
1438      .edit-attachment-frame .edit-media-header .left:before {
1439          line-height: 40px !important;
1440      }
1441  
1442      .edit-attachment-frame .edit-media-header .left {
1443          left: 82px;
1444      }
1445  
1446      .edit-attachment-frame .edit-media-header .right {
1447          left: 41px;
1448      }
1449  
1450      .edit-attachment-frame .media-frame-content {
1451          top: 40px;
1452      }
1453  
1454      .edit-attachment-frame .attachment-media-view {
1455          float: none;
1456          height: auto;
1457          width: 100%;
1458      }
1459  
1460      .edit-attachment-frame .attachment-info {
1461          height: auto;
1462          width: 100%;
1463      }
1464  }
1465  
1466  @media only screen and (max-width: 640px), screen and (max-height: 400px) {
1467      .upload-php .mode-grid .media-sidebar{
1468          max-width: 100%;
1469      }
1470  }
1471  
1472  @media only screen and (max-width: 375px) {
1473      .media-item .attachment-tools {
1474          align-items: baseline;
1475      }
1476      .media-item .edit-attachment.copy-to-clipboard-container {
1477          flex-direction: column;
1478      }
1479  
1480      .copy-to-clipboard-container .success {
1481          line-height: normal;
1482          margin-top: 10px;
1483      }
1484  }


Generated : Thu May 14 08:20:03 2026 Cross-referenced by PHPXref