Make WordPress Core

Changeset 6146


Ignore:
Timestamp:
09/20/2007 11:36:45 PM (17 years ago)
Author:
ryan
Message:

Updated RTL CSS from mani_monaj. fixes #5025

Location:
trunk/wp-admin
Files:
3 edited

Legend:

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

    r5631 r6146  
    1 #upload-menu li a.upload-tab-link {
    2     float: right;
    3     margin: 0 .75em 0 0;
    4 }
    5 
    6 table { float: right; }
    7 
    8 #upload-menu li #current-tab-nav {
    9     float: right;
    10     padding: 5px 0 0 5px;
    11     margin-right: -5px;
    12 }
    13 
    14 #upload-file th, #the-attachment-links textarea { text-align: left; }
    15 
    16 h2 { margin: 0 0 0 .2em; }
    17 
    18 #upload-files li { margin: 0 15px 15px 0; }
    19 
    20 #upload-file-view { padding: 0 75px 0 0; }
    21 
    22 #upload-menu li {
    23     display: block;
    24     float: right;
    25 }
    26 
    27 #upload-menu li.current {
    28     border-right: 0;
    29     border-left: 2px solid #448abd;
    30 }
    31 
    32 #upload-file {
    33     left: auto;
    34     right: 0;
    35 }
    36 
    37 #file-title {
    38     margin: 0 75px .2em 0;
    39     font-family: Tahoma, Georgia, "Times New Roman", Times, serif;
    40 }
    41 
    42 .back {
    43     left: auto;
    44     right: 14px;
    45 }
    46 
    47 #uploadoptions td {
    48     padding-left: 0;
    49     padding-right: 1em;
    50 }
     1html {
     2    direction: ltr;
     3    }
     4#uploadoptions, table {
     5    direction: rtl;
     6    }
     7td {
     8    padding: 1px 6px 0;
     9    }
     10.submit {
     11    text-align: left;
     12    }
  • trunk/wp-admin/css/widgets-rtl.css

    r5884 r6146  
    1 #sbreset, #lastmodule, #palettediv .module, .dropzone, .dropzone ul, .placematt { float: right; }
    2 
    3 * .module, #lastmodule { text-align: right; }
    4 
    5 * html #palettediv ul { padding: 0 10px 0 0; }
    6 
    7 #palettediv ul { padding: 0 10px 0 0;
    8  margin-left: 1px!important;}
    9 
     1.dropzone,
     2#palettediv,
     3.handle,
     4.controlform {
     5    direction: rtl;
     6    text-align: justify;
     7    }
     8.dropzone {
     9    float: right;
     10    margin-left: 10px;
     11    margin-right: auto;
     12    width: 240px;
     13    }
     14* html .dropzone ul {
     15    margin-right: 0;
     16    }
    1017* .handle, #lastmodule span {
     18    border-left: 1px solid #e8e8e8;
    1119    border-right: 1px solid #f2f2f2;
    12     border-left: 1px solid #e8e8e8;
    13 }
    14 
    15 #sbadmin p.submit {
    16     padding-right: 0;
    17     padding-left: 10px;
    18     clear: right;
    19 }
    20 
    21 #palettediv .module, #lastmodule, .dropzone {
    22     margin-right: auto;
    23     margin-left: 10px;
    24 }
    25 
     20    }
    2621* .popper {
    2722    right: auto;
    2823    left: 3px;
    29     background-position: 5px 0;
    30 }
    31 
    32 .controlcloser {
    33     right: auto;
    34     left: 8px;
    35 }
    36 
    37 #shadow {
    38     left: auto;
    39     right: 0px;
    40 }
     24    }
     25#palettediv .module, #lastmodule {
     26    margin-right: auto;
     27    margin-left: 10px;
     28    float: right;
     29    }
     30#palettediv ul {
     31    padding: 0 10px 0 0;
     32    margin-right: 0;
     33    width: 100%;
     34    }
     35.placemat {
     36    margin-right: 0;
     37    float: right;
     38    }
  • trunk/wp-admin/rtl.css

    r5863 r6146  
    1 #viewarc, #viewcat, #namediv, #emaildiv, #uridiv, #planetnews li, #login ul li, #your-profile fieldset, #footer .logo, .alignleft .available-theme {
    2     float: right;
     1html,
     2.dbx-handle,
     3#post_name,
     4input[name=link_url],
     5input[name=link_image],
     6input[name=opml_url],
     7input[name=file],
     8input#rss_uri,
     9#template #newcontent,
     10#devnews,
     11#planetnews,
     12#content,
     13body.login #login a,
     14#newcomment_author_url,
     15#email {
     16    direction: ltr;
    317    }
    4 
    5 #templateside, .alignright {
    6     float: left;
     18#adminmenu,
     19#submenu,
     20#minisub,
     21.wrap,
     22.updated,
     23.confirm,
     24#devnews h3,
     25#planetnews h3,
     26#wphead,
     27#user_info,
     28body.login,
     29#login_error {
     30    direction: rtl;
    731    }
    8 
    9 #login #send, .readmore, .widefat th {
    10     text-align: right;
    11     }
    12 
    13 #postcustomsubmit, form#upload th, .submit, .editform th {
     32p.submit,
     33.dbx-handle {
    1434    text-align: left;
    1535    }
    16 
    17 #devnews h4, #wphead h1, #your-profile legend, fieldset.options legend, #planetnews li .post {
    18     font-family: Tahoma, Georgia, "Times New Roman", Times, serif;
     36html *,
     37select,
     38input,
     39table * {
     40    font-family: tahoma, Tahoma, "Times New Roman", Times, serif;
    1941    }
    20 
    2142#wphead {
    2243    padding: .8em 2em .8em 19em;
    2344    }
    24 
    25 #wphead h1 {
    26     font-size: 2.4em;
     45#user_info {
     46    right: auto;
     47    left: 1em;
    2748    }
    28 
    29 #postdiv, #titlediv, #guiddiv, #tagdiv {
    30     margin: 0 0 0 8px;
    31     }
    32 
    33 #ed_toolbar input {
    34     margin: 3px 0 2px 2px;
    35     }
    36 
    37 #edButtons input, #edButtons input:active {
    38     margin: 0px 0 -1px 2px;
    39     }
    40 
    41 body, td {
    42     font: 13px Tahoma, "Lucida Grande", "Lucida Sans Unicode", Verdana;
    43     }
    44 
    45 h1, h2, h3, h4, h5 {
    46     font-family: "Times New Roman", Times, serif;
    47     }
    48 h3.dbx-handle {
    49     font-family: tahoma, Verdana, Arial, Helvetica, sans-serif;
    50     }
    51 
    52 textarea, input, select {
    53     font:  13px Tahoma, Verdana, Arial, Helvetica, sans-serif;
    54     }
    55 
    56 .quicktags, .search {
    57     font: 12px Tahoma, Georgia, "Times New Roman", Times, serif;
    58     }
    59 
    60 .updated, .confirm {
    61     padding: 0 3em 0 1em;
    62     }
    63 
    64 .submit input, .submit input:focus, .button, .button:focus {
    65     border-left-color: #999;
    66     border-right-color: #ccc;
    67     }
    68 
    69 .submit input:active, .button:active {
    70     border-left-color: #ccc;
    71     border-right-color: #999;
    72     }
    73 
    7449#adminmenu {
    7550    padding: .2em 2em .3em .2em;
    7651    height: 28px;
    7752    }
    78 
     53* html #adminmenu {
     54    padding-bottom: 0;
     55    }
    7956#adminmenu a {
    8057    margin: 0 0 0 10px;
     
    8360    font: 700 16px/130% "Times New Roman", Times, serif;
    8461    }
    85 
    8662#adminmenu a.current {
    8763    border-right: 0;
    8864    border-left: 2px solid #4f96c8;
    8965    }
    90 
    9166#submenu, #minisub {
    9267    padding: 1px 3em 0 2em;
    9368    }
    94 
    9569#submenu {
    9670    height: 28px;
    9771    }
    98 
    9972#submenu a {
    10073    margin: 0 0 0 10px;
     
    10376    line-height: 155%;
    10477    }
    105 
    10678#submenu .current {
    10779    border-right: 0;
    10880    border-left: 2px solid #045290;
    10981    }
    110 
    111 #currenttheme img {
    112     float: right;
     82.dbx-content input, .dbx-content select {
     83    margin-right: 8px;
     84    }
     85#newcat {
     86    width: 100px;
     87    }
     88.updated, .confirm {
     89    background-position: 98.5%;
     90    padding: 0 3em 0 1em;
     91    }
     92.page-numbers {
    11393    margin-right: auto;
    114     margin-left: 1em;
     94    margin-left: 3px;
    11595    }
    116 
    117 #postdiv #quicktags {
    118     padding-right: 0;
    119     padding-left: 6px;
     96.wrap ul {
     97    margin-right: 45%;
     98    margin-left: 0;
    12099    }
    121 
    122 .readmore {
    123     margin-right: auto;
    124     margin-left: 5em;
     100* html .wrap ul {
     101    margin-right: 50%;
    125102    }
    126 
    127 #postexcerpt div, #attachmentlinks div {
    128     margin-right: auto;
    129     margin-left: 8px;
     103.wrap h2 {
     104    font-family: "Times New Roman", Times, serif;
    130105    }
    131 
    132 * html #postexcerpt .dbx-toggle-open {
    133     padding-right: 0;
    134     padding-left: 8px;
    135     }
    136 
    137 #searchform {
    138     float: right;
    139     margin-right: auto;
    140     margin-left: 1em;
    141     }
    142 
    143 #poststuff {
    144     margin-right: auto;
    145     margin-left: 16em;
    146     }
    147 
    148 #template div {
    149     margin-right: auto;
    150     margin-left: 190px;
    151     }
    152 
    153 * html #template div {
    154     margin-right: auto;
    155     margin-left: 0px;
    156     }
    157 
    158 #user_info {
    159     right: auto;
    160     left: 1em;
    161     }
    162    
    163106#zeitgeist {
    164     float: left;
    165     margin-left: auto;
    166107    margin-right: 1em;
    167108    }
    168 
    169109#zeitgeist ul {
    170110    margin: 0 .6em .3em 0;
    171111    padding: 0 .6em 0 0;
    172112    }
    173 
    174 .wrap ul {
    175     margin-left: 500px;
    176     }
    177 
    178113#categorydiv ul {
    179114    margin-left: auto;
    180115    margin-right: 10px;
    181116    }
    182 
    183 #moremeta {
     117a.view-link {
     118    left: 6%;
     119    right: auto;
     120    margin-right: auto;
     121    }
     122#postdiv #quicktags {
     123    padding-right: 0;
     124    padding-left: 6px;
    184125    margin-right: 0;
    185     margin-left: 15px;
    186     right: auto;
    187     left: 6%;
    188126    }
    189    
    190 #moremeta .dbx-content {
    191     background: url(images/box-butt.gif) no-repeat bottom left;
    192     padding-right: 10px;
    193     padding-left: 0;
    194     text-align: right;
     127.options ul {
     128    margin-right: 0;
    195129    }
    196    
    197 #moremeta .dbx-handle {
    198     background: #2685af url(images/box-head.gif) no-repeat left;
    199     margin-top: -2px;
     130*form#template > div > textarea#newcontent {
     131    margin-right: -300px;
     132    width: 107%;
    200133    }
    201 
    202 #moremeta .dbx-box {
    203     background: url(images/box-bg.gif) repeat-y left;
    204     padding-bottom: 0;
    205     }
    206 
    207 a.dbx-toggle, a.dbx-toggle:visited {
    208     right: auto;
    209     left: 2px;
    210     }
    211 
    212 
    213 #categorychecklist {
    214     margin-right: auto;
    215     margin-left: 6px;
    216     }
    217 
    218 #ajax-response.alignleft {
    219     margin-left: auto;
    220     margin-right: 2em;
    221     }
    222 
    223 #postdivrich #edButtons {
    224     padding-left: 0;
    225     padding-right: 3px;
    226     }
    227 
    228 .page-numbers {
    229     margin-right: auto;
    230     margin-left: 3px;
    231     }
    232 
    233 a.view-link {
    234     right:auto;
    235     left:5%;
    236     margin-right:0;
    237     margin-left:220px;
    238     }
    239 #advancedstuff {
    240     direction: ltr;
    241     }
    242 #advancedstuff .dbx-handle {
    243     text-align: right;
    244     }
    245 #advancedstuff .dbx-content * {
    246     direction: rtl;
    247     }
Note: See TracChangeset for help on using the changeset viewer.