From 8a4ee4e5dd09356a35fd1b53026fcc68380c6473 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 7 Dec 2013 16:19:48 +0000 Subject: [PATCH] RTL should use Tahoma, Hebrew should use Arial. props yoavf. see #24977. git-svn-id: https://develop.svn.wordpress.org/trunk@26783 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/wp-admin.css | 122 ++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index 91a25e5da7..5b6c3b29d1 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -46,6 +46,7 @@ TABLE OF CONTENTS: 24.0 - Customize Loader 25.0 - Tabbed Admin Screen Interface 26.0 - Misc +27.0 - Localization ------------------------------------------------------------------------*/ @@ -8864,6 +8865,127 @@ fieldset { display: inline; } +/*------------------------------------------------------------------------------ + 27.0 - Localization +------------------------------------------------------------------------------*/ + +/* 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 { + 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 { + font-family: Arial, sans-serif; +} + +/* he_IL: Have be bold rather than italic. */ +.locale-he-il em { + font-style: normal; + font-weight: bold; +} + /*----------------------------------------------------------------------------- MERGED