| 1 | Index: wp-includes/media.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-includes/media.php (revision 22874) |
|---|
| 4 | +++ wp-includes/media.php (working copy) |
|---|
| 5 | @@ -1507,7 +1507,7 @@ |
|---|
| 6 | <script type="text/html" id="tmpl-media-modal"> |
|---|
| 7 | <div class="media-modal"> |
|---|
| 8 | <h3 class="media-modal-title">{{ data.title }}</h3> |
|---|
| 9 | - <a class="media-modal-close" href="" title="<?php esc_attr_e('Close'); ?>">×</a> |
|---|
| 10 | + <a class="media-modal-close" href="" title="<?php esc_attr_e('Close'); ?>"></a> |
|---|
| 11 | </div> |
|---|
| 12 | <div class="media-modal-backdrop"> |
|---|
| 13 | <div></div> |
|---|
| 14 | @@ -1615,7 +1615,7 @@ |
|---|
| 15 | <# } #> |
|---|
| 16 | |
|---|
| 17 | <# if ( data.buttons.check ) { #> |
|---|
| 18 | - <a class="check" href="#"><span>✓</span><span class="dash">–</span></a> |
|---|
| 19 | + <a class="check" href="#"><div></div><div class="dash"></div></a> |
|---|
| 20 | <# } #> |
|---|
| 21 | </div> |
|---|
| 22 | <# if ( data.describe ) { #> |
|---|
| 23 | Index: wp-includes/css/media-views.css |
|---|
| 24 | =================================================================== |
|---|
| 25 | --- wp-includes/css/media-views.css (revision 22874) |
|---|
| 26 | +++ wp-includes/css/media-views.css (working copy) |
|---|
| 27 | @@ -103,6 +103,12 @@ |
|---|
| 28 | text-shadow: 0 0 16px rgba( 0, 0, 0, 0.6 ); |
|---|
| 29 | } |
|---|
| 30 | |
|---|
| 31 | +.media-modal-close { |
|---|
| 32 | + background: url(../images/uploader-icons.png) no-repeat -80px 0; |
|---|
| 33 | + width: 15px; |
|---|
| 34 | + top: -27px; |
|---|
| 35 | +} |
|---|
| 36 | + |
|---|
| 37 | a.media-modal-close { |
|---|
| 38 | color: #fff; |
|---|
| 39 | } |
|---|
| 40 | @@ -648,14 +654,24 @@ |
|---|
| 41 | background-image: linear-gradient(to bottom, #f1f1f1, #e1e1e1); |
|---|
| 42 | } |
|---|
| 43 | |
|---|
| 44 | +.attachment .check div { |
|---|
| 45 | + background: url(../images/uploader-icons.png) no-repeat -1px 0; |
|---|
| 46 | + height: 15px; |
|---|
| 47 | + width: 15px; |
|---|
| 48 | + margin: 5px; |
|---|
| 49 | +} |
|---|
| 50 | + |
|---|
| 51 | .attachment .check .dash { |
|---|
| 52 | + background: url(../images/uploader-icons.png) no-repeat -40px 0; |
|---|
| 53 | + height: 15px; |
|---|
| 54 | + width: 15px; |
|---|
| 55 | font-weight: bold; |
|---|
| 56 | font-size: 18px; |
|---|
| 57 | line-height: 22px; |
|---|
| 58 | } |
|---|
| 59 | |
|---|
| 60 | .attachment .check .dash, |
|---|
| 61 | -.attachment .check:hover span { |
|---|
| 62 | +.attachment .check:hover div { |
|---|
| 63 | display: none; |
|---|
| 64 | } |
|---|
| 65 | |
|---|
| 66 | @@ -677,6 +693,14 @@ |
|---|
| 67 | background-image: linear-gradient(to bottom, #1e8cbe, #0074a2); |
|---|
| 68 | } |
|---|
| 69 | |
|---|
| 70 | +.attachment.details .check div { |
|---|
| 71 | + background: url(../images/uploader-icons.png) no-repeat -21px 0; |
|---|
| 72 | +} |
|---|
| 73 | + |
|---|
| 74 | +.attachment.details .check .dash { |
|---|
| 75 | + background: url(../images/uploader-icons.png) no-repeat -60px 0; |
|---|
| 76 | +} |
|---|
| 77 | + |
|---|
| 78 | .media-frame .describe { |
|---|
| 79 | position: relative; |
|---|
| 80 | display: block; |
|---|
| 81 | @@ -688,6 +712,35 @@ |
|---|
| 82 | } |
|---|
| 83 | |
|---|
| 84 | /** |
|---|
| 85 | + * HiDPI Displays |
|---|
| 86 | + */ |
|---|
| 87 | +@media print, |
|---|
| 88 | + (-o-min-device-pixel-ratio: 5/4), |
|---|
| 89 | + (-webkit-min-device-pixel-ratio: 1.25), |
|---|
| 90 | + (min-resolution: 120dpi) { |
|---|
| 91 | + .attachment .check div { |
|---|
| 92 | + background: url(../images/uploader-icons-2x.png) no-repeat -1px 0; |
|---|
| 93 | + background-size: 95px 15px; |
|---|
| 94 | + } |
|---|
| 95 | + .attachment .check .dash { |
|---|
| 96 | + background: url(../images/uploader-icons-2x.png) no-repeat -40px 0; |
|---|
| 97 | + background-size: 95px 15px; |
|---|
| 98 | + } |
|---|
| 99 | + .attachment.details .check div { |
|---|
| 100 | + background: url(../images/uploader-icons-2x.png) no-repeat -21px 0; |
|---|
| 101 | + background-size: 95px 15px; |
|---|
| 102 | + } |
|---|
| 103 | + .attachment.details .check .dash { |
|---|
| 104 | + background: url(../images/uploader-icons-2x.png) no-repeat -60px 0; |
|---|
| 105 | + background-size: 95px 15px; |
|---|
| 106 | + } |
|---|
| 107 | + .media-modal-close { |
|---|
| 108 | + background: url(../images/uploader-icons.png) no-repeat -80px 0; |
|---|
| 109 | + background-size: 95px 15px; |
|---|
| 110 | + } |
|---|
| 111 | +} |
|---|
| 112 | + |
|---|
| 113 | +/** |
|---|
| 114 | * Attachments Browser |
|---|
| 115 | */ |
|---|
| 116 | .media-frame .attachments-browser { |
|---|