mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 01:52:24 +01:00
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:
parent
e2c2f6a402
commit
b3a432a7fb
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -19,6 +19,14 @@
|
||||
-webkit-font-smoothing: subpixel-antialiased; /* Prevent Safari from switching to standard antialiasing on hover */
|
||||
}
|
||||
|
||||
.rtl #wpadminbar * {
|
||||
font-family: Tahoma, sans-serif;
|
||||
}
|
||||
|
||||
html:lang(he-il) .rtl #wpadminbar * {
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
|
||||
#wpadminbar a.ab-item,
|
||||
#wpadminbar > #wp-toolbar span.ab-label,
|
||||
#wpadminbar > #wp-toolbar span.noticon {
|
||||
|
@ -2086,6 +2086,27 @@ span.mce_ltr:before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* =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;
|
||||
}
|
||||
|
||||
|
||||
/* HiDPI */
|
||||
@media print,
|
||||
(-o-min-device-pixel-ratio: 5/4),
|
||||
|
@ -1524,6 +1524,40 @@
|
||||
float: left;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@media only screen and (max-width: 960px) {
|
||||
.media-frame-content .media-toolbar-primary .search,
|
||||
.media-frame-content .media-toolbar-secondary .attachment-filters {
|
||||
|
@ -12,6 +12,16 @@
|
||||
color:#666666;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
#TB_window a:link {color: #666666;}
|
||||
#TB_window a:visited {color: #666666;}
|
||||
#TB_window a:hover {color: #000;}
|
||||
|
@ -200,3 +200,14 @@ h3 {font-size:14px;}
|
||||
#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;}
|
||||
#colorpicker #colornamecontainer {margin-top:5px;}
|
||||
#colorpicker #picker_panel fieldset {margin:auto;width:325px;}
|
||||
|
||||
|
||||
/* 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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user