WordPress.org

Make WordPress Core

Ticket #18654: 18654.with-200-percent-more-rtl.diff

File 18654.with-200-percent-more-rtl.diff, 2.5 KB (added by georgestephanis, 2 years ago)

This also makes the admin menu in the admin bar work properly in RTL. And tidies up some CSS whitespace inconsistencies in wp-adminbar-rtl.dev.css

  • wp-includes/css/admin-bar-rtl.dev.css

     
    3636        border-right: 0; 
    3737        border-left: 1px solid #555; 
    3838} 
     39 
    3940#wpadminbar .quicklinks > ul > li > a { 
    4041        border-right: 0; 
    4142        border-left: 1px solid #333; 
    4243} 
     44 
    4345#wpadminbar .quicklinks > ul > li.opposite { 
    4446        border-right: 1px solid #333; 
    4547        border-left: 0; 
    4648} 
     49 
    4750#wpadminbar .quicklinks > ul > li.opposite > a { 
    4851        border-right: 1px solid #555; 
    4952        border-left: 0; 
    5053} 
    5154 
     55#wpadminbar .ab-top-secondary .menupop .ab-sub-wrapper { 
     56        right: auto; 
     57        left: 0; 
     58} 
    5259 
    53  
    5460#wpadminbar .quicklinks .menupop ul, 
    5561#wpadminbar .shortlink-input { 
    5662        margin: 0 -1px 0 0; 
    5763} 
     64 
    5865#wpadminbar .quicklinks .opposite.menupop ul { 
    5966        right: auto; 
    6067        left: 0; 
     
    8491        float: left; 
    8592} 
    8693 
     94#wpadminbar .ab-top-secondary { 
     95        right: auto; 
     96        left: 0; 
     97} 
     98 
    8799#wpadminbar ul li:last-child, 
    88100#wpadminbar ul li:last-child a { 
    89101        border-left: 0; 
     
    116128        float: left; 
    117129} 
    118130 
    119  
    120131#wpadminbar #adminbarsearch .adminbar-input { 
    121132        float: right; 
    122133        font-family: Tahoma, Arial, Helvetica, sans-serif; 
     
    141152/** 
    142153 * Comments icon 
    143154 */ 
     155 
    144156#wpadminbar .ab-comments-icon { 
    145157        float: right; 
    146158} 
     159 
    147160#wpadminbar .ab-comments-icon-body { 
    148161        margin: 3px -2px 0 4px; 
    149162} 
     
    155168        border-left: 0; 
    156169        border-right: 4px solid #999; 
    157170} 
     171 
    158172#wpadminbar a:hover .ab-comments-icon-arrow { 
    159173        border-right-color: #bbb; 
    160174} 
    161175 
    162  
    163176/** 
    164177 * IE 6-targeted rules 
    165178 */ 
    166179 
    167  
    168180* html #wpadminbar .quicklinks ul li a { 
    169181        float: right; 
    170182} 
  • wp-includes/css/admin-bar.dev.css

     
    259259 
    260260#wpadminbar .ab-top-secondary { 
    261261        float: right; 
     262        position: fixed; 
     263        right: 0; 
     264        top: 0; 
     265 
     266        background-color: #464646; /* Fallback */ 
     267        background-image: -ms-linear-gradient(bottom, #373737, #464646 5px); /* IE10 */ 
     268        background-image: -moz-linear-gradient(bottom, #373737, #464646 5px); /* Firefox */ 
     269        background-image: -o-linear-gradient(bottom, #373737, #464646 5px); /* Opera */ 
     270        background-image: -webkit-gradient(linear, left bottom, left top, from(#373737), to(#464646)); /* old Webkit */ 
     271        background-image: -webkit-linear-gradient(bottom, #373737, #464646 5px); /* new Webkit */ 
     272        background-image: linear-gradient(bottom, #373737, #464646 5px); /* proposed W3C Markup */ 
    262273} 
    263274 
    264275#wpadminbar ul li:last-child,