Make WordPress Core

Ticket #22453: 22615.3b.patch

File 22615.3b.patch, 3.2 KB (added by ocean90, 12 years ago)
  • wp-includes/css/media-views-rtl.css

     
    1717.media-frame-toolbar > .media-toolbar {
    1818        left: 0;
    1919        right: 200px;
    20         border-width: 1px 0 0 0;
    2120}
    2221
    2322
     
    4948.media-sidebar {
    5049        right: auto;
    5150        left: 0;
     51        border-left: 0;
     52        border-right: 1px solid #dfdfdf;
    5253}
    5354
    54 .hide-sidebar .media-sidebar {
    55         right: auto;
    56         left: -300px;
    57 }
    58 
    5955.media-sidebar .setting {
    6056        float: right;
    6157}
     
    105101}
    106102
    107103/**
    108  * Attachment Browser Filters
    109  */
    110 .media-frame select.attachment-filters {
    111         margin-right: 0;
    112         margin-left: 10px;
    113 }
    114 
    115 /**
    116104 * Frame
    117105 */
    118106.media-frame .region-content {
    119         left: 300px;
     107        left: 0;
    120108        right: 200px;
    121109}
    122110
    123 .media-frame.hide-sidebar .region-content {
    124         right: 200px;
    125         left: 0;
     111/**
     112 * Attachment Browser Filters
     113 */
     114.media-frame select.attachment-filters {
     115        margin-right: 0;
     116        margin-left: 10px;
    126117}
    127118
    128119/**
     
    137128 * Attachments
    138129 */
    139130.attachments {
    140         margin: 0;
    141131        padding-right: 0;
    142132        padding-left: 16px;
    143133}
     
    149139        float: right;
    150140}
    151141
    152 .attachment .icon,
    153142.attachment .thumbnail {
    154143        left: auto;
    155144        right: 0;
     
    166155}
    167156
    168157/**
     158 * Attachments Browser
     159 */
     160.attachments-browser .media-toolbar {
     161        right: 0;
     162        left: 300px;
     163}
     164
     165.attachments-browser .attachments,
     166.attachments-browser .uploader-inline {
     167        right: 0;
     168        left: 300px;
     169}
     170
     171
     172/**
    169173 * Progress Bar
    170174 */
    171175.attachment-preview .media-progress-bar {
    172176        left: auto;
    173177        right: 15%;
    174         margin: -8px -4px 0 0;
    175178}
    176179
     180.media-sidebar .media-uploader-status .upload-dismiss-errors {
     181        right: auto;
     182        left: 0;
     183}
     184
     185.upload-errors .upload-error-label {
     186        margin-right: 0;
     187        margin-left: 8px;
     188        float: right;
     189        margin-top: -3px;
     190}
     191
    177192/**
    178193 * Selection
    179194 */
     
    190205
    191206.media-selection .selection-info a {
    192207        float: right;
     208        border-right: 0;
     209        border-left: 1px solid #dfdfdf;
    193210        margin: 1px -8px 1px 8px;
    194211}
    195212
     
    201218.media-selection:after {
    202219        right: auto;
    203220        left: 0;
    204         background-image: -webkit-gradient(linear, left top, left top, from( rgba( 255, 255, 255, 1 ) ), to( rgba( 255, 255, 255, 0 ) ));
     221        background-image: -webkit-gradient(linear, left top, right top, from( rgba( 255, 255, 255, 1 ) ), to( rgba( 255, 255, 255, 0 ) ));
    205222        background-image: -webkit-linear-gradient(left, rgba( 255, 255, 255, 1 ) ,  rgba( 255, 255, 255, 0 ) );
    206223        background-image:    -moz-linear-gradient(left, rgba( 255, 255, 255, 1 ) ,  rgba( 255, 255, 255, 0 ) );
    207224        background-image:      -o-linear-gradient(left, rgba( 255, 255, 255, 1 ) ,  rgba( 255, 255, 255, 0 ) );
     
    241258        margin-left: 10px;
    242259}
    243260
    244 .attachment-info .details {
    245         float: right;
    246 }
    247 
     261.attachment-info .details,
    248262.attachment-info .compat-meta {
    249263        float: right;
    250264}
     
    271285.media-embed .setting {
    272286        float: right;
    273287}
     288
     289/**
     290 * Responsive layout
     291 */
     292@media only screen and (max-width: 900px) {
     293        .media-frame .region-content,
     294        .media-frame-toolbar > .media-toolbar {
     295                left: 0;
     296                right: 120px;
     297        }
     298
     299        .attachments-browser .attachments,
     300        .attachments-browser .uploader-inline,
     301        .attachments-browser .media-toolbar {
     302                right: 0;
     303                left: 180px;
     304        }
     305}