WordPress.org

Make WordPress Core

Changeset 20347


Ignore:
Timestamp:
04/04/2012 02:46:38 AM (6 years ago)
Author:
azaozz
Message:

RTL for the responsive columns, see #20015

File:
1 edited

Legend:

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

    r20272 r20347  
    132132    border-left-width: 1px;
    133133    border-left-style: solid;
    134     float: right;
    135134}
    136135
     
    739738  11.0 - Write/Edit Post Screen
    740739------------------------------------------------------------------------------*/
     740/* structural/layout */
     741#post-body-content {
     742    float: right;
     743}
     744
     745#poststuff #post-body.columns-2 {
     746    margin-left: 300px;
     747    margin-right: 0;
     748}
     749
     750#post-body.columns-2 #postbox-container-1 {
     751    float: left;
     752    margin-left: -300px;
     753    margin-right: 0;
     754}
     755
     756@media only screen and (max-width: 850px) {
     757    #wpbody-content #post-body.columns-2 #postbox-container-1 {
     758        margin-left: 0;
     759    }
     760}
    741761
    742762#titlediv #title-prompt-text,
     
    778798}
    779799
    780 #post-body ul.category-tabs,
     800.taxonomy div.tabs-panel {
     801    margin: 0 125px 0 5px;
     802}
     803
     804#side-sortables .comments-box thead th,
     805#normal-sortables .comments-box thead th {
     806    font-style: normal;
     807}
     808
     809#commentsdiv img.waiting {
     810    padding-left: 0;
     811    padding-right: 5px;
     812}
     813
     814#post-body .add-menu-item-tabs li.tabs {
     815    border-width: 1px 1px 1px 0;
     816    margin-right: 0;
     817    margin-left: -1px;
     818}
     819
     820/* positioning etc. */
     821
     822#posts-filter fieldset {
     823    float: right;
     824    margin: 0 0 1em 1.5ex;
     825}
     826
     827#posts-filter fieldset legend {
     828    padding: 0 1px .2em 0;
     829}
     830
     831/* Global classes */
     832
     833#post-body .tagsdiv #newtag {
     834    margin-right: 0;
     835    margin-left: 5px;
     836}
     837
     838.autosave-info {
     839    padding: 2px 2px 2px 15px;
     840    text-align: left;
     841}
     842
     843#post-body .wp_themeSkin .mceStatusbar a.mceResize {
     844    background: transparent url(../images/resize-rtl.gif) no-repeat scroll left bottom;
     845    cursor: sw-resize;
     846}
     847
     848.curtime #timestamp {
     849    background-position: right top;
     850    padding-left: 0;
     851    padding-right: 18px;
     852}
     853
     854/*------------------------------------------------------------------------------
     855  11.1 - Custom Fields
     856------------------------------------------------------------------------------*/
     857
     858#postcustomstuff table input,
     859#postcustomstuff table select,
     860#postcustomstuff table textarea {
     861    margin: 8px 8px 8px 0;
     862}
     863
     864/*------------------------------------------------------------------------------
     865  11.2 - Post Revisions
     866------------------------------------------------------------------------------*/
     867
     868table.diff td, table.diff th {
     869    font-family: Consolas, Monaco, monospace;
     870}
     871
     872/*------------------------------------------------------------------------------
     873  12.0 - Categories
     874------------------------------------------------------------------------------*/
     875
     876.category-adder {
     877    margin-left: 0;
     878    margin-right: 120px;
     879}
     880
    781881#post-body ul.add-menu-item-tabs {
    782882    float: right;
     
    786886}
    787887
    788 #post-body ul.category-tabs li.tabs,
    789888#post-body ul.add-menu-item-tabs li.tabs {
    790889    -webkit-border-top-left-radius: 0;
     
    798897}
    799898
    800 #post-body .categorydiv div.tabs-panel,
    801 .taxonomy div.tabs-panel,
    802 #post-body #linkcategorydiv div.tabs-panel {
    803     margin: 0 125px 0 5px;
    804 }
    805 
    806 #side-sortables .comments-box thead th,
    807 #normal-sortables .comments-box thead th {
    808     font-style: normal;
    809 }
    810 
    811 #commentsdiv img.waiting {
    812     padding-left: 0;
    813     padding-right: 5px;
    814 }
    815 
    816 #post-body .category-tabs li.tabs,
    817 #post-body .add-menu-item-tabs li.tabs {
    818     border-width: 1px 1px 1px 0;
    819     margin-right: 0;
    820     margin-left: -1px;
    821 }
    822 
    823 /* positioning etc. */
    824 
    825 #posts-filter fieldset {
    826     float: right;
    827     margin: 0 0 1em 1.5ex;
    828 }
    829 
    830 #posts-filter fieldset legend {
    831     padding: 0 1px .2em 0;
    832 }
    833 
    834 /* Global classes */
    835 
    836 #post-body .tagsdiv #newtag {
    837     margin-right: 0;
    838     margin-left: 5px;
    839 }
    840 
    841 .autosave-info {
    842     padding: 2px 2px 2px 15px;
    843     text-align: left;
    844 }
    845 
    846 #post-body .wp_themeSkin .mceStatusbar a.mceResize {
    847     background: transparent url(../images/resize-rtl.gif) no-repeat scroll left bottom;
    848     cursor: sw-resize;
    849 }
    850 
    851 .curtime #timestamp {
    852     background-position: right top;
    853     padding-left: 0;
    854     padding-right: 18px;
    855 }
    856 
    857 /*------------------------------------------------------------------------------
    858   11.1 - Custom Fields
    859 ------------------------------------------------------------------------------*/
    860 
    861 #postcustomstuff table input,
    862 #postcustomstuff table select,
    863 #postcustomstuff table textarea {
    864     margin: 8px 8px 8px 0;
    865 }
    866 
    867 /*------------------------------------------------------------------------------
    868   11.2 - Post Revisions
    869 ------------------------------------------------------------------------------*/
    870 
    871 table.diff td, table.diff th {
    872     font-family: Consolas, Monaco, monospace;
    873 }
    874 
    875 /*------------------------------------------------------------------------------
    876   12.0 - Categories
    877 ------------------------------------------------------------------------------*/
    878 
    879 .category-adder {
    880     margin-left: 0;
    881     margin-right: 120px;
    882 }
    883 
    884 #post-body ul.category-tabs,
    885 #post-body ul.add-menu-item-tabs {
    886     float: right;
    887     text-align: left;
    888     /* Negative margin for the sake of those without JS: all tabs display */
    889     margin: 0 5px 0 -120px;
    890 }
    891 
    892 #post-body ul.category-tabs li.tabs,
    893 #post-body ul.add-menu-item-tabs li.tabs {
    894     -webkit-border-top-left-radius: 0;
    895     -webkit-border-top-right-radius: 3px;
    896     -webkit-border-bottom-left-radius: 0;
    897     -webkit-border-bottom-right-radius: 3px;
    898     border-top-left-radius: 0;
    899     border-top-right-radius: 3px;
    900     border-bottom-left-radius: 0;
    901     border-bottom-right-radius: 3px;
    902 }
    903 
    904899#front-page-warning,
    905900#front-static-pages ul,
     
    909904.customlinkdiv ul.categorychecklist ul,
    910905.posttypediv ul.categorychecklist ul,
    911 .taxonomydiv ul.categorychecklist ul,
    912 #linkcategorydiv ul.categorychecklist ul {
     906.taxonomydiv ul.categorychecklist ul {
    913907    margin-left: 0;
    914908    margin-right: 18px;
    915909}
    916910
    917 #post-body .category-tabs li.tabs,
    918911#post-body .add-menu-item-tabs li.tabs {
    919912    border-style: solid solid solid none;
     
    944937
    945938.ac_results li {
     939    text-align: right;
     940}
     941
     942.links-table th {
    946943    text-align: right;
    947944}
     
    21512148#category-add select {
    21522149    font-family: Tahoma, Arial, sans-serif;
    2153 }
    2154 
    2155 .inline-editor ul.cat-checklist ul,
    2156 .categorydiv ul.categorychecklist ul,
    2157 #linkcategorydiv ul.categorychecklist ul {
    2158     margin-left: 0;
    2159     margin-right: 18px;
    2160 }
    2161 
    2162 /* Categories */
    2163 .category-tabs li {
    2164     padding-left: 0;
    2165     padding-right: 8px;
    21662150}
    21672151
Note: See TracChangeset for help on using the changeset viewer.