Ticket #22446: 22446-icon-placement-v7.diff
File 22446-icon-placement-v7.diff, 1.2 KB (added by , 12 years ago) |
---|
-
wp-includes/css/media-views.css
476 476 margin: 0 10px 20px; 477 477 color: #464646; 478 478 list-style: none; 479 text-align: center; 479 480 480 481 -webkit-user-select: none; 481 482 -moz-user-select: none; … … 507 508 cursor: pointer; 508 509 } 509 510 510 .attachment .icon, 511 .attachment .icon { 512 margin: 0 auto; 513 overflow: hidden; 514 padding-top: 20%; 515 } 516 511 517 .attachment .thumbnail { 512 518 display: block; 513 519 position: absolute; … … 519 525 max-height: 100%; 520 526 } 521 527 522 /* Vertically center the icons. */523 .attachment .icon {524 top: 50%;525 left: 50%;526 }527 528 528 .attachment-preview .thumbnail:after { 529 529 content: ''; 530 530 display: block; … … 555 555 transform: translate( 50%, 50% ); 556 556 } 557 557 558 .attachment .icon,559 558 .attachment .thumbnail .centered img { 560 559 -webkit-transform: translate( -50%, -50% ); 561 560 -moz-transform: translate( -50%, -50% ); … … 1030 1029 vertical-align: top; 1031 1030 } 1032 1031 1032 .media-selection .attachment img { 1033 width: 50%; 1034 } 1035 1033 1036 .attachment.selection.selected { 1034 1037 box-shadow: none; 1035 1038 }