Changeset 22920
- Timestamp:
- 11/29/2012 02:36:12 PM (12 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/css/media-views-rtl.css
r22798 r22920 5 5 left: auto; 6 6 right: 0; 7 float: right;8 7 } 9 8 … … 11 10 right: auto; 12 11 left: 0; 13 float: left;14 12 } 15 13 -
trunk/wp-includes/css/media-views.css
r22919 r22920 107 107 .media-modal-close { 108 108 position: absolute; 109 height: 40px; 110 } 111 112 .media-modal-title { 109 113 top: -40px; 110 height: 40px; 114 left: 0; 115 padding: 0; 116 margin: 0; 111 117 112 118 line-height: 40px; 113 119 color: #fff; 120 font-size: 16px; 114 121 font-weight: 200; 115 122 text-shadow: 0 0 16px rgba( 0, 0, 0, 0.6 ); 116 123 } 117 124 118 a.media-modal-close {119 color: #fff;120 }121 122 .media-modal-title {123 left: 0;124 float: left;125 padding: 0;126 margin: 0;127 font-size: 16px;128 }129 130 125 .media-modal-close { 131 right: 0; 132 float: right; 133 text-decoration: none; 134 font-size: 1.8em; 135 } 136 137 .media-modal-close:hover, 138 .media-modal-close:focus { 139 color: #fff; 140 text-shadow: 0 0 16px rgba( 255, 255, 255, 0.8 ); 126 top: -27px; 127 right: 0; 128 width: 15px; 129 background-position: -80px 0; 141 130 } 142 131 … … 153 142 overflow: auto; 154 143 background: #fff; 144 } 145 146 .media-modal-icon { 147 background-image: url(../images/uploader-icons.png); 148 background-repeat: no-repeat; 155 149 } 156 150 … … 608 602 609 603 .attachment .close { 604 display: none; 610 605 position: absolute; 611 606 top: 5px; … … 619 614 text-decoration: none; 620 615 color: #464646; 621 background: #fff; 616 background-color: #fff; 617 background-position: -96px 4px; 622 618 border-width: 0; 619 border-radius: 3px; 623 620 box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 ); 624 621 } 625 622 626 .attachment . button:hover {623 .attachment .close:hover { 627 624 box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.6 ); 628 }629 630 .attachment .close {631 display: none;632 625 } 633 626 … … 643 636 top: -7px; 644 637 right: -7px; 645 line-height: 24px;646 font-size: 16px;647 text-align: center;648 text-decoration: none;649 638 outline: none; 650 639 651 color: #333;652 640 border: 1px solid #fff; 653 641 border-radius: 3px; 654 text-shadow: 0 1px 0 #fff;655 642 box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.4 ); 656 643 … … 663 650 } 664 651 665 .attachment .check .dash { 666 font-weight: bold; 667 font-size: 18px; 668 line-height: 22px; 669 } 670 671 .attachment .check .dash, 672 .attachment .check:hover span { 673 display: none; 674 } 675 676 .attachment.selected .check, 677 .attachment .check:hover .dash { 652 .attachment .check div { 653 background-position: -1px 0; 654 height: 15px; 655 width: 15px; 656 margin: 5px; 657 } 658 659 .attachment .check:hover div { 660 background-position: -40px 0; 661 } 662 663 .attachment.selected .check { 678 664 display: block; 679 665 } 680 666 681 667 .attachment.details .check { 682 color: #fff;683 text-shadow: 0 1px 0 rgba( 0, 0, 0, 0.5 );684 668 box-shadow: 0 0 0 1px #1e8cbe; 685 669 … … 692 676 } 693 677 678 .attachment.details .check div { 679 background-position: -21px 0; 680 } 681 682 .attachment.details .check:hover div { 683 background-position: -60px 0; 684 } 685 694 686 .media-frame .describe { 695 687 position: relative; … … 701 693 font-size: 12px; 702 694 border-radius: 0; 695 } 696 697 /** 698 * HiDPI Displays 699 */ 700 @media print, 701 (-o-min-device-pixel-ratio: 5/4), 702 (-webkit-min-device-pixel-ratio: 1.25), 703 (min-resolution: 120dpi) { 704 .media-modal-icon { 705 background-image: url(../images/uploader-icons-2x.png); 706 background-size: 134px 15px; 707 } 703 708 } 704 709 -
trunk/wp-includes/media.php
r22902 r22920 1508 1508 <div class="media-modal"> 1509 1509 <h3 class="media-modal-title">{{ data.title }}</h3> 1510 <a class="media-modal-close " href="" title="<?php esc_attr_e('Close'); ?>">×</a>1510 <a class="media-modal-close media-modal-icon" href="#" title="<?php esc_attr_e('Close'); ?>"></a> 1511 1511 </div> 1512 1512 <div class="media-modal-backdrop"> … … 1621 1621 1622 1622 <# if ( data.buttons.close ) { #> 1623 <a class="close button" href="#">×</a>1623 <a class="close media-modal-icon" href="#" title="<?php _e('Remove'); ?>"></a> 1624 1624 <# } #> 1625 1625 1626 1626 <# if ( data.buttons.check ) { #> 1627 <a class="check" href="#" ><span>✓</span><span class="dash">–</span></a>1627 <a class="check" href="#" title="<?php _e('Deselect'); ?>"><div class="media-modal-icon"></div></a> 1628 1628 <# } #> 1629 1629 </div>
Note: See TracChangeset
for help on using the changeset viewer.