Changeset 37361
- Timestamp:
- 05/04/2016 10:06:27 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/common.css
r37336 r37361 216 216 background: #f1f1f1; 217 217 color: #444; 218 font-family: "Open Sans", sans-serif;218 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 219 219 font-size: 13px; 220 220 line-height: 1.4em; -
trunk/src/wp-admin/css/customize-controls.css
r37230 r37361 1220 1220 clear: both; 1221 1221 color: #666; 1222 font: 24px "Open Sans", sans-serif;1222 font: 24px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 1223 1223 margin: 30px 0 0 0; 1224 1224 padding: 0; -
trunk/src/wp-admin/css/dashboard.css
r36904 r37361 952 952 } 953 953 954 /* Make the browser nags easier to read with Open Sans */955 956 954 #dashboard_browser_nag h2.hndle { 957 955 border: none; -
trunk/src/wp-admin/css/install.css
r36904 r37361 7 7 background: #fff; 8 8 color: #444; 9 font-family: "Open Sans", sans-serif;9 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 10 10 margin: 140px auto 25px; 11 11 padding: 20px 20px 10px 20px; … … 133 133 textarea { 134 134 border: 1px solid #ddd; 135 font-family: "Open Sans", sans-serif;135 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif 136 136 width: 100%; 137 137 -webkit-box-sizing: border-box; … … 182 182 input, 183 183 submit { 184 font-family: "Open Sans", sans-serif;184 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 185 185 } 186 186 -
trunk/src/wp-admin/css/login.css
r37321 r37361 13 13 min-width: 0; 14 14 color: #444; 15 font-family: "Open Sans", sans-serif;15 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 16 16 font-size: 13px; 17 17 line-height: 1.4em; -
trunk/src/wp-admin/css/press-this-editor.css
r33497 r37361 78 78 body { 79 79 color: #404040; 80 font-family: "Open Sans", Helvetica, Arial, sans-serif;80 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 81 81 font-size: 20px; 82 82 font-weight: 400; -
trunk/src/wp-admin/css/press-this.css
r36904 r37361 295 295 textarea { 296 296 color: #404040; 297 font-family: "Open Sans", Helvetica, Arial, sans-serif;297 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 298 298 font-size: 20px; 299 299 font-weight: 400; -
trunk/src/wp-admin/includes/class-wp-press-this.php
r37279 r37361 794 794 } 795 795 796 $open_sans_font_url = ''; 797 798 /* translators: If there are characters in your language that are not supported 799 * by Open Sans, translate this to 'off'. Do not translate into your own language. 800 */ 801 if ( 'off' !== _x( 'on', 'Open Sans font: on or off' ) ) { 802 $subsets = 'latin,latin-ext'; 803 804 /* translators: To add an additional Open Sans character subset specific to your language, 805 * translate this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your own language. 806 */ 807 $subset = _x( 'no-subset', 'Open Sans font: add new subset (greek, cyrillic, vietnamese)' ); 808 809 if ( 'cyrillic' == $subset ) { 810 $subsets .= ',cyrillic,cyrillic-ext'; 811 } elseif ( 'greek' == $subset ) { 812 $subsets .= ',greek,greek-ext'; 813 } elseif ( 'vietnamese' == $subset ) { 814 $subsets .= ',vietnamese'; 815 } 816 817 $query_args = array( 818 'family' => urlencode( 'Open Sans:400italic,700italic,400,600,700' ), 819 'subset' => urlencode( $subsets ), 820 ); 821 822 $open_sans_font_url = ',' . add_query_arg( $query_args, 'https://fonts.googleapis.com/css' ); 823 } 824 825 return $styles . $press_this . $open_sans_font_url; 796 return $styles . $press_this; 826 797 } 827 798 -
trunk/src/wp-includes/css/admin-bar.css
r36619 r37361 8 8 text-transform: none; 9 9 letter-spacing: normal; 10 font: normal 13px/32px "Open Sans", sans-serif;10 font: normal 13px/32px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 11 11 -webkit-border-radius: 0; 12 12 border-radius: 0; … … 80 80 direction: ltr; 81 81 color: #ccc; 82 font: normal 13px/32px "Open Sans", sans-serif;82 font: normal 13px/32px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 83 83 height: 32px; 84 84 position: fixed; … … 619 619 position: relative; 620 620 z-index: 30; 621 font: 13px/24px "Open Sans", sans-serif;621 font: 13px/24px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 622 622 height: 24px; 623 623 width: 24px; … … 799 799 800 800 #wpadminbar * { 801 font: normal 14px/32px "Open Sans", sans-serif;801 font: normal 14px/32px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif, sans-serif; 802 802 } 803 803 -
trunk/src/wp-includes/css/editor.css
r37174 r37361 1110 1110 color: #666; 1111 1111 cursor: pointer; 1112 font: 13px/19px "Open Sans", sans-serif; 1112 font-size: 13px; 1113 line-height: 19px; 1113 1114 height: 20px; 1114 1115 margin: 5px 0 0 5px; -
trunk/src/wp-includes/css/media-views.css
r36904 r37361 18 18 .media-modal, 19 19 .media-frame { 20 font-family: "Open Sans", sans-serif;20 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 21 21 font-size: 12px; 22 22 -webkit-overflow-scrolling: touch; … … 81 81 .media-frame textarea, 82 82 .media-frame select { 83 font-family: "Open Sans", sans-serif;83 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 84 84 font-size: 12px; 85 85 border-width: 1px; … … 808 808 font-size: 13px; 809 809 color: #444; 810 font-family: "Open Sans", sans-serif;810 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 811 811 -webkit-appearance: none; 812 812 } -
trunk/src/wp-includes/css/wp-embed-template.css
r35466 r37361 60 60 .wp-embed { 61 61 padding: 25px; 62 font: 400 14px/1.5 'Open Sans', sans-serif;62 font: 400 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 63 63 color: #82878c; 64 64 background: white; … … 308 308 margin: 0 0 10px 0; 309 309 padding: 0 5px; 310 font: 400 14px/1.5 'Open Sans', sans-serif;310 font: 400 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 311 311 resize: none; 312 312 cursor: text; -
trunk/src/wp-includes/embed.php
r36923 r37361 878 878 */ 879 879 function enqueue_embed_scripts() { 880 wp_enqueue_style( 'open-sans' );881 880 wp_enqueue_style( 'wp-embed-template-ie' ); 882 881 -
trunk/src/wp-includes/functions.php
r37342 r37361 2668 2668 background: #fff; 2669 2669 color: #444; 2670 font-family: "Open Sans", sans-serif;2670 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 2671 2671 margin: 2em auto; 2672 2672 padding: 1em 2em; … … 2679 2679 clear: both; 2680 2680 color: #666; 2681 font : 24px "Open Sans", sans-serif;2681 font-size: 24px; 2682 2682 margin: 30px 0 0 0; 2683 2683 padding: 0; -
trunk/src/wp-includes/js/tinymce/plugins/compat3x/css/dialog.css
r32843 r37361 1 @import url("https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=latin-ext,latin");2 3 1 /* Generic */ 4 2 body { 5 font-family: "Open Sans", sans-serif;3 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 6 4 font-size:13px; 7 5 background:#fcfcfc; -
trunk/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css
r36976 r37361 387 387 margin: 0; 388 388 text-align: center; 389 font-family: 'Open Sans', sans-serif;389 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; 390 390 } 391 391 -
trunk/src/wp-includes/script-loader.php
r37338 r37361 698 698 $styles->default_dirs = array('/wp-admin/', '/wp-includes/css/'); 699 699 700 // Open Sans is no longer used by core, but may be relied upon by themes and plugins. 700 701 $open_sans_font_url = ''; 701 702 … … 744 745 $styles->add( 'l10n', "/wp-admin/css/l10n$suffix.css" ); 745 746 746 $styles->add( 'wp-admin', false, array( ' open-sans', 'dashicons', 'common', 'forms', 'admin-menu', 'dashboard', 'list-tables', 'edit', 'revisions', 'media', 'themes', 'about', 'nav-menus', 'widgets', 'site-icon', 'l10n' ) );747 748 $styles->add( 'login', "/wp-admin/css/login$suffix.css", array( ' open-sans', 'dashicons', 'buttons', 'forms', 'l10n' ) );749 $styles->add( 'install', "/wp-admin/css/install$suffix.css", array( ' open-sans', 'buttons' ) );747 $styles->add( 'wp-admin', false, array( 'dashicons', 'common', 'forms', 'admin-menu', 'dashboard', 'list-tables', 'edit', 'revisions', 'media', 'themes', 'about', 'nav-menus', 'widgets', 'site-icon', 'l10n' ) ); 748 749 $styles->add( 'login', "/wp-admin/css/login$suffix.css", array( 'dashicons', 'buttons', 'forms', 'l10n' ) ); 750 $styles->add( 'install', "/wp-admin/css/install$suffix.css", array( 'buttons' ) ); 750 751 $styles->add( 'wp-color-picker', "/wp-admin/css/color-picker$suffix.css" ); 751 752 $styles->add( 'customize-controls', "/wp-admin/css/customize-controls$suffix.css", array( 'wp-admin', 'colors', 'ie', 'imgareaselect' ) ); 752 753 $styles->add( 'customize-widgets', "/wp-admin/css/customize-widgets$suffix.css", array( 'wp-admin', 'colors' ) ); 753 754 $styles->add( 'customize-nav-menus', "/wp-admin/css/customize-nav-menus$suffix.css", array( 'wp-admin', 'colors' ) ); 754 $styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array( ' open-sans', 'buttons' ) );755 $styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array( 'buttons' ) ); 755 756 756 757 $styles->add( 'ie', "/wp-admin/css/ie$suffix.css" ); … … 760 761 $styles->add( 'buttons', "/wp-includes/css/buttons$suffix.css" ); 761 762 $styles->add( 'dashicons', "/wp-includes/css/dashicons$suffix.css" ); 762 $styles->add( 'open-sans', $open_sans_font_url );763 763 764 764 // Includes CSS 765 $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array( ' open-sans', 'dashicons' ) );765 $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array( 'dashicons' ) ); 766 766 $styles->add( 'wp-auth-check', "/wp-includes/css/wp-auth-check$suffix.css", array( 'dashicons' ) ); 767 767 $styles->add( 'editor-buttons', "/wp-includes/css/editor$suffix.css", array( 'dashicons' ) ); … … 784 784 $styles->add( 'jcrop', "/wp-includes/js/jcrop/jquery.Jcrop.min.css", array(), '0.9.12' ); 785 785 $styles->add( 'colors-fresh', false, array( 'wp-admin', 'buttons' ) ); // Old handle. 786 $styles->add( 'open-sans', $open_sans_font_url ); // No longer used in core as of 4.6 786 787 787 788 // RTL CSS
Note: See TracChangeset
for help on using the changeset viewer.