WordPress.org

Make WordPress Core

Ticket #24977: 24977.css_localization.diff

File 24977.css_localization.diff, 8.8 KB (added by yoavf, 7 years ago)
  • src/wp-admin/css/install.css

     
    239239        direction: ltr;
    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 {
    244260                margin-top: 115px;
  • src/wp-admin/css/wp-admin.css

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

     
    1919        -webkit-font-smoothing: subpixel-antialiased; /* Prevent Safari from switching to standard antialiasing on hover */
    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,
    2432#wpadminbar > #wp-toolbar span.noticon {
  • src/wp-includes/css/editor.css

     
    20862086        opacity: 1;
    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,
    20912112  (-o-min-device-pixel-ratio: 5/4),
  • src/wp-includes/css/media-views.css

     
    15241524        float: left;
    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,
    15291563        .media-frame-content .media-toolbar-secondary .attachment-filters {
  • src/wp-includes/js/thickbox/thickbox.css

     
    1212        color:#666666;
    1313}
    1414
     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;
     23}
     24
    1525#TB_window a:link {color: #666666;}
    1626#TB_window a:visited {color: #666666;}
    1727#TB_window a:hover {color: #000;}
  • src/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css

     
    200200#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;}
    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}
     214 No newline at end of file