--- a/wp/wp-includes/css/dist/editor/style.css Tue Oct 22 16:11:46 2019 +0200
+++ b/wp/wp-includes/css/dist/editor/style.css Tue Dec 15 13:49:49 2020 +0100
@@ -3,10 +3,40 @@
* Colors
*/
/**
+ * Deprecated colors.
+ * Please avoid using these.
+ */
+/**
* Breakpoints & Media Queries
*/
/**
- * Often re-used variables
+ * Colors
+ */
+/**
+ * Deprecated colors.
+ * Please avoid using these.
+ */
+/**
+ * Fonts & basic variables.
+ */
+/**
+ * Grid System.
+ * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
+ */
+/**
+ * Dimensions.
+ */
+/**
+ * Shadows.
+ */
+/**
+ * Editor widths.
+ */
+/**
+ * Block UI.
+ */
+/**
+ * Border radii.
*/
/**
* Breakpoint mixins
@@ -18,22 +48,36 @@
* than the space allows.
*/
/**
- * Button states and focus styles
+ * Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
- * Applies editor right position to the selector passed as argument
- */
-/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
-.editor-autocompleters__block .editor-block-icon {
- margin-right: 8px; }
+/**
+ * Reset default styles for JavaScript UI based pages.
+ * This is a WP-admin agnostic reset
+ */
+/**
+ * Reset the WP Admin page styles for Gutenberg-like pages.
+ */
+:root {
+ --wp-admin-theme-color: #007cba;
+ --wp-admin-theme-color-darker-10: #006ba1;
+ --wp-admin-theme-color-darker-20: #005a87; }
+
+.editor-autocompleters__user .editor-autocompleters__no-avatar::before {
+ /* stylelint-disable */
+ font: normal 20px/1 dashicons;
+ /* stylelint-enable */
+ content: "\f110";
+ margin-right: 5px;
+ vertical-align: middle; }
.editor-autocompleters__user .editor-autocompleters__user-avatar {
margin-right: 8px;
@@ -62,7 +106,8 @@
flex-shrink: 0; }
.editor-autocompleters__user:hover .editor-autocompleters__user-slug {
- color: #66c6e4; }
+ color: #007cba;
+ color: var(--wp-admin-theme-color); }
.document-outline {
margin: 20px 0; }
@@ -76,7 +121,7 @@
.document-outline__item a {
text-decoration: none; }
.document-outline__item .document-outline__emdash::before {
- color: #e2e4e7;
+ color: #ddd;
margin-right: 4px; }
.document-outline__item.is-h2 .document-outline__emdash::before {
content: "—"; }
@@ -97,20 +142,19 @@
align-items: flex-start;
margin: 0 0 0 -1px;
padding: 2px 5px 2px 1px;
- color: #23282d;
- text-align: left; }
+ color: #1e1e1e;
+ text-align: left;
+ border-radius: 2px; }
.document-outline__button:disabled {
cursor: default; }
.document-outline__button:focus {
- background-color: #fff;
- color: #191e23;
- box-shadow: inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff;
- outline: 2px solid transparent;
- outline-offset: -2px; }
+ box-shadow: 0 0 0 1.5px #007cba;
+ box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
+ outline: 2px solid transparent; }
.document-outline__level {
- background: #e2e4e7;
- color: #23282d;
+ background: #ddd;
+ color: #1e1e1e;
border-radius: 3px;
font-size: 13px;
padding: 1px 6px;
@@ -121,13 +165,95 @@
.document-outline__item-content {
padding: 1px 0; }
+.components-editor-notices__dismissible {
+ position: -webkit-sticky;
+ position: sticky;
+ top: 0;
+ right: 0;
+ color: #1e1e1e; }
+
+.components-editor-notices__pinned {
+ position: relative;
+ left: 0;
+ top: 0;
+ right: 0;
+ color: #1e1e1e; }
+
+.components-editor-notices__dismissible .components-notice,
+.components-editor-notices__pinned .components-notice {
+ box-sizing: border-box;
+ margin: 0;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.2);
+ padding: 0 12px;
+ min-height: 60px; }
+ .components-editor-notices__dismissible .components-notice .components-notice__dismiss,
+ .components-editor-notices__pinned .components-notice .components-notice__dismiss {
+ margin-top: 12px; }
+
+.components-editor-notices__snackbar {
+ width: 100%; }
+ @media (min-width: 782px) {
+ .components-editor-notices__snackbar {
+ width: fit-content;
+ width: -moz-fit-content; } }
+
+.entities-saved-states__panel {
+ box-sizing: border-box;
+ background: #fff;
+ position: fixed;
+ z-index: 100001;
+ top: 46px;
+ bottom: 0;
+ right: 0;
+ left: 0;
+ overflow: auto;
+ box-sizing: border-box; }
+ .entities-saved-states__panel *,
+ .entities-saved-states__panel *::before,
+ .entities-saved-states__panel *::after {
+ box-sizing: inherit; }
+ .entities-saved-states__panel .entities-saved-states__find-entity {
+ display: none; }
+ .entities-saved-states__panel .entities-saved-states__find-entity-small {
+ display: block; }
+ @media (min-width: 782px) {
+ .entities-saved-states__panel {
+ z-index: 99998;
+ top: 32px;
+ left: auto;
+ width: 280px;
+ border-left: 1px solid #ddd; }
+ body.is-fullscreen-mode .entities-saved-states__panel {
+ top: 0; }
+ .entities-saved-states__panel .entities-saved-states__find-entity {
+ display: block; }
+ .entities-saved-states__panel .entities-saved-states__find-entity-small {
+ display: none; } }
+ .entities-saved-states__panel .entities-saved-states__panel-header {
+ background: #fff;
+ padding-left: 8px;
+ padding-right: 8px;
+ height: 61px;
+ border-bottom: 1px solid #ddd;
+ display: flex;
+ align-items: center;
+ align-content: space-between; }
+ .entities-saved-states__panel .entities-saved-states__panel-header .editor-entities-saved-states__save-button {
+ margin: auto; }
+ .entities-saved-states__panel .entities-saved-states__panel-header .components-button.has-icon {
+ position: absolute;
+ right: 8px; }
+ .entities-saved-states__panel .entities-saved-states__text-prompt {
+ border-bottom: 1px solid #ddd;
+ padding: 16px;
+ padding-bottom: 4px; }
+
.editor-error-boundary {
- max-width: 610px;
margin: auto;
max-width: 780px;
padding: 20px;
margin-top: 60px;
- box-shadow: 0 3px 30px rgba(25, 30, 35, 0.2); }
+ box-shadow: 0 3px 30px rgba(0, 0, 0, 0.2); }
.editor-page-attributes__template {
margin-bottom: 10px; }
@@ -150,11 +276,18 @@
.editor-post-featured-image {
padding: 0; }
+ .editor-post-featured-image__container {
+ margin-bottom: 1em;
+ position: relative; }
.editor-post-featured-image .components-spinner {
- margin: 0; }
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ margin-top: -9px;
+ margin-left: -9px; }
.editor-post-featured-image .components-button + .components-button {
- margin-top: 1em;
- margin-right: 8px; }
+ display: block;
+ margin-top: 1em; }
.editor-post-featured-image .components-responsive-wrapper__content {
max-width: 100%;
width: auto; }
@@ -165,19 +298,30 @@
width: 100%;
padding: 0;
transition: all 0.1s ease-out;
- box-shadow: 0 0 0 0 #00a0d2; }
+ box-shadow: 0 0 0 0 #007cba;
+ box-shadow: 0 0 0 0 var(--wp-admin-theme-color); }
+ @media (prefers-reduced-motion: reduce) {
+ .editor-post-featured-image__toggle,
+ .editor-post-featured-image__preview {
+ transition-duration: 0s; } }
+
+.editor-post-featured-image__preview {
+ height: auto; }
.editor-post-featured-image__preview:not(:disabled):not([aria-disabled="true"]):focus {
- box-shadow: 0 0 0 4px #00a0d2; }
+ box-shadow: 0 0 0 4px #007cba;
+ box-shadow: 0 0 0 4px var(--wp-admin-theme-color); }
.editor-post-featured-image__toggle {
- border: 1px dashed #a2aab2;
- background-color: #edeff0;
+ border-radius: 2px;
+ background-color: #f0f0f0;
+ min-height: 90px;
line-height: 20px;
padding: 8px 0;
text-align: center; }
.editor-post-featured-image__toggle:hover {
- background-color: #f8f9f9; }
+ background: #ddd;
+ color: #1e1e1e; }
.editor-post-format {
flex-direction: column;
@@ -200,16 +344,14 @@
.editor-post-last-revision__title .dashicon {
margin-right: 5px; }
-.components-icon-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:hover, .components-icon-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:active {
- border: none;
- box-shadow: none; }
-
-.components-icon-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:focus {
- color: #191e23;
- border: none;
- box-shadow: none;
- outline-offset: -2px;
- outline: 1px dotted #555d66; }
+.components-button.editor-post-last-revision__title {
+ height: 100%; }
+ .components-button.editor-post-last-revision__title:hover, .components-button.editor-post-last-revision__title:active {
+ background: #f0f0f0; }
+ .components-button.editor-post-last-revision__title:focus {
+ box-shadow: inset 0 0 0 1.5px #007cba;
+ box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color);
+ border-radius: 0; }
.editor-post-locked-modal {
height: auto;
@@ -232,133 +374,52 @@
margin: 5px;
margin-right: 15px; }
-.editor-post-permalink {
- display: inline-flex;
- align-items: center;
- background: #fff;
- padding: 5px;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- font-size: 13px;
- height: 40px;
- white-space: nowrap;
- border: 1px solid #b5bcc2;
- background-clip: padding-box;
- border-left: 0;
- box-shadow: -3px 0 0 0 #555d66;
- outline: 1px solid transparent;
- margin-left: -15px;
- margin-right: -15px; }
- .is-dark-theme .editor-post-permalink {
- box-shadow: -3px 0 0 0 #d7dade; }
- @media (min-width: 600px) {
- .editor-post-permalink {
- margin-left: -1px;
- margin-right: -1px; } }
- .editor-post-permalink button {
- flex-shrink: 0; }
-
-.editor-post-permalink__copy {
+.editor-post-publish-button__button.has-changes-dot::before {
+ background: currentcolor;
border-radius: 4px;
- padding: 6px; }
-
-.editor-post-permalink__copy.is-copied {
- opacity: 0.3; }
-
-.editor-post-permalink__label {
- margin: 0 10px 0 5px;
- font-weight: 600; }
-
-.editor-post-permalink__link {
- color: #7e8993;
- text-decoration: underline;
- margin-right: 10px;
- width: 100%;
- overflow: hidden;
- position: relative;
- white-space: nowrap; }
- .editor-post-permalink__link::after {
- content: "";
- display: block;
- position: absolute;
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- pointer-events: none;
- background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 90%);
- top: 1px;
- bottom: 1px;
- right: 1px;
- left: auto;
- width: 20%;
- height: auto; }
-
-.editor-post-permalink-editor {
- width: 100%;
- min-width: 20%;
- display: inline-flex;
- align-items: center; }
- .editor-post-permalink-editor .editor-post-permalink__editor-container {
- flex: 0 1 100%;
- display: flex;
- overflow: hidden;
- padding: 1px 0; }
- .editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix {
- flex: 1 1 auto; }
- @media (min-width: 600px) {
- .editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix {
- flex: 1 0 auto; } }
- .editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__edit {
- flex: 1 1 100%; }
- .editor-post-permalink-editor .editor-post-permalink-editor__save {
- margin-left: auto; }
-
-.editor-post-permalink-editor__prefix {
- color: #6c7781;
- min-width: 20%;
- overflow: hidden;
- position: relative;
- white-space: nowrap;
- text-overflow: ellipsis; }
-
-.editor-post-permalink input[type="text"].editor-post-permalink-editor__edit {
- min-width: 10%;
- width: 100%;
- margin: 0 3px;
- padding: 2px 4px; }
-
-.editor-post-permalink-editor__suffix {
- color: #6c7781;
- margin-right: 6px;
- flex: 0 0 0%; }
+ content: "";
+ height: 8px;
+ margin: auto 5px auto -3px;
+ width: 8px; }
.editor-post-publish-panel {
- background: #fff;
- color: #555d66; }
+ background: #fff; }
.editor-post-publish-panel__content {
- min-height: calc(100% - 140px); }
+ min-height: calc(100% - 144px); }
.editor-post-publish-panel__content .components-spinner {
display: block;
- float: none;
margin: 100px auto 0; }
.editor-post-publish-panel__header {
background: #fff;
padding-left: 16px;
- height: 56px;
- border-bottom: 1px solid #e2e4e7;
+ padding-right: 16px;
+ height: 61px;
+ border-bottom: 1px solid #ddd;
display: flex;
align-items: center;
align-content: space-between; }
+ .editor-post-publish-panel__header .components-button {
+ width: 100%;
+ justify-content: center; }
+ .editor-post-publish-panel__header .has-icon {
+ margin-left: auto;
+ width: auto; }
+
+.editor-post-publish-panel__header-publish-button,
+.editor-post-publish-panel__header-cancel-button {
+ flex-grow: 1; }
+ @media (min-width: 480px) {
+ .editor-post-publish-panel__header-publish-button,
+ .editor-post-publish-panel__header-cancel-button {
+ max-width: 160px; } }
.editor-post-publish-panel__header-publish-button {
- display: flex;
- justify-content: flex-end;
- flex-grow: 1;
- text-align: right;
- flex-wrap: nowrap; }
+ padding-right: 4px; }
+
+.editor-post-publish-panel__header-cancel-button {
+ padding-left: 4px; }
.editor-post-publish-panel__header-published {
flex-grow: 1; }
@@ -375,15 +436,13 @@
margin-right: -4px; }
.editor-post-publish-panel__link {
- color: #007fac;
font-weight: 400;
- padding-left: 4px;
- text-decoration: underline; }
+ padding-left: 4px; }
.editor-post-publish-panel__prepublish {
padding: 16px; }
.editor-post-publish-panel__prepublish strong {
- color: #191e23; }
+ color: #1e1e1e; }
.editor-post-publish-panel__prepublish .components-panel__body {
background: #fff;
margin-left: -16px;
@@ -392,7 +451,7 @@
display: none; }
.post-publish-panel__postpublish .components-panel__body {
- border-bottom: 1px solid #e2e4e7;
+ border-bottom: 1px solid #f0f0f0;
border-top: none; }
.post-publish-panel__postpublish-buttons {
@@ -417,7 +476,7 @@
margin-bottom: 16px; }
.post-publish-panel__postpublish-post-address input[readonly] {
padding: 10px;
- background: #e8eaeb;
+ background: #ddd;
overflow: hidden;
text-overflow: ellipsis; }
@@ -433,44 +492,35 @@
.editor-post-saved-state {
display: flex;
align-items: center;
- color: #a2aab2;
- overflow: hidden; }
- .editor-post-saved-state.is-saving {
- animation: edit-post__loading-fade-animation 0.5s infinite; }
- .editor-post-saved-state .dashicon {
+ width: 28px;
+ padding: 12px 4px;
+ color: #757575;
+ overflow: hidden;
+ white-space: nowrap; }
+ .editor-post-saved-state svg {
display: inline-block;
- flex: 0 0 auto; }
-
-.editor-post-saved-state {
- width: 28px;
- white-space: nowrap;
- padding: 12px 4px; }
- .editor-post-saved-state .dashicon {
+ flex: 0 0 auto;
+ fill: currentColor;
margin-right: 8px; }
@media (min-width: 600px) {
.editor-post-saved-state {
width: auto;
padding: 8px 12px;
text-indent: inherit; }
- .editor-post-saved-state .dashicon {
+ .editor-post-saved-state svg {
margin-right: 4px; } }
-.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft {
- margin: 0; }
- @media (min-width: 600px) {
- .edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft .dashicon {
- display: none; } }
-
.editor-post-taxonomies__hierarchical-terms-list {
max-height: 14em;
- overflow: auto; }
+ overflow: auto;
+ margin-left: -5.5px;
+ padding-left: 5.5px;
+ margin-top: -5.5px;
+ padding-top: 5.5px; }
.editor-post-taxonomies__hierarchical-terms-choice {
margin-bottom: 8px; }
-.editor-post-taxonomies__hierarchical-terms-input[type="checkbox"] {
- margin-top: 0; }
-
.editor-post-taxonomies__hierarchical-terms-subchoices {
margin-top: 8px;
margin-left: 16px; }
@@ -491,206 +541,273 @@
margin-bottom: 8px;
width: 100%; }
-.editor-post-text-editor {
- border: 1px solid #e2e4e7;
+.edit-post-text-editor__body textarea.editor-post-text-editor {
+ border: 1px solid #ccc;
display: block;
- margin: 0 0 2em;
+ margin: 0;
width: 100%;
box-shadow: none;
resize: none;
overflow: hidden;
font-family: Menlo, Consolas, monaco, monospace;
- line-height: 150%;
+ line-height: 2.4;
+ border-radius: 0;
+ min-height: 200px;
+ padding: 16px;
/* Fonts smaller than 16px causes mobile safari to zoom. */
- font-size: 16px; }
+ font-size: 16px !important; }
@media (min-width: 600px) {
- .editor-post-text-editor {
- font-size: 14px; } }
- .editor-post-text-editor:hover, .editor-post-text-editor:focus {
- border: 1px solid #e2e4e7;
+ .edit-post-text-editor__body textarea.editor-post-text-editor {
+ padding: 24px; } }
+ @media (min-width: 600px) {
+ .edit-post-text-editor__body textarea.editor-post-text-editor {
+ font-size: 15px !important; } }
+ .edit-post-text-editor__body textarea.editor-post-text-editor:focus {
+ border: 1px solid #1e1e1e;
box-shadow: none;
- outline: 1px solid #e2e4e7;
- outline-offset: -2px; }
-
-.editor-post-text-editor__toolbar {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap; }
- .editor-post-text-editor__toolbar button {
- height: 30px;
- background: none;
- padding: 0 8px;
- margin: 3px 4px;
- text-align: center;
- cursor: pointer;
- font-family: Menlo, Consolas, monaco, monospace;
- color: #555d66;
- border: 1px solid transparent; }
- .editor-post-text-editor__toolbar button:first-child {
- margin-left: 0; }
- .editor-post-text-editor__toolbar button:hover, .editor-post-text-editor__toolbar button:focus {
- outline: none;
- border: 1px solid #555d66; }
+ position: relative; }
-.editor-post-text-editor__bold {
- font-weight: 600; }
-
-.editor-post-text-editor__italic {
- font-style: italic; }
-
-.editor-post-text-editor__link {
- text-decoration: underline;
- color: #0085ba; }
-
-body.admin-color-sunrise .editor-post-text-editor__link{
- color: #d1864a; }
-
-body.admin-color-ocean .editor-post-text-editor__link{
- color: #a3b9a2; }
-
-body.admin-color-midnight .editor-post-text-editor__link{
- color: #e14d43; }
-
-body.admin-color-ectoplasm .editor-post-text-editor__link{
- color: #a7b656; }
-
-body.admin-color-coffee .editor-post-text-editor__link{
- color: #c2a68c; }
-
-body.admin-color-blue .editor-post-text-editor__link{
- color: #82b4cb; }
-
-body.admin-color-light .editor-post-text-editor__link{
- color: #0085ba; }
-
-.editor-post-text-editor__del {
- text-decoration: line-through; }
-
-.edit-post-post-visibility__dialog .editor-post-visibility__dialog-fieldset {
+.edit-post-post-visibility__dialog,
+.editor-post-visibility__dialog-fieldset {
padding: 4px;
padding-top: 0; }
-
-.edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend {
- font-weight: 600;
- margin-bottom: 1em;
- margin-top: 0.5em;
- padding: 0; }
-
-.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio {
- margin-top: 2px; }
-
-.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label {
- font-weight: 600; }
-
-.edit-post-post-visibility__dialog .editor-post-visibility__dialog-info {
- margin-top: 0;
- margin-left: 28px; }
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend,
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-legend {
+ font-weight: 600;
+ margin-bottom: 1em;
+ margin-top: 0.5em;
+ padding: 0; }
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"],
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"] {
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
+ padding: 6px 8px;
+ box-shadow: 0 0 0 transparent;
+ transition: box-shadow 0.1s linear;
+ border-radius: 2px;
+ border: 1px solid #757575;
+ /* Fonts smaller than 16px causes mobile safari to zoom. */
+ font-size: 16px;
+ /* Override core line-height. To be reviewed. */
+ line-height: normal;
+ border: 1px solid #1e1e1e;
+ margin-right: 12px;
+ transition: none;
+ border-radius: 50%;
+ margin-top: 2px; }
+ @media (prefers-reduced-motion: reduce) {
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"],
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"] {
+ transition-duration: 0s; } }
+ @media (min-width: 600px) {
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"],
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"] {
+ font-size: 13px;
+ /* Override core line-height. To be reviewed. */
+ line-height: normal; } }
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:focus,
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:focus {
+ border-color: #007cba;
+ border-color: var(--wp-admin-theme-color);
+ box-shadow: 0 0 0 0.5px #007cba;
+ box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
+ outline: 2px solid transparent; }
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder,
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder {
+ color: rgba(30, 30, 30, 0.62); }
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder,
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder {
+ opacity: 1;
+ color: rgba(30, 30, 30, 0.62); }
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder,
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder {
+ color: rgba(30, 30, 30, 0.62); }
+ .is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder, .is-dark-theme
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder {
+ color: rgba(255, 255, 255, 0.65); }
+ .is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder, .is-dark-theme
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder {
+ opacity: 1;
+ color: rgba(255, 255, 255, 0.65); }
+ .is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder, .is-dark-theme
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder {
+ color: rgba(255, 255, 255, 0.65); }
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked::before,
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked::before {
+ width: 7px;
+ height: 7px;
+ margin: 8px 0 0 8px;
+ background-color: #fff;
+ border: 3px solid #fff; }
+ @media (min-width: 782px) {
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked::before,
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked::before {
+ width: 6px;
+ height: 6px;
+ margin: 4px 0 0 4px; } }
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:focus,
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:focus {
+ box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #007cba;
+ box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--wp-admin-theme-color);
+ outline: 2px solid transparent; }
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked,
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked {
+ background: #007cba;
+ background: var(--wp-admin-theme-color);
+ border-color: #007cba;
+ border-color: var(--wp-admin-theme-color); }
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-label,
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label {
+ font-weight: 600; }
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-info,
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-info {
+ margin-top: 0;
+ margin-left: 28px; }
+ .edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info,
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info {
+ margin-bottom: 0; }
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"],
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"] {
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
+ padding: 6px 8px;
+ box-shadow: 0 0 0 transparent;
+ transition: box-shadow 0.1s linear;
+ border-radius: 2px;
+ border: 1px solid #757575;
+ /* Fonts smaller than 16px causes mobile safari to zoom. */
+ font-size: 16px;
+ /* Override core line-height. To be reviewed. */
+ line-height: normal;
+ margin-left: 28px; }
+ @media (prefers-reduced-motion: reduce) {
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"],
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"] {
+ transition-duration: 0s; } }
+ @media (min-width: 600px) {
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"],
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"] {
+ font-size: 13px;
+ /* Override core line-height. To be reviewed. */
+ line-height: normal; } }
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]:focus,
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]:focus {
+ border-color: #007cba;
+ border-color: var(--wp-admin-theme-color);
+ box-shadow: 0 0 0 0.5px #007cba;
+ box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
+ outline: 2px solid transparent; }
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder,
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder {
+ color: rgba(30, 30, 30, 0.62); }
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder,
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder {
+ opacity: 1;
+ color: rgba(30, 30, 30, 0.62); }
+ .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder,
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder {
+ color: rgba(30, 30, 30, 0.62); }
+ .is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder, .is-dark-theme
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder {
+ color: rgba(255, 255, 255, 0.65); }
+ .is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder, .is-dark-theme
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder {
+ opacity: 1;
+ color: rgba(255, 255, 255, 0.65); }
+ .is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder, .is-dark-theme
+ .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder {
+ color: rgba(255, 255, 255, 0.65); }
-.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info {
- margin-bottom: 0; }
-
-.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input {
- margin-left: 28px; }
-
-.edit-post-post-visibility__dialog.components-popover.is-bottom {
- z-index: 100001; }
-
-.editor-post-title__block {
- position: relative;
- padding: 5px 0;
- font-size: 16px; }
- @media (min-width: 600px) {
- .editor-post-title__block {
- padding: 5px 2px; } }
- .editor-post-title__block .editor-post-title__input {
+.editor-post-title {
+ position: relative; }
+ .editor-post-title .editor-post-title__input {
display: block;
width: 100%;
margin: 0;
box-shadow: none;
background: transparent;
- font-family: "Noto Serif", serif;
- line-height: 1.4;
- color: #191e23;
transition: border 0.1s ease-out, box-shadow 0.1s linear;
- padding: 19px 14px;
+ padding: 19px 0;
word-break: keep-all;
+ font-family: inherit;
+ color: inherit;
border: 1px solid transparent;
border-left-width: 0;
border-right-width: 0;
+ border-radius: 0;
outline: 1px solid transparent;
- font-size: 2.441em;
- font-weight: 600; }
+ font-size: 2.44em;
+ font-weight: bold;
+ line-height: 1.4; }
+ @media (prefers-reduced-motion: reduce) {
+ .editor-post-title .editor-post-title__input {
+ transition-duration: 0s; } }
@media (min-width: 600px) {
- .editor-post-title__block .editor-post-title__input {
- border-width: 1px;
- border-left-width: 0; } }
- .editor-post-title__block .editor-post-title__input::-webkit-input-placeholder {
- color: rgba(22, 36, 53, 0.55); }
- .editor-post-title__block .editor-post-title__input::-moz-placeholder {
- color: rgba(22, 36, 53, 0.55); }
- .editor-post-title__block .editor-post-title__input:-ms-input-placeholder {
- color: rgba(22, 36, 53, 0.55); }
- .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input {
- border-color: rgba(66, 88, 99, 0.4);
- box-shadow: inset 3px 0 0 0 #555d66; }
- .is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input {
- border-color: rgba(255, 255, 255, 0.45);
- box-shadow: inset 3px 0 0 0 #d7dade; }
- @media (min-width: 600px) {
- .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input {
- box-shadow: -3px 0 0 0 #555d66; }
- .is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input {
- box-shadow: -3px 0 0 0 #d7dade; } }
- .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover {
- box-shadow: -3px 0 0 0 #e2e4e7; }
- .editor-post-title__block.is-focus-mode .editor-post-title__input {
+ .editor-post-title .editor-post-title__input {
+ border-width: 1px; } }
+ .editor-post-title .editor-post-title__input::-webkit-input-placeholder {
+ color: rgba(30, 30, 30, 0.55); }
+ .editor-post-title .editor-post-title__input::-moz-placeholder {
+ color: rgba(30, 30, 30, 0.55); }
+ .editor-post-title .editor-post-title__input:-ms-input-placeholder {
+ color: rgba(30, 30, 30, 0.55); }
+ .editor-post-title .editor-post-title__input:focus {
+ border: 1px solid transparent;
+ outline: 1px solid transparent;
+ box-shadow: none; }
+ .editor-post-title.is-focus-mode .editor-post-title__input {
opacity: 0.5;
transition: opacity 0.1s linear; }
- .editor-post-title__block.is-focus-mode .editor-post-title__input:focus {
+ @media (prefers-reduced-motion: reduce) {
+ .editor-post-title.is-focus-mode .editor-post-title__input {
+ transition-duration: 0s; } }
+ .editor-post-title.is-focus-mode .editor-post-title__input:focus {
opacity: 1; }
-.editor-post-title .editor-post-permalink {
- font-size: 13px;
- color: #191e23;
- position: absolute;
- top: -34px;
- left: 0;
- right: 0; }
- @media (min-width: 600px) {
- .editor-post-title .editor-post-permalink {
- left: 2px;
- right: 2px; } }
-
.editor-post-trash.components-button {
- width: 100%;
- color: #c92c2c;
- justify-content: center; }
- .editor-post-trash.components-button:hover, .editor-post-trash.components-button:focus {
- color: #b52727; }
+ margin-left: -6px; }
-.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content {
+.table-of-contents__popover.components-popover .components-popover__content {
min-width: 380px; }
-.table-of-contents__popover .components-popover__content {
+.components-popover.table-of-contents__popover {
+ z-index: 99998; }
+
+.table-of-contents__popover .components-popover__content > div {
padding: 16px; }
- @media (min-width: 600px) {
- .table-of-contents__popover .components-popover__content {
- max-height: calc(100vh - 120px);
- overflow-y: auto; } }
+
+@media (min-width: 600px) {
+ .table-of-contents__popover .components-popover__content {
+ max-height: calc(100vh - 120px);
+ overflow-y: auto; } }
.table-of-contents__popover hr {
margin: 10px -16px 0; }
+.table-of-contents__wrapper:focus::before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ box-shadow: inset 0 0 0 1.5px #007cba;
+ box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color); }
+
.table-of-contents__counts {
display: flex;
- flex-wrap: wrap; }
+ flex-wrap: wrap;
+ margin: 0; }
.table-of-contents__count {
- width: 25%;
+ flex-basis: 25%;
display: flex;
flex-direction: column;
font-size: 13px;
- color: #6c7781; }
+ color: #6c7781;
+ padding-right: 8px;
+ margin-bottom: 0; }
+ .table-of-contents__count:last-child {
+ padding-right: 0; }
.table-of-contents__number,
.table-of-contents__popover .word-count {