WordPress.org

Make WordPress Core

Changeset 24258


Ignore:
Timestamp:
05/14/2013 07:01:57 PM (8 years ago)
Author:
ocean90
Message:

RTL support for the new post Format UI. see #24326.

Location:
trunk/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/wp-admin-rtl.css

    r24256 r24258  
    2424    11.2 - Post Revisions
    2525    11.3 - Featured Images
    26     11.4 - Post Format Selection
     26    11.4 - Post formats
    272712.0 - Categories
    282813.0 - Tags
     
    10461046
    10471047/*------------------------------------------------------------------------------
    1048   11.4 - Post format selection
    1049 ------------------------------------------------------------------------------*/
    1050 
    1051 
     1048  11.4 - Post formats
     1049------------------------------------------------------------------------------*/
     1050
     1051#post-body-content.wp-format-image label,
     1052#post-body-content.wp-format-video label,
     1053#post-body-content.wp-format-audio label {
     1054    float: right;
     1055}
     1056
     1057.wp-format-media-holder {
     1058    float: right;
     1059}
     1060
     1061#wp_format_image,
     1062#wp_format_audio,
     1063#wp_format_video {
     1064    float: right;
     1065    margin-right: 0;
     1066    margin-left: 23px;
     1067}
     1068
     1069.post-format-options a {
     1070    float: right;
     1071    margin-right: 0;
     1072    margin-left: 10px;
     1073}
     1074
     1075#poststuff .post-format-change {
     1076    margin: -7px 2px 13px 0;
     1077    clear: right;
     1078}
     1079
     1080.post-format-change span.icon {
     1081    float: right;
     1082    margin: 2px 0 0 5px;
     1083}
     1084
     1085@media only screen and (max-width: 782px) {
     1086    .post-format-options a {
     1087        margin-left: 0;
     1088        margin-right: 19px;
     1089    }
     1090}
    10521091
    10531092/*------------------------------------------------------------------------------
  • trunk/wp-admin/css/wp-admin.css

    r24256 r24258  
    40474047    background: #f5f5f5 url(../images/media-button-2x.png) no-repeat 50% 25%;
    40484048    box-sizing: border-box;
    4049     position:relative;
     4049    position: relative;
    40504050}
    40514051
     
    40564056.wp-format-media-holder.drag-over {
    40574057    background: rgba( 0, 86, 132, 0.9 );
    4058     border-color:transparent;
     4058    border-color: transparent;
    40594059}
    40604060
     
    40704070    bottom: 10px;
    40714071    border: 1px dashed #fff;
    4072     display:block;
     4072    display: block;
    40734073}
    40744074
     
    40884088    color: #fff;
    40894089    padding: 0;
    4090     text-align:center;
     4090    text-align: center;
    40914091    font-family: sans-serif;
    40924092}
     
    42214221    -webkit-border-radius: 3px;
    42224222    border-radius: 3px;
    4223     border-color: #CCC;
     4223    border-color: #ccc;
    42244224    margin: 13px 0 10px;
    42254225    padding: 5px;
  • trunk/wp-admin/includes/post-formats.php

    r24232 r24258  
    6868        <div class="field wp-format-link">
    6969            <label for="wp_format_link_url"><?php _e( 'Link URL' ); ?></label>
    70             <input type="text" id="wp_format_link_url" name="_format_link_url" value="<?php echo esc_url( $format_meta['link_url'] ); ?>" class="widefat" />
     70            <input type="text" id="wp_format_link_url" name="_format_link_url" value="<?php echo esc_url( $format_meta['link_url'] ); ?>" class="widefat code" />
    7171        </div>
    7272
    7373        <div class="field wp-format-quote">
    7474            <label for="wp_format_quote_source_url"><?php _e( 'Quote source link' ); ?></label>
    75             <input type="text" id="wp_format_quote_source_url" name="_format_quote_source_url" value="<?php echo esc_url( $format_meta['quote_source_url'] ); ?>" class="widefat" />
     75            <input type="text" id="wp_format_quote_source_url" name="_format_quote_source_url" value="<?php echo esc_url( $format_meta['quote_source_url'] ); ?>" class="widefat code" />
    7676        </div>
    7777
    7878        <div class="field wp-format-image">
    7979            <label for="wp_format_image_url"><?php _e( 'Image click-through link' ); ?></label>
    80             <input type="text" id="wp_format_image_url" name="_format_url" value="<?php echo esc_url( $format_meta['url'] ); ?>" class="widefat" />
     80            <input type="text" id="wp_format_image_url" name="_format_url" value="<?php echo esc_url( $format_meta['url'] ); ?>" class="widefat code" />
    8181        </div>
    8282
Note: See TracChangeset for help on using the changeset viewer.