2018-12-18 04:17:48 +01:00
|
|
|
@charset "UTF-8";
|
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Breakpoints & Media Queries
|
|
|
|
*/
|
2021-01-28 03:04:13 +01:00
|
|
|
/**
|
|
|
|
* SCSS Variables.
|
|
|
|
*
|
|
|
|
* Please use variables from this sheet to ensure consistency across the UI.
|
|
|
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
2021-02-08 04:37:09 +01:00
|
|
|
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
2021-01-28 03:04:13 +01:00
|
|
|
*/
|
2020-01-22 23:06:21 +01:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
2018-12-18 04:17:48 +01:00
|
|
|
/**
|
2020-06-26 15:33:47 +02:00
|
|
|
* Fonts & basic variables.
|
2018-12-18 04:17:48 +01:00
|
|
|
*/
|
2020-05-06 01:56:33 +02:00
|
|
|
/**
|
|
|
|
* Grid System.
|
|
|
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
|
|
*/
|
2020-06-26 15:33:47 +02:00
|
|
|
/**
|
|
|
|
* Dimensions.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Shadows.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Editor widths.
|
|
|
|
*/
|
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* Block & Editor UI.
|
2020-06-26 15:33:47 +02:00
|
|
|
*/
|
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* Block paddings.
|
2020-06-26 15:33:47 +02:00
|
|
|
*/
|
2020-10-13 15:10:30 +02:00
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* React Native specific.
|
|
|
|
* These variables do not appear to be used anywhere else.
|
2020-10-13 15:10:30 +02:00
|
|
|
*/
|
2018-12-18 04:17:48 +01:00
|
|
|
/**
|
|
|
|
* Breakpoint mixins
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Long content fade mixin
|
|
|
|
*
|
|
|
|
* Creates a fading overlay to signify that the content is longer
|
|
|
|
* than the space allows.
|
|
|
|
*/
|
|
|
|
/**
|
2020-06-26 15:33:47 +02:00
|
|
|
* Focus styles.
|
2018-12-18 04:17:48 +01:00
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Applies editor left position to the selector passed as argument
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Styles that are reused verbatim in a few places
|
|
|
|
*/
|
2019-03-21 13:48:00 +01:00
|
|
|
/**
|
|
|
|
* Allows users to opt-out of animations via OS-level preferences.
|
|
|
|
*/
|
2019-09-19 17:19:18 +02:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
2020-06-26 15:33:47 +02:00
|
|
|
:root {
|
|
|
|
--wp-admin-theme-color: #007cba;
|
|
|
|
--wp-admin-theme-color-darker-10: #006ba1;
|
2021-01-28 03:04:13 +01:00
|
|
|
--wp-admin-theme-color-darker-20: #005a87;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
:root {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-02-06 22:03:31 +01:00
|
|
|
.editor-autocompleters__user .editor-autocompleters__no-avatar::before {
|
|
|
|
/* stylelint-disable */
|
|
|
|
font: normal 20px/1 dashicons;
|
|
|
|
/* stylelint-enable */
|
2021-01-28 03:04:13 +01:00
|
|
|
content: "";
|
2020-02-06 22:03:31 +01:00
|
|
|
margin-left: 5px;
|
2021-01-28 03:04:13 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2019-04-22 14:40:04 +02:00
|
|
|
.editor-autocompleters__user .editor-autocompleters__user-avatar {
|
2018-12-18 04:17:48 +01:00
|
|
|
margin-left: 8px;
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
max-width: none;
|
|
|
|
width: 24px;
|
2021-01-28 03:04:13 +01:00
|
|
|
height: 24px;
|
|
|
|
}
|
2019-04-22 14:40:04 +02:00
|
|
|
.editor-autocompleters__user .editor-autocompleters__user-name {
|
2018-12-18 04:17:48 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
max-width: 200px;
|
|
|
|
flex-shrink: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2019-04-22 14:40:04 +02:00
|
|
|
.editor-autocompleters__user .editor-autocompleters__user-slug {
|
2018-12-18 04:17:48 +01:00
|
|
|
margin-right: 8px;
|
2020-10-13 15:10:30 +02:00
|
|
|
color: #757575;
|
2018-12-18 04:17:48 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: none;
|
|
|
|
max-width: 100px;
|
|
|
|
flex-grow: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
2019-04-22 14:40:04 +02:00
|
|
|
.editor-autocompleters__user:hover .editor-autocompleters__user-slug {
|
2021-01-28 03:04:13 +01:00
|
|
|
color: var(--wp-admin-theme-color);
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.document-outline {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: 20px 0;
|
|
|
|
}
|
|
|
|
.document-outline ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.document-outline__item {
|
|
|
|
display: flex;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: 4px 0;
|
|
|
|
}
|
|
|
|
.document-outline__item a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
.document-outline__item .document-outline__emdash::before {
|
|
|
|
color: #ddd;
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
.document-outline__item.is-h2 .document-outline__emdash::before {
|
|
|
|
content: "—";
|
|
|
|
}
|
|
|
|
.document-outline__item.is-h3 .document-outline__emdash::before {
|
|
|
|
content: "——";
|
|
|
|
}
|
|
|
|
.document-outline__item.is-h4 .document-outline__emdash::before {
|
|
|
|
content: "———";
|
|
|
|
}
|
|
|
|
.document-outline__item.is-h5 .document-outline__emdash::before {
|
|
|
|
content: "————";
|
|
|
|
}
|
|
|
|
.document-outline__item.is-h6 .document-outline__emdash::before {
|
|
|
|
content: "—————";
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.document-outline__button {
|
|
|
|
cursor: pointer;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
2019-03-07 10:09:59 +01:00
|
|
|
margin: 0 -1px 0 0;
|
|
|
|
padding: 2px 1px 2px 5px;
|
2020-07-07 16:43:35 +02:00
|
|
|
color: #1e1e1e;
|
2020-06-26 15:33:47 +02:00
|
|
|
text-align: right;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
.document-outline__button:disabled {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
.document-outline__button:focus {
|
|
|
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.document-outline__level {
|
2020-07-07 16:43:35 +02:00
|
|
|
background: #ddd;
|
|
|
|
color: #1e1e1e;
|
2018-12-18 04:17:48 +01:00
|
|
|
border-radius: 3px;
|
|
|
|
font-size: 13px;
|
|
|
|
padding: 1px 6px;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
.is-invalid .document-outline__level {
|
|
|
|
background: #f0b849;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2019-03-07 10:09:59 +01:00
|
|
|
.document-outline__item-content {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 1px 0;
|
|
|
|
}
|
2019-03-07 10:09:59 +01:00
|
|
|
|
2019-09-19 17:19:18 +02:00
|
|
|
.components-editor-notices__dismissible {
|
|
|
|
position: sticky;
|
2020-06-26 15:33:47 +02:00
|
|
|
top: 0;
|
2019-09-19 17:19:18 +02:00
|
|
|
left: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #1e1e1e;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.components-editor-notices__pinned {
|
|
|
|
position: relative;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #1e1e1e;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.components-editor-notices__dismissible .components-notice,
|
|
|
|
.components-editor-notices__pinned .components-notice {
|
|
|
|
box-sizing: border-box;
|
2020-01-08 12:57:23 +01:00
|
|
|
margin: 0;
|
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
|
2020-06-26 15:33:47 +02:00
|
|
|
padding: 0 12px;
|
2021-01-28 03:04:13 +01:00
|
|
|
min-height: 60px;
|
|
|
|
}
|
|
|
|
.components-editor-notices__dismissible .components-notice .components-notice__dismiss,
|
|
|
|
.components-editor-notices__pinned .components-notice .components-notice__dismiss {
|
|
|
|
margin-top: 12px;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.entities-saved-states__panel {
|
|
|
|
box-sizing: border-box;
|
|
|
|
background: #fff;
|
|
|
|
position: fixed;
|
|
|
|
z-index: 100001;
|
|
|
|
top: 46px;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
overflow: auto;
|
2021-01-28 03:04:13 +01:00
|
|
|
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 {
|
|
|
|
top: 32px;
|
|
|
|
right: auto;
|
|
|
|
width: 280px;
|
|
|
|
border-right: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
body.is-fullscreen-mode .entities-saved-states__panel {
|
|
|
|
top: 0;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
.entities-saved-states__panel .entities-saved-states__find-entity {
|
2021-01-28 03:04:13 +01:00
|
|
|
display: block;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
.entities-saved-states__panel .entities-saved-states__find-entity-small {
|
2021-01-28 03:04:13 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.entities-saved-states__panel .entities-saved-states__panel-header {
|
|
|
|
background: #fff;
|
|
|
|
padding-right: 8px;
|
|
|
|
padding-left: 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;
|
|
|
|
left: 8px;
|
|
|
|
}
|
|
|
|
.entities-saved-states__panel .entities-saved-states__text-prompt {
|
|
|
|
padding: 16px;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
}
|
2020-01-22 23:06:21 +01:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.editor-error-boundary {
|
|
|
|
margin: auto;
|
|
|
|
max-width: 780px;
|
|
|
|
padding: 20px;
|
|
|
|
margin-top: 60px;
|
2021-04-15 17:19:43 +02:00
|
|
|
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
|
2021-01-28 03:04:13 +01:00
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-page-attributes__order {
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.editor-page-attributes__order .components-base-control__field {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.editor-page-attributes__order input {
|
|
|
|
width: 66px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-excerpt__textarea {
|
|
|
|
width: 100%;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-featured-image {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.editor-post-featured-image__container {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.editor-post-featured-image .components-spinner {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
right: 50%;
|
|
|
|
margin-top: -9px;
|
|
|
|
margin-right: -9px;
|
|
|
|
}
|
|
|
|
.editor-post-featured-image .components-button + .components-button {
|
|
|
|
display: block;
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
.editor-post-featured-image .components-responsive-wrapper__content {
|
|
|
|
max-width: 100%;
|
|
|
|
width: auto;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-featured-image__toggle,
|
|
|
|
.editor-post-featured-image__preview {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
|
|
|
transition: all 0.1s ease-out;
|
2021-01-28 03:04:13 +01:00
|
|
|
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;
|
2021-04-15 17:19:43 +02:00
|
|
|
transition-delay: 0s;
|
2021-01-28 03:04:13 +01:00
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-02-10 23:33:27 +01:00
|
|
|
.editor-post-featured-image__preview {
|
2021-01-28 03:04:13 +01:00
|
|
|
height: auto;
|
|
|
|
}
|
2020-02-10 23:33:27 +01:00
|
|
|
|
2021-01-28 03:04:13 +01:00
|
|
|
.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus {
|
|
|
|
box-shadow: 0 0 0 4px var(--wp-admin-theme-color);
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-featured-image__toggle {
|
2020-07-07 16:43:35 +02:00
|
|
|
border-radius: 2px;
|
|
|
|
background-color: #f0f0f0;
|
2020-01-08 12:57:23 +01:00
|
|
|
min-height: 90px;
|
2018-12-18 04:17:48 +01:00
|
|
|
line-height: 20px;
|
|
|
|
padding: 8px 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.editor-post-featured-image__toggle:hover {
|
|
|
|
background: #ddd;
|
|
|
|
color: #1e1e1e;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-format {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-format__content {
|
|
|
|
display: inline-flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-format__suggestion {
|
|
|
|
text-align: left;
|
2021-01-28 03:04:13 +01:00
|
|
|
font-size: 13px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-last-revision__title {
|
|
|
|
width: 100%;
|
2021-01-28 03:04:13 +01:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
.editor-post-last-revision__title .dashicon {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-button.editor-post-last-revision__title {
|
2021-01-28 03:04:13 +01:00
|
|
|
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 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-locked-modal {
|
|
|
|
height: auto;
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
padding-top: 10px;
|
2021-01-28 03:04:13 +01:00
|
|
|
max-width: 480px;
|
|
|
|
}
|
|
|
|
.editor-post-locked-modal .components-modal__header {
|
|
|
|
height: 36px;
|
|
|
|
}
|
|
|
|
.editor-post-locked-modal .components-modal__content {
|
|
|
|
height: auto;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-locked-modal__buttons {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
.editor-post-locked-modal__buttons .components-button {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-locked-modal__avatar {
|
|
|
|
float: right;
|
|
|
|
margin: 5px;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-left: 15px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-01-22 23:06:21 +01:00
|
|
|
.editor-post-publish-button__button.has-changes-dot::before {
|
|
|
|
background: currentcolor;
|
|
|
|
border-radius: 4px;
|
|
|
|
content: "";
|
|
|
|
height: 8px;
|
|
|
|
margin: auto -3px auto 5px;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 8px;
|
|
|
|
}
|
2020-01-22 23:06:21 +01:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.editor-post-publish-panel {
|
2021-01-28 03:04:13 +01:00
|
|
|
background: #fff;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-publish-panel__content {
|
2021-01-28 03:04:13 +01:00
|
|
|
min-height: calc(100% - 144px);
|
|
|
|
}
|
|
|
|
.editor-post-publish-panel__content .components-spinner {
|
|
|
|
display: block;
|
|
|
|
margin: 100px auto 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-publish-panel__header {
|
|
|
|
background: #fff;
|
2020-07-07 16:43:35 +02:00
|
|
|
padding-right: 16px;
|
|
|
|
padding-left: 16px;
|
2020-06-26 15:33:47 +02:00
|
|
|
height: 61px;
|
2020-07-07 16:43:35 +02:00
|
|
|
border-bottom: 1px solid #ddd;
|
2018-12-18 04:17:48 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-01-28 03:04:13 +01:00
|
|
|
align-content: space-between;
|
|
|
|
}
|
|
|
|
.editor-post-publish-panel__header .components-button {
|
|
|
|
width: 100%;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.editor-post-publish-panel__header .has-icon {
|
|
|
|
margin-right: auto;
|
|
|
|
width: auto;
|
|
|
|
}
|
2020-07-07 16:43:35 +02:00
|
|
|
|
2021-04-15 17:19:43 +02:00
|
|
|
.components-site-card {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin: 16px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-site-icon {
|
|
|
|
border: none;
|
|
|
|
border-radius: 2px;
|
|
|
|
margin-left: 12px;
|
|
|
|
height: 36px;
|
|
|
|
width: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-site-name {
|
|
|
|
display: block;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-site-home {
|
|
|
|
display: block;
|
|
|
|
color: #757575;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2020-07-07 16:43:35 +02:00
|
|
|
.editor-post-publish-panel__header-publish-button,
|
|
|
|
.editor-post-publish-panel__header-cancel-button {
|
2021-01-28 03:04:13 +01:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
|
|
.editor-post-publish-panel__header-publish-button,
|
|
|
|
.editor-post-publish-panel__header-cancel-button {
|
|
|
|
max-width: 160px;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-publish-panel__header-publish-button {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-left: 4px;
|
|
|
|
}
|
2020-07-07 16:43:35 +02:00
|
|
|
|
|
|
|
.editor-post-publish-panel__header-cancel-button {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-right: 4px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-publish-panel__header-published {
|
2021-01-28 03:04:13 +01:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-publish-panel__footer {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 16px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-button.editor-post-publish-panel__toggle.is-primary {
|
|
|
|
display: inline-flex;
|
2021-01-28 03:04:13 +01:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.components-button.editor-post-publish-panel__toggle.is-primary.is-busy .dashicon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.components-button.editor-post-publish-panel__toggle.is-primary .dashicon {
|
|
|
|
margin-left: -4px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-publish-panel__link {
|
|
|
|
font-weight: 400;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-right: 4px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-publish-panel__prepublish {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
.editor-post-publish-panel__prepublish strong {
|
|
|
|
color: #1e1e1e;
|
|
|
|
}
|
|
|
|
.editor-post-publish-panel__prepublish .components-panel__body {
|
|
|
|
background: #fff;
|
|
|
|
margin-right: -16px;
|
|
|
|
margin-left: -16px;
|
|
|
|
}
|
|
|
|
.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.post-publish-panel__postpublish .components-panel__body {
|
2020-10-13 15:10:30 +02:00
|
|
|
border-bottom: 1px solid #e0e0e0;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-top: none;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.post-publish-panel__postpublish-buttons {
|
|
|
|
display: flex;
|
|
|
|
align-content: space-between;
|
|
|
|
flex-wrap: wrap;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: -5px;
|
|
|
|
}
|
|
|
|
.post-publish-panel__postpublish-buttons > * {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
.post-publish-panel__postpublish-buttons .components-button {
|
|
|
|
height: auto;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 3px 10px 4px;
|
|
|
|
line-height: 1.6;
|
|
|
|
text-align: center;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
.post-publish-panel__postpublish-buttons .components-clipboard-button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.post-publish-panel__postpublish-post-address {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
.post-publish-panel__postpublish-post-address input[readonly] {
|
|
|
|
padding: 10px;
|
|
|
|
background: #ddd;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.post-publish-panel__postpublish-header {
|
2021-01-28 03:04:13 +01:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.post-publish-panel__postpublish-subheader {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: 0 0 8px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.post-publish-panel__tip {
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #f0b849;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-saved-state {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
width: 28px;
|
2019-09-19 17:19:18 +02:00
|
|
|
padding: 12px 4px;
|
2020-06-26 15:33:47 +02:00
|
|
|
color: #757575;
|
2019-09-19 17:19:18 +02:00
|
|
|
overflow: hidden;
|
2021-01-28 03:04:13 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.editor-post-saved-state svg {
|
|
|
|
display: inline-block;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
fill: currentColor;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.editor-post-saved-state {
|
|
|
|
width: auto;
|
|
|
|
padding: 8px 12px;
|
|
|
|
text-indent: inherit;
|
|
|
|
}
|
2020-02-06 22:03:31 +01:00
|
|
|
.editor-post-saved-state svg {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-taxonomies__hierarchical-terms-list {
|
|
|
|
max-height: 14em;
|
2019-09-19 17:19:18 +02:00
|
|
|
overflow: auto;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-right: -6px;
|
|
|
|
padding-right: 6px;
|
|
|
|
margin-top: -6px;
|
|
|
|
padding-top: 6px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-taxonomies__hierarchical-terms-choice {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-taxonomies__hierarchical-terms-subchoices {
|
|
|
|
margin-top: 8px;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-right: 16px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-button.editor-post-taxonomies__hierarchical-terms-submit,
|
|
|
|
.components-button.editor-post-taxonomies__hierarchical-terms-add {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-top: 12px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-taxonomies__hierarchical-terms-label {
|
|
|
|
display: inline-block;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-top: 12px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-taxonomies__hierarchical-terms-input {
|
|
|
|
margin-top: 8px;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-taxonomies__hierarchical-terms-filter {
|
|
|
|
margin-bottom: 8px;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2021-05-19 17:09:27 +02:00
|
|
|
.editor-post-taxonomies__flat-term-most-used .editor-post-taxonomies__flat-term-most-used-label {
|
|
|
|
font-weight: 400;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-post-taxonomies__flat-term-most-used-list {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.editor-post-taxonomies__flat-term-most-used-list li {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
.editor-post-taxonomies__flat-term-most-used-list .components-button {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.edit-post-text-editor__body textarea.editor-post-text-editor {
|
2020-10-13 15:10:30 +02:00
|
|
|
border: 1px solid #949494;
|
|
|
|
border-radius: 0;
|
2018-12-18 04:17:48 +01:00
|
|
|
display: block;
|
2020-06-26 15:33:47 +02:00
|
|
|
margin: 0;
|
2018-12-18 04:17:48 +01:00
|
|
|
width: 100%;
|
|
|
|
box-shadow: none;
|
|
|
|
resize: none;
|
|
|
|
overflow: hidden;
|
2020-06-26 15:33:47 +02:00
|
|
|
font-family: Menlo, Consolas, monaco, monospace;
|
|
|
|
line-height: 2.4;
|
|
|
|
min-height: 200px;
|
2020-10-13 15:10:30 +02:00
|
|
|
transition: border 0.1s ease-out, box-shadow 0.1s linear;
|
2020-06-26 15:33:47 +02:00
|
|
|
padding: 16px;
|
2019-03-07 10:09:59 +01:00
|
|
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
2021-01-28 03:04:13 +01:00
|
|
|
font-size: 16px !important;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.edit-post-text-editor__body textarea.editor-post-text-editor {
|
|
|
|
transition-duration: 0s;
|
2021-04-15 17:19:43 +02:00
|
|
|
transition-delay: 0s;
|
2021-01-28 03:04:13 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.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-color: var(--wp-admin-theme-color);
|
|
|
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.edit-post-text-editor__body textarea.editor-post-text-editor::-webkit-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.edit-post-text-editor__body textarea.editor-post-text-editor::-moz-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
.edit-post-text-editor__body textarea.editor-post-text-editor:-ms-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
Block Editor: Update WordPress packages to include the latest bug fixes.
Updated packages:
@wordpress/annotations@1.7.1
@wordpress/api-fetch@3.6.1
@wordpress/babel-plugin-makepot@3.2.1
@wordpress/babel-preset-default@4.6.1
@wordpress/block-directory@1.0.1
@wordpress/block-editor@3.2.1
@wordpress/block-library@2.9.1
@wordpress/blocks@6.7.1
@wordpress/components@8.3.1
@wordpress/compose@3.7.1
@wordpress/core-data@2.7.1
@wordpress/data-controls@1.3.1
@wordpress/data@4.9.1
@wordpress/docgen@1.4.1
@wordpress/dom@2.5.1
@wordpress/e2e-test-utils@2.4.1
@wordpress/e2e-tests@1.7.1
@wordpress/edit-post@3.8.1
@wordpress/editor@9.7.1
@wordpress/element@2.8.1
@wordpress/format-library@1.9.1
@wordpress/i18n@3.6.1
@wordpress/jest-console@3.3.1
@wordpress/jest-preset-default@5.1.1
@wordpress/keycodes@2.6.1
@wordpress/library-export-default-webpack-plugin@1.4.1
@wordpress/list-reusable-blocks@1.8.1
@wordpress/media-utils@1.2.1
@wordpress/notices@1.8.1
@wordpress/nux@3.7.1
@wordpress/plugins@2.7.1
@wordpress/redux-routine@3.6.1
@wordpress/rich-text@3.7.1
@wordpress/scripts@5.0.1
@wordpress/server-side-render@1.3.1
@wordpress/shortcode@2.4.1
@wordpress/token-list@1.6.1
@wordpress/viewport@2.8.1
@wordpress/wordcount@2.6.1
Props epiqueras, youknowriad, donmhico, jorgefilipecosta, soean, mcsf, noisysocks, andraganescu, gziolo, talldanwp, iseulde, nrqsnchz, mapk, karmatosed, joen, afercia, kjellr, desrosj.
Fixes #48186.
Built from https://develop.svn.wordpress.org/trunk@46364
git-svn-id: http://core.svn.wordpress.org/trunk@46163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-30 22:07:06 +02:00
|
|
|
.edit-post-post-visibility__dialog,
|
|
|
|
.editor-post-visibility__dialog-fieldset {
|
2018-12-18 04:17:48 +01:00
|
|
|
padding: 4px;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
.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-left: 12px;
|
|
|
|
transition: none;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
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;
|
2021-04-15 17:19:43 +02:00
|
|
|
transition-delay: 0s;
|
2021-01-28 03:04:13 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@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;
|
2020-06-26 15:33:47 +02:00
|
|
|
/* Override core line-height. To be reviewed. */
|
|
|
|
line-height: normal;
|
2021-01-28 03:04:13 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.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: var(--wp-admin-theme-color);
|
|
|
|
box-shadow: 0 0 0 1px 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);
|
|
|
|
}
|
|
|
|
@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] {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.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 {
|
2021-05-07 13:48:27 +02:00
|
|
|
box-sizing: inherit;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
transform: translate(-7px, 7px);
|
|
|
|
margin: 0;
|
|
|
|
background-color: #fff;
|
|
|
|
border: 4px solid #fff;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.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 {
|
|
|
|
transform: translate(-5px, 5px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.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 4px 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: var(--wp-admin-theme-color);
|
|
|
|
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-right: 32px;
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-post-visibility__dialog-password .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-right: 36px;
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text] {
|
|
|
|
transition-duration: 0s;
|
2021-04-15 17:19:43 +02:00
|
|
|
transition-delay: 0s;
|
2021-01-28 03:04:13 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text] {
|
|
|
|
font-size: 13px;
|
2020-06-26 15:33:47 +02:00
|
|
|
/* Override core line-height. To be reviewed. */
|
|
|
|
line-height: normal;
|
2021-01-28 03:04:13 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:focus {
|
|
|
|
border-color: var(--wp-admin-theme-color);
|
|
|
|
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
|
|
|
.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-webkit-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:-ms-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.is-dark-theme .editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-webkit-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:-ms-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
|
|
|
|
.editor-post-title {
|
2021-01-28 03:04:13 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.editor-post-title .editor-post-title__input {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
background: transparent;
|
|
|
|
transition: border 0.1s ease-out, box-shadow 0.1s linear;
|
|
|
|
padding: 19px 0;
|
|
|
|
word-break: keep-all;
|
|
|
|
font-family: inherit;
|
|
|
|
color: inherit;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border-right-width: 0;
|
|
|
|
border-left-width: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
outline: 1px solid transparent;
|
|
|
|
font-size: 2.44em;
|
2021-02-02 06:17:13 +01:00
|
|
|
font-weight: 800;
|
2021-01-28 03:04:13 +01:00
|
|
|
line-height: 1.4;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2020-06-26 15:33:47 +02:00
|
|
|
.editor-post-title .editor-post-title__input {
|
2021-01-28 03:04:13 +01:00
|
|
|
transition-duration: 0s;
|
2021-04-15 17:19:43 +02:00
|
|
|
transition-delay: 0s;
|
2021-01-28 03:04:13 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.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.62);
|
|
|
|
}
|
|
|
|
.editor-post-title .editor-post-title__input::-moz-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
.editor-post-title .editor-post-title__input:-ms-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.is-dark-theme .editor-post-title .editor-post-title__input::-webkit-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .editor-post-title .editor-post-title__input::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .editor-post-title .editor-post-title__input:-ms-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2020-06-26 15:33:47 +02:00
|
|
|
.editor-post-title.is-focus-mode .editor-post-title__input {
|
2021-01-28 03:04:13 +01:00
|
|
|
transition-duration: 0s;
|
2021-04-15 17:19:43 +02:00
|
|
|
transition-delay: 0s;
|
2021-01-28 03:04:13 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.editor-post-title.is-focus-mode .editor-post-title__input:focus {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-post-trash.components-button {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-top: 4px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-01-08 12:57:23 +01:00
|
|
|
.table-of-contents__popover.components-popover .components-popover__content {
|
2021-01-28 03:04:13 +01:00
|
|
|
min-width: 380px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2019-10-15 18:17:12 +02:00
|
|
|
.components-popover.table-of-contents__popover {
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 99998;
|
|
|
|
}
|
2019-10-15 18:17:12 +02:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.table-of-contents__popover .components-popover__content > div {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 16px;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
@media (min-width: 600px) {
|
|
|
|
.table-of-contents__popover .components-popover__content {
|
|
|
|
max-height: calc(100vh - 120px);
|
2021-01-28 03:04:13 +01:00
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
.table-of-contents__popover hr {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: 10px -16px 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.table-of-contents__wrapper:focus::before {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
2021-04-15 17:19:43 +02:00
|
|
|
pointer-events: none;
|
2021-01-28 03:04:13 +01:00
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.table-of-contents__counts {
|
|
|
|
display: flex;
|
2019-09-19 17:19:18 +02:00
|
|
|
flex-wrap: wrap;
|
2020-10-13 15:10:30 +02:00
|
|
|
margin: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-top: -8px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.table-of-contents__count {
|
2020-10-20 15:36:16 +02:00
|
|
|
flex-basis: 33%;
|
2018-12-18 04:17:48 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
font-size: 13px;
|
2020-10-13 15:10:30 +02:00
|
|
|
color: #1e1e1e;
|
2019-09-19 17:19:18 +02:00
|
|
|
padding-left: 8px;
|
2020-10-13 15:10:30 +02:00
|
|
|
margin-bottom: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
.table-of-contents__count:nth-child(4n) {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.table-of-contents__number,
|
|
|
|
.table-of-contents__popover .word-count {
|
|
|
|
font-size: 21px;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 30px;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #1e1e1e;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.table-of-contents__title {
|
|
|
|
display: block;
|
|
|
|
margin-top: 20px;
|
|
|
|
font-size: 15px;
|
2021-01-28 03:04:13 +01:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.editor-template-validation-notice {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2021-01-28 03:04:13 +01:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.editor-template-validation-notice .components-button {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|