Changeset 19825
- Timestamp:
- 02/04/2012 12:54:42 AM (13 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r19522 r19825 86 86 $admin_body_class .= ' version-' . str_replace( '.', '-', preg_replace( '/^([.0-9]+).*/', '$1', $wp_version ) ); 87 87 $admin_body_class .= ' admin-color-' . sanitize_html_class( get_user_option( 'admin_color' ), 'fresh' ); 88 $admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) ); 88 89 89 90 if ( $is_iphone ) { ?> -
trunk/wp-admin/css/wp-admin-rtl.dev.css
r19817 r19825 1746 1746 #dashboard_plugins h4, 1747 1747 #dashboard_plugins h5, 1748 #dashboard_recent_comments .comment-meta .approve { 1749 font-family: Tahoma, Arial; 1748 #dashboard_recent_comments .comment-meta .approve, 1749 #dashboard_right_now td.b, 1750 #dashboard_right_now .versions a { 1751 font-family: Tahoma, Arial, sans-serif; 1750 1752 } 1751 1753 … … 1759 1761 padding-left: 6px; 1760 1762 text-align: left; 1761 font-family: Tahoma, Arial;1762 1763 } 1763 1764 … … 1775 1776 } 1776 1777 1777 #dashboard_right_now .versions a {1778 font-family: Tahoma, Arial;1779 }1780 1781 1778 #dashboard_right_now a.button { 1782 1779 float: left; … … 1816 1813 1817 1814 .rss-widget span.rss-date { 1818 font-family: Tahoma, Arial ;1815 font-family: Tahoma, Arial, sans-serif; 1819 1816 margin-left: 0; 1820 1817 margin-right: 3px; … … 1869 1866 /* Recent Drafts */ 1870 1867 #dashboard_recent_drafts h4 abbr { 1871 font-family: Tahoma, Arial ;1868 font-family: Tahoma, Arial, sans-serif; 1872 1869 margin-left:0; 1873 1870 margin-right: 3px; … … 1876 1873 /* login */ 1877 1874 body.login { 1878 font-family: Tahoma, arial;1875 font-family: Tahoma, Arial, sans-serif; 1879 1876 } 1880 1877 … … 1893 1890 1894 1891 #login form .submit input { 1895 font-family: Tahoma, arial;1892 font-family: Tahoma, Arial, sans-serif; 1896 1893 } 1897 1894 … … 2099 2096 } 2100 2097 2098 #custom-menu-item-url { 2099 direction: ltr; 2100 } 2101 2101 2102 .link-to-original { 2102 2103 font-style: normal; … … 2238 2239 #category-add input, 2239 2240 #category-add select { 2240 font-family: Tahoma, Arial ;2241 font-family: Tahoma, Arial, sans-serif; 2241 2242 } 2242 2243 … … 2415 2416 direction: ltr; 2416 2417 } 2418 2419 /* =Localized CSS 2420 -------------------------------------------------------------- */ 2421 2422 /* he_IL: Remove Tahoma from the font stack. Arial is best for Hebrew. */ 2423 body.locale-he-il, 2424 .locale-he-il .quicktags, .locale-he-il .search, 2425 .locale-he-il .howto, 2426 .locale-he-il #adminmenu .awaiting-mod, 2427 .locale-he-il #adminmenu span.update-plugins, 2428 .locale-he-il #sidemenu li a span.update-plugins, 2429 .locale-he-il .post-com-count-wrapper, 2430 .locale-he-il .widefat th, 2431 .locale-he-il .tablenav .displaying-num, 2432 .locale-he-il .inline-edit-row fieldset span.title, 2433 .locale-he-il .inline-edit-row fieldset span.checkbox-title, 2434 .locale-he-il .inline-edit-row fieldset ul.cat-checklist label, 2435 .locale-he-il .inline-edit-row .catshow, 2436 .locale-he-il .inline-edit-row .cathide, 2437 .locale-he-il .inline-edit-row #bulk-titles div, 2438 .locale-he-il p.help, 2439 .locale-he-il p.description, 2440 .locale-he-il span.description, 2441 .locale-he-il .form-wrap p, 2442 .locale-he-il h2 .nav-tab, 2443 .locale-he-il #your-profile legend, 2444 .locale-he-il #utc-time, .locale-he-il #local-time, 2445 .locale-he-il #poststuff h3, 2446 .locale-he-il .metabox-holder h3, 2447 .locale-he-il .tool-box .title, 2448 .locale-he-il td, 2449 .locale-he-il textarea, 2450 .locale-he-il input, 2451 .locale-he-il select, 2452 .locale-he-il .wrap h2, 2453 .locale-he-il .subtitle, 2454 .locale-he-il .wrap .add-new-h2, 2455 .locale-he-il #dashboard_right_now p.sub, 2456 .locale-he-il #dashboard-widgets h4, 2457 .locale-he-il a.rsswidget, 2458 .locale-he-il #dashboard_plugins h4, 2459 .locale-he-il #dashboard_plugins h5, 2460 .locale-he-il #dashboard_recent_comments .comment-meta .approve, 2461 .locale-he-il #dashboard_right_now td.b, 2462 .locale-he-il #dashboard_right_now .versions a, 2463 .locale-he-il .rss-widget span.rss-date, 2464 .locale-he-il #dashboard_recent_drafts h4 abbr, 2465 body.login.locale-he-il, 2466 .locale-he-il #login form .submit input, 2467 .locale-he-il #menu-management .nav-tabs-arrow-right, 2468 .locale-he-il #category-add input, 2469 .locale-he-il #category-add select, 2470 .locale-he-il .submit input, 2471 .locale-he-il .button, 2472 .locale-he-il .button-primary, 2473 .locale-he-il .button-secondary, 2474 .locale-he-il .button-highlighted, 2475 .locale-he-il #postcustomstuff .submit input, 2476 .locale-he-il div.sidebar-name h3 { 2477 font-family: Arial, sans-serif; 2478 } 2479 2480 /* he_IL: Have <em> be bold rather than italic. */ 2481 .locale-he-il em { 2482 font-style: normal; 2483 font-weight: bold; 2484 } -
trunk/wp-admin/css/wp-admin.dev.css
r19815 r19825 7835 7835 } 7836 7836 } 7837 7838 /* =Localized CSS 7839 -------------------------------------------------------------- */ 7840 7841 /* zh_CN: Remove italic properties. */ 7842 .locale-zh-cn .howto, 7843 .locale-zh-cn .tablenav .displaying-num, 7844 .locale-zh-cn .js .input-with-default-title, 7845 .locale-zh-cn .link-to-original, 7846 .locale-zh-cn .inline-edit-row fieldset span.title, 7847 .locale-zh-cn .inline-edit-row fieldset span.checkbox-title, 7848 .locale-zh-cn #utc-time, 7849 .locale-zh-cn #local-time, 7850 .locale-zh-cn p.install-help, 7851 .locale-zh-cn p.help, 7852 .locale-zh-cn p.description, 7853 .locale-zh-cn span.description, 7854 .locale-zh-cn .form-wrap p { 7855 font-style: normal; 7856 } 7857 7858 /* zh_CN: Enlarge dashboard widget 'Configure' link */ 7859 .locale-zh-cn .hdnle a { font-size: 12px; } 7860 7861 /* zn_CH: Enlarge font size, set font-size: normal */ 7862 .locale-zh-cn form.upgrade .hint { font-style: normal; font-size: 100%; } 7863 7864 /* Zn_CH: Distraction free writing. 7865 * More beautiful font for "Just write." 7866 * Larger text for HTML/Visual mode. 7867 */ 7868 .locale-zh-cn #wp-fullscreen-tagline { font-family: KaiTi, "楷体", sans-serif; } 7869 .locale-zh-cn #wp-fullscreen-modes a { font-size: 12px; } 7870 7871 /* zh_CN: Enlarge font-size. */ 7872 .locale-zh-cn #sort-buttons { font-size: 1em !important; } -
trunk/wp-admin/includes/template.php
r19820 r19825 1409 1409 do_action("admin_head-$hook_suffix"); 1410 1410 do_action('admin_head'); 1411 1412 $admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) ); 1411 1413 ?> 1412 1414 </head>
Note: See TracChangeset
for help on using the changeset viewer.