RTL font-family overrides. (Tahoma generally, and Arial for Hebrew.)

props yoavf.
fixes #24977.


git-svn-id: https://develop.svn.wordpress.org/trunk@26816 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2013-12-09 01:30:08 +00:00
parent e2c2f6a402
commit b3a432a7fb
7 changed files with 102 additions and 100 deletions
+16
View File
@@ -239,6 +239,22 @@ submit {
direction: ltr;
}
/* 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;
}
@media only screen and (max-width: 799px) {
body {
margin-top: 115px;
+2 -100
View File
@@ -8875,112 +8875,14 @@ fieldset {
/* RTL except Hebrew (see below): Tahoma as the first font; */
body.rtl,
.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 {
body.rtl .press-this a.wp-switch-editor {
font-family: Tahoma, Arial, sans-serif;
}
/* he_IL: Remove Tahoma from the font stack. Arial is best for Hebrew. */
body.locale-he-il,
.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 {
body.locale-he-il .press-this a.wp-switch-editor {
font-family: Arial, sans-serif;
}