* Breakpoints & Media Queries
* 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.
* Fonts & basic variables.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
* These variables do not appear to be used anywhere else.
* Long content fade mixin
* Creates a fading overlay to signify that the content is longer
* 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.
* These are default block editor widths in case the theme doesn't provide them.
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
--wp-admin-theme-color-darker-20: #005a87;
--wp-admin-border-width-focus: 2px;
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
--wp-admin-border-width-focus: 1.5px;
.editor-autocompleters__user .editor-autocompleters__no-avatar::before {
font: normal 20px/1 dashicons;
.editor-autocompleters__user .editor-autocompleters__user-avatar {
.editor-autocompleters__user .editor-autocompleters__user-name {
.editor-autocompleters__user .editor-autocompleters__user-slug {
.editor-autocompleters__user:hover .editor-autocompleters__user-slug {
color: var(--wp-admin-theme-color);
.document-outline__item {
.document-outline__item a {
.document-outline__item .document-outline__emdash::before {
.document-outline__item.is-h2 .document-outline__emdash::before {
.document-outline__item.is-h3 .document-outline__emdash::before {
.document-outline__item.is-h4 .document-outline__emdash::before {
.document-outline__item.is-h5 .document-outline__emdash::before {
.document-outline__item.is-h6 .document-outline__emdash::before {
.document-outline__button {
padding: 2px 5px 2px 1px;
.document-outline__button:disabled {
.document-outline__button:focus {
box-shadow: 0 0 0 2px #007cba;
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
outline: 2px solid transparent;
.document-outline__level {
.is-invalid .document-outline__level {
.document-outline__item-content {
.components-editor-notices__dismissible {
position: -webkit-sticky;
.components-editor-notices__pinned {
.components-editor-notices__dismissible .components-notice,
.components-editor-notices__pinned .components-notice {
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
.components-editor-notices__dismissible .components-notice .components-notice__dismiss,
.components-editor-notices__pinned .components-notice .components-notice__dismiss {
.components-editor-notices__snackbar {
@media (min-width: 782px) {
.components-editor-notices__snackbar {
width: -webkit-fit-content;
.entities-saved-states__panel {
.entities-saved-states__panel *,
.entities-saved-states__panel *::before,
.entities-saved-states__panel *::after {
.entities-saved-states__panel .entities-saved-states__find-entity {
.entities-saved-states__panel .entities-saved-states__find-entity-small {
@media (min-width: 782px) {
.entities-saved-states__panel {
border-left: 1px solid #ddd;
body.is-fullscreen-mode .entities-saved-states__panel {
.entities-saved-states__panel .entities-saved-states__find-entity {
.entities-saved-states__panel .entities-saved-states__find-entity-small {
.entities-saved-states__panel .entities-saved-states__panel-header {
border-bottom: 1px solid #ddd;
align-content: space-between;
.entities-saved-states__panel .entities-saved-states__panel-header .editor-entities-saved-states__save-button {
.entities-saved-states__panel .entities-saved-states__panel-header .components-button.has-icon {
.entities-saved-states__panel .entities-saved-states__text-prompt {
box-shadow: 0 3px 30px rgba(0, 0, 0, 0.2);
.editor-page-attributes__template {
.editor-page-attributes__template label,
.editor-page-attributes__template select {
.editor-page-attributes__order {
.editor-page-attributes__order .components-base-control__field {
justify-content: space-between;
.editor-page-attributes__order input {
.editor-post-excerpt__textarea {
.editor-post-featured-image {
.editor-post-featured-image__container {
.editor-post-featured-image .components-spinner {
.editor-post-featured-image .components-button + .components-button {
.editor-post-featured-image .components-responsive-wrapper__content {
.editor-post-featured-image__toggle,
.editor-post-featured-image__preview {
transition: all 0.1s ease-out;
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 {
.editor-post-featured-image__preview {
.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus {
box-shadow: 0 0 0 4px #007cba;
box-shadow: 0 0 0 4px var(--wp-admin-theme-color);
.editor-post-featured-image__toggle {
background-color: #f0f0f0;
.editor-post-featured-image__toggle:hover {
.editor-post-format__content {
justify-content: space-between;
.editor-post-format__suggestion {
.editor-post-last-revision__title {
.editor-post-last-revision__title .dashicon {
.components-button.editor-post-last-revision__title {
.components-button.editor-post-last-revision__title:hover, .components-button.editor-post-last-revision__title:active {
.components-button.editor-post-last-revision__title:focus {
box-shadow: inset 0 0 0 2px #007cba;
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
.editor-post-locked-modal {
.editor-post-locked-modal .components-modal__header {
.editor-post-locked-modal .components-modal__content {
.editor-post-locked-modal__buttons {
.editor-post-locked-modal__buttons .components-button {
.editor-post-locked-modal__avatar {
.editor-post-publish-button__button.has-changes-dot::before {
background: currentcolor;
margin: auto 5px auto -3px;
.editor-post-publish-panel {
.editor-post-publish-panel__content {
min-height: calc(100% - 144px);
.editor-post-publish-panel__content .components-spinner {
.editor-post-publish-panel__header {
border-bottom: 1px solid #ddd;
align-content: space-between;
.editor-post-publish-panel__header .components-button {
.editor-post-publish-panel__header .has-icon {
.editor-post-publish-panel__header-publish-button,
.editor-post-publish-panel__header-cancel-button {