WordPress.org

Make WordPress Core

Changeset 26816


Ignore:
Timestamp:
12/09/2013 01:30:08 AM (7 years ago)
Author:
nacin
Message:

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

props yoavf.
fixes #24977.

Location:
trunk/src
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/install.css

    r26298 r26816  
    240240}
    241241
     242
     243/* localization */
     244body.rtl,
     245.rtl textarea,
     246.rtl input,
     247.rtl submit {
     248    font-family: Tahoma, sans-serif;
     249}
     250
     251:lang(he-il) body.rtl,
     252:lang(he-il) .rtl textarea,
     253:lang(he-il) .rtl input,
     254:lang(he-il) .rtl submit {
     255    font-family: Arial, sans-serif;
     256}
     257
    242258@media only screen and (max-width: 799px) {
    243259    body {
  • trunk/src/wp-admin/css/wp-admin.css

    r26813 r26816  
    88768876/* RTL except Hebrew (see below): Tahoma as the first font; */
    88778877body.rtl,
    8878 .rtl .quicktags, .rtl .search,
    8879 .rtl .howto,
    8880 .rtl #adminmenu .awaiting-mod,
    8881 .rtl #adminmenu span.update-plugins,
    8882 .rtl #sidemenu li a span.update-plugins,
    8883 .rtl .post-com-count-wrapper,
    8884 .rtl .widefat th,
    8885 .rtl .tablenav .displaying-num,
    8886 .rtl .inline-edit-row fieldset span.title,
    8887 .rtl .inline-edit-row fieldset span.checkbox-title,
    8888 .rtl .inline-edit-row fieldset ul.cat-checklist label,
    8889 .rtl .inline-edit-row #bulk-titles div,
    8890 .rtl p.help,
    8891 .rtl p.description,
    8892 .rtl span.description,
    8893 .rtl .form-wrap p,
    8894 .rtl h2 .nav-tab,
    8895 .rtl #your-profile legend,
    8896 .rtl #utc-time, .rtl #local-time,
    8897 .rtl #poststuff h3,
    8898 .rtl .metabox-holder h3,
    8899 .rtl .tool-box .title,
    8900 .rtl td,
    8901 .rtl textarea,
    8902 .rtl input,
    8903 .rtl select,
    8904 .rtl .wrap h2,
    8905 .rtl .subtitle,
    8906 .rtl .wrap .add-new-h2,
    8907 .rtl #dashboard_right_now p.sub,
    8908 .rtl #dashboard-widgets h4,
    8909 .rtl a.rsswidget,
    8910 .rtl #dashboard_plugins h4,
    8911 .rtl #dashboard_plugins h5,
    8912 .rtl #dashboard_recent_comments .comment-meta .approve,
    8913 .rtl #dashboard_right_now td.b,
    8914 .rtl #dashboard_right_now .versions a,
    8915 .rtl .rss-widget span.rss-date,
    8916 .rtl #dashboard_recent_drafts h4 abbr,
    8917 body.login.rtl,
    8918 .rtl #login form .submit input,
    8919 .rtl #menu-management .nav-tabs-arrow-right,
    8920 .rtl #category-add input,
    8921 .rtl #category-add select,
    8922 .rtl .submit input,
    8923 .rtl .button,
    8924 .rtl .button-primary,
    8925 .rtl .button-secondary,
    8926 .rtl #postcustomstuff .submit input,
    8927 .rtl div.sidebar-name h3 {
     8878body.rtl .press-this a.wp-switch-editor {
    89288879    font-family: Tahoma, Arial, sans-serif;
    89298880}
     
    89328883/* he_IL: Remove Tahoma from the font stack. Arial is best for Hebrew. */
    89338884body.locale-he-il,
    8934 .locale-he-il .quicktags, .locale-he-il .search,
    8935 .locale-he-il .howto,
    8936 .locale-he-il #adminmenu .awaiting-mod,
    8937 .locale-he-il #adminmenu span.update-plugins,
    8938 .locale-he-il #sidemenu li a span.update-plugins,
    8939 .locale-he-il .post-com-count-wrapper,
    8940 .locale-he-il .widefat th,
    8941 .locale-he-il .tablenav .displaying-num,
    8942 .locale-he-il .inline-edit-row fieldset span.title,
    8943 .locale-he-il .inline-edit-row fieldset span.checkbox-title,
    8944 .locale-he-il .inline-edit-row fieldset ul.cat-checklist label,
    8945 .locale-he-il .inline-edit-row #bulk-titles div,
    8946 .locale-he-il p.help,
    8947 .locale-he-il p.description,
    8948 .locale-he-il span.description,
    8949 .locale-he-il .form-wrap p,
    8950 .locale-he-il h2 .nav-tab,
    8951 .locale-he-il #your-profile legend,
    8952 .locale-he-il #utc-time, .locale-he-il #local-time,
    8953 .locale-he-il #poststuff h3,
    8954 .locale-he-il .metabox-holder h3,
    8955 .locale-he-il .tool-box .title,
    8956 .locale-he-il td,
    8957 .locale-he-il textarea,
    8958 .locale-he-il input,
    8959 .locale-he-il select,
    8960 .locale-he-il .wrap h2,
    8961 .locale-he-il .subtitle,
    8962 .locale-he-il .wrap .add-new-h2,
    8963 .locale-he-il #dashboard_right_now p.sub,
    8964 .locale-he-il #dashboard-widgets h4,
    8965 .locale-he-il a.rsswidget,
    8966 .locale-he-il #dashboard_plugins h4,
    8967 .locale-he-il #dashboard_plugins h5,
    8968 .locale-he-il #dashboard_recent_comments .comment-meta .approve,
    8969 .locale-he-il #dashboard_right_now td.b,
    8970 .locale-he-il #dashboard_right_now .versions a,
    8971 .locale-he-il .rss-widget span.rss-date,
    8972 .locale-he-il #dashboard_recent_drafts h4 abbr,
    8973 body.login.locale-he-il,
    8974 .locale-he-il #login form .submit input,
    8975 .locale-he-il #menu-management .nav-tabs-arrow-right,
    8976 .locale-he-il #category-add input,
    8977 .locale-he-il #category-add select,
    8978 .locale-he-il .submit input,
    8979 .locale-he-il .button,
    8980 .locale-he-il .button-primary,
    8981 .locale-he-il .button-secondary,
    8982 .locale-he-il #postcustomstuff .submit input,
    8983 .locale-he-il div.sidebar-name h3 {
     8885body.locale-he-il .press-this a.wp-switch-editor {
    89848886    font-family: Arial, sans-serif;
    89858887}
  • trunk/src/wp-includes/css/admin-bar.css

    r26812 r26816  
    2020}
    2121
     22.rtl #wpadminbar * {
     23    font-family: Tahoma, sans-serif;
     24}
     25
     26html:lang(he-il) .rtl #wpadminbar *  {
     27    font-family: Arial, sans-serif;
     28}
     29
    2230#wpadminbar a.ab-item,
    2331#wpadminbar > #wp-toolbar span.ab-label,
  • trunk/src/wp-includes/css/editor.css

    r26722 r26816  
    20872087}
    20882088
     2089/* =Localization
     2090-------------------------------------------------------------- */
     2091.rtl .wp_themeSkin .mceColorSplitMenu a.mceMoreColors,
     2092.rtl .wp_themeSkin .mceMenu .mceText,
     2093.rtl .wp-switch-editor,
     2094.rtl .quicktags-toolbar input,
     2095.rtl .clearlooks2 .mceTop span,
     2096.rtl .wp_themeSkin .mceColorSplitMenu a.mceMoreColors {
     2097    font-family: Tahoma, sans-serif;
     2098}
     2099
     2100html:lang(he-il) .rtl .wp_themeSkin .mceColorSplitMenu a.mceMoreColors,
     2101html:lang(he-il) .rtl .wp_themeSkin .mceMenu .mceText,
     2102html:lang(he-il) .rtl .wp-switch-editor,
     2103html:lang(he-il) .rtl .quicktags-toolbar input,
     2104html:lang(he-il) .rtl .clearlooks2 .mceTop span,
     2105html:lang(he-il) .rtl .wp_themeSkin .mceColorSplitMenu a.mceMoreColors  {
     2106    font-family: Arial, sans-serif;
     2107}
     2108
     2109
    20892110/* HiDPI */
    20902111@media print,
  • trunk/src/wp-includes/css/media-views.css

    r26748 r26816  
    15251525}
    15261526
     1527/**
     1528 * Localization
     1529 */
     1530.rtl .media-modal,
     1531.rtl .media-frame,
     1532.rtl .media-frame .search,
     1533.rtl .media-frame input[type="text"],
     1534.rtl .media-frame input[type="password"],
     1535.rtl .media-frame input[type="number"],
     1536.rtl .media-frame input[type="search"],
     1537.rtl .media-frame input[type="email"],
     1538.rtl .media-frame input[type="url"],
     1539.rtl .media-frame textarea,
     1540.rtl .media-frame select {
     1541    font-family: Tahoma, sans-serif;
     1542}
     1543
     1544:lang(he-il) .rtl .media-modal,
     1545:lang(he-il) .rtl .media-frame,
     1546:lang(he-il) .rtl .media-frame .search,
     1547:lang(he-il) .rtl .media-frame input[type="text"],
     1548:lang(he-il) .rtl .media-frame input[type="password"],
     1549:lang(he-il) .rtl .media-frame input[type="number"],
     1550:lang(he-il) .rtl .media-frame input[type="search"],
     1551:lang(he-il) .rtl .media-frame input[type="email"],
     1552:lang(he-il) .rtl .media-frame input[type="url"],
     1553:lang(he-il) .rtl .media-frame textarea,
     1554:lang(he-il) .rtl .media-frame select {
     1555    font-family: Arial, sans-serif;
     1556}
     1557
     1558
     1559
     1560
    15271561@media only screen and (max-width: 960px) {
    15281562    .media-frame-content .media-toolbar-primary .search,
  • trunk/src/wp-includes/js/thickbox/thickbox.css

    r26701 r26816  
    1111    font: 10px "Open Sans", sans-serif;
    1212    color:#666666;
     13}
     14
     15.rtl #TB_window,
     16.rtl #TB_secondLine {
     17    font-family: Tahoma, sans-serif;
     18}
     19
     20:lang(he-il) .rtl #TB_window,
     21:lang(he-il) .rtl #TB_secondLine {
     22    font-family: Arial, sans-serif;
    1323}
    1424
  • trunk/src/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css

    r26072 r26816  
    201201#colorpicker #colornamecontainer {margin-top:5px;}
    202202#colorpicker #picker_panel fieldset {margin:auto;width:325px;}
     203
     204
     205/* Localization */
     206
     207body[dir="rtl"],
     208body[dir="rtl"] fieldset,
     209body[dir="rtl"] input, body[dir="rtl"] select, body[dir="rtl"]  textarea,
     210body[dir="rtl"]  #charmap #codeN,
     211body[dir="rtl"] .tabs a {
     212    font-family: Tahoma, sans-serif;
     213}
Note: See TracChangeset for help on using the changeset viewer.