Ticket #39983: 39983.diff
| File 39983.diff, 2.1 KB (added by , 9 years ago) |
|---|
-
src/wp-includes/css/media-views.css
183 183 right: 0; 184 184 width: 50px; 185 185 height: 50px; 186 margin: 0; 186 187 padding: 0; 188 border: 1px solid transparent; 189 background: none; 190 color: #666; 187 191 z-index: 1000; 192 cursor: pointer; 193 outline: none; 188 194 -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; 189 195 transition: color .1s ease-in-out, background .1s ease-in-out; 190 196 } 191 197 192 .media-modal-close.button-link { 193 text-decoration: none; 198 .media-modal-close:hover, 199 .media-modal-close:active { 200 color: #00a0d2; 194 201 } 195 202 196 .media-modal-close:active { 197 -webkit-box-shadow: none; 198 box-shadow: none; 203 .media-modal-close:focus { 204 color: #00a0d2; 205 border-color: #5b9dd9; 206 -webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); 207 box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); 199 208 } 200 209 201 210 .media-modal-close span.media-modal-icon { … … 209 218 vertical-align: middle; 210 219 -webkit-font-smoothing: antialiased; 211 220 -moz-osx-font-smoothing: grayscale; 212 color: #666;213 221 } 214 222 215 .media-modal-close:hover .media-modal-icon:before {216 color: #00a0d2;217 }218 219 .media-modal-close:active {220 outline: 0;221 }222 223 223 .media-modal-content { 224 224 position: absolute; 225 225 top: 0; -
src/wp-includes/media-template.php
163 163 164 164 <script type="text/html" id="tmpl-media-modal"> 165 165 <div class="<?php echo $class; ?>"> 166 <button type="button" class=" button-linkmedia-modal-close"><span class="media-modal-icon"><span class="screen-reader-text"><?php _e( 'Close media panel' ); ?></span></span></button>166 <button type="button" class="media-modal-close"><span class="media-modal-icon"><span class="screen-reader-text"><?php _e( 'Close media panel' ); ?></span></span></button> 167 167 <div class="media-modal-content"></div> 168 168 </div> 169 169 <div class="media-modal-backdrop"></div>