WordPress.org

Make WordPress Core

Ticket #6616: wp-font-for-rtl.r8323.diff

File wp-font-for-rtl.r8323.diff, 4.0 KB (added by RanYanivHartstein, 10 years ago)

Patch to change fonts in RTL styles to generic sans-serif

  • css/dashboard-rtl.css

     
    2222        float: right; 
    2323} 
    2424 
     25div.dashboard-widget-submit input { 
     26        font-family: sans-serif !important; 
     27} 
     28         
    2529#dashboard-widgets .widget_rss ul li a { 
    2630        float:right; 
    2731        font-weight:bold; 
     
    6367#dashboard_secondary div.dashboard-widget-content ul li { 
    6468        float: right; 
    6569} 
     70#dashboard_secondary div.dashboard-widget-content ul li .post { 
     71        font-family: sans-serif !important; 
     72} 
    6673#dashboard_secondary div.dashboard-widget-content ul li a { 
    6774        border-right:0 none; 
    6875        border-left:1px solid #DADADA; 
    69 } 
    70  No newline at end of file 
     76} 
     77#dashboard_secondary div.dashboard-widget-content ul li a cite { 
     78        font-family: sans-serif; 
     79} 
  • css/global-rtl.css

     
    1 /* styles for use by people extending the WordPress interface */ 
     1//* styles for use by people extending the WordPress interface */ 
     2body, td { font-family: sans-serif; } 
     3 
     4textarea, input, select { font-family: sans-serif; } 
     5 
    26.alignleft { float: right; } 
    37.alignright { float: left; } 
    48 
    59.textleft { text-align: right; } 
    610.textright { text-align: left; } 
     11         
     12.wrap h2 { font-family: sans-serif; } 
    713 
    814.widefat td { 
    915        padding: 7px 10px 9px 15px; 
  • css/install-rtl.css

     
    11body { 
    2         font-size: 11px;; 
     2        font-size: 11px; 
     3        font-family: sans-serif !important; 
    34} 
    45ul, ol { 
    56        padding: 5px 22px 5px 5px; 
     
    1617#admin_email { 
    1718        direction: ltr; 
    1819        text-align: left; 
     20} 
     21.submit input, .button, .button-secondary { 
     22        font-family: sans-serif !important; 
     23} 
     24h1 { 
     25        font-family: sans-serif; 
    1926} 
     27 No newline at end of file 
  • css/login-rtl.css

     
    11body { 
    2         font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; 
     2        font-family: sans-serif; 
    33        direction: rtl; 
    44} 
     5#login form .submit input { 
     6        font-family: sans-serif !important; 
     7} 
    58form { 
    69        margin-left:0; 
    710        margin-right:8px; 
  • css/press-this-rtl.css

     
     1body { 
     2        font-family: sans-serif; 
     3} 
     4 No newline at end of file 
  • css/theme-editor-rtl.css

     
     1#template textarea { 
     2        font-family: monospace !important; 
     3} 
    14#templateside { 
    25        float:left; 
    36} 
  • rtl.css

     
    44        text-align:left 
    55} 
    66 
    7 body, td { 
    8         font-family: Tahoma,Verdana,sans-serif; 
     7body, 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; 
    99} 
    1010 
     11.code, #quicktags #ed_code { 
     12        font-family: monospace !important; 
     13} 
     14 
    1115#wpwrap,#footer,#TB_title,.media-upload-form,#media-upload-header 
    1216{ 
    1317        direction:rtl!important; 
     
    6569{ 
    6670        display:block; 
    6771        float:right; 
    68         font:700 16px/100% "Times New Roman", Times, serif; 
     72        font:700 16px/100% sans-serif; 
    6973        margin:0 0 0 10px; 
    7074        padding:5px 7px 9px 
    7175} 
     
    7882#adminmenu li a #awaiting-mod 
    7983{ 
    8084        background:url(images/comment-stalk-rtl.gif) -309px bottom !important; 
    81         font-family: Tahoma, Verdana, sans-serif; 
     85        font-family: sans-serif !important; 
    8286        margin-left:-45px; 
    8387        margin-right:.2em; 
    8488        margin-top:-5px