Make WordPress Core

Changeset 29623


Ignore:
Timestamp:
08/26/2014 12:54:23 PM (10 years ago)
Author:
ocean90
Message:

RTL: Fix modal alignments.

  • Prevent horizontal scrollbars in Chrome.
  • URL fields should be always LTR.
  • Force the plugin details to be LTR for all screens, see #19778.

fixes #29352.

Location:
trunk/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r29619 r29623  
    21382138    font-weight: 600;
    21392139    line-height: 56px;
     2140    position: relative;
    21402141    top: 0;
    21412142    right: 0;
     
    23782379}
    23792380
     2381/* @noflip */
     2382#plugin-information .section {
     2383    direction: ltr;
     2384}
     2385
     2386/* @noflip */
    23802387#plugin-information .section ul,
    23812388#plugin-information .section ol {
     
    24052412}
    24062413
     2414/* @noflip */
    24072415#plugin-information #section-screenshots li p {
    24082416    font-style: italic;
     
    24162424}
    24172425
     2426/* @noflip */
    24182427#plugin-information .review {
    24192428    width: 100%;
     
    24282437    clear: both;
    24292438}
    2430 
     2439/* @noflip */
    24312440#plugin-information .review-title-section h4 {
    24322441    display: inline-block;
     
    24432452}
    24442453
     2454/* @noflip */
    24452455#plugin-information .reviewer-info .avatar {
    24462456    float: left;
     
    24482458}
    24492459
    2450 #plugin-information .star-rating {
     2460/* @noflip */
     2461#plugin-information .reviewer-info .star-rating {
    24512462    float: left;
    24522463}
    24532464
     2465/* @noflip */
    24542466#plugin-information .review-meta {
    24552467    float: left;
     
    24572469}
    24582470
     2471/* @noflip */
    24592472#plugin-information .review-body {
    24602473    float: left;
     
    25692582body.update-core-php .tb-close-icon,
    25702583body.index-php .tb-close-icon {
     2584    left: auto;
    25712585    right: -30px;
    25722586    color: #eee;
  • trunk/src/wp-admin/css/media.css

    r29612 r29623  
    824824.edit-attachment-frame .attachment-info .details,
    825825.edit-attachment-frame .attachment-info .settings {
     826    position: relative; /* RTL fix, #WP29352 */
    826827    overflow: hidden;
    827828    float: none;
  • trunk/src/wp-admin/includes/template.php

    r29239 r29623  
    453453        <div class="inside">
    454454        <label for="author-url"><?php _e('URL') ?></label>
    455         <input type="text" id="author-url" name="newcomment_author_url" size="103" value="" />
     455        <input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
    456456        </div>
    457457        <div style="clear:both;"></div>
  • trunk/src/wp-includes/css/media-views.css

    r29617 r29623  
    16831683    padding: 0;
    16841684    padding-bottom: 16px;
     1685    position: relative; /* RTL fix, #WP29352 */
    16851686}
    16861687
  • trunk/src/wp-includes/js/media-views.js

    r29613 r29623  
    67586758            var self = this;
    67596759
    6760             this.$input = $('<input id="embed-url-field" type="text" />').val( this.model.get('url') );
     6760            this.$input = $('<input id="embed-url-field" type="url" />').val( this.model.get('url') );
    67616761            this.input = this.$input[0];
    67626762
Note: See TracChangeset for help on using the changeset viewer.