<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[26816] trunk/src: RTL font-family overrides.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/26816">26816</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2013-12-09 01:30:08 +0000 (Mon, 09 Dec 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>RTL font-family overrides. (Tahoma generally, and Arial for Hebrew.)

props yoavf.
fixes <a href="http://core.trac.wordpress.org/ticket/24977">#24977</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadmincssinstallcss">trunk/src/wp-admin/css/install.css</a></li>
<li><a href="#trunksrcwpadmincsswpadmincss">trunk/src/wp-admin/css/wp-admin.css</a></li>
<li><a href="#trunksrcwpincludescssadminbarcss">trunk/src/wp-includes/css/admin-bar.css</a></li>
<li><a href="#trunksrcwpincludescsseditorcss">trunk/src/wp-includes/css/editor.css</a></li>
<li><a href="#trunksrcwpincludescssmediaviewscss">trunk/src/wp-includes/css/media-views.css</a></li>
<li><a href="#trunksrcwpincludesjsthickboxthickboxcss">trunk/src/wp-includes/js/thickbox/thickbox.css</a></li>
<li><a href="#trunksrcwpincludesjstinymcethemesadvancedskinswp_themedialogcss">trunk/src/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadmincssinstallcss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/css/install.css (26815 => 26816)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/css/install.css       2013-12-09 01:26:26 UTC (rev 26815)
+++ trunk/src/wp-admin/css/install.css  2013-12-09 01:30:08 UTC (rev 26816)
</span><span class="lines">@@ -239,6 +239,22 @@
</span><span class="cx">  direction: ltr;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+
+/* localization */
+body.rtl,
+.rtl textarea,
+.rtl input,
+.rtl submit {
+       font-family: Tahoma, sans-serif;
+}
+
+:lang(he-il) body.rtl,
+:lang(he-il) .rtl textarea,
+:lang(he-il) .rtl input,
+:lang(he-il) .rtl submit {
+       font-family: Arial, sans-serif;
+}
+
</ins><span class="cx"> @media only screen and (max-width: 799px) {
</span><span class="cx">  body {
</span><span class="cx">          margin-top: 115px;
</span></span></pre></div>
<a id="trunksrcwpadmincsswpadmincss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/css/wp-admin.css (26815 => 26816)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/css/wp-admin.css      2013-12-09 01:26:26 UTC (rev 26815)
+++ trunk/src/wp-admin/css/wp-admin.css 2013-12-09 01:30:08 UTC (rev 26816)
</span><span class="lines">@@ -8875,112 +8875,14 @@
</span><span class="cx"> 
</span><span class="cx"> /* RTL except Hebrew (see below): Tahoma as the first font; */
</span><span class="cx"> body.rtl,
</span><del>-.rtl .quicktags, .rtl .search,
-.rtl .howto,
-.rtl #adminmenu .awaiting-mod,
-.rtl #adminmenu span.update-plugins,
-.rtl #sidemenu li a span.update-plugins,
-.rtl .post-com-count-wrapper,
-.rtl .widefat th,
-.rtl .tablenav .displaying-num,
-.rtl .inline-edit-row fieldset span.title,
-.rtl .inline-edit-row fieldset span.checkbox-title,
-.rtl .inline-edit-row fieldset ul.cat-checklist label,
-.rtl .inline-edit-row #bulk-titles div,
-.rtl p.help,
-.rtl p.description,
-.rtl span.description,
-.rtl .form-wrap p,
-.rtl h2 .nav-tab,
-.rtl #your-profile legend,
-.rtl #utc-time, .rtl #local-time,
-.rtl #poststuff h3,
-.rtl .metabox-holder h3,
-.rtl .tool-box .title,
-.rtl td,
-.rtl textarea,
-.rtl input,
-.rtl select,
-.rtl .wrap h2,
-.rtl .subtitle,
-.rtl .wrap .add-new-h2,
-.rtl #dashboard_right_now p.sub,
-.rtl #dashboard-widgets h4,
-.rtl a.rsswidget,
-.rtl #dashboard_plugins h4,
-.rtl #dashboard_plugins h5,
-.rtl #dashboard_recent_comments .comment-meta .approve,
-.rtl #dashboard_right_now td.b,
-.rtl #dashboard_right_now .versions a,
-.rtl .rss-widget span.rss-date,
-.rtl #dashboard_recent_drafts h4 abbr,
-body.login.rtl,
-.rtl #login form .submit input,
-.rtl #menu-management .nav-tabs-arrow-right,
-.rtl #category-add input,
-.rtl #category-add select,
-.rtl .submit input,
-.rtl .button,
-.rtl .button-primary,
-.rtl .button-secondary,
-.rtl #postcustomstuff .submit input,
-.rtl div.sidebar-name h3 {
</del><ins>+body.rtl .press-this a.wp-switch-editor {
</ins><span class="cx">   font-family: Tahoma, Arial, sans-serif;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> /* he_IL: Remove Tahoma from the font stack. Arial is best for Hebrew. */
</span><span class="cx"> body.locale-he-il,
</span><del>-.locale-he-il .quicktags, .locale-he-il .search,
-.locale-he-il .howto,
-.locale-he-il #adminmenu .awaiting-mod,
-.locale-he-il #adminmenu span.update-plugins,
-.locale-he-il #sidemenu li a span.update-plugins,
-.locale-he-il .post-com-count-wrapper,
-.locale-he-il .widefat th,
-.locale-he-il .tablenav .displaying-num,
-.locale-he-il .inline-edit-row fieldset span.title,
-.locale-he-il .inline-edit-row fieldset span.checkbox-title,
-.locale-he-il .inline-edit-row fieldset ul.cat-checklist label,
-.locale-he-il .inline-edit-row #bulk-titles div,
-.locale-he-il p.help,
-.locale-he-il p.description,
-.locale-he-il span.description,
-.locale-he-il .form-wrap p,
-.locale-he-il h2 .nav-tab,
-.locale-he-il #your-profile legend,
-.locale-he-il #utc-time, .locale-he-il #local-time,
-.locale-he-il #poststuff h3,
-.locale-he-il .metabox-holder h3,
-.locale-he-il .tool-box .title,
-.locale-he-il td,
-.locale-he-il textarea,
-.locale-he-il input,
-.locale-he-il select,
-.locale-he-il .wrap h2,
-.locale-he-il .subtitle,
-.locale-he-il .wrap .add-new-h2,
-.locale-he-il #dashboard_right_now p.sub,
-.locale-he-il #dashboard-widgets h4,
-.locale-he-il a.rsswidget,
-.locale-he-il #dashboard_plugins h4,
-.locale-he-il #dashboard_plugins h5,
-.locale-he-il #dashboard_recent_comments .comment-meta .approve,
-.locale-he-il #dashboard_right_now td.b,
-.locale-he-il #dashboard_right_now .versions a,
-.locale-he-il .rss-widget span.rss-date,
-.locale-he-il #dashboard_recent_drafts h4 abbr,
-body.login.locale-he-il,
-.locale-he-il #login form .submit input,
-.locale-he-il #menu-management .nav-tabs-arrow-right,
-.locale-he-il #category-add input,
-.locale-he-il #category-add select,
-.locale-he-il .submit input,
-.locale-he-il .button,
-.locale-he-il .button-primary,
-.locale-he-il .button-secondary,
-.locale-he-il #postcustomstuff .submit input,
-.locale-he-il div.sidebar-name h3 {
</del><ins>+body.locale-he-il .press-this a.wp-switch-editor {
</ins><span class="cx">   font-family: Arial, sans-serif;
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunksrcwpincludescssadminbarcss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/css/admin-bar.css (26815 => 26816)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/css/admin-bar.css  2013-12-09 01:26:26 UTC (rev 26815)
+++ trunk/src/wp-includes/css/admin-bar.css     2013-12-09 01:30:08 UTC (rev 26816)
</span><span class="lines">@@ -19,6 +19,14 @@
</span><span class="cx">  -webkit-font-smoothing: subpixel-antialiased; /* Prevent Safari from switching to standard antialiasing on hover */
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+.rtl #wpadminbar * {
+       font-family: Tahoma, sans-serif;
+}
+
+html:lang(he-il) .rtl #wpadminbar *  {
+       font-family: Arial, sans-serif;
+}
+
</ins><span class="cx"> #wpadminbar a.ab-item,
</span><span class="cx"> #wpadminbar > #wp-toolbar span.ab-label,
</span><span class="cx"> #wpadminbar > #wp-toolbar span.noticon {
</span></span></pre></div>
<a id="trunksrcwpincludescsseditorcss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/css/editor.css (26815 => 26816)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/css/editor.css     2013-12-09 01:26:26 UTC (rev 26815)
+++ trunk/src/wp-includes/css/editor.css        2013-12-09 01:30:08 UTC (rev 26816)
</span><span class="lines">@@ -2086,6 +2086,27 @@
</span><span class="cx">  opacity: 1;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+/* =Localization
+-------------------------------------------------------------- */
+.rtl .wp_themeSkin .mceColorSplitMenu a.mceMoreColors,
+.rtl .wp_themeSkin .mceMenu .mceText,
+.rtl .wp-switch-editor,
+.rtl .quicktags-toolbar input,
+.rtl .clearlooks2 .mceTop span,
+.rtl .wp_themeSkin .mceColorSplitMenu a.mceMoreColors {
+       font-family: Tahoma, sans-serif;
+}
+
+html:lang(he-il) .rtl .wp_themeSkin .mceColorSplitMenu a.mceMoreColors,
+html:lang(he-il) .rtl .wp_themeSkin .mceMenu .mceText,
+html:lang(he-il) .rtl .wp-switch-editor,
+html:lang(he-il) .rtl .quicktags-toolbar input,
+html:lang(he-il) .rtl .clearlooks2 .mceTop span,
+html:lang(he-il) .rtl .wp_themeSkin .mceColorSplitMenu a.mceMoreColors  {
+       font-family: Arial, sans-serif;
+}
+
+
</ins><span class="cx"> /* HiDPI */
</span><span class="cx"> @media print,
</span><span class="cx">   (-o-min-device-pixel-ratio: 5/4),
</span></span></pre></div>
<a id="trunksrcwpincludescssmediaviewscss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/css/media-views.css (26815 => 26816)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/css/media-views.css        2013-12-09 01:26:26 UTC (rev 26815)
+++ trunk/src/wp-includes/css/media-views.css   2013-12-09 01:30:08 UTC (rev 26816)
</span><span class="lines">@@ -1524,6 +1524,40 @@
</span><span class="cx">  float: left;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+/**
+ * Localization
+ */
+.rtl .media-modal,
+.rtl .media-frame,
+.rtl .media-frame .search,
+.rtl .media-frame input[type="text"],
+.rtl .media-frame input[type="password"],
+.rtl .media-frame input[type="number"],
+.rtl .media-frame input[type="search"],
+.rtl .media-frame input[type="email"],
+.rtl .media-frame input[type="url"],
+.rtl .media-frame textarea,
+.rtl .media-frame select {
+       font-family: Tahoma, sans-serif;
+}
+
+:lang(he-il) .rtl .media-modal,
+:lang(he-il) .rtl .media-frame,
+:lang(he-il) .rtl .media-frame .search,
+:lang(he-il) .rtl .media-frame input[type="text"],
+:lang(he-il) .rtl .media-frame input[type="password"],
+:lang(he-il) .rtl .media-frame input[type="number"],
+:lang(he-il) .rtl .media-frame input[type="search"],
+:lang(he-il) .rtl .media-frame input[type="email"],
+:lang(he-il) .rtl .media-frame input[type="url"],
+:lang(he-il) .rtl .media-frame textarea,
+:lang(he-il) .rtl .media-frame select {
+       font-family: Arial, sans-serif;
+}
+
+
+
+
</ins><span class="cx"> @media only screen and (max-width: 960px) {
</span><span class="cx">  .media-frame-content .media-toolbar-primary .search,
</span><span class="cx">  .media-frame-content .media-toolbar-secondary .attachment-filters {
</span></span></pre></div>
<a id="trunksrcwpincludesjsthickboxthickboxcss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/js/thickbox/thickbox.css (26815 => 26816)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/js/thickbox/thickbox.css   2013-12-09 01:26:26 UTC (rev 26815)
+++ trunk/src/wp-includes/js/thickbox/thickbox.css      2013-12-09 01:30:08 UTC (rev 26816)
</span><span class="lines">@@ -12,6 +12,16 @@
</span><span class="cx">  color:#666666;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+.rtl #TB_window,
+.rtl #TB_secondLine {
+       font-family: Tahoma, sans-serif;
+}
+
+:lang(he-il) .rtl #TB_window,
+:lang(he-il) .rtl #TB_secondLine {
+       font-family: Arial, sans-serif;
+}
+
</ins><span class="cx"> #TB_window a:link {color: #666666;}
</span><span class="cx"> #TB_window a:visited {color: #666666;}
</span><span class="cx"> #TB_window a:hover {color: #000;}
</span></span></pre></div>
<a id="trunksrcwpincludesjstinymcethemesadvancedskinswp_themedialogcss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css (26815 => 26816)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css       2013-12-09 01:26:26 UTC (rev 26815)
+++ trunk/src/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css  2013-12-09 01:30:08 UTC (rev 26816)
</span><span class="lines">@@ -200,3 +200,14 @@
</span><span class="cx"> #colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;}
</span><span class="cx"> #colorpicker #colornamecontainer {margin-top:5px;}
</span><span class="cx"> #colorpicker #picker_panel fieldset {margin:auto;width:325px;}
</span><ins>+
+
+/* Localization */ 
+
+body[dir="rtl"],
+body[dir="rtl"] fieldset,
+body[dir="rtl"] input, body[dir="rtl"] select, body[dir="rtl"]  textarea,
+body[dir="rtl"]  #charmap #codeN,
+body[dir="rtl"] .tabs a {
+       font-family: Tahoma, sans-serif;
+}
</ins><span class="cx">\ No newline at end of file
</span></span></pre>
</div>
</div>

</body>
</html>