Ticket #7498: wp-26-rtl-rewrite-patch.diff

File wp-26-rtl-rewrite-patch.diff, 31.6 KB (added by mani_monaj, 4 years ago)
  • css/colors-classic-rtl.css

     
     1/* 
     2Persian Wordpress Project : wp-persian.com 
     3- Navid Kashani 
     4*/ 
     5.post-com-count { 
     6} 
     7#adminmenu li a #awaiting-mod, #sidemenu li a #update-plugins { 
     8        background-image: url(../images/comment-stalk-rtl.gif); 
     9        background-position:right bottom; 
     10} 
     11#footer { 
     12        background-position:99% 10px; 
     13} 
    114#poststuff .closed .togbox, #poststuff .togbox { 
    2 background-image: url(../images/toggle-arrow-rtl.gif) !important; 
     15        background-image: url(../images/toggle-arrow-rtl.gif) !important; 
     16} 
     17.bar { 
     18        border-right-color: transparent; 
     19        border-left-color: #99d; 
     20} 
     21.plugins .togl { 
     22        border-right-color: transparent; 
     23        border-left-color: #ccc; 
     24} 
     25#upload-menu li.current { 
     26        border-right-color: transparent; 
     27        border-left-color: #448abd; 
    328} 
     29 No newline at end of file 
  • css/colors-fresh-rtl.css

     
     1/* 
     2Persian Wordpress Project : wp-persian.com 
     3- Navid Kashani 
     4*/ 
     5.bar { 
     6        border-right-color: transparent; 
     7        border-left-color: #99d; 
     8} 
     9.post-com-count { 
     10} 
     11#adminmenu li a #awaiting-mod, #sidemenu li a #update-plugins { 
     12        background-image: url(../images/comment-stalk-rtl.gif); 
     13        background-position:right bottom; 
     14} 
     15#footer { 
     16        background-position:99% 10px; 
     17} 
     18.plugins .togl { 
     19        border-right-color: transparent; 
     20        border-left-color: #ccc; 
     21} 
    122#poststuff .closed .togbox, #poststuff .togbox { 
    2 background-image: url(../images/toggle-arrow-rtl.gif) !important; 
     23        background-image: url(../images/toggle-arrow-rtl.gif); 
     24} 
     25#upload-menu li.current { 
     26        border-right-color:transparent; 
     27        border-left-color: #448abd; 
    328} 
     29 No newline at end of file 
  • css/dashboard-rtl.css

     
     1/* 
     2Persian Wordpress Project : wp-persian.com 
     3- Navid Kashani 
     4*/ 
     5/* Right Now */ 
    16#rightnow { 
    2         margin-left: 15px; 
     7        margin-right:0; 
     8        margin-left: 7px; 
    39} 
    4  
    510#rightnow .reallynow span { 
    611        text-align: right; 
    712        float: right; 
    813} 
    9  
    1014#rightnow .reallynow a { 
    1115        text-align: left; 
    1216        float: left; 
    1317        margin: 1px 0 0 6px; 
    1418} 
    15  
     19/* Widgets */ 
     20div#dashboard-widgets-wrap { 
     21        margin-right:0; 
     22        margin-left:-13px; 
     23} 
    1624div.dashboard-widget-holder { 
    17         float: right; 
     25        float:right; 
    1826} 
    19  
     27div.dashboard-widget { 
     28        margin-right:0; 
     29        margin-left: 20px; 
     30} 
    2031h3.dashboard-widget-title span { 
    2132        text-align: right; 
    2233        float: right; 
    2334} 
    24  
    25 div.dashboard-widget-submit input { 
    26         font-family: sans-serif !important; 
    27 } 
    28          
    29 #dashboard-widgets .widget_rss ul li a { 
    30         float:right; 
    31         font-weight:bold; 
    32         margin:0pt 0pt 0.2em 0.5em; 
    33 } 
    34  
    35 #dashboard-widgets .widget_rss ul li span.rss-date { 
    36         float: right; 
    37 } 
    38  
    3935h3.dashboard-widget-title small { 
    4036        text-align: left; 
    41         float: left; 
     37        float:left; 
    4238} 
    43 div.dashboard-widget-content ul, 
    44 div.dashboard-widget-content ol, 
    45 div.dashboard-widget-content dl { 
     39div.dashboard-widget-submit input  { 
     40        font-family:tahoma; 
     41} 
     42div.dashboard-widget-content ul, div.dashboard-widget-content ol, div.dashboard-widget-content dl { 
    4643        padding-left:0; 
    4744        padding-right:15px; 
    4845} 
    49 div#dashboard-widgets-wrap 
    50 { 
    51         margin-right:0; 
    52         margin-left:-10px; 
    53 } 
    54  
    55 div.dashboard-widget { 
    56         margin-right:0; 
    57         margin-left:20px; 
    58 } 
    59  
    60 #dashboard-widgets .widget_rss ul li span.rss-date { 
     46#dashboard_secondary div.dashboard-widget-content ul li { 
    6147        float:right; 
    6248} 
    63 #dashboard-widgets .widget_rss ul li a { 
    64         float:right; 
    65         margin:0 0 0.2em 0.5em; 
    66 } 
    67 #dashboard_secondary div.dashboard-widget-content ul li { 
    68         float: right; 
    69 } 
    7049#dashboard_secondary div.dashboard-widget-content ul li .post { 
    71         font-family: sans-serif !important; 
     50        font-family:arial; 
    7251} 
    7352#dashboard_secondary div.dashboard-widget-content ul li a { 
    7453        border-right:0 none; 
    75         border-left:1px solid #DADADA; 
     54        border-left: 1px solid #dadada; 
     55        height:110px; 
    7656} 
    7757#dashboard_secondary div.dashboard-widget-content ul li a cite { 
    78         font-family: sans-serif; 
     58        font-family:tahoma; 
    7959} 
     60#dashboard-widgets .widget_rss ul li span.rss-date { 
     61        float:right; 
     62} 
     63#dashboard-widgets .widget_rss ul li a { 
     64        float: right; 
     65        margin: 0 0 .2em .5em; 
     66} 
     67 No newline at end of file 
  • css/global-rtl.css

     
    1 //* styles for use by people extending the WordPress interface */ 
    2 body, td { font-family: sans-serif; } 
    3  
    4 textarea, input, select { font-family: sans-serif; } 
    5  
    6 .alignleft { float: right; } 
    7 .alignright { float: left; } 
    8  
    9 .textleft { text-align: right; } 
    10 .textright { text-align: left; } 
    11          
    12 .wrap h2 { font-family: sans-serif; } 
    13  
     1/* 
     2Persian Wordpress Project : wp-persian.com 
     3- Navid Kashani 
     4*/ 
     5body, td { 
     6        font-family:tahoma; 
     7} 
     8textarea, input, select { 
     9        font-family:tahoma; 
     10} 
     11h1, h2, h3 { 
     12        font-family:arial; 
     13} 
    1414.widefat td { 
    1515        padding: 7px 10px 9px 15px; 
    1616} 
    17  
    1817.widefat th { 
    1918        padding: 9px 10px 6px 15px; 
    2019        text-align: right; 
    2120} 
    22  
    2321.widefat th input { 
    2422        margin: 0 8px 0 0; 
    2523} 
    26  
    2724.widefat .check-column { 
    2825        text-align: left; 
    2926} 
    30  
    3127.wrap h2 { 
     28        font-family:arial; 
    3229        margin: 5px -4px 0 0; 
    33         padding: 0 0 7px 280px; 
     30        padding-right:0; 
     31        padding-left: 280px; 
    3432} 
     33.wrap h2.long-header { 
     34        padding-left: 0; 
     35} 
     36 No newline at end of file 
  • css/ie-rtl.css

     
    1 /* footer */ 
    2 body, td { 
    3         font-family: Tahoma,Verdana,sans-serif; 
     1/* 
     2Persian Wordpress Project : wp-persian.com 
     3- Navid Kashani 
     4*/ 
     5#poststuff .postbox h3 { 
     6        padding-left:0; 
     7        padding-right: 23px; 
    48} 
    5  
    6 .wrap { 
    7         text-align: right; 
     9* html #poststuff .postarea, * html #poststuff #titlediv { 
     10        margin-left:0; 
     11        margin-right: 3%; 
    812} 
    9  
    10 .wrap h2 { 
    11         margin: 5px 0 0 4px; 
     13* html #poststuff h2 { 
     14        margin-right: 0; 
    1215} 
    13  
    14 #footer { 
    15         padding-left:50px; 
    16 } 
    17 #footer p { 
    18         background:none; 
    19         height:auto; 
    20         padding: 5px 5px 0; 
    21 } 
    22  
    2316#bh { 
     17        padding-right:0; 
    2418        padding-left: 15px; 
    25         padding-right: 0px; 
    2619} 
    27 /* write post */ 
    28 #poststuff .togbox { 
    29         margin-right:-16px; 
     20div#dashboard-widgets { 
     21        padding-right:0; 
     22        padding-left: 1px; 
    3023} 
    31 #poststuff h3 { 
    32         padding-right:20px; 
     24#tagchecklist span a { 
     25        margin: 4px -9px 0 0; 
    3326} 
    34  
    35 p#widget-search, p#post-search { 
    36         padding-left: 15px; 
     27#poststuff .togbox { 
     28        margin-left:0; 
     29        margin-right: -19px; 
    3730} 
    38  
    39 .widefat th { 
    40         padding-bottom: 8px; 
     31.widefat th input { 
     32        margin: 0 5px 0 0; 
    4133} 
    42  
    43 /* template editor */ 
    44 #template textarea { 
     34/* ---------- add by navid */ 
     35#dashmenu { /* fix top right bottom in admin */ 
     36        direction:ltr; 
     37} 
     38#sidemenu a { /* fix left admin buttom ex. plugins, options */ 
    4539        float:left; 
    4640} 
    47  
    48 /* Editor */ 
    49  
    50 .mceToolbar { 
    51         direction: ltr; 
    52         text-align: left; 
     41.wrap h2 { 
     42        margin:5px 4px 0 0; 
    5343} 
    54  
    55 /* IE6 */ 
    56  
    57 /* Search box gets stuck to the right, hidden outside view */ 
    58 * html #post-search, * html #widget-search {  
    59         height: 1% !important; 
    60         right: 600px !important; 
     44#editor-toolbar {/* fix hover in media uploader icon */ 
     45        direction:ltr; 
    6146} 
    62  
    63 /* Sidemenu tends to disapear, widget filter area tends to jump around when adding filters - Peek-A-Boo! */ 
    64 * html #sidemenu, * html #widgets-filter { 
    65         height: 1% !important; 
     47#TB_window { /* fix theme preview */ 
     48        left:2%; 
    6649} 
    67  
    68 /* Media upload window gets stuck to the right, hidden outside view */ 
    69 * html #TB_window { 
    70         left: 100px !important; 
     50/* fix widget page */ 
     51form#widgets-filter { 
     52        position:static; 
    7153} 
    72  
    73 /* Bad floating in the sub-sub-sub menu makes links un-clickable */ 
    74 * html .subsubsub li {  
    75         display: block; float: right; margin: 0 2px; 
     54#widget-search { 
     55        display:none; 
    7656} 
    77  
    78 /* Fixing floats on sub-sub-sub menu skewes the view-switch menu on comments management page */ 
    79 * html .wrap .view-switch { 
    80         margin-top: 1px; 
     57/* fix manage comment page */ 
     58ul.view-switch li { 
     59        float:left; 
    8160} 
    82  
    83 /* Theme selector on theme edit page gets stuck to the left, hidden outside view */ 
    84 * html #themeselector {  
    85         position: static; 
     61form#posts-filter { 
     62        position:static; 
    8663} 
    87  
    88 /* Template edit area floats beneath template list, gets RTLed */ 
    89 * html #template { 
    90         float: right;  
    91         overflow: hidden; 
    92         width: 755px !important;  
    93 } 
    94 * html #template #newcontent { 
    95         direction: ltr; 
    96 } 
    97  
    98 /* Editor */ 
    99  
    100 .mceToolbar { 
    101         direction: ltr; 
    102         text-align: left; 
     64#post-search { 
     65        display:none; 
    10366} 
     67 No newline at end of file 
  • css/install-rtl.css

     
     1/* 
     2Persian Wordpress Project : wp-persian.com 
     3- Navid Kashani 
     4*/ 
    15body { 
    2         font-size: 11px; 
    3         font-family: sans-serif !important; 
     6        font-family:tahoma; 
    47} 
    58ul, ol { 
    69        padding: 5px 22px 5px 5px; 
    710} 
    8 .form-table th { 
    9         text-align: right; 
     11.step, th { 
     12        text-align:right; 
    1013} 
    11 input { 
    12         padding: 1px 
     14.submit input, .button, .button-secondary  { 
     15        font-family:tahoma; 
     16        margin-right:0; 
    1317} 
    14 #logo { 
    15         text-align: left; 
     18.form-table th { 
     19        text-align:right; 
    1620} 
    17 #admin_email { 
    18         direction: ltr; 
    19         text-align: left; 
    20 } 
    21 .submit input, .button, .button-secondary { 
    22         font-family: sans-serif !important; 
    23 } 
    2421h1 { 
    25         font-family: sans-serif; 
     22        font-family:arial; 
     23        margin: 5px -4px 0 0; 
    2624} 
     25 No newline at end of file 
  • css/login-rtl.css

     
     1/* 
     2Persian Wordpress Project : wp-persian.com 
     3- Navid Kashani 
     4*/ 
    15body { 
    2         font-family: sans-serif; 
    3         direction: rtl; 
     6        font-family:tahoma; 
    47} 
    5 #login form .submit input { 
    6         font-family: sans-serif !important; 
    7 } 
    88form { 
    99        margin-left:0; 
    10         margin-right:8px; 
     10        margin-right: 8px; 
    1111} 
    1212form .forgetmenot { 
    1313        float:right; 
    1414} 
     15#login form .submit input  { 
     16        font-family:tahoma; 
     17} 
    1518form .submit { 
    1619        float:left; 
    1720} 
     21#backtoblog a { 
     22        left:auto; 
     23        right:15px; 
     24} 
    1825#login_error, .message { 
    19         margin:0 8px 16px 0; 
     26        margin: 0 8px 16px 0; 
    2027} 
    2128#nav { 
    22         margin: 0 8px 0 0; 
     29        margin:0 8px 0 0; 
    2330} 
    2431#user_pass, #user_login, #user_email { 
    2532        margin-right:0; 
    2633        margin-left: 6px; 
    27         direction:ltr; 
    2834} 
    2935h1 a { 
    3036        text-decoration:none; 
    3137} 
    32 #backtoblog a { 
    33         left: auto; 
    34         right: 15px; 
     38/* ltr input */ 
     39#user_login, #user_pass { 
     40        direction:ltr; 
    3541} 
     42 No newline at end of file 
  • css/media-rtl.css

     
    1 ul#sidemenu { 
    2         left: auto; 
    3         right: 0; 
     1/* 
     2Persian Wordpress Project : wp-persian.com 
     3- Navid Kashani 
     4*/ 
     5body#media-upload ul#sidemenu { 
     6        left:auto; 
     7        right:0; 
    48} 
     9#search-filter { 
     10        text-align:left; 
     11} 
    512.align .field label { 
    6         display: block; 
     13        padding: 0 28px 0 0; 
     14        margin: 0 0 0 1em; 
     15} 
     16.image-align-none-label, .image-align-left-label, .image-align-center-label, .image-align-right-label { 
     17        background-position:center right; 
     18} 
     19tr.image-size label { 
     20        margin: 0 0 0 1em; 
     21} 
     22.filename.original { 
    723        float: right; 
    8         padding: 0 25px 0 0; 
    9         margin: 5px 3px 5px 5px;  
    1024} 
    11 .align .field input { 
    12         display: block; 
     25.crunching { 
     26        text-align: left; 
     27        margin-right:0; 
     28        margin-left: 5px; 
     29} 
     30button.dismiss { 
     31        right:auto; 
     32        left:5px; 
     33} 
     34.file-error { 
     35        margin: 0 50px 5px 0; 
     36} 
     37.progress { 
     38        left:auto; 
     39        right:0; 
     40} 
     41.bar { 
     42        border-right-width:0; 
     43        border-left-width: 3px; 
     44        border-left-style: solid; 
     45} 
     46.media-item .pinkynail { 
     47        float:right; 
     48} 
     49.describe-toggle-on, .describe-toggle-off { 
     50        float: left; 
     51        margin-right:0; 
     52        margin-left: 20px; 
     53} 
     54/* Specific to Uploader */ 
     55 
     56#media-upload .media-upload-form p { 
     57        margin: 0 0 1em 1em; 
     58} 
     59.filename { 
    1360        float: right; 
    14         margin: 5px 15px 5px 0; 
     61        margin-left:0; 
     62        margin-right: 10px; 
    1563} 
    16 .image-align-none-label, 
    17 .image-align-left-label, 
    18 .image-align-center-label, 
    19 .image-align-right-label { 
    20         background-position: center right; 
     64#media-upload .describe th.label { 
     65        text-align:right; 
     66} 
     67.menu_order { 
     68        float:left; 
    2169} 
     70 No newline at end of file 
  • css/press-this-ie-rtl.css

     
    1 #menu { margin-right: 8px !important; } 
    2  
    3 p.submit input { text-align: right !important; } 
    4  
    5 li.ui-tabs-selected a { height: 25px; } 
    6  
    7 #photo_directions span { right: 200px; left: auto; height: 8px; } 
    8  No newline at end of file 
     1/* 
     2Persian Wordpress Project : wp-persian.com 
     3- Navid Kashani 
     4*/ 
     5.ui-tabs-nav { 
     6        margin-right: 0; 
     7} 
     8 No newline at end of file 
  • css/press-this-rtl.css

     
     1/* 
     2Persian Wordpress Project : wp-persian.com 
     3- Navid Kashani 
     4*/ 
    15body { 
    2         font-family: sans-serif; 
     6        font-family:tahoma; 
    37} 
    4  
    5 #viewsite {  
    6         right:auto; left: 8px;  
     8.ui-tabs-nav { 
     9        padding-left:0; 
     10        padding-right:8px; 
    711} 
    8  
    9 ul#menu {  
    10         padding-right: 8px;  
     12.ui-tabs-nav li { 
     13        float: right; 
    1114} 
    12  
    13 .ui-tabs-nav li {  
    14         float: right;  
     15.button { 
     16        font-family:tahoma; 
     17        margin-left:0; 
     18        margin-right: 5px; 
    1519} 
    16  
    17 div#posting {  
    18         padding-right:16px; padding-left: 0;  
     20#wphead #viewsite { 
     21        margin-left:0; 
     22        margin-right: 10px; 
    1923} 
    20  
    21 div#categories {  
    22         right: auto; left: 16px;  
     24#viewsite { 
     25        right:auto; 
     26        left: 8px; 
    2327} 
    24  
    25 div#categories h2 {  
    26         margin:0.5em 1em 0.5em 0;  
     28#wphead #viewsite a { 
     29        font-family:tahoma; 
    2730} 
    28  
    29 #jaxtag {  
    30         padding-right :1em; padding-left: 0;  
     31h1 { 
     32        right:auto; 
     33        left:0; 
    3134} 
    32  
    33 input#newtag {  
    34         margin-left: 4px; width: 100px;  
     35div#posting { 
     36        padding-left:0; 
     37        padding-right: 16px; 
    3538} 
    36  
    37 #photo_directions span {  
    38         right: auto; left: 3px  
     39#photo_directions span { 
     40        right:auto; 
     41        left:3px; 
    3942} 
    40  
    41 #TB_ajaxContent #options {  
    42         right: auto; left: 25px;  
     43#img_container a { 
     44        float:right; 
    4345} 
    44  
    45 #TB_ajaxContent { 
    46         text-align: right; 
     46#img_container a, #img_container a:link, #img_container a:visited { 
     47        margin:0 0 4px 4px; 
    4748} 
    48  
    49 #TB_ajaxContent #this_photo { 
    50         direction: ltr; 
     49div#categories { 
     50        right:auto; 
     51        left:16px; 
    5152} 
    52  
    53 .video_split #extra_fields {  
    54         float: right;  
     53div#categories h2 { 
     54        margin: .5em 1em .5em 0; 
    5555} 
    56  
    57 .video_split .editor_area {  
    58         float: left;  
     56#tagsdiv #newtag { 
     57        margin-right:0;  
     58        margin-left: 5px;        
     59} 
     60#jaxtag { 
     61        padding-left:0; 
     62        padding-right: 1em; 
     63} 
     64#tagchecklist { 
     65        padding-left:0; 
     66        padding-right: 1em; 
     67} 
     68#tagchecklist span { 
     69        margin-right: 10px; 
     70        margin-left: .5em; 
     71        float: right; 
     72} 
     73#tagchecklist span a { 
     74        margin: 6px -9px 0pt 0; 
     75        float: right; 
     76} 
     77.submitbox { 
     78        float: left; 
     79} 
     80.submitbox .submit input { 
     81        text-align:right; 
     82} 
     83.video_split #extra_fields { 
     84        float:right; 
     85} 
     86.video_split .editor_area { 
     87        float: left; 
     88} 
     89.ac_results li { 
     90        text-align:right; 
     91} 
     92#TB_ajaxContent #options { 
     93        right:auto; 
     94        left:25px; 
     95} 
     96#post_status { 
     97        margin-left:0; 
     98        margin-right: 10px; 
     99} 
     100#footer { 
     101        padding: 10px 60px 0 0; 
    59102} 
     103 No newline at end of file 
  • css/theme-editor-rtl.css

     
     1/* 
     2Persian Wordpress Project : wp-persian.com 
     3- Navid Kashani 
     4*/ 
    15#template textarea { 
    2         font-family: monospace !important; 
     6        font-family:monospace; 
    37} 
    48#templateside { 
    59        float:left; 
    610} 
    711#themeselector { 
    812        padding-right:0; 
    9         padding-left:5px; 
     13        padding-left: 5px; 
     14        float: left; 
    1015} 
    1116div.tablenav { 
    12         margin-left:210px; 
    1317        margin-right:0; 
     18        margin-left: 210px; 
    1419} 
     20 No newline at end of file 
  • css/widgets-rtl.css

     
     1/* 
     2Persian Wordpress Project : wp-persian.com 
     3- Navid Kashani 
     4*/ 
     5/* 2 column liquid layout */ 
    16div.widget-liquid-left-holder { 
    2         clear:right; 
    3         float:right; 
     7        float: right; 
     8        clear: right; 
    49        margin-right:0; 
    5         margin-left:-310px; 
     10        margin-left: -310px; 
    611} 
    712div.widget-liquid-left { 
    813        margin-right:0; 
    9         margin-left:310px; 
     14        margin-left: 320px; 
    1015} 
    1116div.widget-liquid-right { 
    12         clear:left; 
    13         float:left; 
     17        float: left; 
     18        clear: left; 
    1419} 
    1520p#widget-search { 
     21        right:auto; 
    1622        left:0; 
    17         right:auto 
    1823} 
     24h4.widget-title span { 
     25        float: right; 
     26} 
     27h4.widget-title a { 
     28        float: left; 
     29        margin-left:0; 
     30        margin-right: 1em; 
     31} 
    1932ul#widget-list li.widget-list-item h4.widget-title { 
    2033        float:right; 
    21         text-align:right; 
    2234} 
    2335ul#widget-list li.widget-list-item div.widget-description { 
    24         margin:0 200px 0 0; 
    25         padding:0 4em 0 0; 
     36        margin: 0 200px 0 0; 
     37        padding: 0 4em 0 0; 
    2638} 
    2739.widget-control-save, .widget-control-remove { 
    28         float:right; 
    2940        margin-right:0; 
    30         margin-left:8px; 
    31 } 
    32 h4.widget-title span { 
     41        margin-left: 8px; 
    3342        float: right; 
    3443} 
    35 h4.widget-title a { 
    36         float: left; 
    37         margin: 0 1em 0 0; 
    38 } 
    39 li.widget-list-control-item h4.widget-title a, #dragHelper li.widget-list-control-item h4.widget-title a, #draghelper li.widget-list-control-item h4.widget-title a:visited { 
     44li.widget-list-control-item h4.widget-title a, 
     45#dragHelper li.widget-list-control-item h4.widget-title a, 
     46#draghelper li.widget-list-control-item h4.widget-title a:visited { 
    4047        right:auto; 
    41         left:1em; 
    42 } 
    43  
    44 ul.widget-control-list div.widget-control-actions { 
    45         margin-right:0; 
    46         margin-left:-10px; 
    47 } 
    48 ul.widget-control-list h4.widget-title, 
    49 #dragHelper h4.widget-title { 
    50         text-align: right; 
     48        left: 1em; 
    5149} 
     50 No newline at end of file 
  • rtl.css

     
    1 html,#edit-slug-box,#trackback,#category_nicename,#slug,#dbuser,#dbpass,#dbname,#dbhost,#dbprefix,#dccharset,input[name=gmpath],input[name=archivespath],input[name=lastentry],input[name=email],input[name=url],input[name=aim],input[name=yim],input[name=jabber],#newcontent,#email,#newcomment_author_url,#pass1,#pass2,#siteurl,#home,#admin_email,#date_format,#time_format,#mailserver_url,#mailserver_login,#mailserver_pass,#ping_sites,#blog_charset,#moderation_keys,#blacklist_keys,#permalink_structure,#category_base,#tag_base,#upload_path,#upload_url_path,#insertonly[src],#insertonly[href],#mailserver_port,#thumbnail_size_w,#thumbnail_size_h,#medium_size_w,#medium_size_h,#posts_per_page,#posts_per_rss,#comment_max_links,#insertonly[src],#link_url,#link_image,#rss_uri,#user_login,#key 
    2 { 
    3         direction:ltr; 
    4         text-align:left 
     1/* 
     2Persian Wordpress Project : wp-persian.com 
     3- Navid Kashani 
     4*/ 
     5/* 0 - 200 
     6=================================== */ 
     7a:link, a:visited { 
     8        text-decoration:none; 
    59} 
    6  
    7 body, td, .submit input, .button, .button-secondary, .button-highlighted, #your-profile legend, .quicktags, .search, #wpcontent select, #wphead #viewsite a, #wphead h1 { 
    8         font-family: sans-serif !important; 
     10a:hover { 
     11        text-decoration:underline; 
    912} 
    10  
    11 .code, #quicktags #ed_code { 
    12         font-family: monospace !important; 
     13.plugins .togl { 
     14        border-right-width: 0; 
     15        border-left-width: 1px; 
     16        border-left-style: solid; 
    1317} 
    14  
    15 /* Clears update nag, so it doesn't hide the submenu */ 
    16 #update-nag {  
    17         clear: both;  
    18         margin-bottom: 1em;  
     18form#upload th { 
     19        text-align:left; 
    1920} 
    20  
    21 #wpwrap,#footer,#TB_title,.media-upload-form,#media-upload-header 
    22 { 
    23         direction:rtl!important; 
    24         text-align:right!important 
     21td.available-theme { 
     22        text-align:right; 
    2523} 
    26  
    27 #user_info 
    28 { 
    29         left:15px; 
    30         right:auto 
     24#current-theme img { 
     25        float: right; 
     26        margin-right:0; 
     27        margin-left: 1em; 
    3128} 
    32  
    33 #wphead h1 
    34 { 
    35         margin:0 0 0 15%; 
    36         padding:11px 15px 16px 170px 
     29.quicktags, .search { 
     30        font-family:tahoma; 
    3731} 
    38  
    39 #wphead #viewsite 
    40 { 
    41         margin-left:0; 
    42         margin-right:10px 
    43 } 
    44  
    45 #sidemenu 
    46 { 
    47         float:left; 
    48         margin:-30px 315px 0 15px; 
     32/* 201 - 403 
     33=================================== */ 
     34.side-info ul { 
    4935        padding-left:0; 
    50         padding-right:10px 
     36        padding-right:18px; 
    5137} 
    52  
    53 #dashmenu 
    54 { 
    55         font-size:11px; 
    56         left:auto; 
    57         padding-left:0; 
    58         padding-right:9px; 
    59         right:0 
     38.submit input, .button, .button-secondary, .button-highlighted { 
     39        font-family:tahoma; 
    6040} 
    61  
    62 #dashmenu a 
    63 { 
    64         margin-left:8px; 
    65         margin-right:8px; 
     41#wpcontent select  { 
     42        font-family:tahoma; 
    6643} 
    67  
    68 #adminmenu 
    69 { 
    70         height:32px; 
    71         padding:5px 8px 0 0 
     44/* #postdiv, #titlediv, #guiddiv, #poststuff .stuffbox { 
     45        margin:0 0 0 8px; 
     46} */ 
     47#quicktags #ed_code { 
     48        font-family:tahoma; 
    7249} 
    73  
    74 #adminmenu li a 
    75 { 
    76         display:block; 
     50#searchform fieldset { 
    7751        float:right; 
    78         font:700 16px/100% sans-serif; 
    79         margin:0 0 0 10px; 
    80         padding:5px 7px 9px 
     52        margin: 0 0 1em 1.5ex; 
    8153} 
    82  
    83 #adminmenu li a.current 
    84 { 
    85         font-weight:700 
     54#searchform fieldset legend { 
     55        padding: 0 1px .2em 0; 
    8656} 
    87  
    88 #adminmenu li a #awaiting-mod 
    89 { 
    90         background:url(images/comment-stalk-rtl.gif) -309px bottom !important; 
    91         font-family: sans-serif !important; 
    92         margin-left:-45px; 
    93         margin-right:.2em; 
    94         margin-top:-5px 
     57#searchform #post-query-submit { 
     58        float:right; 
    9559} 
    96  
    97 #adminmenu li a:hover #awaiting-mod 
    98 { 
    99         background-position: -229px bottom !important; 
     60/* 404 - 804 
     61=================================== */ 
     62#template div { 
     63        margin-right:0; 
     64        margin-left: 190px; 
    10065} 
    101  
    102 #adminmenu li a #awaiting-mod span 
    103 { 
    104         left:0; 
    105         right:auto 
     66* html #template div { 
     67        margin-left: 0; 
    10668} 
    107  
    108 #submenu li a 
    109 { 
    110         display:block; 
    111         float:right; 
    112         margin:0 10px 10px 0; 
    113         padding:2px 4px 
     69#your-profile legend { 
     70        font-family:arial; 
    11471} 
    115  
    116 p#post-search 
    117 { 
    118         left:0; 
    119         right:auto 
     72#ajax-response.alignleft { 
     73        margin-left:0; 
     74        margin-right: 2em; 
    12075} 
    121  
    122 .tablenav div  
    123 { 
    124         float:right !important; 
    125         direction: rtl;  
     76.page-numbers { 
     77        margin-right:0; 
     78        margin-left:3px; 
    12679} 
    127  
    128 .tablenav .delete  
    129 { 
    130         margin-left: 40px; 
    131         margin-right: 0; 
     80.comment-column { 
     81        margin-left:0; 
     82        margin-right: 5px; 
    13283} 
    133  
    134 ul.view-switch 
    135 { 
     84.tablenav a.button-secondary { 
     85        margin: 1px 0 0 8px; 
     86} 
     87#update-nag, .plugin-update { 
     88        clear:both; 
     89} 
     90/* .tablenav .tablenav-pages { 
    13691        float:left; 
    137         margin:-28px 0 -2px 5px 
     92} */ 
     93#user_info { 
     94        right:auto; 
     95        left:15px; 
    13896} 
    139  
    140 #currenttheme img 
    141 { 
    142         float:right; 
    143         margin-left:1em; 
    144         margin-right:0 
     97#wphead #viewsite { 
     98        margin-left:0; 
     99        margin-right:10px; 
    145100} 
    146  
    147 form#themeselector 
    148 { 
    149         float:left 
     101#wphead #viewsite a { 
     102        font-family:tahoma; 
    150103} 
    151  
    152 .form-table input.tog 
    153 { 
    154         float:right; 
     104#wphead h1 { 
     105        font-family:arial; 
    155106        margin-right:0; 
    156         margin-left:2px; 
     107        margin-left:15%; 
     108        padding: 11px 12px 16px 170px; 
    157109} 
    158  
    159 .curtime 
    160 { 
    161         background-position:right 2px; 
     110#dashmenu { 
     111        right:0; 
     112        left:auto; 
    162113        padding-left:0; 
    163         padding-right:18px; 
     114        padding-right: 9px; 
    164115} 
    165  
    166 #poststuff #edButtonPreview,#poststuff #edButtonHTML 
    167 { 
    168         float:left; 
     116#dashmenu a { 
     117        margin-right:0; 
    169118        margin-left:8px; 
    170         margin-right:0 
    171119} 
    172  
    173 #poststuff #media-buttons 
    174 { 
    175         direction: rtl; 
    176         float:left; 
    177         margin-left:20px; 
    178         margin-right:0 
     120#adminmenu { 
     121        padding-left:0; 
     122        padding-right:11px; 
    179123} 
    180  
    181 #poststuff #media-buttons a 
    182 { 
    183         margin-left:8px; 
    184         margin-right:0; 
    185         padding: 0 5px 2px 2px; 
     124#adminmenu a { 
     125        font-family:arial; 
     126        font-weight:bold; 
     127        padding:6px 7px; 
    186128} 
    187  
    188 #poststuff .togbox 
    189 { 
    190         margin-left:0; 
    191         margin-right:-19px 
     129#adminmenu a.current, #sidemenu a.current { 
     130        font-weight:bold; 
    192131} 
    193  
    194 #categorydiv ul#category-tabs,#linkcategorydiv ul#category-tabs 
    195 { 
     132#sidemenu { 
     133        margin: -30px 315px 0 15px; 
     134        float: left; 
     135        padding-left:0; 
     136        padding-right: 10px; 
     137} 
     138#sidemenu a { 
    196139        float:right; 
    197         margin:0 0 0 -120px; 
    198         text-align:left 
    199140} 
    200  
    201 ul#category-tabs li.ui-tabs-selected,#poststuff .togbox 
    202 { 
    203         -khtml-border-bottom-left-radius:0; 
    204         -khtml-border-bottom-right-radius:3px; 
    205         -khtml-border-top-left-radius:0; 
    206         -khtml-border-top-right-radius:3px; 
    207         -moz-border-radius-bottomleft:0; 
    208         -moz-border-radius-bottomright:3px; 
    209         -moz-border-radius-topleft:0; 
    210         -moz-border-radius-topright:3px; 
    211         -webkit-border-bottom-left-radius:0; 
    212         -webkit-border-bottom-right-radius:3px; 
    213         -webkit-border-top-left-radius:0; 
    214         -webkit-border-top-right-radius:3px; 
    215         border-bottom-left-radius:0; 
    216         border-bottom-right-radius:3px; 
    217         border-top-left-radius:0; 
    218         border-top-right-radius:3px 
     141#submenu li { 
     142        padding: 0 17px 8px 0; 
     143        font-size:13px; 
    219144} 
    220  
    221 div.ui-tabs-panel 
    222 { 
    223         margin:0 120px 0 0 
     145#adminmenu li a #awaiting-mod span, #sidemenu li a #update-plugins span { 
     146        right:auto; 
     147        left:0; 
    224148} 
    225  
    226 #tagchecklist span 
    227 { 
    228         float:right; 
    229         margin-left:25px; 
    230         margin-right:0 
     149#adminmenu li a:hover #awaiting-mod, #sidemenu li a:hover #update-plugins { 
     150        background-position: -160px top; 
    231151} 
    232  
    233 #tagchecklist span a { 
    234         margin: 6px -9px 0 0; 
    235         float: right; 
     152/* 804 - 1004 
     153=================================== */ 
     154#footer { 
     155        padding: 10px 60px 0 0; 
    236156} 
    237  
    238  
    239 .tablenav .tablenav-pages 
    240 { 
    241         float:left !important; 
    242         width:200px 
     157.form-table th { 
     158        text-align:right; 
    243159} 
    244  
    245 .tablenav-pages .page-numbers 
    246 { 
    247         display:block; 
    248         float:right 
     160.form-table input.tog { 
     161        margin-right:0; 
     162        margin-left: 2px; 
     163        float: right; 
    249164} 
    250  
    251 .side-info ul 
    252 { 
    253         padding-left:0; 
    254         padding-right:18px 
    255 } 
    256  
    257165.form-table table.color-palette { 
    258166        float:right; 
    259167} 
    260  
    261 #pass-strength-result 
    262 { 
     168#pass-strength-result { 
    263169        float:right; 
    264170        margin-right:0; 
    265         margin-left:5px; 
     171        margin-left: 5px; 
    266172} 
    267  
    268 td.comment p.comment-author img.avatar 
    269 { 
    270         float:right !important; 
    271         margin-right:0 !important; 
    272         margin-left:8px !important; 
     173#profile-page .form-table #rich_editing { 
     174        margin-right:0; 
     175        margin-left: 5px; 
    273176} 
    274  
    275 #footer 
    276 { 
    277         padding:10px 0 0 
     177#tagsdiv #newtag { 
     178        margin-right:0; 
     179        margin-left: 5px; 
    278180} 
    279  
    280 #footer p 
    281 { 
    282         height:35px; 
    283         margin-right:20px; 
    284         padding:12px 40px 0 0; 
     181#tagchecklist { 
     182        margin-left:0; 
     183        margin-right: 10px; 
    285184} 
    286  
    287 #submenu,#wpbody 
    288 { 
    289         clear:both; 
     185#tagchecklist strong { 
     186        margin-left:0; 
     187        margin-right: -8px; 
    290188} 
    291  
    292 #submenu li,ul.subsubsub li a 
    293 { 
    294         padding:0; 
     189#tagchecklist span { 
     190        margin-right:0; 
     191        margin-left: 25px; 
     192        float: right; 
    295193} 
    296  
    297 table.widefat th,.form-table th 
    298 { 
    299         text-align:right 
     194#tagchecklist span a { 
     195        margin: 6px -9px 0 0; 
     196        float: right; 
    300197} 
    301  
    302 .widefat th input { 
    303         margin: 0 8px 0 0; 
    304         padding: 0; 
     198/* 1005 - 1304 
     199=================================== */ 
     200.ac_results li { 
     201        text-align:right; 
    305202} 
    306  
    307 .available-theme,#tagchecklist span a 
    308 { 
    309         float:right 
     203#poststuff h2 { 
     204        clear:right; 
    310205} 
    311 #template div { 
     206#poststuff .postbox, #poststuff .stuffbox, #titlediv, #poststuff .postarea { 
     207        margin-left: 8px; 
     208        margin-right: 20px; 
     209} 
     210#edit-slug-buttons a.save { 
    312211        margin-right:0; 
    313         margin-left:190px; 
     212        margin-left:4px; 
    314213} 
     214#poststuff #edButtonPreview, #poststuff #edButtonHTML { 
     215        margin: 5px 0 0 8px; 
     216        float: left; 
     217} 
     218#poststuff #media-buttons { 
     219        float: left; 
     220        margin-right:0; 
     221        margin-left: 20px; 
     222} 
     223#poststuff #media-buttons a { 
     224        padding: 0 2px 2px 5px; 
     225} 
     226#poststuff .togbox { 
     227        margin-left:0; 
     228        margin-right: -21px; 
     229        -moz-border-radius-topleft:0; 
     230        -khtml-border-top-left-radius:0; 
     231        -webkit-border-top-left-radius:0; 
     232        border-top-left-radius:0; 
     233        -moz-border-radius-topright: 3px; 
     234        -khtml-border-top-right-radius: 3px; 
     235        -webkit-border-top-right-radius: 3px; 
     236        border-top-right-radius: 3px; 
     237        -moz-border-radius-bottomleft: 0; 
     238        -khtml-border-bottom-left-radius:0; 
     239        -webkit-border-bottom-left-radius:0; 
     240        border-bottom-left-radius:0; 
     241        -moz-border-radius-bottomright: 3px; 
     242        -khtml-border-bottom-right-radius: 3px; 
     243        -webkit-border-bottom-right-radius: 3px; 
     244        border-bottom-right-radius: 3px; 
     245} 
     246.submitbox .submitdelete { 
     247        margin-left:0; 
     248        margin-right:8px; 
     249} 
    315250.submitbox .submit { 
    316251        text-align:right; 
    317252} 
    318  
    319 #editorcontainer { 
    320         border:1px solid; 
     253.submitbox .submit input { 
     254        margin-right:0; 
     255        margin-left:3px; 
    321256} 
    322  
    323 .wrap h2 { 
    324         margin: 5px -4px 0 0; 
    325         padding-right: 0px; 
    326         padding-left: 280px; 
     257#categorydiv #category-adder { 
     258        margin-left:0; 
     259        margin-right: 120px; 
    327260} 
    328  
    329 div#message { 
    330         clear: both; 
     261#categorydiv ul#category-tabs { 
     262        float: right; 
     263        text-align: left; 
     264        margin: 0 0 0 -120px; 
    331265} 
    332  
    333 /* WPH - TinyMCE */ 
    334  
    335 #media-items th.label {  
    336         width: 120px;  
     266ul#category-tabs li.ui-tabs-selected { 
     267        -moz-border-radius-topleft:0; 
     268        -khtml-border-top-left-radius:0; 
     269        -webkit-border-top-left-radius:0; 
     270        border-top-left-radius:0; 
     271        -moz-border-radius-bottomleft:0; 
     272        -khtml-border-bottom-left-radius:0; 
     273        -webkit-border-bottom-left-radius:0; 
     274        border-bottom-left-radius:0; 
     275        -moz-border-radius-topright: 3px; 
     276        -khtml-border-top-right-radius: 3px; 
     277        -webkit-border-top-right-radius: 3px; 
     278        border-top-right-radius: 3px; 
     279        -moz-border-radius-bottomright: 3px; 
     280        -khtml-border-bottom-right-radius: 3px; 
     281        -webkit-border-bottom-right-radius: 3px; 
     282        border-bottom-right-radius: 3px; 
    337283} 
    338 #media-items th.label .alignleft {  
    339         width: 100px;  
     284div.ui-tabs-panel { 
     285        margin: 0 120px 0 5px; 
    340286} 
    341  
    342 #media-items th.label .alignright {  
    343         width: 16px;  
    344         height: 16px;  
    345 }  
    346  
    347 /* LTRs some url- and code-only form fields */ 
    348 input#href, input#src, input#class_name {  
    349         direction: ltr;  
    350         text-align: left;  
     287/* 1305 - elakh! :-) 
     288=================================== */ 
     289#categorydiv ul.categorychecklist ul { 
     290        margin-left:0; 
     291        margin-right: 18px; 
    351292} 
    352  
    353 #sidemenu a {  
    354         float: right;  
     293#linkcategorydiv #category-adder { 
     294        margin-left:0; 
     295        margin-right: 120px; 
    355296} 
    356  
    357 thead.media-item-info { 
     297#linkcategorydiv ul#category-tabs { 
     298        float: right; 
     299        text-align: left; 
     300        margin: 0 0 0 -120px; 
     301} 
     302#linkcategorydiv ul.categorychecklist ul { 
     303        margin-left:0; 
     304        margin-right: 18px; 
     305} 
     306p#tag-search, p#post-search { 
     307        right:auto; 
     308        left:0; 
     309} 
     310#posts-filter fieldset { 
     311        float: right; 
     312        margin: 0 0 1em 1.5ex; 
     313} 
     314#posts-filter fieldset legend { 
     315        padding: 0 1px .2em 0; 
     316} 
     317ul.view-switch { 
    358318        float: left; 
    359         margin-bottom: 18px; 
    360         width: 100%; 
     319        margin: -23px 0 -2px 5px; 
    361320} 
    362  
    363 thead.media-item-info td { 
    364         width: 100%; 
    365         text-align: left; 
     321ul.view-switch li { 
     322        float: right; 
    366323} 
    367  
    368 thead.media-item-info td.A1B1 { 
    369         width: 150px; 
     324#the-comment-list td.comment p.comment-author { 
     325        margin-right: 0 ; 
    370326} 
    371  
    372 #gallery-form table.widefat th { 
    373         float: left;  
    374         width: 74%; 
    375         text-align: center; 
     327#the-comment-list p.comment-author img { 
     328        float: right; 
     329        margin-right:0; 
     330        margin-left: 8px; 
    376331} 
    377  
    378 #gallery-form table.widefat th.order-head { 
    379         width: 18%; 
     332#the-comment-list td.comment p { 
     333        margin-left:0; 
     334        margin-right: 8px; 
    380335} 
    381  
    382 #media-upload tr.align td.field, #media-upload tr.image-size td.field { 
    383         text-align: right !important; 
     336.curtime { 
     337        background-position: right 2px; 
     338        padding-left:0; 
     339        padding-right: 18px; 
    384340} 
    385  
    386 #media-upload tr.align td.field { 
    387         float:right; 
    388         margin-right:-15px; 
     341.tablenav .delete { 
     342        margin-right:0; 
     343        margin-left: 20px; 
    389344} 
    390  
    391 tr.image-size label { 
    392         display:inline; 
    393         margin:0 0 0 1em !important; 
     345#tTips { 
    394346} 
    395  
    396 #library-form {  
    397         float: right;  
     347td.action-links, th.action-links { 
     348        text-align:left; 
    398349} 
    399  
    400 #filter .subsubsub { 
    401         direction: rtl; 
    402         text-align: right; 
     350.info-box { 
     351        left:auto; 
     352        right: 50%; 
     353        margin-left: 0; 
     354        margin-right: -225px; 
    403355} 
    404  
    405 #media-upload form#filter { 
    406         margin-right: -20px; 
     356.info-box .gears-img { 
     357        float: left; 
    407358} 
     359/* LTR 
     360=================================== */ 
     361#edit-slug-box, #trackback, #metakeyinput, #post_password, #link_url, #link_image, #rss_uri, #category_nicename, #slug, #dbuser, #dbpass, #dbname, #dbprefix, #dccharset, #gmpath, #archivespath, #lastentry, #dbhost, #pages-exclude, #newcontent, #email, #newcomment_author_url, #siteurl, #home, #admin_email, #date_format, #time_format, #gmt_offset, #mailserver_url, #mailserver_port, #mailserver_login, #mailserver_pass, #ping_sites, #posts_per_page, #posts_per_rss, #blog_charset, #moderation_keys, #blacklist_keys, #comment_max_links, #permalink_structure, #category_base, #tag_base, #upload_path, #upload_url_path, #thumbnail_size_w, #thumbnail_size_h, #medium_size_w, #medium_size_h, #user_login, #url, #pass1, #pass2, #aim, #yim, #jabber, #key, #src, #hostname, #username, #password, #rules { 
     362        direction:ltr; 
     363} 
     364/* TinyMCE 
     365=================================== */ 
     366.clearlooks2 .mceTop .mceLeft { 
     367        width:100% !important; 
     368} 
     369 No newline at end of file