Make WordPress Core

Changeset 22640


Ignore:
Timestamp:
11/18/2012 04:19:37 PM (12 years ago)
Author:
azaozz
Message:

RTL fixes and improvements: add-media, image-editor, the spinners, the featured image button, some css cleanup, props ocean90, maor, SergeyBiryukov, ramiy, see #22453

Location:
trunk
Files:
3 edited

Legend:

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

    r22638 r22640  
    2323    11.1 - Custom Fields
    2424    11.2 - Post Revisions
     25    11.3 - Featured Images
    252612.0 - Categories
    262713.0 - Tags
     
    140141#publishing-action {
    141142    float: left;
     143    text-align: left;
     144}
     145
     146#publishing-action .spinner {
     147    float: right;
    142148}
    143149
    144150#post-body .misc-pub-section {
    145     border-right:0;
     151    border-right: 0;
    146152    border-left-width: 1px;
    147153    border-left-style: solid;
     
    548554}
    549555
    550 .widefat td p {
    551     margin: 2px 0 0.8em;
    552 }
    553 
    554556.postbox-container {
    555557    float: right;
     558}
     559
     560#post-body-content {
     561    float: right;
     562}
     563
     564#poststuff #post-body.columns-2 {
     565    margin-left: 300px;
     566    margin-right: 0;
     567}
     568
     569#post-body.columns-2 #postbox-container-1 {
     570    float: left;
     571    margin-left: -300px;
     572    margin-right: 0;
     573}
     574
     575@media only screen and (max-width: 850px) {
     576    #wpbody-content #post-body.columns-2 #postbox-container-1 {
     577        margin-left: 0;
     578    }
    556579}
    557580
     
    801824  11.0 - Write/Edit Post Screen
    802825------------------------------------------------------------------------------*/
    803 /* structural/layout */
    804 #post-body-content {
    805     float: right;
    806 }
    807 
    808 #poststuff #post-body.columns-2 {
    809     margin-left: 300px;
    810     margin-right: 0;
    811 }
    812 
    813 #post-body.columns-2 #postbox-container-1 {
    814     float: left;
    815     margin-left: -300px;
    816     margin-right: 0;
    817 }
    818 
    819 @media only screen and (max-width: 850px) {
    820     #wpbody-content #post-body.columns-2 #postbox-container-1 {
    821         margin-left: 0;
    822     }
     826
     827#save-action .spinner,
     828#show-comments a,
     829#show-comments .spinner {
     830    float: right;
    823831}
    824832
    825833#titlediv #title-prompt-text,
    826834#wp-fullscreen-title-prompt-text {
    827     right:0;
     835    right: 0;
    828836}
    829837
    830838#sample-permalink {
    831     direction:ltr;
     839    direction: ltr;
    832840}
    833841
    834842#sample-permalink #editable-post-name {
    835     unicode-bidi:embed;
    836 }
     843    unicode-bidi: embed;
     844}
     845
    837846#wp-fullscreen-title-prompt-text {
    838847    left: auto;
    839848    right: 0;
     849}
     850
     851#wp-fullscreen-save .spinner,
     852#wp-fullscreen-save .fs-saved {
     853    float: left;
     854}
     855
     856#edit-slug-box .cancel {
     857    margin-right: 0;
     858    margin-left: 10px;
    840859}
    841860
     
    916935table.diff td, table.diff th {
    917936    font-family: Consolas, Monaco, monospace;
     937}
     938
     939/*------------------------------------------------------------------------------
     940  11.3 - Featured Images
     941------------------------------------------------------------------------------*/
     942
     943#select-featured-image a {
     944    float: right;
    918945}
    919946
     
    10791106------------------------------------------------------------------------------*/
    10801107
     1108.wp_attachment_image .button,
     1109.A1B1 .button {
     1110    float: right;
     1111}
     1112
     1113.wp_attachment_image .spinner,
     1114.A1B1 .spinner {
     1115    float: right;
     1116}
     1117
    10811118.imgedit-menu div {
    10821119    float: right;
     1120}
     1121
     1122.imgedit-crop {
     1123    margin: 0;
     1124}
     1125
     1126.imgedit-rleft,
     1127.imgedit-flipv,
     1128.imgedit-undo {
     1129    margin: 0 8px 0 3px;
     1130}
     1131
     1132.imgedit-rright,
     1133.imgedit-fliph,
     1134.imgedit-redo {
     1135    margin: 0 3px;
     1136}
     1137
     1138.imgedit-applyto img {
     1139    margin: 0 0 0 8px;
    10831140}
    10841141
     
    20302087    margin-left: 0;
    20312088    margin-right: 20px;
     2089}
     2090
     2091.button.right, .button-secondary.right, .button-primary.right {
     2092    float: left;
    20322093}
    20332094
     
    23372398}
    23382399
    2339 .feature-filter .feature-name {
    2340     float: right;
    2341     text-align: left;
    2342 }
    2343 
    23442400.feature-filter .feature-group li {
    2345     float: right;
    23462401    padding-right: 0;
    23472402    padding-left: 25px;
  • trunk/wp-admin/css/wp-admin.css

    r22638 r22640  
    41474147}
    41484148
    4149 .wp_attachment_image, .A1B1 {
     4149.wp_attachment_image,
     4150.A1B1 {
    41504151    overflow: hidden;
    41514152}
    41524153
    4153 .wp_attachment_image .button, .A1B1 .button {
     4154.wp_attachment_image .button,
     4155.A1B1 .button {
    41544156    float: left;
    41554157}
    41564158
    4157 .wp_attachment_image .spinner, .A1B1 .spinner {
     4159.wp_attachment_image .spinner,
     4160.A1B1 .spinner {
    41584161    float: left;
    41594162    padding: 0 4px 4px;
     
    78787881
    78797882.feature-container {
    7880 width: 100%;
    7881 overflow: auto;
    7882 margin-bottom: 10px;
     7883    width: 100%;
     7884    overflow: auto;
     7885    margin-bottom: 10px;
    78837886}
    78847887
  • trunk/wp-includes/css/editor.css

    r22629 r22640  
    971971}
    972972
     973.rtl .wp-editor-tools {
     974    padding: 0 0 0 10px;
     975}
     976
    973977.wp-editor-container {
    974978    border-width: 1px;
     
    10481052}
    10491053
     1054.rtl .wp-media-buttons .button {
     1055    margin-right: 0;
     1056    margin-left: 5px;
     1057}
     1058
    10501059.wp-media-buttons .insert-media {
    10511060    padding-left: 0.4em;
     1061}
     1062
     1063.rtl .wp-media-buttons .insert-media {
     1064    padding-left: 10px;
     1065    padding-right: 0.4em;
    10521066}
    10531067
Note: See TracChangeset for help on using the changeset viewer.