@wordpress/editor
Version:
Enhanced block editor for WordPress posts.
1,880 lines (1,747 loc) • 70.7 kB
CSS
@charset "UTF-8";
/**
* Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
* Colors
*/
/**
* Breakpoints & Media Queries
*/
/**
* 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.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Radius scale.
*/
/**
* Elevation scale.
*/
/**
* Dimensions.
*/
/**
* Editor widths.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
/**
* Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Breakpoint mixins
*/
/**
* Focus styles.
*/
/**
* Applies editor left 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.
*/
/**
* 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--rgb: 0, 124, 186;
--wp-admin-theme-color-darker-10: #006ba1;
--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
--wp-admin-theme-color-darker-20: #005a87;
--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
--wp-admin-border-width-focus: 2px;
--wp-block-synced-color: #7a00df;
--wp-block-synced-color--rgb: 122, 0, 223;
--wp-bound-block-color: var(--wp-block-synced-color);
}
@media (min-resolution: 192dpi) {
:root {
--wp-admin-border-width-focus: 1.5px;
}
}
.components-panel__header.interface-complementary-area-header__small {
background: #fff;
padding-left: 4px;
}
.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
margin: 0;
}
@media (min-width: 782px) {
.components-panel__header.interface-complementary-area-header__small {
display: none;
}
}
.interface-complementary-area-header {
background: #fff;
padding-left: 12px;
gap: 8px;
}
.interface-complementary-area-header .interface-complementary-area-header__title {
margin: 0;
}
.interface-complementary-area-header .components-button.has-icon {
display: none;
margin-right: auto;
}
.interface-complementary-area-header .components-button.has-icon ~ .components-button {
margin-right: 0;
}
@media (min-width: 782px) {
.interface-complementary-area-header .components-button.has-icon {
display: flex;
}
}
.interface-complementary-area {
background: #fff;
color: #1e1e1e;
height: 100%;
overflow: auto;
}
@media (min-width: 600px) {
.interface-complementary-area {
-webkit-overflow-scrolling: touch;
}
}
@media (min-width: 782px) {
.interface-complementary-area {
width: 280px;
}
}
.interface-complementary-area .components-panel {
border: none;
position: relative;
z-index: 0;
}
.interface-complementary-area .components-panel__header {
position: sticky;
top: 0;
z-index: 1;
}
.interface-complementary-area .components-panel__header.editor-sidebar__panel-tabs {
top: 48px;
}
@media (min-width: 782px) {
.interface-complementary-area .components-panel__header.editor-sidebar__panel-tabs {
top: 0;
}
}
.interface-complementary-area p:not(.components-base-control__help, .components-form-token-field__help) {
margin-top: 0;
}
.interface-complementary-area h2 {
font-size: 13px;
font-weight: 500;
color: #1e1e1e;
margin-bottom: 1.5em;
}
.interface-complementary-area h3 {
font-size: 11px;
text-transform: uppercase;
font-weight: 500;
color: #1e1e1e;
margin-bottom: 1.5em;
}
.interface-complementary-area hr {
border-top: none;
border-bottom: 1px solid #f0f0f0;
margin: 1.5em 0;
}
.interface-complementary-area div.components-toolbar-group,
.interface-complementary-area div.components-toolbar {
box-shadow: none;
margin-bottom: 1.5em;
}
.interface-complementary-area div.components-toolbar-group:last-child,
.interface-complementary-area div.components-toolbar:last-child {
margin-bottom: 0;
}
.interface-complementary-area .block-editor-skip-to-selected-block:focus {
top: auto;
left: 10px;
bottom: 10px;
right: auto;
}
.interface-complementary-area__fill {
height: 100%;
}
@media (min-width: 782px) {
body.js.is-fullscreen-mode {
margin-top: -32px;
height: calc(100% + 32px);
}
body.js.is-fullscreen-mode #adminmenumain,
body.js.is-fullscreen-mode #wpadminbar {
display: none;
}
body.js.is-fullscreen-mode #wpcontent,
body.js.is-fullscreen-mode #wpfooter {
margin-right: 0;
}
}
html.interface-interface-skeleton__html-container {
position: fixed;
width: 100%;
}
@media (min-width: 782px) {
html.interface-interface-skeleton__html-container:not(:has(.is-zoom-out)) {
position: initial;
width: initial;
}
}
.interface-interface-skeleton {
display: flex;
flex-direction: row;
height: auto;
max-height: 100%;
position: fixed;
top: 46px;
right: 0;
left: 0;
bottom: 0;
}
@media (min-width: 783px) {
.interface-interface-skeleton {
top: 32px;
}
.is-fullscreen-mode .interface-interface-skeleton {
top: 0;
}
}
.interface-interface-skeleton__editor {
display: flex;
flex-direction: column;
flex: 0 1 100%;
overflow: hidden;
}
.interface-interface-skeleton {
/* Set left position when auto-fold is not on the body element. */
right: 0;
}
@media (min-width: 783px) {
.interface-interface-skeleton {
right: 160px;
}
}
.auto-fold .interface-interface-skeleton {
/* Auto fold is when on smaller breakpoints, nav menu auto collapses. */
}
@media (min-width: 783px) {
.auto-fold .interface-interface-skeleton {
right: 36px;
}
}
@media (min-width: 961px) {
.auto-fold .interface-interface-skeleton {
right: 160px;
}
}
/* Sidebar manually collapsed. */
.folded .interface-interface-skeleton {
right: 0;
}
@media (min-width: 783px) {
.folded .interface-interface-skeleton {
right: 36px;
}
}
body.is-fullscreen-mode .interface-interface-skeleton {
right: 0 !important;
}
.interface-interface-skeleton__body {
position: relative;
flex-grow: 1;
display: flex;
overflow: auto;
overscroll-behavior-y: none;
}
@media (min-width: 782px) {
.has-footer .interface-interface-skeleton__body {
padding-bottom: 25px;
}
}
.interface-interface-skeleton__content {
flex-grow: 1;
display: flex;
flex-direction: column;
overflow: auto;
z-index: 20;
}
@media (min-width: 782px) {
.interface-interface-skeleton__content {
z-index: auto;
}
}
.interface-interface-skeleton__secondary-sidebar,
.interface-interface-skeleton__sidebar {
flex-shrink: 0;
position: absolute;
z-index: 100000;
top: 0;
right: 0;
bottom: 0;
background: #fff;
color: #1e1e1e;
width: auto;
}
@media (min-width: 782px) {
.interface-interface-skeleton__secondary-sidebar,
.interface-interface-skeleton__sidebar {
position: relative !important;
}
}
.interface-interface-skeleton__sidebar {
border-top: 1px solid #e0e0e0;
overflow: hidden;
}
@media (min-width: 782px) {
.interface-interface-skeleton__sidebar {
box-shadow: 1px 0 0 0 rgba(0, 0, 0, 0.133);
outline: 1px solid transparent;
}
}
.interface-interface-skeleton__secondary-sidebar {
border-top: 1px solid #e0e0e0;
left: 0;
}
@media (min-width: 782px) {
.interface-interface-skeleton__secondary-sidebar {
box-shadow: -1px 0 0 0 rgba(0, 0, 0, 0.133);
outline: 1px solid transparent;
}
}
.interface-interface-skeleton__header {
flex-shrink: 0;
height: auto;
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.133);
z-index: 30;
color: #1e1e1e;
outline: 1px solid transparent;
}
.interface-interface-skeleton__footer {
height: auto;
flex-shrink: 0;
border-top: 1px solid #e0e0e0;
color: #1e1e1e;
position: absolute;
bottom: 0;
right: 0;
width: 100%;
background-color: #fff;
z-index: 90;
display: none;
}
@media (min-width: 782px) {
.interface-interface-skeleton__footer {
display: flex;
}
}
.interface-interface-skeleton__footer .block-editor-block-breadcrumb {
z-index: 30;
display: flex;
background: #fff;
height: 24px;
align-items: center;
font-size: 13px;
padding: 0 18px;
}
.interface-interface-skeleton__actions {
z-index: 100000;
position: fixed !important;
top: -9999em;
bottom: auto;
right: auto;
left: 0;
color: #1e1e1e;
background: #fff;
width: 100vw;
}
@media (min-width: 782px) {
.interface-interface-skeleton__actions {
width: 280px;
}
}
.interface-interface-skeleton__actions:focus, .interface-interface-skeleton__actions:focus-within {
top: auto;
bottom: 0;
}
.is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
top: 46px;
}
@media (min-width: 782px) {
.is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
border-right: 1px solid #ddd;
top: 32px;
}
.is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
top: 0;
}
}
.interface-pinned-items {
display: flex;
gap: 8px;
}
.interface-pinned-items .components-button {
display: none;
margin: 0;
}
.interface-pinned-items .components-button[aria-controls="edit-post:document"], .interface-pinned-items .components-button[aria-controls="edit-post:block"], .interface-pinned-items .components-button[aria-controls="edit-site:template"], .interface-pinned-items .components-button[aria-controls="edit-site:block-inspector"] {
display: flex;
}
.interface-pinned-items .components-button svg {
max-width: 24px;
max-height: 24px;
}
@media (min-width: 600px) {
.interface-pinned-items .components-button {
display: flex;
}
}
.editor-autocompleters__user .editor-autocompleters__no-avatar::before {
/* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
font: normal 20px/1 dashicons;
content: "";
margin-left: 5px;
vertical-align: middle;
}
.editor-autocompleters__user .editor-autocompleters__user-avatar {
margin-left: 8px;
flex-grow: 0;
flex-shrink: 0;
max-width: none;
width: 24px;
height: 24px;
}
.editor-autocompleters__user .editor-autocompleters__user-name {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
max-width: 200px;
flex-shrink: 0;
flex-grow: 1;
}
.editor-autocompleters__user .editor-autocompleters__user-slug {
margin-right: 8px;
color: #757575;
white-space: nowrap;
text-overflow: ellipsis;
overflow: none;
max-width: 100px;
flex-grow: 0;
flex-shrink: 0;
}
.editor-autocompleters__user:hover .editor-autocompleters__user-slug {
color: var(--wp-admin-theme-color);
}
.editor-block-manager__no-results {
font-style: italic;
padding: 24px 0;
text-align: center;
}
.editor-block-manager__search {
margin: 16px 0;
}
.editor-block-manager__disabled-blocks-count {
border: 1px solid #ddd;
border-width: 1px 0;
box-shadow: 32px 0 0 0 #fff, -32px 0 0 0 #fff;
padding: 8px;
background-color: #fff;
text-align: center;
position: sticky;
top: -5px;
z-index: 2;
}
.editor-block-manager__disabled-blocks-count ~ .editor-block-manager__results .editor-block-manager__category-title {
top: 31px;
}
.editor-block-manager__disabled-blocks-count .is-link {
margin-right: 12px;
}
.editor-block-manager__category {
margin: 0 0 24px 0;
}
.editor-block-manager__category-title {
position: sticky;
top: -4px;
padding: 16px 0;
background-color: #fff;
z-index: 1;
}
.editor-block-manager__category-title .components-checkbox-control__label {
font-weight: 600;
}
.editor-block-manager__checklist {
margin-top: 0;
}
.editor-block-manager__category-title,
.editor-block-manager__checklist-item {
border-bottom: 1px solid #ddd;
}
.editor-block-manager__checklist-item {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0;
padding: 8px 16px 8px 0;
}
.components-modal__content .editor-block-manager__checklist-item.components-checkbox-control__input-container {
margin: 0 8px;
}
.editor-block-manager__checklist-item .block-editor-block-icon {
margin-left: 10px;
fill: #1e1e1e;
}
.editor-block-manager__results {
border-top: 1px solid #ddd;
}
.editor-block-manager__disabled-blocks-count + .editor-block-manager__results {
border-top-width: 0;
}
.editor-collapsible-block-toolbar {
overflow: hidden;
display: flex;
align-items: center;
height: 60px;
}
.editor-collapsible-block-toolbar .block-editor-block-contextual-toolbar {
border-bottom: 0;
height: 100%;
background: transparent;
}
.editor-collapsible-block-toolbar .block-editor-block-toolbar {
height: 100%;
padding-top: 15px;
}
.editor-collapsible-block-toolbar .block-editor-block-toolbar .components-button:not(.block-editor-block-mover-button) {
height: 32px;
}
.editor-collapsible-block-toolbar::after {
content: "";
width: 1px;
height: 24px;
background-color: #ddd;
margin-left: 7px;
}
.editor-collapsible-block-toolbar .components-toolbar-group,
.editor-collapsible-block-toolbar .components-toolbar {
border-left: none;
position: relative;
}
.editor-collapsible-block-toolbar .components-toolbar-group::after,
.editor-collapsible-block-toolbar .components-toolbar::after {
content: "";
width: 1px;
height: 24px;
background-color: #ddd;
top: 4px;
position: absolute;
left: -1px;
}
.editor-collapsible-block-toolbar .components-toolbar-group .components-toolbar-group.components-toolbar-group::after,
.editor-collapsible-block-toolbar .components-toolbar .components-toolbar-group.components-toolbar-group::after {
display: none;
}
.editor-collapsible-block-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button {
height: 32px;
overflow: visible;
}
@media (min-width: 600px) {
.editor-collapsible-block-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container {
height: 40px;
position: relative;
top: -5px;
}
}
.editor-collapsible-block-toolbar.is-collapsed {
display: none;
}
.editor-create-template-part-modal {
z-index: 1000001;
}
.editor-create-template-part-modal__area-radio-group {
width: 100%;
border: 1px solid #757575;
border-radius: 2px;
}
.editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio {
display: block;
width: 100%;
height: 100%;
text-align: right;
padding: 12px;
}
.editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio, .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio.is-secondary:hover, .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio.is-primary:hover {
margin: 0;
background-color: inherit;
border-bottom: 1px solid #757575;
border-radius: 0;
}
.editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio:not(:focus), .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio.is-secondary:hover:not(:focus), .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio.is-primary:hover:not(:focus) {
box-shadow: none;
}
.editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio:focus, .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio.is-secondary:hover:focus, .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio.is-primary:hover:focus {
border-bottom: 1px solid #fff;
}
.editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio:last-of-type, .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio.is-secondary:hover:last-of-type, .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio.is-primary:hover:last-of-type {
border-bottom: none;
}
.editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio:not(:hover), .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio[aria-checked=true] {
color: #1e1e1e;
cursor: auto;
}
.editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio:not(:hover) .editor-create-template-part-modal__option-label div, .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio[aria-checked=true] .editor-create-template-part-modal__option-label div {
color: #949494;
}
.editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio .editor-create-template-part-modal__option-label {
padding-top: 4px;
white-space: normal;
}
.editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio .editor-create-template-part-modal__option-label div {
padding-top: 4px;
font-size: 12px;
}
.editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio .editor-create-template-part-modal__checkbox {
margin-right: auto;
min-width: 24px;
}
.editor-content-only-settings-menu__description {
padding: 8px;
min-width: 235px;
}
.editor-blog-title-dropdown__content .components-popover__content {
min-width: 320px;
padding: 16px;
}
.editor-document-bar {
display: flex;
align-items: center;
height: 32px;
justify-content: space-between;
min-width: 0;
background: #f0f0f0;
border-radius: 4px;
width: min(100%, 450px);
}
.editor-document-bar:hover {
background-color: #e0e0e0;
}
.editor-document-bar .components-button {
border-radius: 4px;
transition: all 0.1s ease-out;
}
@media (prefers-reduced-motion: reduce) {
.editor-document-bar .components-button {
transition-duration: 0s;
transition-delay: 0s;
}
}
.editor-document-bar .components-button:hover {
background: #e0e0e0;
}
@media screen and (min-width: 782px) and (max-width: 960px) {
.editor-document-bar.has-back-button .editor-document-bar__post-type-label {
display: none;
}
}
.editor-document-bar__command {
flex-grow: 1;
color: var(--wp-block-synced-color);
overflow: hidden;
}
.editor-document-bar__title {
overflow: hidden;
color: #1e1e1e;
margin: 0 auto;
max-width: 70%;
}
@media (min-width: 782px) {
.editor-document-bar__title {
padding-right: 24px;
}
}
.editor-document-bar__title h1 {
display: flex;
align-items: center;
justify-content: center;
font-weight: 400;
white-space: nowrap;
overflow: hidden;
}
.editor-document-bar__post-title {
color: currentColor;
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
}
.editor-document-bar.is-global .editor-document-bar__post-title {
color: var(--wp-block-synced-color);
}
.editor-document-bar__post-type-label {
flex: 0;
color: #2f2f2f;
padding-right: 4px;
}
@media screen and (max-width: 600px) {
.editor-document-bar__post-type-label {
display: none;
}
}
.editor-document-bar__shortcut {
color: #2f2f2f;
min-width: 24px;
display: none;
}
@media (min-width: 782px) {
.editor-document-bar__shortcut {
display: initial;
}
}
.editor-document-bar__back.components-button.has-icon.has-text {
min-width: 36px;
flex-shrink: 0;
color: #757575;
gap: 0;
z-index: 1;
position: absolute;
}
.editor-document-bar__back.components-button.has-icon.has-text:hover {
color: #1e1e1e;
background-color: transparent;
}
.document-outline {
margin: 20px 0;
}
.document-outline ul {
margin: 0;
padding: 0;
}
.document-outline__item {
display: flex;
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: "—————";
}
.document-outline__button {
cursor: pointer;
background: none;
border: none;
display: flex;
align-items: flex-start;
margin: 0 -1px 0 0;
padding: 2px 1px 2px 5px;
color: #1e1e1e;
text-align: right;
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;
}
.document-outline__level {
background: #ddd;
color: #1e1e1e;
border-radius: 3px;
font-size: 13px;
padding: 1px 6px;
margin-left: 4px;
}
.is-invalid .document-outline__level {
background: #f0b849;
}
.document-outline__item-content {
padding: 1px 0;
}
.editor-document-outline.has-no-headings {
text-align: center;
color: #757575;
}
.editor-document-outline.has-no-headings > svg {
margin-top: 28px;
}
.editor-document-outline.has-no-headings > p {
padding-right: 32px;
padding-left: 32px;
}
.editor-document-tools {
display: inline-flex;
align-items: center;
}
.editor-document-tools .editor-document-tools__left > .editor-history__redo,
.editor-document-tools .editor-document-tools__left > .editor-history__undo {
display: none;
}
@media (min-width: 782px) {
.editor-document-tools .editor-document-tools__left > .editor-history__redo,
.editor-document-tools .editor-document-tools__left > .editor-history__undo {
display: inline-flex;
}
}
.editor-document-tools .editor-document-tools__left > .editor-document-tools__inserter-toggle {
display: inline-flex;
}
.editor-document-tools .editor-document-tools__left > .editor-document-tools__inserter-toggle svg {
transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
}
@media (prefers-reduced-motion: reduce) {
.editor-document-tools .editor-document-tools__left > .editor-document-tools__inserter-toggle svg {
transition-duration: 0s;
transition-delay: 0s;
}
}
.editor-document-tools .editor-document-tools__left > .editor-document-tools__inserter-toggle.is-pressed svg {
transform: rotate(-45deg);
}
.editor-document-tools .block-editor-list-view {
display: none;
}
@media (min-width: 600px) {
.editor-document-tools .block-editor-list-view {
display: flex;
}
}
.editor-document-tools .editor-document-tools__left > .components-button.has-icon,
.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon {
height: 32px;
min-width: 32px;
padding: 4px;
}
.editor-document-tools .editor-document-tools__left > .components-button.has-icon.is-pressed,
.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon.is-pressed {
background: #1e1e1e;
}
.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:disabled),
.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:disabled) {
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff;
outline: 1px solid transparent;
}
.editor-document-tools .editor-document-tools__left > .components-button.has-icon::before,
.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon::before {
display: none;
}
.editor-document-tools__left {
display: inline-flex;
align-items: center;
gap: 8px;
}
.editor-document-tools__left:not(:last-child) {
margin-inline-end: 8px;
}
.editor-document-tools .editor-document-tools__left > .editor-document-tools__inserter-toggle.has-icon {
min-width: 32px;
width: 32px;
height: 32px;
padding: 0;
}
.show-icon-labels .editor-document-tools .editor-document-tools__left > .editor-document-tools__inserter-toggle.has-icon {
width: auto;
height: 32px;
padding: 0 8px;
}
.show-icon-labels .editor-document-tools__left > * + * {
margin-right: 8px;
}
.editor-editor-interface .entities-saved-states__panel-header {
height: 61px;
}
.editor-editor-interface .interface-interface-skeleton__content {
isolation: isolate;
}
.editor-visual-editor {
flex: 1 0 auto;
}
.components-editor-notices__dismissible,
.components-editor-notices__pinned {
position: relative;
right: 0;
top: 0;
left: 0;
color: #1e1e1e;
}
.components-editor-notices__dismissible .components-notice,
.components-editor-notices__pinned .components-notice {
box-sizing: border-box;
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;
}
.entities-saved-states__panel-header {
box-sizing: border-box;
background: #fff;
padding-right: 8px;
padding-left: 8px;
height: 60px;
border-bottom: 1px solid #ddd;
}
.entities-saved-states__text-prompt {
padding: 16px;
padding-bottom: 4px;
}
.entities-saved-states__text-prompt .entities-saved-states__text-prompt--header {
display: block;
margin-bottom: 12px;
}
.entities-saved-states__description-heading {
font-size: 13px;
}
.entities-saved-states__changes {
color: #757575;
font-size: 12px;
margin: 8px 16px 0 16px;
list-style: disc;
}
.entities-saved-states__changes li {
margin-bottom: 4px;
}
.editor-error-boundary {
margin: auto;
max-width: 780px;
padding: 20px;
margin-top: 60px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08), 0 15px 27px rgba(0, 0, 0, 0.07), 0 30px 36px rgba(0, 0, 0, 0.04), 0 50px 43px rgba(0, 0, 0, 0.02);
}
.editor-header {
height: 60px;
background: #fff;
display: grid;
grid-auto-flow: row;
grid-template: auto/60px minmax(0, max-content) minmax(min-content, 1fr) 60px;
align-items: center;
max-width: 100vw;
justify-content: space-between;
}
.editor-header:has(> .editor-header__center) {
grid-template: auto/60px min-content 1fr min-content 60px;
}
@media (min-width: 782px) {
.editor-header:has(> .editor-header__center) {
grid-template: auto/60px minmax(min-content, 1fr) 2fr minmax(min-content, 1fr) 60px;
}
}
@media (min-width: 480px) {
.editor-header {
gap: 16px;
}
}
@media (min-width: 280px) {
.editor-header {
flex-wrap: nowrap;
}
}
.editor-header__toolbar {
grid-column: 1/3;
display: flex;
min-width: 0;
align-items: center;
clip-path: inset(-2px);
}
.editor-header__toolbar > :first-child {
margin-inline: 16px 0;
}
.editor-header__back-button + .editor-header__toolbar {
grid-column: 2/3;
}
@media (min-width: 480px) {
.editor-header__back-button + .editor-header__toolbar > :first-child {
margin-inline: 0;
}
}
@media (min-width: 480px) {
.editor-header__toolbar {
clip-path: none;
}
}
.editor-header__toolbar .table-of-contents {
display: none;
}
@media (min-width: 600px) {
.editor-header__toolbar .table-of-contents {
display: block;
}
}
.editor-header__toolbar .editor-collapsible-block-toolbar {
margin-inline: 8px 0;
}
.editor-header__toolbar .editor-collapsible-block-toolbar.is-collapsed ~ .editor-collapsible-block-toolbar__toggle {
margin-inline: 8px 0;
}
.editor-header__center {
grid-column: 3/4;
display: flex;
justify-content: center;
align-items: center;
min-width: 0;
clip-path: inset(-2px);
}
@media (max-width: 479px) {
.editor-header__center > :first-child {
margin-inline-start: 8px;
}
.editor-header__center > :last-child {
margin-inline-end: 8px;
}
}
/**
* Buttons on the right side
*/
.editor-header__settings {
grid-column: 3/-1;
justify-self: end;
display: inline-flex;
align-items: center;
flex-wrap: nowrap;
padding-left: 4px;
gap: 8px;
}
.editor-header:has(> .editor-header__center) .editor-header__settings {
grid-column: 4/-1;
}
@media (min-width: 600px) {
.editor-header__settings {
padding-left: 8px;
}
}
/**
* Show icon labels.
*/
.show-icon-labels.interface-pinned-items .components-button.has-icon,
.show-icon-labels .editor-header .components-button.has-icon {
width: auto;
}
.show-icon-labels.interface-pinned-items .components-button.has-icon svg,
.show-icon-labels .editor-header .components-button.has-icon svg {
display: none;
}
.show-icon-labels.interface-pinned-items .components-button.has-icon::after,
.show-icon-labels .editor-header .components-button.has-icon::after {
content: attr(aria-label);
}
.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true],
.show-icon-labels .editor-header .components-button.has-icon[aria-disabled=true] {
background-color: transparent;
}
.show-icon-labels.interface-pinned-items .is-tertiary:active,
.show-icon-labels .editor-header .is-tertiary:active {
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
background-color: transparent;
}
.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg,
.show-icon-labels .editor-header .components-button.has-icon.button-toggle svg {
display: block;
}
.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle::after,
.show-icon-labels .editor-header .components-button.has-icon.button-toggle::after {
content: none;
}
.show-icon-labels.interface-pinned-items .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,
.show-icon-labels .editor-header .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon {
display: block;
}
.show-icon-labels.interface-pinned-items .editor-document-tools__inserter-toggle.editor-document-tools__inserter-toggle,
.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button,
.show-icon-labels .editor-header .editor-document-tools__inserter-toggle.editor-document-tools__inserter-toggle,
.show-icon-labels .editor-header .interface-pinned-items .components-button {
padding-right: 8px;
padding-left: 8px;
}
@media (min-width: 600px) {
.show-icon-labels.interface-pinned-items .editor-document-tools__inserter-toggle.editor-document-tools__inserter-toggle,
.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button,
.show-icon-labels .editor-header .editor-document-tools__inserter-toggle.editor-document-tools__inserter-toggle,
.show-icon-labels .editor-header .interface-pinned-items .components-button {
padding-right: 12px;
padding-left: 12px;
}
}
.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft::after,
.show-icon-labels.interface-pinned-items .editor-post-saved-state.editor-post-saved-state::after,
.show-icon-labels .editor-header .editor-post-save-draft.editor-post-save-draft::after,
.show-icon-labels .editor-header .editor-post-saved-state.editor-post-saved-state::after {
content: none;
}
.show-icon-labels .editor-header__toolbar .block-editor-block-mover {
border-right: none;
}
.show-icon-labels .editor-header__toolbar .block-editor-block-mover::before {
content: "";
width: 1px;
height: 24px;
background-color: #ddd;
margin-top: 4px;
margin-right: 8px;
}
.show-icon-labels .editor-header__toolbar .block-editor-block-mover .block-editor-block-mover__move-button-container::before {
width: calc(100% - 24px);
background: #ddd;
right: calc(50% + 1px);
}
.show-icon-labels.interface-pinned-items {
padding: 6px 12px 12px;
margin-top: 0;
margin-bottom: 0;
margin-right: -12px;
margin-left: -12px;
border-bottom: 1px solid #ccc;
display: block;
}
.show-icon-labels.interface-pinned-items > .components-button.has-icon {
margin: 0;
padding: 6px 8px 6px 6px;
width: 14.625rem;
justify-content: flex-start;
}
.show-icon-labels.interface-pinned-items > .components-button.has-icon[aria-expanded=true] svg {
display: block;
max-width: 24px;
}
.show-icon-labels.interface-pinned-items > .components-button.has-icon[aria-expanded=false] {
padding-right: 40px;
}
.show-icon-labels.interface-pinned-items > .components-button.has-icon svg {
margin-left: 8px;
}
@media (min-width: 480px) {
.editor-header__post-preview-button {
display: none;
}
}
.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header {
border-bottom: none;
}
.editor-editor-interface.is-distraction-free .editor-header {
background-color: #fff;
width: 100%;
}
@media (min-width: 782px) {
.editor-editor-interface.is-distraction-free .editor-header {
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.133);
position: absolute;
}
}
.editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button {
visibility: hidden;
}
.editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items {
display: none;
}
.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
opacity: 1 !important;
}
.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within div {
transform: translateX(0) translateZ(0) !important;
}
.editor-editor-interface.is-distraction-free .components-editor-notices__dismissible {
position: absolute;
z-index: 35;
}
.components-popover.more-menu-dropdown__content {
z-index: 99998;
}
.editor-inserter-sidebar {
box-sizing: border-box;
height: 100%;
display: flex;
flex-direction: column;
}
.editor-inserter-sidebar *,
.editor-inserter-sidebar *::before,
.editor-inserter-sidebar *::after {
box-sizing: inherit;
}
.editor-inserter-sidebar__content {
height: 100%;
}
.editor-keyboard-shortcut-help-modal__section {
margin: 0 0 2rem 0;
}
.editor-keyboard-shortcut-help-modal__section-title {
font-size: 0.9rem;
font-weight: 600;
}
.editor-keyboard-shortcut-help-modal__shortcut {
display: flex;
align-items: baseline;
padding: 0.6rem 0;
border-top: 1px solid #ddd;
margin-bottom: 0;
}
.editor-keyboard-shortcut-help-modal__shortcut:last-child {
border-bottom: 1px solid #ddd;
}
.editor-keyboard-shortcut-help-modal__shortcut:empty {
display: none;
}
.editor-keyboard-shortcut-help-modal__shortcut-term {
font-weight: 600;
margin: 0 1rem 0 0;
text-align: left;
}
.editor-keyboard-shortcut-help-modal__shortcut-description {
flex: 1;
margin: 0;
}
.editor-keyboard-shortcut-help-modal__shortcut-key-combination {
display: block;
background: none;
margin: 0;
padding: 0;
}
.editor-keyboard-shortcut-help-modal__shortcut-key-combination + .editor-keyboard-shortcut-help-modal__shortcut-key-combination {
margin-top: 10px;
}
.editor-keyboard-shortcut-help-modal__shortcut-key {
padding: 0.25rem 0.5rem;
border-radius: 8%;
margin: 0 0.2rem 0 0.2rem;
}
.editor-keyboard-shortcut-help-modal__shortcut-key:last-child {
margin: 0 0.2rem 0 0;
}
.editor-list-view-sidebar {
height: 100%;
}
@media (min-width: 782px) {
.editor-list-view-sidebar {
width: 350px;
}
}
.editor-list-view-sidebar__list-view-panel-content,
.editor-list-view-sidebar__list-view-container > .document-outline {
height: 100%;
scrollbar-width: thin;
scrollbar-gutter: stable both-edges;
scrollbar-color: transparent transparent;
will-change: transform;
overflow: auto;
scrollbar-gutter: auto;
padding: 4px;
}
.editor-list-view-sidebar__list-view-panel-content::-webkit-scrollbar,
.editor-list-view-sidebar__list-view-container > .document-outline::-webkit-scrollbar {
width: 12px;
height: 12px;
}
.editor-list-view-sidebar__list-view-panel-content::-webkit-scrollbar-track,
.editor-list-view-sidebar__list-view-container > .document-outline::-webkit-scrollbar-track {
background-color: transparent;
}
.editor-list-view-sidebar__list-view-panel-content::-webkit-scrollbar-thumb,
.editor-list-view-sidebar__list-view-container > .document-outline::-webkit-scrollbar-thumb {
background-color: transparent;
border-radius: 8px;
border: 3px solid transparent;
background-clip: padding-box;
}
.editor-list-view-sidebar__list-view-panel-content:hover::-webkit-scrollbar-thumb, .editor-list-view-sidebar__list-view-panel-content:focus::-webkit-scrollbar-thumb, .editor-list-view-sidebar__list-view-panel-content:focus-within::-webkit-scrollbar-thumb,
.editor-list-view-sidebar__list-view-container > .document-outline:hover::-webkit-scrollbar-thumb,
.editor-list-view-sidebar__list-view-container > .document-outline:focus::-webkit-scrollbar-thumb,
.editor-list-view-sidebar__list-view-container > .document-outline:focus-within::-webkit-scrollbar-thumb {
background-color: #949494;
}
.editor-list-view-sidebar__list-view-panel-content:hover, .editor-list-view-sidebar__list-view-panel-content:focus, .editor-list-view-sidebar__list-view-panel-content:focus-within,
.editor-list-view-sidebar__list-view-container > .document-outline:hover,
.editor-list-view-sidebar__list-view-container > .document-outline:focus,
.editor-list-view-sidebar__list-view-container > .document-outline:focus-within {
scrollbar-color: #949494 transparent;
}
@media (hover: none) {
.editor-list-view-sidebar__list-view-panel-content,
.editor-list-view-sidebar__list-view-container > .document-outline {
scrollbar-color: #949494 transparent;
}
}
.editor-list-view-sidebar__list-view-container {
display: flex;
flex-direction: column;
height: 100%;
}
.editor-list-view-sidebar__tab-panel {
height: 100%;
}
.editor-list-view-sidebar__outline {
display: flex;
flex-direction: column;
gap: 8px;
border-bottom: 1px solid #ddd;
padding: 16px;
}
.editor-list-view-sidebar__outline > div > span:first-child {
width: 90px;
display: inline-block;
}
.editor-list-view-sidebar__outline > div > span {
font-size: 12px;
line-height: 1.4;
color: #757575;
}
.editor-post-parent__panel,
.editor-post-order__panel {
padding-top: 8px;
}
.editor-post-parent__panel .editor-post-panel__row-control > div,
.editor-post-order__panel .editor-post-panel__row-control > div {
width: 100%;
}
.editor-post-parent__panel-dialog .editor-post-parent,
.editor-post-parent__panel-dialog .editor-post-order,
.editor-post-order__panel-dialog .editor-post-parent,
.editor-post-order__panel-dialog .editor-post-order {
margin: 8px;
}
.editor-post-parent__panel-dialog .components-popover__content,
.editor-post-order__panel-dialog .components-popover__content {
min-width: 320px;
}
.editor-post-author__panel {
padding-top: 8px;
}
.editor-post-author__panel .editor-post-panel__row-control > div {
width: 100%;
}
.editor-post-author__panel-dialog .editor-post-author {
min-width: 248px;
margin: 8px;
}
.editor-action-modal {
z-index: 1000001;
}
.editor-post-card-panel__content {
flex-grow: 1;
}
.editor-post-card-panel__title {
width: 100%;
}
.editor-post-card-panel__title.editor-post-card-panel__title {
margin: 0;
padding: 2px 0;
display: flex;
align-items: center;
flex-wrap: wrap;
column-gap: 8px;
row-gap: 4px;
word-break: break-word;
}
.editor-post-card-panel__icon {
flex: 0 0 24px;
width: 24px;
height: 24px;
}
.editor-post-card-panel__header {
display: flex;
justify-content: space-between;
}
.editor-post-card-panel.has-description .editor-post-card-panel__header {
margin-bottom: 8px;
}
.editor-post-card-panel__icon.is-sync {
fill: var(--wp-block-synced-color);
}
.editor-post-card-panel__icon.is-sync + .editor-post-card-panel__title {
color: var(--wp-block-synced-color);
}
.editor-post-card-panel__title-badge {
background: #f0f0f0;
color: #757575;
padding: 0 4px;
border-radius: 2px;
font-size: 12px;
font-weight: 400;
flex-shrink: 0;
line-height: 20px;
display: inline-block;
}
.editor-post-content-information {
color: #757575;
}
.editor-post-content-information .components-text {
color: inherit;
}
.editor-post-discussion__panel-dialog .editor-post-discussion {
min-width: 248px;
margin: 8px;
}
.editor-post-discussion__panel-toggle .components-text {
color: inherit;
}
.editor-post-discussion__panel-dialog .components-popover__content {
min-width: 320px;
}
.editor-post-excerpt__textarea {
width: 100%;
margin-bottom: 10px;
}
.editor-post-excerpt__dropdown__content .components-popover__content {
min-width: 320px;
padding: 16px;
}
.editor-post-featured-image {
padding: 0;
}
.editor-post-featured-image .components-spinner {
position: absolute;
top: 50%;
right: 50%;
margin-top: -9px;
margin-right: -9px;
}
.editor-post-featured-image__container {
position: relative;
}
.editor-post-featured-image__container:hover .editor-post-featured-image__actions, .editor-post-featured-image__container:focus .editor-post-featured-image__actions, .editor-post-featured-image__container:focus-within .editor-post-featured-image__actions {
opacity: 1;
}
.editor-post-featured-image__container .components-drop-zone__content {
border-radius: 2px;
}
.editor-post-featured-image__container:has(.editor-post-featured-image__toggle) .components-drop-zone .components-drop-zone__content-inner {
display: flex;
align-items: center;
gap: 8px;
}
.editor-post-featured-image__container:has(.editor-post-featured-image__toggle) .components-drop-zone .components-drop-zone__content-inner .components-drop-zone__content-icon {
margin: 0;
}
.editor-post-featured-image__toggle,
.editor-post-featured-image__preview {
width: 100%;
padding: 0;
transition: all 0.1s ease-out;
box-shadow: 0 0 0 0 var(--wp-admin-theme-color);
overflow: hidden;
outline-offset: -1px;
min-height: 40px;
display: flex;
justify-content: center;
}
@media (prefers-reduced-motion: reduce) {
.editor-post-featured-image__toggle,
.editor-post-featured-image__preview {
transition-duration: 0s;
transition-delay: 0s;
}
}
.editor-post-featured-image__preview {
height: auto !important;
outline: 1px solid rgba(0, 0, 0, 0.1);
}
.editor-post-featured-image__preview .editor-post-featured-image__preview-image {
object-fit: cover;
width: 100%;
object-position: 50% 50%;
aspect-ratio: 2/1;
}
.editor-post-featured-image__toggle {
box-shadow: inset 0 0 0 1px #ccc;
}
.editor-post-featured-image__actions {
bottom: 0;
opacity: 0;
padding: 8px;
position: absolute;
transition: opacity 50ms ease-out;
}
@media (prefers-reduced-motion: reduce) {
.editor-post-featured-image__actions {
transition-duration: 0s;
transition-delay: 0s;
}
}
.editor-post-featured-image__action {
-webkit-backdrop-filter: blur(16px) saturate(180%);
backdrop-filter: blur(16px) saturate(180%);
background: rgba(255, 255, 255, 0.75);
flex-grow: 1;
justify-content: center;
}
[class].editor-post-format__suggestion {
margin: 4px 0 0 0;
}
.editor-post-format__dialog .editor-post-format__dialog-content {
min-width: 248px;
margin: 8px;
}
.editor-post-last-edited-panel {
color: #757575;
}
.editor-post-last-edited-panel .components-text {
color: inherit;
}
.editor-post-last-revision__title {
width: 100%;
font-weight: 500;
}
.editor-post-last-revision__title.components-button.has-icon {
height: 100%;
justify-content: space-between;
}
.editor-post-last-revision__title.components-button.has-icon:hover, .editor-post-last-revision__title.components-button.has-icon:active {
background: #f0f0f0;
}
.editor-post-last-revision__title.components-button.has-icon:focus {
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
border-radius: 0;
}
.components-panel__body.is-opened.editor-post-last-revision__panel {
padding: 0;
height: 48px;
}
.components-panel__body.is-opened.editor-post-last-revision__panel .editor-post-last-revision__title.components-button.components-button {
padding: 16px;
}
.editor-private-post-last-revision__button {
display: inline-block;
}
.editor-post-locked-modal__buttons {
margin-top: 24px;
}
.editor-post-locked-modal__avatar {
border-radius: 50%;
margin-top: 16px;
min-width: initial !important;
}
.editor-post-panel__row {
width: 100%;
min-height: 32px;
justify-content: flex-start !important;
align-items: flex-start !important;
}
.editor-post-panel__row-label {
width: 38%;
flex-shrink: 0;
min-height: 32px;
display: flex;
align-items: center;
padding: 6px 0;
line-height: 20px;
-webkit-hyphens: auto;
hyphens: auto;
}
.editor-post-panel__row-control {
flex-grow: 1;
min-height: 32px;
display: flex;
align-items: center;
}
.editor-post-panel__row-control .components-button {
max-width: 100%;
text-align: right;
white-space: normal;
text-wrap: balance;
text-wrap: pretty;
height: auto;
min-height: 32px;
}
.editor-post-panel__row-control .components-dropdown {
max-width: 100%;
}
.editor-post-panel__section {
padding: 16px;
}
.editor-post-publish-panel__content {
min-height: calc(100% - 144px);
}
.editor-post-publish-panel__content > .components-spinner {
display: block;
margin: 100px auto 0;
}
.editor-post-publish-panel__header {
background: #fff;
padding-right: 16px;
padding-left: 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-right: auto;
width: auto;
}
.components-site-card {
display: flex;
align-items: center;
margin: 16px 0;
}
.components-site-icon {
border: none;
border-radius: 2px;
margin-left: 12px;
flex-shrink: 0;
height: 36px;
width: 36px;
}
.components-site-name {
display: block;
font-size: 14px;
}
.components-site-home {
display: block;
color: #757575;
font-size: 12px;
word-break: break-word;
}
.editor-post-publish-panel__header-publish-button,
.editor-post-publish-panel__header-cancel-button {
flex: 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 {
padding-right: 4px;
justify-content: center;
}
.editor-post-publish-panel__header-cancel-button {
padding-left: 4px;
}
.editor-post-publish-panel__header-published {
flex-grow: 1;
}
.editor-post-publish-panel__footer {
padding: 16px;
}
.components-button.editor-post-publish-panel__toggle.is-primary {
display: inline-flex;
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;
}
.editor-post-publish-panel__link {
font-weight: 400;
padding-right: 4px;
}
.editor-post-publish-panel__prepublish {
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;
}
.editor-post-publish-panel__prepublish .components-panel__body-title .components-button {
align-items: flex-start;
text-wrap: balance;
text-wrap: pretty;
}
.post-publish-panel__postpublish .components-panel__body {
border-bottom: 1px solid #e0e0e0;
border-top: none;
}
.post-publish-panel__postpublish-buttons {
display: flex;
align-content: space-between;
flex-wrap: wrap;
gap: 16px;
}
.post-publish-panel__postpublish-buttons .components-button {
justify-content: center;
flex: 1;
}
.post-publish-panel__postpublish-buttons .components-clipboard-button {
width: 100%;
}
.post-publish-panel__postpublish-post-address-container {
display: flex;
align-items: flex-end;
margin-bottom: 16px;
}
.post-publish-panel__postpublish-post-address-container .post-publish-panel__postpublish-post-address {
flex: 1;
}
.post-publish-panel__postpub