Ticket #22732: 22732.3.diff
| File 22732.3.diff, 2.3 KB (added by lessbloat, 7 months ago) |
|---|
-
wp-includes/media.php
1519 1519 * @since 3.5.0 1520 1520 */ 1521 1521 function wp_print_media_templates() { 1522 $ie_class = ''; 1523 if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 7') !== false ) 1524 $ie_class = 'ie7'; 1522 1525 ?> 1523 1526 <script type="text/html" id="tmpl-media-frame"> 1524 1527 <div class="media-frame-menu"></div> … … 1530 1533 </script> 1531 1534 1532 1535 <script type="text/html" id="tmpl-media-modal"> 1533 <div class="media-modal wp-core-ui ">1536 <div class="media-modal wp-core-ui <?php echo $ie_class; ?>"> 1534 1537 <a class="media-modal-close" href="#" title="<?php esc_attr_e('Close'); ?>"><span class="media-modal-icon"></span></a> 1535 1538 <div class="media-modal-content"></div> 1536 1539 </div> -
wp-includes/css/media-views.css
240 240 241 241 .media-sidebar .setting select { 242 242 max-width: 65%; 243 *max-width: 55%; /* IE7 */244 243 } 245 244 246 245 .media-sidebar .setting input[type="checkbox"] { … … 266 265 .media-sidebar .setting input, 267 266 .media-sidebar .setting textarea { 268 267 width: 65%; 269 *width: 55%; /* IE7 */270 268 float: right; 271 269 } 272 270 … … 811 809 position: relative; 812 810 display: block; 813 811 width: 100%; 814 *width: 183px; /* IE7 only */815 812 margin: -1px 0 0; 816 813 padding: 8px; 817 814 font-size: 12px; … … 1569 1566 .media-sidebar .settings-save-status .spinner { 1570 1567 background-image: url(../images/wpspin-2x.gif); 1571 1568 } 1569 } 1570 1571 /** 1572 * IE7 specific 1573 */ 1574 1575 .ie7 .media-sidebar { 1576 position: fixed; 1577 top: 105px; 1578 right: 30px; 1579 bottom: 90px; 1580 border-top: 1px solid #dfdfdf; 1581 } 1582 1583 .ie7 .media-sidebar .setting select { 1584 max-width: 55%; 1585 } 1586 1587 .ie7 .media-sidebar .setting input, 1588 .ie7 .media-sidebar .setting textarea { 1589 width: 55%; 1590 float: left; 1591 } 1592 1593 .ie7 .attachment-preview { 1594 width: 120px; 1595 height: 120px; 1596 } 1597 1598 .ie7 .attachment-preview .thumbnail { 1599 width: 120px; 1600 height: 120px; 1601 } 1602 1603 .ie7 .media-frame .attachments-browser { 1604 overflow: visible; 1605 } 1606 1607 .ie7 .attachments-browser .attachments, 1608 .ie7 .attachments-browser .uploader-inline { 1609 overflow: visible; 1572 1610 } 1611 No newline at end of file