Ticket #28844: 28844.9.diff
File 28844.9.diff, 3.1 KB (added by , 10 years ago) |
---|
-
src/wp-includes/css/media-views.css
1364 1364 padding: 0; 1365 1365 margin: 0; 1366 1366 -webkit-box-shadow: none; 1367 box-shadow: none; 1367 box-shadow: none; 1368 1368 } 1369 1369 1370 1370 .media-selection .attachment .thumbnail { … … 1496 1496 1497 1497 .attachment-info .details .setting .name { 1498 1498 float: left; 1499 margin: 8px 1% 0 1%!important;1499 margin: 1px 0 0 0 !important; 1500 1500 padding: 0; 1501 1501 line-height: 1.1; 1502 1502 } … … 1505 1505 padding-top: 3px; 1506 1506 } 1507 1507 1508 .attachment-info .setting .value {1509 font-style: italic;1510 }1511 1512 1508 .attachment-info .filename { 1513 1509 font-weight: bold; 1514 1510 color: #464646; … … 2817 2813 margin: 1px 0; 2818 2814 } 2819 2815 2816 .edit-attachment-frame .attachment-info .details .setting { 2817 margin: 0; 2818 } 2819 2820 2820 .edit-attachment-frame .attachment-info .setting label { 2821 2821 display: block; 2822 2822 } … … 2854 2854 color: #666; 2855 2855 } 2856 2856 2857 .edit-attachment-frame .attachment-info .details .setting span { 2858 padding-top: 0; 2859 } 2860 2857 2861 .edit-attachment-frame .attachment-info .setting input[type="text"], 2858 2862 .edit-attachment-frame .attachment-info .setting input[type="password"], 2859 2863 .edit-attachment-frame .attachment-info .setting input[type="email"], … … 2871 2875 box-sizing: border-box; 2872 2876 } 2873 2877 2878 .edit-attachment-frame .attachment-info .details .setting .value { 2879 margin: 0; 2880 } 2881 2874 2882 .edit-attachment-frame .attachment-info .setting textarea { 2875 2883 height: 62px; 2876 2884 resize: vertical; -
src/wp-includes/media-template.php
311 311 <span class="saved"><?php esc_html_e('Saved.'); ?></span> 312 312 </span> 313 313 <div class="details"> 314 <h3><?php _e('Attachment Details'); ?></h3>315 314 <div class="filename setting"> 316 315 <span class="name"><?php _e( 'File name' ); ?></span> <span class="value">{{ data.filename }}</span> 317 316 </div> … … 343 342 </div> 344 343 <# } #> 345 344 346 <label class="url setting" data-setting="url">347 <span class="name"><?php _e( 'URL' ); ?></span>348 <input type="text" value="{{ data.url }}" readonly />349 </label>350 351 345 <div class="compat-meta"> 352 346 <# if ( data.compat && data.compat.meta ) { #> 353 347 {{{ data.compat.meta }}} … … 356 350 </div> 357 351 358 352 <div class="settings advanced-section"> 359 <h3><a class="advanced-toggle" href="#"><?php _e( 'Attachment Meta' ); ?></a></h3> 360 <div class="advanced-settings hidden"> 353 <div class="advanced-settings"> 361 354 <# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #> 355 <label class="url setting" data-setting="url"> 356 <span class="name"><?php _e( 'URL' ); ?></span> 357 <input type="text" value="{{ data.url }}" readonly /> 358 </label> 362 359 <label class="setting" data-setting="title"> 363 360 <span class="name"><?php _e( 'Title' ); ?></span> 364 361 <input type="text" value="{{ data.title }}" {{ maybeReadOnly }} />