WordPress/wp-includes/css/dist/edit-site/style-rtl.css

1532 lines
39 KiB
CSS

/**
* 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.
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Dimensions.
*/
/**
* Shadows.
*/
/**
* Editor widths.
*/
/**
* Block & 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
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* 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;
}
@media (-webkit-min-device-pixel-ratio: 2), (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%;
}
@media (min-width: 782px) {
.components-panel__header.interface-complementary-area-header__small {
display: none;
}
}
.interface-complementary-area-header {
background: #fff;
padding-left: 4px;
}
.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;
}
}
@media (min-width: 782px) {
.components-panel__header + .interface-complementary-area-header {
margin-top: 0;
}
}
.interface-complementary-area {
background: #fff;
color: #1e1e1e;
}
@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.edit-post-sidebar__panel-tabs {
top: 48px;
}
@media (min-width: 782px) {
.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs {
top: 0;
}
}
.interface-complementary-area p {
margin-top: 0;
}
.interface-complementary-area h2 {
font-size: 13px;
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;
}
@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 {
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 {
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;
}
.interface-interface-skeleton__secondary-sidebar,
.interface-interface-skeleton__sidebar {
display: block;
flex-shrink: 0;
position: absolute;
z-index: 100000;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: #fff;
color: #1e1e1e;
}
@media (min-width: 782px) {
.interface-interface-skeleton__secondary-sidebar,
.interface-interface-skeleton__sidebar {
position: relative !important;
z-index: 90;
width: auto;
}
}
.interface-interface-skeleton__sidebar {
overflow: auto;
}
@media (min-width: 782px) {
.interface-interface-skeleton__sidebar {
border-right: 1px solid #e0e0e0;
}
}
@media (min-width: 782px) {
.interface-interface-skeleton__secondary-sidebar {
border-left: 1px solid #e0e0e0;
}
}
.interface-interface-skeleton__header {
flex-shrink: 0;
height: auto;
border-bottom: 1px solid #e0e0e0;
z-index: 30;
color: #1e1e1e;
}
.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;
width: 280px;
color: #1e1e1e;
}
.interface-interface-skeleton__actions:focus {
top: auto;
bottom: 0;
}
.interface-more-menu-dropdown {
margin-right: -4px;
}
.interface-more-menu-dropdown .components-button {
width: auto;
padding: 0 2px;
}
@media (min-width: 600px) {
.interface-more-menu-dropdown {
margin-right: 0;
}
.interface-more-menu-dropdown .components-button {
padding: 0 4px;
}
}
.interface-more-menu-dropdown__content .components-popover__content {
min-width: 280px;
}
@media (min-width: 480px) {
.interface-more-menu-dropdown__content .components-popover__content {
width: auto;
max-width: 480px;
}
}
.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu {
padding: 0;
}
.components-popover.interface-more-menu-dropdown__content {
z-index: 99998;
}
.interface-pinned-items {
display: flex;
}
.interface-pinned-items .components-button:not(:first-child) {
display: none;
}
@media (min-width: 600px) {
.interface-pinned-items .components-button:not(:first-child) {
display: flex;
}
}
.interface-pinned-items .components-button {
margin-right: 4px;
}
.interface-pinned-items .components-button svg {
max-width: 24px;
max-height: 24px;
}
.edit-site-block-editor__editor-styles-wrapper .components-button {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
padding: 6px 12px;
}
.edit-site-block-editor__editor-styles-wrapper .components-button.is-tertiary, .edit-site-block-editor__editor-styles-wrapper .components-button.has-icon {
padding: 6px;
}
.edit-site-visual-editor {
position: relative;
background-color: #2f2f2f;
align-items: center;
}
.edit-site-visual-editor.is-focus-mode {
padding: 48px;
}
.edit-site-visual-editor.is-focus-mode .edit-site-visual-editor__editor-canvas {
border-radius: 2px;
}
.edit-site-visual-editor__editor-canvas {
border-radius: 2px 2px 0 0;
}
.edit-site-visual-editor__back-button {
position: absolute;
top: 8px;
right: 8px;
color: #fff;
}
.edit-site-visual-editor__back-button:active:not([aria-disabled=true]), .edit-site-visual-editor__back-button:focus:not([aria-disabled=true]), .edit-site-visual-editor__back-button:hover {
color: #f0f0f0;
}
.components-resizable-box__container {
margin: 0 auto;
}
.resizable-editor__drag-handle {
position: absolute;
top: 0;
bottom: 0;
padding: 0;
margin: auto 0;
width: 8px;
height: 100px;
-webkit-appearance: none;
appearance: none;
cursor: grab;
outline: none;
background: #757575;
border-radius: 4px;
border: 0;
}
.resizable-editor__drag-handle.is-left {
right: -28px;
}
.resizable-editor__drag-handle.is-right {
left: -28px;
}
.resizable-editor__drag-handle:hover {
background: #949494;
}
.resizable-editor__drag-handle:active {
cursor: grabbing;
background: #949494;
}
.resizable-editor__drag-handle:focus {
box-shadow: 0 0 0 1px #2f2f2f, 0 0 0 calc(var(--wp-admin-border-width-focus) + 1px) var(--wp-admin-theme-color);
}
.edit-site-global-styles-preview {
display: flex;
align-items: center;
justify-content: center;
min-height: 152px;
line-height: 1;
}
.edit-site-global-styles-preview .component-color-indicator {
border-radius: 50%;
border: 0;
height: 36px;
width: 36px;
margin-right: 0;
padding: 0;
}
.edit-site-global-styles-screen-colors {
margin: 16px;
}
.edit-site-global-styles-screen-colors .component-color-indicator {
margin-right: 0;
display: block;
border-radius: 50%;
border: 0;
height: 24px;
width: 24px;
padding: 0;
background-image: repeating-linear-gradient(-45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0), repeating-linear-gradient(-45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0);
background-position: 100% 0, 25px 25px;
background-size: calc(2 * 5px) calc(2 * 5px);
}
.edit-site-global-styles-header__description {
padding: 0 16px;
}
.edit-site-global-styles-subtitle {
margin-bottom: 0 !important;
text-transform: uppercase;
font-weight: 500;
}
.edit-site-header {
align-items: center;
background-color: #fff;
display: flex;
height: 60px;
box-sizing: border-box;
width: 100%;
justify-content: space-between;
}
body.is-fullscreen-mode .edit-site-header {
padding-right: 60px;
transition: padding-right 20ms linear;
transition-delay: 80ms;
}
@media (prefers-reduced-motion: reduce) {
body.is-fullscreen-mode .edit-site-header {
transition-duration: 0s;
transition-delay: 0s;
}
}
.edit-site-header .edit-site-header_start,
.edit-site-header .edit-site-header_end {
display: flex;
}
.edit-site-header .edit-site-header_center {
display: flex;
align-items: center;
height: 100%;
min-width: 0;
}
.edit-site-header .edit-site-header_end {
justify-content: flex-end;
}
body.is-navigation-sidebar-open .edit-site-header {
padding-right: 0;
transition: padding-right 20ms linear;
transition-delay: 0ms;
}
@media (prefers-reduced-motion: reduce) {
body.is-navigation-sidebar-open .edit-site-header {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (max-width: 959px) {
body.is-navigation-sidebar-open .edit-site-header .edit-site-header-toolbar__inserter-toggle ~ .components-button,
body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .components-button:not(.is-primary) {
display: none;
}
body.is-navigation-sidebar-open .edit-site-header .edit-site-save-button__button {
margin-left: 0;
}
}
.edit-site-header__toolbar {
display: flex;
align-items: center;
padding-right: 8px;
}
@media (min-width: 600px) {
.edit-site-header__toolbar {
padding-right: 24px;
}
}
@media (min-width: 1280px) {
.edit-site-header__toolbar {
padding-left: 8px;
}
}
.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle {
margin-left: 8px;
min-width: 32px;
width: 32px;
height: 32px;
padding: 0;
}
.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg {
transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
}
@media (prefers-reduced-motion: reduce) {
.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg {
transition-duration: 0s;
transition-delay: 0s;
}
}
.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle.is-pressed svg {
transform: rotate(-45deg);
}
.edit-site-header__toolbar-switchers {
align-items: center;
display: flex;
}
.edit-site-header__toolbar-switchers-separator {
margin: 0 -6px 0;
}
/**
* Buttons in the Toolbar
*/
.edit-site-header__actions {
display: inline-flex;
align-items: center;
flex-wrap: wrap;
padding-left: 4px;
}
.edit-site-header__actions .interface-pinned-items {
display: none;
}
@media (min-width: 782px) {
.edit-site-header__actions .interface-pinned-items {
display: inline-flex;
}
}
.edit-site-header__actions .editor-post-saved-state,
.edit-site-header__actions .components-button.components-button {
margin-left: 4px;
}
@media (min-width: 600px) {
.edit-site-header__actions .editor-post-saved-state,
.edit-site-header__actions .components-button.components-button {
margin-left: 12px;
}
}
.edit-site-header__actions .editor-post-saved-state,
.edit-site-header__actions .components-button.is-tertiary {
padding: 0 6px;
}
.edit-site-header__actions .edit-site-more-menu .components-button,
.edit-site-header__actions .interface-pinned-items .components-button {
margin-left: 0;
}
@media (min-width: 600px) {
.edit-site-header__actions {
padding-left: 16px;
}
}
.edit-site-header__actions-more-menu {
margin-right: -4px;
}
.edit-site-header__actions-more-menu .components-icon-button {
padding: 8px 2px;
width: auto;
}
@media (min-width: 600px) {
.edit-site-header__actions-more-menu {
margin-right: 4px;
}
.edit-site-header__actions-more-menu .components-icon-button {
padding: 8px 4px;
}
}
.edit-site-document-actions {
display: flex;
flex-direction: column;
justify-content: center;
height: 100%;
min-width: 0;
}
.edit-site-document-actions .edit-site-document-actions__title-wrapper {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
min-width: 0;
}
.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown {
display: inline-flex;
margin-right: 4px;
}
.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown .components-button {
min-width: 0;
padding: 0;
}
.edit-site-document-actions .edit-site-document-actions__title-wrapper > h1 {
margin: 0;
min-width: 0;
}
.edit-site-document-actions .edit-site-document-actions__title {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 120px;
}
@media (min-width: 782px) {
.edit-site-document-actions .edit-site-document-actions__title {
max-width: 75px;
}
}
@media (min-width: 1080px) {
.edit-site-document-actions .edit-site-document-actions__title {
max-width: 180px;
}
}
.edit-site-document-actions .edit-site-document-actions__secondary-item {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 0;
opacity: 0;
padding: 0;
transition: all ease 0.2s;
background: #e0e0e0;
border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
.edit-site-document-actions .edit-site-document-actions__secondary-item {
transition-duration: 0s;
transition-delay: 0s;
}
}
.edit-site-document-actions.has-secondary-label .edit-site-document-actions__secondary-item {
opacity: 1;
padding: 0 4px;
max-width: 180px;
margin-right: 6px;
}
.edit-site-document-actions__info-dropdown > .components-popover__content > div {
padding: 0;
min-width: 240px;
}
.edit-site-more-menu {
margin-right: -4px;
}
.edit-site-more-menu .components-button {
width: auto;
padding: 0 2px;
}
@media (min-width: 600px) {
.edit-site-more-menu {
margin-right: 4px;
}
.edit-site-more-menu .components-button {
padding: 0 4px;
}
}
.edit-site-more-menu__content .components-popover__content {
min-width: 260px;
}
.edit-site-more-menu__content .components-popover__content .components-dropdown-menu__menu {
padding: 0;
}
.components-popover.edit-site-more-menu__content {
z-index: 99998;
}
.edit-site-navigation-link {
align-items: center;
background: #1e1e1e;
border-radius: 0;
display: flex;
position: absolute;
top: 0;
right: 0;
z-index: 31;
height: 60px;
width: 60px;
}
.edit-site-navigation-link__button {
align-items: center;
background: #1e1e1e;
border-radius: 0;
color: #fff;
height: 61px;
width: 60px;
z-index: 1;
margin-bottom: -1px;
}
.edit-site-navigation-link__button.has-icon {
min-width: 60px;
}
.edit-site-navigation-link__button.has-icon:hover, .edit-site-navigation-link__button.has-icon:active, .edit-site-navigation-link__button.has-icon:focus {
color: #fff;
}
.edit-site-navigation-link__button.has-icon:focus {
box-shadow: none;
}
.edit-site-navigation-link__button.has-icon::before {
transition: box-shadow 0.1s ease;
content: "";
display: block;
position: absolute;
top: 9px;
left: 9px;
bottom: 9px;
right: 9px;
border-radius: 4px;
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e;
}
@media (prefers-reduced-motion: reduce) {
.edit-site-navigation-link__button.has-icon::before {
transition-duration: 0s;
transition-delay: 0s;
}
}
.edit-site-navigation-link__button.has-icon:hover::before {
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #757575;
}
.edit-site-navigation-link__button.has-icon:focus::before {
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) rgba(255, 255, 255, 0.1), inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
}
.edit-site-navigation-link__site-icon {
width: 36px;
border-radius: 2px;
}
.edit-site-sidebar {
width: 280px;
}
.edit-site-sidebar > .components-panel {
border-right: 0;
border-left: 0;
margin-bottom: -1px;
margin-top: -1px;
}
.edit-site-sidebar > .components-panel > .components-panel__header {
background: #f0f0f0;
}
.edit-site-sidebar .block-editor-block-inspector__card {
margin: 0;
}
.edit-site-global-styles-sidebar .interface-complementary-area-header .components-button.has-icon {
margin-right: 0;
}
.edit-site-global-styles-sidebar__reset-button.components-button {
margin-right: auto;
}
.edit-site-global-styles-sidebar__border-controls-row {
display: flex;
justify-content: space-between;
margin-bottom: 12px;
}
.edit-site-global-styles-sidebar__border-controls-row > * {
width: calc(50% - 8px);
}
.edit-site-global-styles-sidebar__border-controls-row .components-border-style-control__buttons {
margin-bottom: 0;
}
.edit-site-global-styles-sidebar .components-navigation__menu-title-heading {
font-size: 15.6px;
font-weight: 500;
}
.edit-site-global-styles-sidebar .components-navigation__item > button span {
font-weight: 500;
}
.edit-site-typography-panel,
.edit-site-global-styles-sidebar .block-editor-panel-color-gradient-settings {
border: 0;
}
.edit-site-global-styles-sidebar__blocks-group {
padding-top: 24px;
border-top: 1px solid #e0e0e0;
}
.edit-site-global-styles-sidebar__blocks-group-help {
padding: 0 16px;
}
.edit-site-global-styles-color-palette-panel {
padding: 16px;
}
.edit-site-global-styles-sidebar__beta {
display: inline-flex;
margin-right: 8px;
padding: 0 8px;
height: 24px;
border-radius: 2px;
background-color: #000;
color: #fff;
align-items: center;
font-size: 12px;
line-height: 1;
}
.components-panel__header.edit-site-sidebar__panel-tabs {
justify-content: flex-start;
padding-right: 0;
padding-left: 16px;
border-top: 0;
margin-top: 0;
}
.components-panel__header.edit-site-sidebar__panel-tabs ul {
display: flex;
}
.components-panel__header.edit-site-sidebar__panel-tabs li {
margin: 0;
}
.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon {
display: none;
margin: 0 auto 0 0;
padding: 0;
min-width: 24px;
height: 24px;
}
@media (min-width: 782px) {
.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon {
display: flex;
}
}
.components-button.edit-site-sidebar__panel-tab {
border-radius: 0;
height: 48px;
background: transparent;
border: none;
box-shadow: none;
cursor: pointer;
display: inline-block;
padding: 3px 15px;
margin-right: 0;
font-weight: 500;
}
.components-button.edit-site-sidebar__panel-tab::after {
content: attr(data-label);
display: block;
font-weight: 600;
height: 0;
overflow: hidden;
speak: none;
visibility: hidden;
}
.components-button.edit-site-sidebar__panel-tab.is-active {
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) transparent, inset 0 -4px 0 0 var(--wp-admin-theme-color);
position: relative;
z-index: 1;
}
.components-button.edit-site-sidebar__panel-tab.is-active::before {
content: "";
position: absolute;
top: 0;
bottom: 1px;
left: 0;
right: 0;
border-bottom: 4px solid transparent;
}
.components-button.edit-site-sidebar__panel-tab:focus {
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
position: relative;
z-index: 1;
}
.components-button.edit-site-sidebar__panel-tab.is-active:focus {
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 -4px 0 0 var(--wp-admin-theme-color);
}
.edit-site-template-card {
display: flex;
align-items: flex-start;
}
.edit-site-template-card__content {
flex-grow: 1;
margin-bottom: 4px;
}
.edit-site-template-card__title {
font-weight: 500;
line-height: 24px;
}
.edit-site-template-card__title.edit-site-template-card__title {
margin: 0 0 4px;
}
.edit-site-template-card__description {
font-size: 13px;
margin: 0 0 16px;
}
.edit-site-template-card__icon {
flex: 0 0 24px;
margin-left: 12px;
width: 24px;
height: 24px;
}
h3.edit-site-template-card__template-areas-title {
font-weight: 500;
margin: 0 0 8px;
}
.edit-site-template-card__template-areas-list {
margin: 0;
}
.edit-site-template-card__template-areas-list > li {
margin: 0;
}
.edit-site-template-card__template-areas-item {
width: 100%;
}
.edit-site-template-card__template-areas-item.components-button.has-icon {
padding: 0;
}
.edit-site-editor__toggle-save-panel {
z-index: 100000;
position: fixed !important;
top: -9999em;
bottom: auto;
right: auto;
left: 0;
width: 280px;
background-color: #fff;
border: 1px dotted #ddd;
height: auto !important;
padding: 24px;
display: flex;
justify-content: center;
}
.interface-interface-skeleton__actions:focus .edit-site-editor__toggle-save-panel, .interface-interface-skeleton__actions:focus-within .edit-site-editor__toggle-save-panel {
top: auto;
bottom: 0;
}
.edit-site-visual-editor {
position: relative;
height: 100%;
display: block;
overflow: hidden;
}
.edit-site-visual-editor iframe {
display: block;
width: 100%;
height: 100%;
background-color: #fff;
}
.edit-site .components-editor-notices__snackbar {
position: fixed;
left: 0;
bottom: 40px;
padding-right: 16px;
padding-left: 16px;
}
.edit-site .components-editor-notices__snackbar {
/* Set left position when auto-fold is not on the body element. */
right: 0;
}
@media (min-width: 783px) {
.edit-site .components-editor-notices__snackbar {
right: 160px;
}
}
.auto-fold .edit-site .components-editor-notices__snackbar {
/* Auto fold is when on smaller breakpoints, nav menu auto collapses. */
}
@media (min-width: 783px) {
.auto-fold .edit-site .components-editor-notices__snackbar {
right: 36px;
}
}
@media (min-width: 961px) {
.auto-fold .edit-site .components-editor-notices__snackbar {
right: 160px;
}
}
/* Sidebar manually collapsed. */
.folded .edit-site .components-editor-notices__snackbar {
right: 0;
}
@media (min-width: 783px) {
.folded .edit-site .components-editor-notices__snackbar {
right: 36px;
}
}
body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
right: 0 !important;
}
.edit-site-template-details .edit-site-template-details__group {
margin: 0;
padding: 16px;
}
.edit-site-template-details .edit-site-template-details__group + .edit-site-template-details__group {
border-top: 1px solid #ccc;
}
.edit-site-template-details .edit-site-template-details__title {
margin: 0;
}
.edit-site-template-details .edit-site-template-details__description {
margin: 12px 0 0;
color: #757575;
}
.edit-site-template-details .edit-site-template-details__group.edit-site-template-details__template-areas {
padding: 8px;
}
.edit-site-template-details .edit-site-template-details__template-areas-item {
position: relative;
}
.edit-site-template-details .edit-site-template-details__template-areas-item .edit-site-template-details__template-areas-item-more {
position: absolute;
left: 0;
top: 0;
bottom: 0;
margin: auto 0;
}
.edit-site-template-details .edit-site-template-details__revert {
padding: 12px 8px;
}
.edit-site-template-details .edit-site-template-details__revert-button {
height: auto;
padding: 4px 8px;
text-align: right;
}
.edit-site-template-details .edit-site-template-details__revert-button:focus:not(:disabled) {
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 3px #fff;
}
.edit-site-template-details .edit-site-template-details__show-all-button.components-button {
display: flex;
justify-content: center;
background: #1e1e1e;
color: #fff;
width: 100%;
height: 44px;
border-radius: 0;
}
.edit-site-template-details .edit-site-template-details__show-all-button.components-button:hover {
color: #fff;
}
.edit-site-template-details .edit-site-template-details__show-all-button.components-button:active {
color: #ccc;
}
.edit-site-template-details .edit-site-template-details__show-all-button.components-button:focus:not(:disabled) {
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 3px #fff;
}
.edit-site-template-part-converter__modal {
z-index: 1000001;
}
@media (min-width: 600px) {
.edit-site-template-part-converter__modal .components-modal__frame {
max-width: 500px;
}
}
.edit-site-template-part-converter__convert-modal-actions {
padding-top: 12px;
}
.edit-site-template-part-converter__area-base-control .components-base-control__label {
margin: 16px 0 8px;
cursor: auto;
}
.edit-site-template-part-converter__area-radio-group {
width: 100%;
border: 1px solid #757575;
border-radius: 2px;
}
.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio {
display: block;
width: 100%;
height: 100%;
text-align: right;
padding: 12px;
}
.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio, .edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover, .edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover {
margin: 0;
background-color: inherit;
border-bottom: 1px solid #757575;
border-radius: 0;
}
.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:not(:focus), .edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover:not(:focus), .edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover:not(:focus) {
box-shadow: none;
}
.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:focus, .edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover:focus, .edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover:focus {
border-bottom: 1px solid #fff;
}
.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:last-of-type, .edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover:last-of-type, .edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover:last-of-type {
border-bottom: none;
}
.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:not(:hover), .edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio[aria-checked=true] {
color: #1e1e1e;
cursor: auto;
}
.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:not(:hover) .edit-site-template-part-converter__option-label div, .edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio[aria-checked=true] .edit-site-template-part-converter__option-label div {
color: #949494;
}
.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio .edit-site-template-part-converter__option-label {
padding-top: 4px;
white-space: normal;
}
.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio .edit-site-template-part-converter__option-label div {
padding-top: 4px;
font-size: 12px;
}
.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio .edit-site-template-part-converter__checkbox {
margin-right: auto;
min-width: 24px;
}
.edit-site-editor__inserter-panel,
.edit-site-editor__list-view-panel {
height: 100%;
display: flex;
flex-direction: column;
}
.edit-site-editor__list-view-panel {
min-width: 350px;
}
.edit-site-editor__inserter-panel-header {
padding-top: 8px;
padding-left: 8px;
display: flex;
justify-content: flex-end;
}
@media (min-width: 782px) {
.edit-site-editor__inserter-panel-header {
display: none;
}
}
.edit-site-editor__inserter-panel-content,
.edit-site-editor__list-view-panel-content {
height: calc(100% - 36px - 8px);
}
@media (min-width: 782px) {
.edit-site-editor__inserter-panel-content {
height: 100%;
}
}
.edit-site-editor__list-view-panel-header {
align-items: center;
border-bottom: 1px solid #ddd;
display: flex;
justify-content: space-between;
height: 48px;
padding-right: 16px;
padding-left: 4px;
}
.edit-site-editor__list-view-panel-content {
overflow-y: auto;
padding: 8px;
}
html.wp-toolbar {
background: #fff;
}
body.appearance_page_gutenberg-edit-site,
body.site-editor-php {
background: #fff;
/* We hide legacy notices in Gutenberg Based Pages, because they were not designed in a way that scaled well.
Plugins can use Gutenberg notices if they need to pass on information to the user when they are editing. */
}
body.appearance_page_gutenberg-edit-site #wpcontent,
body.site-editor-php #wpcontent {
padding-right: 0;
}
body.appearance_page_gutenberg-edit-site #wpbody-content,
body.site-editor-php #wpbody-content {
padding-bottom: 0;
}
body.appearance_page_gutenberg-edit-site #wpbody-content > div:not(.edit-site):not(#screen-meta),
body.site-editor-php #wpbody-content > div:not(.edit-site):not(#screen-meta) {
display: none;
}
body.appearance_page_gutenberg-edit-site #wpfooter,
body.site-editor-php #wpfooter {
display: none;
}
body.appearance_page_gutenberg-edit-site .a11y-speak-region,
body.site-editor-php .a11y-speak-region {
right: -1px;
top: -1px;
}
body.appearance_page_gutenberg-edit-site ul#adminmenu a.wp-has-current-submenu::after,
body.appearance_page_gutenberg-edit-site ul#adminmenu > li.current > a.current::after,
body.site-editor-php ul#adminmenu a.wp-has-current-submenu::after,
body.site-editor-php ul#adminmenu > li.current > a.current::after {
border-left-color: #fff;
}
body.appearance_page_gutenberg-edit-site .media-frame select.attachment-filters:last-of-type,
body.site-editor-php .media-frame select.attachment-filters:last-of-type {
width: auto;
max-width: 100%;
}
.edit-site,
.components-modal__frame {
box-sizing: border-box;
}
.edit-site *,
.edit-site *::before,
.edit-site *::after,
.components-modal__frame *,
.components-modal__frame *::before,
.components-modal__frame *::after {
box-sizing: inherit;
}
@media (min-width: 600px) {
.edit-site {
bottom: 0;
right: 0;
min-height: calc(100vh - 46px);
position: absolute;
left: 0;
top: 0;
}
}
@media (min-width: 782px) {
.edit-site {
min-height: calc(100vh - 32px);
}
}
.edit-site .interface-complementary-area__pin-unpin-item.components-button {
display: none;
}
.edit-site .interface-interface-skeleton__content {
background-color: #2f2f2f;
}
/**
* Animations
*/
@keyframes edit-post__fade-in-animation {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
body.admin-color-light {
--wp-admin-theme-color: #0085ba;
--wp-admin-theme-color--rgb: 0, 133, 186;
--wp-admin-theme-color-darker-10: #0073a1;
--wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
--wp-admin-theme-color-darker-20: #006187;
--wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
--wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
body.admin-color-light {
--wp-admin-border-width-focus: 1.5px;
}
}
body.admin-color-modern {
--wp-admin-theme-color: #3858e9;
--wp-admin-theme-color--rgb: 56, 88, 233;
--wp-admin-theme-color-darker-10: #2145e6;
--wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
--wp-admin-theme-color-darker-20: #183ad6;
--wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
--wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
body.admin-color-modern {
--wp-admin-border-width-focus: 1.5px;
}
}
body.admin-color-blue {
--wp-admin-theme-color: #096484;
--wp-admin-theme-color--rgb: 9, 100, 132;
--wp-admin-theme-color-darker-10: #07526c;
--wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
--wp-admin-theme-color-darker-20: #064054;
--wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
--wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
body.admin-color-blue {
--wp-admin-border-width-focus: 1.5px;
}
}
body.admin-color-coffee {
--wp-admin-theme-color: #46403c;
--wp-admin-theme-color--rgb: 70, 64, 60;
--wp-admin-theme-color-darker-10: #383330;
--wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
--wp-admin-theme-color-darker-20: #2b2724;
--wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
--wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
body.admin-color-coffee {
--wp-admin-border-width-focus: 1.5px;
}
}
body.admin-color-ectoplasm {
--wp-admin-theme-color: #523f6d;
--wp-admin-theme-color--rgb: 82, 63, 109;
--wp-admin-theme-color-darker-10: #46365d;
--wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
--wp-admin-theme-color-darker-20: #3a2c4d;
--wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
--wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
body.admin-color-ectoplasm {
--wp-admin-border-width-focus: 1.5px;
}
}
body.admin-color-midnight {
--wp-admin-theme-color: #e14d43;
--wp-admin-theme-color--rgb: 225, 77, 67;
--wp-admin-theme-color-darker-10: #dd382d;
--wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
--wp-admin-theme-color-darker-20: #d02c21;
--wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
--wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
body.admin-color-midnight {
--wp-admin-border-width-focus: 1.5px;
}
}
body.admin-color-ocean {
--wp-admin-theme-color: #627c83;
--wp-admin-theme-color--rgb: 98, 124, 131;
--wp-admin-theme-color-darker-10: #576e74;
--wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
--wp-admin-theme-color-darker-20: #4c6066;
--wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
--wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
body.admin-color-ocean {
--wp-admin-border-width-focus: 1.5px;
}
}
body.admin-color-sunrise {
--wp-admin-theme-color: #dd823b;
--wp-admin-theme-color--rgb: 221, 130, 59;
--wp-admin-theme-color-darker-10: #d97426;
--wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
--wp-admin-theme-color-darker-20: #c36922;
--wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
--wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
body.admin-color-sunrise {
--wp-admin-border-width-focus: 1.5px;
}
}