* 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;
.components-panel__header.interface-complementary-area-header__small {
.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title {
@media (min-width: 782px) {
.components-panel__header.interface-complementary-area-header__small {
.interface-complementary-area-header {
.interface-complementary-area-header .components-button.has-icon {
.interface-complementary-area-header .components-button.has-icon ~ .components-button {
@media (min-width: 782px) {
.interface-complementary-area-header .components-button.has-icon {
.interface-complementary-area {
@media (min-width: 600px) {
.interface-complementary-area {
-webkit-overflow-scrolling: touch;
@media (min-width: 782px) {
.interface-complementary-area {
.interface-complementary-area .components-panel {
.interface-complementary-area .components-panel__header {
position: -webkit-sticky;
.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs {
@media (min-width: 782px) {
.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs {
.interface-complementary-area p {
.interface-complementary-area h2,
.interface-complementary-area h3 {
.interface-complementary-area hr {
border-bottom: 1px solid #f0f0f0;
.interface-complementary-area div.components-toolbar-group,
.interface-complementary-area div.components-toolbar {
.interface-complementary-area div.components-toolbar-group:last-child,
.interface-complementary-area div.components-toolbar:last-child {
.interface-complementary-area .block-editor-skip-to-selected-block:focus {
@media (min-width: 782px) {
body.js.is-fullscreen-mode {
height: calc(100% + 32px);
body.js.is-fullscreen-mode #adminmenumain,
body.js.is-fullscreen-mode #wpadminbar {
body.js.is-fullscreen-mode #wpcontent,
body.js.is-fullscreen-mode #wpfooter {
html.interface-interface-skeleton__html-container {
@media (min-width: 782px) {
html.interface-interface-skeleton__html-container {
.interface-interface-skeleton {
@media (min-width: 783px) {
.interface-interface-skeleton {
.is-fullscreen-mode .interface-interface-skeleton {
.interface-interface-skeleton__editor {
.interface-interface-skeleton {
/* Set left position when auto-fold is not on the body element. */
@media (min-width: 783px) {
.interface-interface-skeleton {
.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 {
@media (min-width: 961px) {
.auto-fold .interface-interface-skeleton {
/* Sidebar manually collapsed. */
.folded .interface-interface-skeleton {
@media (min-width: 783px) {
.folded .interface-interface-skeleton {
/* Mobile menu opened. */
@media (max-width: 783px) {
.auto-fold .wp-responsive-open .interface-interface-skeleton {
/* In small screens with responsive menu expanded there is small white space. */
@media (max-width: 600px) {
.auto-fold .wp-responsive-open .interface-interface-skeleton {
body.is-fullscreen-mode .interface-interface-skeleton {
.interface-interface-skeleton__body {
overscroll-behavior-y: none;
@media (min-width: 782px) {
.has-footer .interface-interface-skeleton__body {
.interface-interface-skeleton__content {
.interface-interface-skeleton__secondary-sidebar,
.interface-interface-skeleton__sidebar {
@media (min-width: 782px) {
.interface-interface-skeleton__secondary-sidebar,
.interface-interface-skeleton__sidebar {
position: relative !important;
.interface-interface-skeleton__sidebar {
@media (min-width: 782px) {
.interface-interface-skeleton__sidebar {
border-left: 1px solid #e0e0e0;
@media (min-width: 782px) {
.interface-interface-skeleton__secondary-sidebar {
border-right: 1px solid #e0e0e0;
.interface-interface-skeleton__header {
border-bottom: 1px solid #e0e0e0;
position: -webkit-sticky;
@media (min-width: 600px) {
.interface-interface-skeleton__header {
.interface-interface-skeleton__footer {
border-top: 1px solid #e0e0e0;
@media (min-width: 782px) {
.interface-interface-skeleton__footer {
.interface-interface-skeleton__footer .block-editor-block-breadcrumb {
.interface-interface-skeleton__actions {
position: fixed !important;
.interface-interface-skeleton__actions:focus {
.interface-pinned-items {
.interface-pinned-items .components-button:not(:first-child) {
@media (min-width: 600px) {
.interface-pinned-items .components-button:not(:first-child) {
.interface-pinned-items .components-button {
.interface-pinned-items .components-button svg {
@media (min-width: 280px) {
.edit-post-header > .edit-post-header__settings {
@supports ((position: -webkit-sticky) or (position: sticky)) {
.edit-post-header > .edit-post-header__settings {
.edit-post-header__toolbar {
.edit-post-header__toolbar .table-of-contents {
@media (min-width: 600px) {
.edit-post-header__toolbar .table-of-contents {
.edit-post-header__settings {
@media (min-width: 600px) {
.edit-post-header__settings {
.edit-post-header__settings .editor-post-saved-state,
.edit-post-header__settings .components-button.components-button {
@media (min-width: 600px) {
.edit-post-header__settings .editor-post-saved-state,
.edit-post-header__settings .components-button.components-button {
.edit-post-header__settings .editor-post-saved-state,
.edit-post-header__settings .components-button.is-tertiary {
.edit-post-header__settings .edit-post-more-menu .components-button,
.edit-post-header__settings .interface-pinned-items .components-button {
.edit-post-header-preview__grouping-external {
.edit-post-header-preview__button-external {
justify-content: flex-start;
.edit-post-header-preview__button-external svg {