WordPress.org

Make WordPress Core

Changeset 8632


Ignore:
Timestamp:
08/12/2008 11:19:07 PM (10 years ago)
Author:
ryan
Message:

RTL CSS updates from Navid Kashani, RanYanivHartstein, mani_monaj, and the WP Persian team. see #7498. Partial patch for trunk

Location:
trunk/wp-admin/css
Files:
11 edited

Legend:

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

    r7476 r8632  
     1.post-com-count {
     2}
     3#adminmenu li a #awaiting-mod, #sidemenu li a #update-plugins {
     4    background-image: url(../images/comment-stalk-rtl.gif);
     5    background-position:right bottom;
     6}
     7#footer {
     8    background-position:99% 10px;
     9}
    110#poststuff .closed .togbox, #poststuff .togbox {
    2 background-image: url(../images/toggle-arrow-rtl.gif) !important;
     11    background-image: url(../images/toggle-arrow-rtl.gif) !important;
    312}
     13.bar {
     14    border-right-color: transparent;
     15    border-left-color: #99d;
     16}
     17.plugins .togl {
     18    border-right-color: transparent;
     19    border-left-color: #ccc;
     20}
     21#upload-menu li.current {
     22    border-right-color: transparent;
     23    border-left-color: #448abd;
     24}
  • trunk/wp-admin/css/colors-fresh-rtl.css

    r7398 r8632  
     1.bar {
     2    border-right-color: transparent;
     3    border-left-color: #99d;
     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}
     14.plugins .togl {
     15    border-right-color: transparent;
     16    border-left-color: #ccc;
     17}
    118#poststuff .closed .togbox, #poststuff .togbox {
    2 background-image: url(../images/toggle-arrow-rtl.gif) !important;
     19    background-image: url(../images/toggle-arrow-rtl.gif);
    320}
     21#upload-menu li.current {
     22    border-right-color:transparent;
     23    border-left-color: #448abd;
     24}
  • trunk/wp-admin/css/dashboard-rtl.css

    r8600 r8632  
     1/* Right Now */
    12#rightnow {
    2     margin-left: 15px;
     3    margin-right:0;
     4    margin-left: 7px;
    35}
    4 
    56#rightnow .reallynow span {
    67    text-align: right;
    78    float: right;
    89}
    9 
    1010#rightnow .reallynow a {
    1111    text-align: left;
     
    1313    margin: 1px 0 0 6px;
    1414}
    15 
     15/* Widgets */
     16div#dashboard-widgets-wrap {
     17    margin-right:0;
     18    margin-left:-13px;
     19}
    1620div.dashboard-widget-holder {
    17     float: right;
     21    float:right;
    1822}
    19 
     23div.dashboard-widget {
     24    margin-right:0;
     25    margin-left: 20px;
     26}
    2027h3.dashboard-widget-title span {
    2128    text-align: right;
    2229    float: right;
    2330}
    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 
    3931h3.dashboard-widget-title small {
    4032    text-align: left;
    41     float: left;
     33    float:left;
    4234}
    43 div.dashboard-widget-content ul,
    44 div.dashboard-widget-content ol,
    45 div.dashboard-widget-content dl {
     35div.dashboard-widget-submit input  {
     36    font-family: Tahoma;
     37}
     38div.dashboard-widget-content ul, div.dashboard-widget-content ol, div.dashboard-widget-content dl {
    4639    padding-left:0;
    4740    padding-right:15px;
    4841}
    49 div#dashboard-widgets-wrap
    50 {
    51     margin-right:0;
    52     margin-left:-10px;
     42#dashboard_secondary div.dashboard-widget-content ul li {
     43    float:right;
    5344}
    54 
    55 div.dashboard-widget {
    56     margin-right:0;
    57     margin-left:20px;
     45#dashboard_secondary div.dashboard-widget-content ul li .post {
     46    font-family:arial;
    5847}
    59 
     48#dashboard_secondary div.dashboard-widget-content ul li a {
     49    border-right:0 none;
     50    border-left: 1px solid #dadada;
     51    height:110px;
     52}
     53#dashboard_secondary div.dashboard-widget-content ul li a cite {
     54    font-family: Tahoma;
     55}
    6056#dashboard-widgets .widget_rss ul li span.rss-date {
    6157    float:right;
    6258}
    6359#dashboard-widgets .widget_rss ul li a {
    64     float:right;
    65     margin:0 0 0.2em 0.5em;
     60    float: right;
     61    margin: 0 0 .2em .5em;
    6662}
    67 #dashboard_secondary div.dashboard-widget-content ul li {
    68     float: right;
    69 }
    70 #dashboard_secondary div.dashboard-widget-content ul li .post {
    71     font-family: sans-serif !important;
    72 }
    73 #dashboard_secondary div.dashboard-widget-content ul li a {
    74     border-right:0 none;
    75     border-left:1px solid #DADADA;
    76 }
    77 #dashboard_secondary div.dashboard-widget-content ul li a cite {
    78     font-family: sans-serif;
    79 }
  • trunk/wp-admin/css/global-rtl.css

    r8600 r8632  
    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 
     1body, td {
     2    font-family: Tahoma;
     3}
     4textarea, input, select {
     5    font-family: Tahoma;
     6}
     7h1, h2, h3 {
     8    font-family:arial;
     9}
    1410.widefat td {
    1511    padding: 7px 10px 9px 15px;
    1612}
    17 
    1813.widefat th {
    1914    padding: 9px 10px 6px 15px;
    2015    text-align: right;
    2116}
    22 
    2317.widefat th input {
    2418    margin: 0 8px 0 0;
    2519}
    26 
    2720.widefat .check-column {
    2821    text-align: left;
    2922}
    30 
    3123.wrap h2 {
     24    font-family:arial;
    3225    margin: 5px -4px 0 0;
    33     padding: 0 0 7px 280px;
     26    padding-right:0;
     27    padding-left: 280px;
    3428}
     29.wrap h2.long-header {
     30    padding-left: 0;
     31}
  • trunk/wp-admin/css/install-rtl.css

    r8327 r8632  
    11body {
    2     font-size: 11px;
    3     font-family: sans-serif !important;
     2    font-family: Tahoma;
     3}
     4/* Half the page disapears on IE6 */
     5* html body {
     6    width: 700px;
     7    position: absolute;
     8    left: 50%;
     9    margin-right: 350px;
    410}
    511ul, ol {
    612    padding: 5px 22px 5px 5px;
    713}
     14.step, th {
     15    text-align:right;
     16}
     17.submit input, .button, .button-secondary  {
     18    font-family: Tahoma;
     19    margin-right:0;
     20}
    821.form-table th {
    9     text-align: right;
    10 }
    11 input {
    12     padding: 1px
    13 }
    14 #logo {
    15     text-align: left;
    16 }
    17 #admin_email {
    18     direction: ltr;
    19     text-align: left;
    20 }
    21 .submit input, .button, .button-secondary {
    22     font-family: sans-serif !important;
     22    text-align:right;
    2323}
    2424h1 {
    25     font-family: sans-serif;
     25    font-family:arial;
     26    margin: 5px -4px 0 0;
    2627}
  • trunk/wp-admin/css/login-rtl.css

    r8327 r8632  
    11body {
    2     font-family: sans-serif;
    3     direction: rtl;
    4 }
    5 #login form .submit input {
    6     font-family: sans-serif !important;
     2    font-family: Tahoma;
    73}
    84form {
    95    margin-left:0;
    10     margin-right:8px;
     6    margin-right: 8px;
    117}
    128form .forgetmenot {
    139    float:right;
    1410}
     11#login form .submit input  {
     12    font-family: Tahoma;
     13}
    1514form .submit {
    1615    float:left;
    1716}
     17#backtoblog a {
     18    left:auto;
     19    right:15px;
     20}
    1821#login_error, .message {
    19     margin:0 8px 16px 0;
     22    margin: 0 8px 16px 0;
    2023}
    2124#nav {
    22     margin: 0 8px 0 0;
     25    margin:0 8px 0 0;
    2326}
    2427#user_pass, #user_login, #user_email {
    2528    margin-right:0;
    2629    margin-left: 6px;
    27     direction:ltr;
    2830}
    2931h1 a {
    3032    text-decoration:none;
    3133}
    32 #backtoblog a {
    33     left: auto;
    34     right: 15px;
     34/* ltr input */
     35#user_login, #user_pass {
     36    direction:ltr;
    3537}
  • trunk/wp-admin/css/media-rtl.css

    r8600 r8632  
    1 ul#sidemenu {
    2     left: auto;
    3     right: 0;
     1body#media-upload ul#sidemenu {
     2    left:auto;
     3    right:0;
     4    width: 620px;
     5}
     6#search-filter {
     7    text-align:left;
    48}
    59.align .field label {
    6     display: block;
     10    padding: 0 28px 0 0;
     11    margin: 0 0 0 1em;
     12}
     13.image-align-none-label, .image-align-left-label, .image-align-center-label, .image-align-right-label {
     14    background-position:center right;
     15}
     16tr.image-size label {
     17    margin: 0 0 0 1em;
     18}
     19.filename.original {
    720    float: right;
    8     padding: 0 25px 0 0;
    9     margin: 5px 3px 5px 5px;
    1021}
    11 .align .field input {
    12     display: block;
     22.crunching {
     23    text-align: left;
     24    margin-right:0;
     25    margin-left: 5px;
     26}
     27button.dismiss {
     28    right:auto;
     29    left:5px;
     30}
     31.file-error {
     32    margin: 0 50px 5px 0;
     33}
     34.progress {
     35    left:auto;
     36    right:0;
     37}
     38.bar {
     39    border-right-width:0;
     40    border-left-width: 3px;
     41    border-left-style: solid;
     42}
     43.media-item .pinkynail {
     44    float:right;
     45}
     46.describe-toggle-on, .describe-toggle-off {
     47    float: left;
     48    margin-right:0;
     49    margin-left: 20px;
     50}
     51/* Specific to Uploader */
     52
     53#media-upload .media-upload-form p {
     54    margin: 0 0 1em 1em;
     55}
     56.filename {
    1357    float: right;
    14     margin: 5px 15px 5px 0;
     58    margin-left:0;
     59    margin-right: 10px;
    1560}
    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;
     61#media-upload .describe th.label {
     62    text-align:right;
    2163}
     64.menu_order {
     65    float:left;
     66}
  • trunk/wp-admin/css/press-this-ie-rtl.css

    r8328 r8632  
    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; }
     1.ui-tabs-nav {
     2    margin-right: 0;
     3}
  • trunk/wp-admin/css/press-this-rtl.css

    r8600 r8632  
    11body {
    2     font-family: sans-serif;
     2    font-family: Tahoma;
    33}
    4 
    5 #viewsite {
    6     right:auto; left: 8px;
     4.ui-tabs-nav {
     5    padding-left:0;
     6    padding-right:8px;
    77}
    8 
    9 ul#menu {
    10     padding-right: 8px;
    11 }
    12 
    138.ui-tabs-nav li {
    149    float: right;
    1510}
    16 
     11.button {
     12    font-family: Tahoma;
     13    margin-left:0;
     14    margin-right: 5px;
     15}
     16#wphead #viewsite {
     17    margin-left:0;
     18    margin-right: 10px;
     19}
     20#viewsite {
     21    right:auto;
     22    left: 8px;
     23}
     24#wphead #viewsite a {
     25    font-family: Tahoma;
     26}
     27h1 {
     28    right:auto;
     29    left:0;
     30}
    1731div#posting {
    18     padding-right:16px; padding-left: 0;
     32    padding-left:0;
     33    padding-right: 16px;
    1934}
    20 
     35#photo_directions span {
     36    right:auto;
     37    left:3px;
     38}
     39#img_container a {
     40    float:right;
     41}
     42#img_container a, #img_container a:link, #img_container a:visited {
     43    margin:0 0 4px 4px;
     44}
    2145div#categories {
    22     right: auto; left: 16px;
     46    right:auto;
     47    left:16px;
    2348}
    24 
    2549div#categories h2 {
    26     margin:0.5em 1em 0.5em 0;
     50    margin: .5em 1em .5em 0;
    2751}
    28 
     52#tagsdiv #newtag {
     53    margin-right:0;
     54    margin-left: 5px;   
     55}
    2956#jaxtag {
    30     padding-right :1em; padding-left: 0;
     57    padding-left:0;
     58    padding-right: 1em;
    3159}
    32 
    33 input#newtag {
    34     margin-left: 4px; width: 100px;
     60#tagchecklist {
     61    padding-left:0;
     62    padding-right: 1em;
    3563}
    36 
    37 #photo_directions span {
    38     right: auto; left: 3px
    39 }
    40 
    41 #TB_ajaxContent #options {
    42     right: auto; left: 25px;
    43 }
    44 
    45 #TB_ajaxContent {
    46     text-align: right;
    47 }
    48 
    49 #TB_ajaxContent #this_photo {
    50     direction: ltr;
    51 }
    52 
    53 .video_split #extra_fields {
     64#tagchecklist span {
     65    margin-right: 10px;
     66    margin-left: .5em;
    5467    float: right;
    5568}
    56 
     69#tagchecklist span a {
     70    margin: 6px -9px 0pt 0;
     71    float: right;
     72}
     73.submitbox {
     74    float: left;
     75}
     76.submitbox .submit input {
     77    text-align:right;
     78}
     79.video_split #extra_fields {
     80    float:right;
     81}
    5782.video_split .editor_area {
    5883    float: left;
    5984}
     85.ac_results li {
     86    text-align:right;
     87}
     88#TB_ajaxContent #options {
     89    right:auto;
     90    left:25px;
     91}
     92#post_status {
     93    margin-left:0;
     94    margin-right: 10px;
     95}
     96#footer {
     97    padding: 10px 60px 0 0;
     98}
  • trunk/wp-admin/css/theme-editor-rtl.css

    r8327 r8632  
    11#template textarea {
    2     font-family: monospace !important;
     2    font-family:monospace;
    33}
    44#templateside {
     
    77#themeselector {
    88    padding-right:0;
    9     padding-left:5px;
     9    padding-left: 5px;
     10    float: left;
    1011}
    1112div.tablenav {
    12     margin-left:210px;
    1313    margin-right:0;
     14    margin-left: 210px;
    1415}
  • trunk/wp-admin/css/widgets-rtl.css

    r7964 r8632  
     1/* 2 column liquid layout */
    12div.widget-liquid-left-holder {
    2     clear:right;
    3     float:right;
     3    float: right;
     4    clear: right;
    45    margin-right:0;
    5     margin-left:-310px;
     6    margin-left: -310px;
    67}
    78div.widget-liquid-left {
    89    margin-right:0;
    9     margin-left:310px;
     10    margin-left: 320px;
    1011}
    1112div.widget-liquid-right {
    12     clear:left;
    13     float:left;
     13    float: left;
     14    clear: left;
    1415}
    1516p#widget-search {
     17    right:auto;
    1618    left:0;
    17     right:auto
    18 }
    19 ul#widget-list li.widget-list-item h4.widget-title {
    20     float:right;
    21     text-align:right;
    22 }
    23 ul#widget-list li.widget-list-item div.widget-description {
    24     margin:0 200px 0 0;
    25     padding:0 4em 0 0;
    26 }
    27 .widget-control-save, .widget-control-remove {
    28     float:right;
    29     margin-right:0;
    30     margin-left:8px;
    3119}
    3220h4.widget-title span {
     
    3523h4.widget-title a {
    3624    float: left;
    37     margin: 0 1em 0 0;
     25    margin-left:0;
     26    margin-right: 1em;
    3827}
    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 {
     28ul#widget-list li.widget-list-item h4.widget-title {
     29    float:right;
     30}
     31ul#widget-list li.widget-list-item div.widget-description {
     32    margin: 0 200px 0 0;
     33    padding: 0 4em 0 0;
     34}
     35.widget-control-save, .widget-control-remove {
     36    margin-right:0;
     37    margin-left: 8px;
     38    float: right;
     39}
     40li.widget-list-control-item h4.widget-title a,
     41#dragHelper li.widget-list-control-item h4.widget-title a,
     42#draghelper li.widget-list-control-item h4.widget-title a:visited {
    4043    right:auto;
    41     left:1em;
     44    left: 1em;
    4245}
    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;
    51 }
Note: See TracChangeset for help on using the changeset viewer.