From 1e21bf9bf7f0e595014135ac59dc5cf9612db51d Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Tue, 26 Jul 2016 16:38:49 +0000 Subject: [PATCH] System fonts: Don't quote single-word font names, per our coding standards. props ocean90, netweb. see #36753. git-svn-id: https://develop.svn.wordpress.org/trunk@38152 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/common.css | 2 +- src/wp-admin/css/customize-controls.css | 2 +- src/wp-admin/css/install.css | 6 +- src/wp-admin/css/login.css | 2 +- src/wp-admin/css/press-this-editor.css | 2 +- src/wp-admin/css/press-this.css | 2 +- src/wp-includes/css/admin-bar.css | 8 +- src/wp-includes/css/media-views.css | 6 +- src/wp-includes/css/wp-embed-template.css | 4 +- src/wp-includes/functions.php | 2 +- .../tinymce/plugins/compat3x/css/dialog.css | 420 +++++++++--------- .../js/tinymce/skins/wordpress/wp-content.css | 2 +- 12 files changed, 229 insertions(+), 229 deletions(-) diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index 9f873bd1d0..b09c390202 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -211,7 +211,7 @@ body { body { background: #f1f1f1; color: #444; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 13px; line-height: 1.4em; min-width: 600px; diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css index 8483f6b4b6..d2eef49a5b 100644 --- a/src/wp-admin/css/customize-controls.css +++ b/src/wp-admin/css/customize-controls.css @@ -1180,7 +1180,7 @@ body.cheatin h1 { clear: both; color: #666; font-size: 24px; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; margin: 30px 0 0 0; padding: 0; padding-bottom: 7px; diff --git a/src/wp-admin/css/install.css b/src/wp-admin/css/install.css index e055f305d8..d1db4ec661 100644 --- a/src/wp-admin/css/install.css +++ b/src/wp-admin/css/install.css @@ -6,7 +6,7 @@ html { body { background: #fff; color: #444; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; margin: 140px auto 25px; padding: 20px 20px 10px 20px; max-width: 700px; @@ -132,7 +132,7 @@ label { } textarea { border: 1px solid #ddd; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; @@ -181,7 +181,7 @@ textarea { input, submit { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; } .form-table input[type=text], diff --git a/src/wp-admin/css/login.css b/src/wp-admin/css/login.css index 7c7d6042ea..9f69e9c918 100644 --- a/src/wp-admin/css/login.css +++ b/src/wp-admin/css/login.css @@ -12,7 +12,7 @@ body { background: #f1f1f1; min-width: 0; color: #444; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 13px; line-height: 1.4em; } diff --git a/src/wp-admin/css/press-this-editor.css b/src/wp-admin/css/press-this-editor.css index 3689c9395e..8e10d86d55 100644 --- a/src/wp-admin/css/press-this-editor.css +++ b/src/wp-admin/css/press-this-editor.css @@ -77,7 +77,7 @@ object { */ body { color: #404040; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 20px; font-weight: 400; line-height: 1.6; diff --git a/src/wp-admin/css/press-this.css b/src/wp-admin/css/press-this.css index 6f4f621b83..1ec3ba06bf 100644 --- a/src/wp-admin/css/press-this.css +++ b/src/wp-admin/css/press-this.css @@ -294,7 +294,7 @@ input, select, textarea { color: #404040; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 20px; font-weight: 400; line-height: 1.6; diff --git a/src/wp-includes/css/admin-bar.css b/src/wp-includes/css/admin-bar.css index 904b180ae1..573ff8d8a6 100644 --- a/src/wp-includes/css/admin-bar.css +++ b/src/wp-includes/css/admin-bar.css @@ -9,7 +9,7 @@ letter-spacing: normal; font-size: 13px; font-weight: 400; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; line-height: 32px; -webkit-border-radius: 0; border-radius: 0; @@ -84,7 +84,7 @@ html:lang(he-il) .rtl #wpadminbar * { color: #ccc; font-size: 13px; font-weight: 400; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; line-height: 32px; height: 32px; position: fixed; @@ -627,7 +627,7 @@ html:lang(he-il) .rtl #wpadminbar * { position: relative; z-index: 30; font-size: 13px; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; line-height: 24px; height: 24px; width: 24px; @@ -810,7 +810,7 @@ html:lang(he-il) .rtl #wpadminbar * { #wpadminbar * { font-size: 14px; font-weight: 400; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; line-height: 32px; } diff --git a/src/wp-includes/css/media-views.css b/src/wp-includes/css/media-views.css index ca20b51a01..b5d0953eb2 100644 --- a/src/wp-includes/css/media-views.css +++ b/src/wp-includes/css/media-views.css @@ -17,7 +17,7 @@ .media-modal, .media-frame { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 12px; -webkit-overflow-scrolling: touch; } @@ -80,7 +80,7 @@ .media-frame input[type="url"], .media-frame textarea, .media-frame select { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 12px; border-width: 1px; border-style: solid; @@ -807,7 +807,7 @@ padding: 4px; font-size: 13px; color: #444; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; -webkit-appearance: none; } diff --git a/src/wp-includes/css/wp-embed-template.css b/src/wp-includes/css/wp-embed-template.css index 35fe4d24d6..10ff56ef56 100644 --- a/src/wp-includes/css/wp-embed-template.css +++ b/src/wp-includes/css/wp-embed-template.css @@ -61,7 +61,7 @@ body { padding: 25px; font-size: 14px; font-weight: 400; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; line-height: 1.5; color: #82878c; background: white; @@ -312,7 +312,7 @@ p.wp-embed-share-description { padding: 0 5px; font-size: 14px; font-weight: 400; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; line-height: 1.5; resize: none; cursor: text; diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 676ce8cb17..204211bade 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -2681,7 +2681,7 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) { body { background: #fff; color: #444; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; margin: 2em auto; padding: 1em 2em; max-width: 700px; diff --git a/src/wp-includes/js/tinymce/plugins/compat3x/css/dialog.css b/src/wp-includes/js/tinymce/plugins/compat3x/css/dialog.css index c02f1be500..0aacc8b3e8 100644 --- a/src/wp-includes/js/tinymce/plugins/compat3x/css/dialog.css +++ b/src/wp-includes/js/tinymce/plugins/compat3x/css/dialog.css @@ -1,210 +1,210 @@ -/* Generic */ -body { -font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; -font-size:13px; -background:#fcfcfc; -padding:0; -margin:8px 8px 0 8px; -} - -textarea {resize:none;outline:none;} - -a:link, a:hover { - color: #2B6FB6; -} - -a:visited { - color: #3C2BB6; -} - -.nowrap {white-space: nowrap} - -/* Forms */ -form {margin: 0;} -fieldset {margin:0; padding:4px; border:1px solid #dfdfdf; font-family:Verdana, Arial; font-size:10px;} -legend {color:#2B6FB6; font-weight:bold;} -label.msg {display:none;} -label.invalid {color:#EE0000; display:inline;} -input.invalid {border:1px solid #EE0000;} -input {background:#FFF; border:1px solid #dfdfdf;} -input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} -input, select, textarea {border:1px solid #dfdfdf;} -input.radio {border:1px none #000000; background:transparent; vertical-align:middle;} -input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;} -.input_noborder {border:0;} - -/* Buttons */ -#insert, -#cancel, -#apply, -.mceActionPanel .button, -input.mceButton, -.updateButton { - display: inline-block; - text-decoration: none; - border: 1px solid #adadad; - margin: 0; - padding: 0 10px 1px; - font-size: 13px; - height: 24px; - line-height: 22px; - color: #333; - cursor: pointer; - -webkit-border-radius: 3px; - -webkit-appearance: none; - border-radius: 3px; - white-space: nowrap; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - background: #fafafa; - background-image: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#e9e9e9)); - background-image: -webkit-linear-gradient(top, #fafafa, #e9e9e9); - background-image: -moz-linear-gradient(top, #fafafa, #e9e9e9); - background-image: -o-linear-gradient(top, #fafafa, #e9e9e9); - background-image: linear-gradient(to bottom, #fafafa, #e9e9e9); - - text-shadow: 0 1px 0 #fff; - -webkit-box-shadow: inset 0 1px 0 #fff; - -moz-box-shadow: inset 0 1px 0 #fff; - box-shadow: inset 0 1px 0 #fff; -} - -#insert { - background: #2ea2cc; - background: -webkit-gradient(linear, left top, left bottom, from(#2ea2cc), to(#1e8cbe)); - background: -webkit-linear-gradient(top, #2ea2cc 0%,#1e8cbe 100%); - background: linear-gradient(top, #2ea2cc 0%,#1e8cbe 100%); - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ea2cc', endColorstr='#1e8cbe',GradientType=0 ); - border-color: #0074a2; - -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); - box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); - color: #fff; - text-decoration: none; - text-shadow: 0 1px 0 rgba(0,86,132,0.7); -} - -#cancel:hover, -input.mceButton:hover, -.updateButton:hover, -#cancel:focus, -input.mceButton:focus, -.updateButton:focus { - background: #f3f3f3; - background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f3f3f3)); - background-image: -webkit-linear-gradient(top, #fff, #f3f3f3); - background-image: -moz-linear-gradient(top, #fff, #f3f3f3); - background-image: -ms-linear-gradient(top, #fff, #f3f3f3); - background-image: -o-linear-gradient(top, #fff, #f3f3f3); - background-image: linear-gradient(to bottom, #fff, #f3f3f3); - border-color: #999; - color: #222; -} - -#insert:hover, -#insert:focus { - background: #1e8cbe; - background: -webkit-gradient(linear, left top, left bottom, from(#1e8cbe), to(#0074a2)); - background: -webkit-linear-gradient(top, #1e8cbe 0%,#0074a2 100%); - background: linear-gradient(top, #1e8cbe 0%,#0074a2 100%); - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e8cbe', endColorstr='#0074a2',GradientType=0 ); - border-color: #0074a2; - -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6); - box-shadow: inset 0 1px 0 rgba(120,200,230,0.6); - color: #fff; -} - -.mceActionPanel #insert { - float: right; -} - -/* Browse */ -a.pickcolor, a.browse {text-decoration:none} -a.browse span {display:block; width:20px; height:18px; border:1px solid #FFF; margin-left:1px;} -.mceOldBoxModel a.browse span {width:22px; height:20px;} -a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;} -a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30);} -a.browse:hover span.disabled {border:1px solid white; background-color:transparent;} -a.pickcolor span {display:block; width:20px; height:16px; margin-left:2px;} -.mceOldBoxModel a.pickcolor span {width:21px; height:17px;} -a.pickcolor:hover span {background-color:#B2BBD0;} -div.iframecontainer {background: #fff;} - -/* Charmap */ -table.charmap {border:1px solid #AAA; text-align:center} -td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;} -#charmap a {display:block; color:#000; text-decoration:none; border:0} -#charmap a:hover {background:#CCC;color:#2B6FB6} -#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center} -#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center} -#charmap #charmapView {background-color:#fff;} - -/* Source */ -.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;} -.mceActionPanel {margin-top:5px;} - -/* Tabs classes */ -.tabs {width:100%; height:19px; line-height:normal; border-bottom: 1px solid #aaa;} -.tabs ul {margin:0; padding:0; list-style:none;} -.tabs li {float:left; border: 1px solid #aaa; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;} -.tabs li.current {border-bottom: 1px solid #fff; margin-right:2px;} -.tabs span {float:left; display:block; padding:0px 10px 0 0;} -.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;} -.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;} - -.wp-core-ui #tabs { - padding-bottom: 5px; - background-color: transparent; -} - -.wp-core-ui #tabs a { - padding: 6px 10px; - margin: 0 2px; -} - -/* Panels */ -.panel_wrapper div.panel {display:none;} -.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;} -.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;} - -/* Columns */ -.column {float:left;} -.properties {width:100%;} -.properties .column1 {} -.properties .column2 {text-align:left;} - -/* Titles */ -h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;} -h3 {font-size:14px;} -.title {font-size:12px; font-weight:bold; color:#2B6FB6;} - -/* Dialog specific */ -#link .panel_wrapper, #link div.current {height:125px;} -#image .panel_wrapper, #image div.current {height:200px;} -#plugintable thead {font-weight:bold; background:#DDD;} -#plugintable, #about #plugintable td {border:1px solid #919B9C;} -#plugintable {width:96%; margin-top:10px;} -#pluginscontainer {height:290px; overflow:auto;} -#colorpicker #preview {display:inline-block; padding-left:40px; height:14px; border:1px solid black; margin-left:5px; margin-right: 5px} -#colorpicker #previewblock {position: relative; top: -3px; padding-left:5px; padding-top: 0px; display:inline} -#colorpicker #preview_wrapper {text-align:center; padding-top:4px; white-space: nowrap; float: right;} -#colorpicker #insert, #colorpicker #cancel {width: 90px} -#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;} -#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;} -#colorpicker #light div {overflow:hidden;} -#colorpicker .panel_wrapper div.current {height:175px;} -#colorpicker #namedcolors {width:150px;} -#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; -} +/* Generic */ +body { +font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; +font-size:13px; +background:#fcfcfc; +padding:0; +margin:8px 8px 0 8px; +} + +textarea {resize:none;outline:none;} + +a:link, a:hover { + color: #2B6FB6; +} + +a:visited { + color: #3C2BB6; +} + +.nowrap {white-space: nowrap} + +/* Forms */ +form {margin: 0;} +fieldset {margin:0; padding:4px; border:1px solid #dfdfdf; font-family:Verdana, Arial; font-size:10px;} +legend {color:#2B6FB6; font-weight:bold;} +label.msg {display:none;} +label.invalid {color:#EE0000; display:inline;} +input.invalid {border:1px solid #EE0000;} +input {background:#FFF; border:1px solid #dfdfdf;} +input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} +input, select, textarea {border:1px solid #dfdfdf;} +input.radio {border:1px none #000000; background:transparent; vertical-align:middle;} +input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;} +.input_noborder {border:0;} + +/* Buttons */ +#insert, +#cancel, +#apply, +.mceActionPanel .button, +input.mceButton, +.updateButton { + display: inline-block; + text-decoration: none; + border: 1px solid #adadad; + margin: 0; + padding: 0 10px 1px; + font-size: 13px; + height: 24px; + line-height: 22px; + color: #333; + cursor: pointer; + -webkit-border-radius: 3px; + -webkit-appearance: none; + border-radius: 3px; + white-space: nowrap; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + background: #fafafa; + background-image: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#e9e9e9)); + background-image: -webkit-linear-gradient(top, #fafafa, #e9e9e9); + background-image: -moz-linear-gradient(top, #fafafa, #e9e9e9); + background-image: -o-linear-gradient(top, #fafafa, #e9e9e9); + background-image: linear-gradient(to bottom, #fafafa, #e9e9e9); + + text-shadow: 0 1px 0 #fff; + -webkit-box-shadow: inset 0 1px 0 #fff; + -moz-box-shadow: inset 0 1px 0 #fff; + box-shadow: inset 0 1px 0 #fff; +} + +#insert { + background: #2ea2cc; + background: -webkit-gradient(linear, left top, left bottom, from(#2ea2cc), to(#1e8cbe)); + background: -webkit-linear-gradient(top, #2ea2cc 0%,#1e8cbe 100%); + background: linear-gradient(top, #2ea2cc 0%,#1e8cbe 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ea2cc', endColorstr='#1e8cbe',GradientType=0 ); + border-color: #0074a2; + -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); + box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); + color: #fff; + text-decoration: none; + text-shadow: 0 1px 0 rgba(0,86,132,0.7); +} + +#cancel:hover, +input.mceButton:hover, +.updateButton:hover, +#cancel:focus, +input.mceButton:focus, +.updateButton:focus { + background: #f3f3f3; + background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f3f3f3)); + background-image: -webkit-linear-gradient(top, #fff, #f3f3f3); + background-image: -moz-linear-gradient(top, #fff, #f3f3f3); + background-image: -ms-linear-gradient(top, #fff, #f3f3f3); + background-image: -o-linear-gradient(top, #fff, #f3f3f3); + background-image: linear-gradient(to bottom, #fff, #f3f3f3); + border-color: #999; + color: #222; +} + +#insert:hover, +#insert:focus { + background: #1e8cbe; + background: -webkit-gradient(linear, left top, left bottom, from(#1e8cbe), to(#0074a2)); + background: -webkit-linear-gradient(top, #1e8cbe 0%,#0074a2 100%); + background: linear-gradient(top, #1e8cbe 0%,#0074a2 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e8cbe', endColorstr='#0074a2',GradientType=0 ); + border-color: #0074a2; + -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6); + box-shadow: inset 0 1px 0 rgba(120,200,230,0.6); + color: #fff; +} + +.mceActionPanel #insert { + float: right; +} + +/* Browse */ +a.pickcolor, a.browse {text-decoration:none} +a.browse span {display:block; width:20px; height:18px; border:1px solid #FFF; margin-left:1px;} +.mceOldBoxModel a.browse span {width:22px; height:20px;} +a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;} +a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30);} +a.browse:hover span.disabled {border:1px solid white; background-color:transparent;} +a.pickcolor span {display:block; width:20px; height:16px; margin-left:2px;} +.mceOldBoxModel a.pickcolor span {width:21px; height:17px;} +a.pickcolor:hover span {background-color:#B2BBD0;} +div.iframecontainer {background: #fff;} + +/* Charmap */ +table.charmap {border:1px solid #AAA; text-align:center} +td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;} +#charmap a {display:block; color:#000; text-decoration:none; border:0} +#charmap a:hover {background:#CCC;color:#2B6FB6} +#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center} +#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center} +#charmap #charmapView {background-color:#fff;} + +/* Source */ +.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;} +.mceActionPanel {margin-top:5px;} + +/* Tabs classes */ +.tabs {width:100%; height:19px; line-height:normal; border-bottom: 1px solid #aaa;} +.tabs ul {margin:0; padding:0; list-style:none;} +.tabs li {float:left; border: 1px solid #aaa; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;} +.tabs li.current {border-bottom: 1px solid #fff; margin-right:2px;} +.tabs span {float:left; display:block; padding:0px 10px 0 0;} +.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;} +.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;} + +.wp-core-ui #tabs { + padding-bottom: 5px; + background-color: transparent; +} + +.wp-core-ui #tabs a { + padding: 6px 10px; + margin: 0 2px; +} + +/* Panels */ +.panel_wrapper div.panel {display:none;} +.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;} +.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;} + +/* Columns */ +.column {float:left;} +.properties {width:100%;} +.properties .column1 {} +.properties .column2 {text-align:left;} + +/* Titles */ +h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;} +h3 {font-size:14px;} +.title {font-size:12px; font-weight:bold; color:#2B6FB6;} + +/* Dialog specific */ +#link .panel_wrapper, #link div.current {height:125px;} +#image .panel_wrapper, #image div.current {height:200px;} +#plugintable thead {font-weight:bold; background:#DDD;} +#plugintable, #about #plugintable td {border:1px solid #919B9C;} +#plugintable {width:96%; margin-top:10px;} +#pluginscontainer {height:290px; overflow:auto;} +#colorpicker #preview {display:inline-block; padding-left:40px; height:14px; border:1px solid black; margin-left:5px; margin-right: 5px} +#colorpicker #previewblock {position: relative; top: -3px; padding-left:5px; padding-top: 0px; display:inline} +#colorpicker #preview_wrapper {text-align:center; padding-top:4px; white-space: nowrap; float: right;} +#colorpicker #insert, #colorpicker #cancel {width: 90px} +#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;} +#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;} +#colorpicker #light div {overflow:hidden;} +#colorpicker .panel_wrapper div.current {height:175px;} +#colorpicker #namedcolors {width:150px;} +#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; +} diff --git a/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css b/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css index da970666e7..fe497d8776 100644 --- a/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css +++ b/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css @@ -322,7 +322,7 @@ a[data-wplink-url-error]:before { .wpview-error p { margin: 0; text-align: center; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; } .wpview-type-gallery:after {