mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-02 16:59:35 +01:00
da43022d3f
The following package versions were changed: @wordpress/block-directory: 1.5.3 -> 1.5.4 @wordpress/block-editor: 3.7.3 -> 3.7.4 @wordpress/block-library: 2.14.3 -> 2.14.4 @wordpress/edit-post: 3.13.4 -> 3.13.5 @wordpress/editor: 9.12.3 -> 9.12.4 @wordpress/format-library: 1.14.3 -> 1.14.4 Props aduth, gziolo, mapk. Fixes: #49611. Built from https://develop.svn.wordpress.org/trunk@47441 git-svn-id: http://core.svn.wordpress.org/trunk@47228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2347 lines
81 KiB
CSS
2347 lines
81 KiB
CSS
/**
|
|
* Colors
|
|
*/
|
|
/**
|
|
* Breakpoints & Media Queries
|
|
*/
|
|
/**
|
|
* Colors
|
|
*/
|
|
/**
|
|
* Often re-used variables
|
|
*/
|
|
/**
|
|
* Breakpoint mixins
|
|
*/
|
|
/**
|
|
* Long content fade mixin
|
|
*
|
|
* Creates a fading overlay to signify that the content is longer
|
|
* than the space allows.
|
|
*/
|
|
/**
|
|
* Button states and 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.
|
|
*/
|
|
.block-editor-block-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
margin: 0;
|
|
border-radius: 4px; }
|
|
.block-editor-block-icon.has-colors svg {
|
|
fill: currentColor; }
|
|
.block-editor-block-icon svg {
|
|
min-width: 20px;
|
|
min-height: 20px;
|
|
max-width: 24px;
|
|
max-height: 24px; }
|
|
|
|
.block-editor-block-inspector .components-base-control {
|
|
margin-bottom: 24px; }
|
|
.block-editor-block-inspector .components-base-control:last-child {
|
|
margin-bottom: 8px; }
|
|
|
|
.block-editor-block-inspector .components-panel__body {
|
|
border: none;
|
|
border-top: 1px solid #e2e4e7; }
|
|
|
|
.block-editor-block-inspector .block-editor-block-card {
|
|
padding: 16px; }
|
|
|
|
.block-editor-block-inspector__no-blocks {
|
|
display: block;
|
|
font-size: 13px;
|
|
background: #fff;
|
|
padding: 32px 16px;
|
|
text-align: center; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging::before {
|
|
border: none; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > * {
|
|
background: #f8f9f9; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > * > * {
|
|
visibility: hidden; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-selected .reusable-block-edit-panel * {
|
|
z-index: 1; }
|
|
|
|
/**
|
|
* General Post Content Layout
|
|
*/
|
|
.block-editor-block-list__layout {
|
|
padding-right: 14px;
|
|
padding-left: 14px;
|
|
position: relative; }
|
|
@media (min-width: 600px) {
|
|
.block-editor-block-list__layout {
|
|
padding-right: 58px;
|
|
padding-left: 58px; } }
|
|
.block-editor-block-list__layout .block-editor-block-list__layout {
|
|
padding-right: 0;
|
|
padding-left: 0; }
|
|
|
|
/**
|
|
* Notices & Block Selected/Hover Styles.
|
|
*/
|
|
.block-editor-block-list__layout .block-editor-block-list__block {
|
|
position: relative;
|
|
overflow-wrap: break-word;
|
|
/**
|
|
* Notices
|
|
*/
|
|
/**
|
|
* Block border layout
|
|
*/ }
|
|
.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui {
|
|
margin: -10px 0 12px 0; }
|
|
.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui {
|
|
margin: 0 0 12px 0;
|
|
width: 100%; }
|
|
.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice {
|
|
margin-right: 0;
|
|
margin-left: 0; }
|
|
.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content {
|
|
font-size: 13px; }
|
|
.block-editor-block-list__layout .block-editor-block-list__block::before {
|
|
z-index: 0;
|
|
content: "";
|
|
position: absolute;
|
|
border: 1px solid transparent;
|
|
border-right: none;
|
|
box-shadow: none;
|
|
pointer-events: none;
|
|
transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear;
|
|
outline: 1px solid transparent;
|
|
left: -14px;
|
|
right: -14px;
|
|
top: -14px;
|
|
bottom: -14px; }
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.block-editor-block-list__layout .block-editor-block-list__block::before {
|
|
transition-duration: 0s; } }
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
|
|
border-color: rgba(66, 88, 99, 0.4);
|
|
box-shadow: inset -3px 0 0 0 #555d66; }
|
|
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
|
|
border-color: rgba(255, 255, 255, 0.45);
|
|
box-shadow: inset -3px 0 0 0 #d7dade; }
|
|
@media (min-width: 600px) {
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
|
|
box-shadow: 3px 0 0 0 #555d66; }
|
|
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
|
|
box-shadow: 3px 0 0 0 #d7dade; } }
|
|
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
|
|
border-color: #007cba;
|
|
box-shadow: inset -3px 0 0 0 #007cba; }
|
|
@media (min-width: 600px) {
|
|
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
|
|
box-shadow: 3px 0 0 0 #007cba; } }
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) {
|
|
opacity: 0.5;
|
|
transition: opacity 0.1s linear; }
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) {
|
|
transition-duration: 0s; } }
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block, .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused {
|
|
opacity: 1; }
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before {
|
|
border-top: 3px solid #0085ba; }
|
|
body.admin-color-sunrise .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before {
|
|
border-top: 3px solid #d1864a; }
|
|
body.admin-color-ocean .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before {
|
|
border-top: 3px solid #a3b9a2; }
|
|
body.admin-color-midnight .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before {
|
|
border-top: 3px solid #e14d43; }
|
|
body.admin-color-ectoplasm .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before {
|
|
border-top: 3px solid #a7b656; }
|
|
body.admin-color-coffee .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before {
|
|
border-top: 3px solid #c2a68c; }
|
|
body.admin-color-blue .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before {
|
|
border-top: 3px solid #82b4cb; }
|
|
body.admin-color-light .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before {
|
|
border-top: 3px solid #0085ba; }
|
|
|
|
/**
|
|
* Cross-Block Selection
|
|
*/
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed),
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content {
|
|
box-shadow: 0 0 0 2px #007cba;
|
|
border-radius: 1px;
|
|
outline: 2px solid transparent; }
|
|
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed), .is-dark-theme
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content {
|
|
box-shadow: 0 0 0 2px #fff; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection {
|
|
background: transparent; }
|
|
|
|
/**
|
|
* Block styles and alignments
|
|
*/
|
|
.block-editor-block-list__layout .block-editor-block-list__block.has-warning {
|
|
min-height: 36px; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.has-warning > * {
|
|
pointer-events: none;
|
|
-webkit-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning {
|
|
pointer-events: all; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.has-warning::before {
|
|
border-color: rgba(145, 151, 162, 0.25);
|
|
border-right: 1px solid rgba(145, 151, 162, 0.25); }
|
|
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning::before {
|
|
border-color: rgba(255, 255, 255, 0.35); }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected::before {
|
|
border-color: rgba(66, 88, 99, 0.4);
|
|
border-right-color: transparent; }
|
|
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected::before {
|
|
border-color: rgba(255, 255, 255, 0.45); }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.has-warning::after {
|
|
content: "";
|
|
position: absolute;
|
|
background-color: rgba(248, 249, 249, 0.4);
|
|
top: -14px;
|
|
bottom: -14px;
|
|
left: -14px;
|
|
right: -14px; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected::after {
|
|
background-color: transparent; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected::after {
|
|
bottom: 22px; }
|
|
@media (min-width: 600px) {
|
|
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected::after {
|
|
bottom: -14px; } }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected::before {
|
|
border-right-color: transparent;
|
|
border-style: dashed;
|
|
border-width: 1px; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-inner-blocks.has-overlay::after {
|
|
display: none; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay::after {
|
|
display: block; }
|
|
|
|
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block {
|
|
cursor: default; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] {
|
|
z-index: 21;
|
|
width: 100%;
|
|
height: 0; }
|
|
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"]::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"]::before {
|
|
content: none; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] > .is-block-content {
|
|
float: left;
|
|
margin-right: 2em; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] > .is-block-content {
|
|
float: right;
|
|
margin-left: 2em; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] {
|
|
clear: both; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] {
|
|
margin-right: -14px;
|
|
margin-left: -14px; }
|
|
@media (min-width: 600px) {
|
|
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] {
|
|
margin-right: -58px;
|
|
margin-left: -58px; } }
|
|
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"]::before {
|
|
right: 0;
|
|
left: 0;
|
|
border-right-width: 0;
|
|
border-left-width: 0; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block[data-clear="true"] {
|
|
float: none; }
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter {
|
|
right: auto;
|
|
left: 8px; }
|
|
|
|
/**
|
|
* In-Canvas Inserter
|
|
*/
|
|
.block-editor-block-list .block-editor-inserter {
|
|
margin: 8px;
|
|
cursor: move;
|
|
cursor: grab; }
|
|
|
|
.block-editor-block-list__insertion-point {
|
|
position: relative;
|
|
z-index: 6;
|
|
margin-top: -14px; }
|
|
|
|
.block-editor-block-list__insertion-point-indicator {
|
|
position: absolute;
|
|
top: calc(50% - 1px);
|
|
height: 2px;
|
|
right: 0;
|
|
left: 0;
|
|
background: #0085ba; }
|
|
|
|
body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator {
|
|
background: #d1864a; }
|
|
|
|
body.admin-color-ocean .block-editor-block-list__insertion-point-indicator {
|
|
background: #a3b9a2; }
|
|
|
|
body.admin-color-midnight .block-editor-block-list__insertion-point-indicator {
|
|
background: #e14d43; }
|
|
|
|
body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator {
|
|
background: #a7b656; }
|
|
|
|
body.admin-color-coffee .block-editor-block-list__insertion-point-indicator {
|
|
background: #c2a68c; }
|
|
|
|
body.admin-color-blue .block-editor-block-list__insertion-point-indicator {
|
|
background: #82b4cb; }
|
|
|
|
body.admin-color-light .block-editor-block-list__insertion-point-indicator {
|
|
background: #0085ba; }
|
|
|
|
.block-editor-block-list__insertion-point-inserter {
|
|
display: none;
|
|
justify-content: center;
|
|
cursor: text; }
|
|
@media (min-width: 480px) {
|
|
.block-editor-block-list__insertion-point-inserter {
|
|
display: flex; } }
|
|
.block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle {
|
|
opacity: 0;
|
|
pointer-events: none; }
|
|
|
|
.block-editor-block-list__block-popover-inserter {
|
|
position: absolute;
|
|
top: -9999em;
|
|
margin-bottom: 14px; }
|
|
.block-editor-block-list__block-popover-inserter.is-visible {
|
|
position: static; }
|
|
|
|
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle,
|
|
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle {
|
|
border-radius: 50%;
|
|
color: #007cba;
|
|
background: #fff;
|
|
height: 28px;
|
|
width: 28px;
|
|
padding: 0;
|
|
justify-content: center; }
|
|
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):hover,
|
|
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):hover {
|
|
box-shadow: none; }
|
|
|
|
.block-editor-block-list__block > .block-editor-block-list__insertion-point {
|
|
position: absolute;
|
|
top: -16px;
|
|
height: 28px;
|
|
bottom: auto;
|
|
right: 14px;
|
|
left: 14px; }
|
|
|
|
.block-editor-block-list__block[data-align="full"] > .block-editor-block-list__insertion-point {
|
|
right: 0;
|
|
left: 0; }
|
|
|
|
.block-editor-block-list__block .block-editor-block-list__block-html-textarea {
|
|
display: block;
|
|
margin: 0;
|
|
width: 100%;
|
|
border: none;
|
|
outline: none;
|
|
box-shadow: none;
|
|
resize: none;
|
|
overflow: hidden;
|
|
font-family: Menlo, Consolas, monaco, monospace;
|
|
font-size: 14px;
|
|
line-height: 150%;
|
|
transition: padding 0.2s linear; }
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.block-editor-block-list__block .block-editor-block-list__block-html-textarea {
|
|
transition-duration: 0s; } }
|
|
.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus {
|
|
box-shadow: none; }
|
|
|
|
/**
|
|
* Block Toolbar when contextual.
|
|
*/
|
|
.block-editor-block-contextual-toolbar .block-editor-block-toolbar {
|
|
width: 100%; }
|
|
@media (min-width: 600px) {
|
|
.block-editor-block-contextual-toolbar .block-editor-block-toolbar {
|
|
width: auto;
|
|
border-left: none; } }
|
|
|
|
/**
|
|
* Block Label for Navigation/Selection Mode
|
|
*/
|
|
.block-editor-block-list__breadcrumb {
|
|
display: block;
|
|
line-height: 1;
|
|
z-index: 22; }
|
|
.block-editor-block-list__breadcrumb .components-toolbar {
|
|
display: flex;
|
|
background: #fff;
|
|
border: 1px solid #007cba;
|
|
border-right: none;
|
|
box-shadow: inset -3px 0 0 0 #007cba;
|
|
height: 38px;
|
|
font-size: 13px;
|
|
line-height: 29px;
|
|
padding-right: 8px;
|
|
padding-left: 8px; }
|
|
.block-editor-block-list__breadcrumb .components-toolbar .components-button {
|
|
box-shadow: none; }
|
|
.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar {
|
|
border-color: rgba(255, 255, 255, 0.45); }
|
|
@media (min-width: 600px) {
|
|
.block-editor-block-list__breadcrumb .components-toolbar {
|
|
box-shadow: 3px 0 0 0 #007cba; } }
|
|
|
|
.block-editor-block-list__block .block-editor-warning {
|
|
z-index: 5;
|
|
position: relative;
|
|
margin-left: -14px;
|
|
margin-right: -14px;
|
|
margin-bottom: -14px;
|
|
transform: translateY(-14px); }
|
|
.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning {
|
|
margin-bottom: auto; }
|
|
|
|
.block-editor-block-list__insertion-point-popover {
|
|
z-index: 28; }
|
|
.block-editor-block-list__insertion-point-popover .components-popover__content {
|
|
background: none;
|
|
border: none;
|
|
box-shadow: none;
|
|
overflow-y: visible; }
|
|
|
|
.components-popover.block-editor-block-list__block-popover {
|
|
z-index: 29; }
|
|
.components-popover.block-editor-block-list__block-popover .components-popover__content {
|
|
margin: 0 !important;
|
|
min-width: auto;
|
|
background: none;
|
|
border: none;
|
|
box-shadow: none;
|
|
overflow-y: visible;
|
|
pointer-events: none; }
|
|
.components-popover.block-editor-block-list__block-popover .components-popover__content > * {
|
|
pointer-events: all; }
|
|
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,
|
|
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__breadcrumb {
|
|
margin-bottom: 13px;
|
|
margin-right: -14px; }
|
|
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-align="full"],
|
|
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__breadcrumb[data-align="full"] {
|
|
margin-right: 0; }
|
|
.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover {
|
|
opacity: 0; }
|
|
|
|
.block-editor-block-list__block .block-list-appender {
|
|
margin: 14px 0; }
|
|
.has-background .block-editor-block-list__block .block-list-appender {
|
|
margin: 32px 14px; }
|
|
|
|
.block-list-appender.is-drop-target > div::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: -14px;
|
|
right: -14px;
|
|
top: -14px;
|
|
bottom: -14px;
|
|
border: 3px solid #0085ba; }
|
|
|
|
body.admin-color-sunrise .block-list-appender.is-drop-target > div::before {
|
|
border: 3px solid #d1864a; }
|
|
|
|
body.admin-color-ocean .block-list-appender.is-drop-target > div::before {
|
|
border: 3px solid #a3b9a2; }
|
|
|
|
body.admin-color-midnight .block-list-appender.is-drop-target > div::before {
|
|
border: 3px solid #e14d43; }
|
|
|
|
body.admin-color-ectoplasm .block-list-appender.is-drop-target > div::before {
|
|
border: 3px solid #a7b656; }
|
|
|
|
body.admin-color-coffee .block-list-appender.is-drop-target > div::before {
|
|
border: 3px solid #c2a68c; }
|
|
|
|
body.admin-color-blue .block-list-appender.is-drop-target > div::before {
|
|
border: 3px solid #82b4cb; }
|
|
|
|
body.admin-color-light .block-list-appender.is-drop-target > div::before {
|
|
border: 3px solid #0085ba; }
|
|
|
|
.block-list-appender > .block-editor-inserter {
|
|
display: block; }
|
|
|
|
.block-editor-block-breadcrumb {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0; }
|
|
.block-editor-block-breadcrumb li {
|
|
display: inline-block;
|
|
margin: 0; }
|
|
.block-editor-block-breadcrumb li:not(:last-child)::after {
|
|
content: "\2192"; }
|
|
|
|
.block-editor-block-breadcrumb__button.components-button {
|
|
height: 24px;
|
|
line-height: 24px;
|
|
padding: 0; }
|
|
.block-editor-block-breadcrumb__button.components-button:hover {
|
|
text-decoration: underline; }
|
|
.block-editor-block-breadcrumb__button.components-button:focus {
|
|
color: #191e23;
|
|
outline-offset: -1px;
|
|
outline: 1px dotted #555d66;
|
|
outline-offset: -2px;
|
|
box-shadow: none; }
|
|
|
|
.block-editor-block-breadcrumb__current {
|
|
cursor: default; }
|
|
|
|
.block-editor-block-breadcrumb__button.components-button,
|
|
.block-editor-block-breadcrumb__current {
|
|
color: #555d66;
|
|
padding: 0 8px;
|
|
font-size: inherit; }
|
|
|
|
.block-editor-block-card {
|
|
display: flex;
|
|
align-items: flex-start; }
|
|
|
|
.block-editor-block-card__icon {
|
|
border: 1px solid #ccd0d4;
|
|
padding: 7px;
|
|
margin-left: 10px;
|
|
height: 36px;
|
|
width: 36px; }
|
|
|
|
.block-editor-block-card__content {
|
|
flex-grow: 1; }
|
|
|
|
.block-editor-block-card__title {
|
|
font-weight: 500;
|
|
margin-bottom: 5px; }
|
|
|
|
.block-editor-block-card__description {
|
|
font-size: 13px; }
|
|
|
|
.block-editor-block-card .block-editor-block-icon {
|
|
margin-right: -2px;
|
|
margin-left: 10px;
|
|
padding: 0 3px;
|
|
width: 36px;
|
|
height: 24px; }
|
|
|
|
/**
|
|
* Invalid block comparison
|
|
*/
|
|
.block-editor-block-compare {
|
|
overflow: auto;
|
|
height: auto; }
|
|
@media (min-width: 600px) {
|
|
.block-editor-block-compare {
|
|
max-height: 70%; } }
|
|
|
|
.block-editor-block-compare__wrapper {
|
|
display: flex;
|
|
padding-bottom: 16px; }
|
|
.block-editor-block-compare__wrapper > div {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-direction: column;
|
|
width: 50%;
|
|
padding: 0 0 0 16px;
|
|
min-width: 200px; }
|
|
.block-editor-block-compare__wrapper > div button {
|
|
float: left; }
|
|
.block-editor-block-compare__wrapper .block-editor-block-compare__converted {
|
|
border-right: 1px solid #ddd;
|
|
padding-right: 15px;
|
|
padding-left: 0; }
|
|
.block-editor-block-compare__wrapper .block-editor-block-compare__html {
|
|
font-family: Menlo, Consolas, monaco, monospace;
|
|
font-size: 12px;
|
|
color: #23282d;
|
|
border-bottom: 1px solid #ddd;
|
|
padding-bottom: 15px;
|
|
line-height: 1.7; }
|
|
.block-editor-block-compare__wrapper .block-editor-block-compare__html span {
|
|
background-color: #e6ffed;
|
|
padding-top: 3px;
|
|
padding-bottom: 3px; }
|
|
.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added {
|
|
background-color: #acf2bd; }
|
|
.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed {
|
|
background-color: #d94f4f; }
|
|
.block-editor-block-compare__wrapper .block-editor-block-compare__preview {
|
|
padding: 0;
|
|
padding-top: 14px; }
|
|
.block-editor-block-compare__wrapper .block-editor-block-compare__preview p {
|
|
font-size: 12px;
|
|
margin-top: 0; }
|
|
.block-editor-block-compare__wrapper .block-editor-block-compare__action {
|
|
margin-top: 14px; }
|
|
.block-editor-block-compare__wrapper .block-editor-block-compare__heading {
|
|
font-size: 1em;
|
|
font-weight: 400;
|
|
margin: 0.67em 0; }
|
|
|
|
.block-editor-block-mobile-toolbar {
|
|
display: flex;
|
|
flex-direction: row;
|
|
border-left: 1px solid #e2e4e7; }
|
|
.block-editor-block-mobile-toolbar .block-editor-block-mover__control {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 4px;
|
|
padding: 3px;
|
|
margin: 0;
|
|
justify-content: center;
|
|
align-items: center; }
|
|
.block-editor-block-mobile-toolbar .block-editor-block-mover__control .dashicon {
|
|
margin: auto; }
|
|
.block-editor-block-mobile-toolbar .block-editor-block-mover {
|
|
display: flex;
|
|
margin-left: auto; }
|
|
.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control {
|
|
float: right; }
|
|
|
|
@media (min-width: 600px) {
|
|
.block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"])
|
|
.block-editor-block-mover:not(.is-horizontal) {
|
|
display: block;
|
|
position: absolute;
|
|
top: 37px;
|
|
right: -38px;
|
|
opacity: 0;
|
|
background: #fff;
|
|
border: 1px solid rgba(66, 88, 99, 0.4);
|
|
border-radius: 4px;
|
|
transition: box-shadow 0.2s ease-out; } }
|
|
@media (min-width: 600px) and (prefers-reduced-motion: reduce) {
|
|
.block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"])
|
|
.block-editor-block-mover:not(.is-horizontal) {
|
|
transition-duration: 0s; } }
|
|
|
|
@media (min-width: 600px) {
|
|
.block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"])
|
|
.block-editor-block-mover:not(.is-horizontal).is-visible {
|
|
animation: edit-post__fade-in-animation 0.2s ease-out 0s;
|
|
animation-fill-mode: forwards; } }
|
|
@media (min-width: 600px) and (prefers-reduced-motion: reduce) {
|
|
.block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"])
|
|
.block-editor-block-mover:not(.is-horizontal).is-visible {
|
|
animation-duration: 1ms; } }
|
|
|
|
@media (min-width: 600px) {
|
|
.block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"])
|
|
.block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0;
|
|
border: none;
|
|
width: 28px;
|
|
height: 24px;
|
|
color: rgba(14, 28, 46, 0.62); }
|
|
.block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"])
|
|
.block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control svg {
|
|
width: 28px;
|
|
height: 24px;
|
|
padding: 2px 5px; }
|
|
.block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"])
|
|
.block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control[aria-disabled="true"] {
|
|
cursor: default;
|
|
pointer-events: none;
|
|
color: rgba(14, 28, 46, 0.62); }
|
|
.block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"])
|
|
.block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control:focus:not(:disabled) {
|
|
background-color: transparent; } }
|
|
|
|
@media (min-width: 600px) {
|
|
.block-editor-block-list__block:not([data-align="wide"]):not([data-align="full"]) .block-editor-block-mover:not(.is-horizontal) {
|
|
margin-top: 0; } }
|
|
|
|
.block-editor-block-mover__control-drag-handle {
|
|
cursor: move;
|
|
cursor: grab;
|
|
fill: currentColor; }
|
|
.block-editor-block-mover__control-drag-handle, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):active, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):focus {
|
|
box-shadow: none;
|
|
background: none;
|
|
color: rgba(10, 24, 41, 0.7); }
|
|
.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):active {
|
|
cursor: grabbing; }
|
|
|
|
.block-editor-block-mover__description {
|
|
display: none; }
|
|
|
|
.block-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle {
|
|
display: none; }
|
|
|
|
.block-editor-block-navigation__container {
|
|
padding: 7px; }
|
|
|
|
.block-editor-block-navigation__label {
|
|
margin: 0 0 8px;
|
|
color: #6c7781; }
|
|
|
|
.block-editor-block-navigation__list,
|
|
.block-editor-block-navigation__paragraph {
|
|
padding: 0;
|
|
margin: 0; }
|
|
|
|
.block-editor-block-navigation__list .block-editor-button-block-appender {
|
|
outline: none;
|
|
background: none;
|
|
padding: 8px;
|
|
margin-right: 0.8em;
|
|
width: 36px;
|
|
border-radius: 4px; }
|
|
.block-editor-block-navigation__list .block-editor-button-block-appender:hover:not(:disabled):not([aria-disabled="true"]) {
|
|
color: #191e23;
|
|
border: none;
|
|
box-shadow: none;
|
|
background: #f3f4f5;
|
|
outline: none; }
|
|
.block-editor-block-navigation__list .block-editor-button-block-appender:focus:not(:disabled):not([aria-disabled="true"]) {
|
|
color: #191e23;
|
|
border: none;
|
|
box-shadow: none;
|
|
outline-offset: -2px;
|
|
outline: 1px dotted #555d66; }
|
|
|
|
.block-editor-block-navigation__list .block-editor-block-navigation__list {
|
|
margin-top: 2px;
|
|
border-right: 2px solid #a2aab2;
|
|
margin-right: 1em; }
|
|
.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list {
|
|
margin-right: 1.5em; }
|
|
.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item {
|
|
position: relative; }
|
|
.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item::before {
|
|
position: absolute;
|
|
right: 0;
|
|
background: #a2aab2;
|
|
width: 0.5em;
|
|
height: 2px;
|
|
content: "";
|
|
top: calc(50% - 1px); }
|
|
.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button {
|
|
margin-right: 0.8em;
|
|
width: calc(100% - 0.8em); }
|
|
.block-editor-block-navigation__list .block-editor-block-navigation__list > li:last-child {
|
|
position: relative; }
|
|
.block-editor-block-navigation__list .block-editor-block-navigation__list > li:last-child::after {
|
|
position: absolute;
|
|
content: "";
|
|
background: #fff;
|
|
top: 19px;
|
|
bottom: 0;
|
|
right: -2px;
|
|
width: 2px; }
|
|
|
|
.block-editor-block-navigation__item-button {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
padding: 6px;
|
|
text-align: right;
|
|
color: #40464d;
|
|
border-radius: 4px; }
|
|
.block-editor-block-navigation__item-button .block-editor-block-icon {
|
|
margin-left: 6px; }
|
|
.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled="true"]) {
|
|
color: #191e23;
|
|
border: none;
|
|
box-shadow: none;
|
|
background: #f3f4f5; }
|
|
.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled="true"]) {
|
|
color: #191e23;
|
|
border: none;
|
|
box-shadow: none;
|
|
outline-offset: -2px;
|
|
outline: 1px dotted #555d66; }
|
|
.block-editor-block-navigation__item-button.is-selected, .block-editor-block-navigation__item-button.is-selected:focus {
|
|
color: #32373c;
|
|
background: #edeff0; }
|
|
|
|
.components-popover.block-editor-block-navigation__popover {
|
|
z-index: 99998; }
|
|
|
|
.block-editor-block-preview__container {
|
|
position: relative;
|
|
width: 100%;
|
|
overflow: hidden; }
|
|
.block-editor-block-preview__container.is-ready {
|
|
overflow: visible; }
|
|
|
|
.block-editor-block-preview__content {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
transform-origin: top right;
|
|
text-align: initial;
|
|
margin: 0;
|
|
overflow: visible;
|
|
min-height: auto; }
|
|
.block-editor-block-preview__content .block-editor-block-list__layout,
|
|
.block-editor-block-preview__content .block-editor-block-list__block {
|
|
padding: 0; }
|
|
.block-editor-block-preview__content > div section {
|
|
height: auto; }
|
|
.block-editor-block-preview__content .block-editor-block-list__insertion-point,
|
|
.block-editor-block-preview__content .block-editor-block-drop-zone,
|
|
.block-editor-block-preview__content .reusable-block-indicator,
|
|
.block-editor-block-preview__content .block-list-appender {
|
|
display: none; }
|
|
|
|
.block-editor-block-settings-menu .components-dropdown-menu__toggle svg {
|
|
transform: rotate(-90deg); }
|
|
|
|
.block-editor-block-settings-menu__popover .components-dropdown-menu__menu {
|
|
padding: 0; }
|
|
|
|
.block-editor-block-styles {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between; }
|
|
|
|
.block-editor-block-styles__item {
|
|
width: calc(50% - 4px);
|
|
margin: 4px 0;
|
|
flex-shrink: 0;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
border-radius: 4px;
|
|
padding: 6px;
|
|
padding-top: calc(50% * 0.75 - 4px * 1.5); }
|
|
.block-editor-block-styles__item:focus {
|
|
color: #191e23;
|
|
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #00a0d2;
|
|
outline: 2px solid transparent; }
|
|
.block-editor-block-styles__item:hover {
|
|
background: #f3f4f5;
|
|
color: #191e23; }
|
|
.block-editor-block-styles__item.is-active {
|
|
color: #191e23;
|
|
box-shadow: inset 0 0 0 2px #555d66;
|
|
outline: 2px solid transparent;
|
|
outline-offset: -2px; }
|
|
.block-editor-block-styles__item.is-active:focus {
|
|
color: #191e23;
|
|
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #00a0d2, inset 0 0 0 2px #555d66;
|
|
outline: 4px solid transparent;
|
|
outline-offset: -4px; }
|
|
|
|
.block-editor-block-styles__item-preview {
|
|
outline: 1px solid transparent;
|
|
padding: 0;
|
|
border: 1px solid rgba(25, 30, 35, 0.2);
|
|
border-radius: 4px;
|
|
display: flex;
|
|
overflow: hidden;
|
|
background: #fff;
|
|
padding-top: 75%;
|
|
margin-top: -75%; }
|
|
.block-editor-block-styles__item-preview .block-editor-block-preview__container {
|
|
padding-top: 0;
|
|
margin: 0;
|
|
margin-top: -75%; }
|
|
|
|
.block-editor-block-styles__item-label {
|
|
text-align: center;
|
|
padding: 4px 2px; }
|
|
|
|
.block-editor-block-switcher {
|
|
position: relative;
|
|
height: 36px; }
|
|
|
|
.components-button.block-editor-block-switcher__toggle,
|
|
.components-button.block-editor-block-switcher__no-switcher-icon {
|
|
margin: 0;
|
|
display: block;
|
|
height: 36px;
|
|
padding: 3px; }
|
|
|
|
.components-button.block-editor-block-switcher__no-switcher-icon {
|
|
width: 48px; }
|
|
.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
|
|
margin-left: auto;
|
|
margin-right: auto; }
|
|
|
|
.components-button.block-editor-block-switcher__no-switcher-icon:disabled {
|
|
border-radius: 0;
|
|
opacity: 0.84; }
|
|
.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors {
|
|
color: #555d66 !important;
|
|
background: #f3f4f5 !important; }
|
|
|
|
.components-button.block-editor-block-switcher__toggle {
|
|
width: auto; }
|
|
.components-button.block-editor-block-switcher__toggle:active, .components-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled="true"]):hover, .components-button.block-editor-block-switcher__toggle:not([aria-disabled="true"]):focus {
|
|
outline: none;
|
|
box-shadow: none;
|
|
background: none;
|
|
border: none; }
|
|
.components-button.block-editor-block-switcher__toggle .block-editor-block-icon,
|
|
.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform {
|
|
width: 42px;
|
|
height: 30px;
|
|
position: relative;
|
|
margin: 0 auto;
|
|
padding: 3px;
|
|
display: flex;
|
|
align-items: center;
|
|
transition: all 0.1s cubic-bezier(0.165, 0.84, 0.44, 1); }
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.components-button.block-editor-block-switcher__toggle .block-editor-block-icon,
|
|
.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform {
|
|
transition-duration: 0s; } }
|
|
.components-button.block-editor-block-switcher__toggle .block-editor-block-icon::after {
|
|
content: "";
|
|
pointer-events: none;
|
|
display: block;
|
|
width: 0;
|
|
height: 0;
|
|
border-right: 3px solid transparent;
|
|
border-left: 3px solid transparent;
|
|
border-top: 5px solid;
|
|
margin-right: 4px;
|
|
margin-left: 2px; }
|
|
.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform {
|
|
margin-top: 6px;
|
|
border-radius: 4px; }
|
|
.components-button.block-editor-block-switcher__toggle[aria-expanded="true"] .block-editor-block-icon,
|
|
.components-button.block-editor-block-switcher__toggle[aria-expanded="true"] .block-editor-block-switcher__transform,
|
|
.components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,
|
|
.components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,
|
|
.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,
|
|
.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform {
|
|
transform: translateY(-36px); }
|
|
.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,
|
|
.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform {
|
|
box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff;
|
|
outline: 2px solid transparent; }
|
|
|
|
.components-popover.block-editor-block-switcher__popover .components-popover__content {
|
|
min-width: 300px;
|
|
max-width: calc(340px * 2);
|
|
display: flex;
|
|
background: #fff;
|
|
box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1); }
|
|
|
|
.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__container {
|
|
min-width: 300px;
|
|
max-width: 340px;
|
|
width: 50%; }
|
|
|
|
@media (min-width: 782px) {
|
|
.block-editor-block-switcher__popover .components-popover__content {
|
|
position: relative; }
|
|
.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__preview {
|
|
border-right: 1px solid #e2e4e7;
|
|
box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);
|
|
background: #fff;
|
|
width: 300px;
|
|
height: auto;
|
|
position: -webkit-sticky;
|
|
position: sticky;
|
|
-ms-grid-row-align: stretch;
|
|
align-self: stretch;
|
|
top: 0;
|
|
padding: 10px; } }
|
|
|
|
.block-editor-block-switcher__popover .components-popover__content .components-panel__body {
|
|
border: 0;
|
|
position: relative;
|
|
z-index: 1; }
|
|
|
|
.block-editor-block-switcher__popover .components-popover__content .components-panel__body + .components-panel__body {
|
|
border-top: 1px solid #e2e4e7; }
|
|
|
|
.block-editor-block-switcher__popover .block-editor-block-styles {
|
|
margin: 0 -3px; }
|
|
|
|
.block-editor-block-switcher__popover .block-editor-block-types-list {
|
|
margin: 8px -8px -8px; }
|
|
|
|
.block-editor-block-switcher__preview-title {
|
|
margin-bottom: 10px;
|
|
color: #6c7781; }
|
|
|
|
.block-editor-block-toolbar {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
width: 100%;
|
|
overflow: auto;
|
|
position: relative;
|
|
border-right: 1px solid #b5bcc2;
|
|
transition: border-color 0.1s linear, box-shadow 0.1s linear; }
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.block-editor-block-toolbar {
|
|
transition-duration: 0s; } }
|
|
@media (min-width: 600px) {
|
|
.block-editor-block-toolbar {
|
|
overflow: inherit;
|
|
border-right: none;
|
|
box-shadow: 3px 0 0 0 #555d66; }
|
|
.is-dark-theme .block-editor-block-toolbar {
|
|
box-shadow: 3px 0 0 0 #d7dade; } }
|
|
.block-editor-block-toolbar .components-toolbar {
|
|
border: 0;
|
|
border-top: 1px solid #b5bcc2;
|
|
border-bottom: 1px solid #b5bcc2;
|
|
border-left: 1px solid #b5bcc2;
|
|
line-height: 0; }
|
|
.has-fixed-toolbar .block-editor-block-toolbar {
|
|
box-shadow: none;
|
|
border-right: 1px solid #e2e4e7; }
|
|
.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar {
|
|
border-color: #e2e4e7; }
|
|
|
|
.block-editor-block-toolbar__slot {
|
|
display: inline-block;
|
|
line-height: 0; }
|
|
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
|
.block-editor-block-toolbar__slot {
|
|
display: inline-flex; } }
|
|
|
|
.block-editor-block-types-list {
|
|
list-style: none;
|
|
padding: 4px;
|
|
margin-right: -4px;
|
|
margin-left: -4px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-wrap: wrap; }
|
|
|
|
.block-editor-block-variation-picker .components-placeholder__instructions {
|
|
margin-bottom: 0; }
|
|
|
|
.block-editor-block-variation-picker .components-placeholder__fieldset {
|
|
flex-direction: column; }
|
|
|
|
.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset {
|
|
max-width: 90%; }
|
|
|
|
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
width: 100%;
|
|
margin: 16px 0;
|
|
padding: 0;
|
|
list-style: none; }
|
|
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations > li {
|
|
list-style: none;
|
|
margin: 4px 0 4px 8px;
|
|
flex-shrink: 1;
|
|
max-width: 100px; }
|
|
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation {
|
|
padding: 8px; }
|
|
|
|
.block-editor-block-variation-picker__variation {
|
|
width: 100%; }
|
|
.block-editor-block-variation-picker__variation.components-button.has-icon {
|
|
justify-content: center; }
|
|
.block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary {
|
|
background-color: #fff; }
|
|
.block-editor-block-variation-picker__variation.components-button {
|
|
height: auto;
|
|
padding: 0; }
|
|
.block-editor-block-variation-picker__variation::before {
|
|
content: "";
|
|
padding-bottom: 100%; }
|
|
.block-editor-block-variation-picker__variation:first-child {
|
|
margin-right: 0; }
|
|
.block-editor-block-variation-picker__variation:last-child {
|
|
margin-left: 0; }
|
|
|
|
.block-editor-button-block-appender {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 14px;
|
|
outline: 1px dashed #8d96a0;
|
|
width: 100%;
|
|
height: auto;
|
|
color: #555d66;
|
|
background: rgba(237, 239, 240, 0.8); }
|
|
.block-editor-button-block-appender:hover, .block-editor-button-block-appender:focus {
|
|
outline: 1px dashed #555d66;
|
|
color: #191e23; }
|
|
.block-editor-button-block-appender:active {
|
|
outline: 1px dashed #191e23;
|
|
color: #191e23; }
|
|
.is-dark-theme .block-editor-button-block-appender {
|
|
background: rgba(50, 55, 60, 0.7);
|
|
color: #f8f9f9; }
|
|
.is-dark-theme .block-editor-button-block-appender:hover, .is-dark-theme .block-editor-button-block-appender:focus {
|
|
outline: 1px dashed #fff; }
|
|
|
|
.block-editor-color-gradient-control__color-indicator {
|
|
margin-bottom: 8px; }
|
|
|
|
.block-editor-color-gradient-control__button-tabs {
|
|
display: block;
|
|
margin-bottom: 8px; }
|
|
|
|
.block-editor-panel-color-gradient-settings .component-color-indicator {
|
|
vertical-align: text-bottom; }
|
|
|
|
.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator {
|
|
display: inline-block; }
|
|
|
|
.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator {
|
|
display: none; }
|
|
|
|
.block-editor-contrast-checker > .components-notice {
|
|
margin: 0; }
|
|
|
|
.block-editor-default-block-appender {
|
|
clear: both;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
position: relative; }
|
|
.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover {
|
|
outline: 1px solid transparent; }
|
|
.block-editor-default-block-appender textarea.block-editor-default-block-appender__content {
|
|
font-family: "Noto Serif", serif;
|
|
font-size: 16px;
|
|
border: none;
|
|
background: none;
|
|
box-shadow: none;
|
|
display: block;
|
|
cursor: text;
|
|
width: 100%;
|
|
outline: 1px solid transparent;
|
|
transition: 0.2s outline;
|
|
resize: none;
|
|
margin-top: 28px;
|
|
margin-bottom: 28px;
|
|
padding: 0 14px 0 50px;
|
|
color: rgba(14, 28, 46, 0.62); }
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.block-editor-default-block-appender textarea.block-editor-default-block-appender__content {
|
|
transition-duration: 0s; } }
|
|
.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content {
|
|
color: rgba(255, 255, 255, 0.65); }
|
|
.block-editor-default-block-appender .components-drop-zone__content-icon {
|
|
display: none; }
|
|
|
|
.block-editor-default-block-appender__content {
|
|
min-height: 28px;
|
|
line-height: 1.8; }
|
|
|
|
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter,
|
|
.block-editor-default-block-appender .block-editor-inserter {
|
|
position: absolute;
|
|
top: 0;
|
|
height: 28px; }
|
|
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .components-button.has-icon,
|
|
.block-editor-default-block-appender .block-editor-inserter .components-button.has-icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
padding: 0; }
|
|
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .components-button svg,
|
|
.block-editor-default-block-appender .block-editor-inserter .components-button svg {
|
|
display: block;
|
|
margin: auto; }
|
|
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,
|
|
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle {
|
|
margin-left: 0; }
|
|
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover,
|
|
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover {
|
|
box-shadow: none; }
|
|
|
|
.block-editor-block-list__empty-block-inserter,
|
|
.block-editor-default-block-appender .block-editor-inserter {
|
|
left: 8px; }
|
|
@media (min-width: 600px) {
|
|
.block-editor-block-list__empty-block-inserter,
|
|
.block-editor-default-block-appender .block-editor-inserter {
|
|
display: flex;
|
|
height: 100%; } }
|
|
.block-editor-block-list__empty-block-inserter:disabled,
|
|
.block-editor-default-block-appender .block-editor-inserter:disabled {
|
|
display: none; }
|
|
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,
|
|
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle {
|
|
border-radius: 50%;
|
|
width: 28px;
|
|
height: 28px;
|
|
padding: 0; }
|
|
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),
|
|
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover) {
|
|
color: rgba(10, 24, 41, 0.7); }
|
|
.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover), .is-dark-theme
|
|
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover) {
|
|
color: rgba(255, 255, 255, 0.75); }
|
|
|
|
@media (min-width: 600px) {
|
|
.block-editor-default-block-appender .block-editor-inserter {
|
|
align-items: center; } }
|
|
|
|
html.block-editor-editor-skeleton__html-container {
|
|
position: fixed;
|
|
width: 100%; }
|
|
@media (min-width: 782px) {
|
|
html.block-editor-editor-skeleton__html-container {
|
|
position: initial;
|
|
width: initial; } }
|
|
|
|
.block-editor-editor-skeleton {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: auto;
|
|
max-height: 100%;
|
|
position: fixed;
|
|
top: 46px;
|
|
right: 0;
|
|
left: 0;
|
|
bottom: 0; }
|
|
@media (min-width: 782px) {
|
|
.block-editor-editor-skeleton {
|
|
top: 32px; }
|
|
.is-fullscreen-mode .block-editor-editor-skeleton {
|
|
top: 0; } }
|
|
|
|
.block-editor-editor-skeleton {
|
|
/* Set left position when auto-fold is not on the body element. */
|
|
right: 0; }
|
|
@media (min-width: 782px) {
|
|
.block-editor-editor-skeleton {
|
|
right: 160px; } }
|
|
|
|
.auto-fold .block-editor-editor-skeleton {
|
|
/* Auto fold is when on smaller breakpoints, nav menu auto collapses. */ }
|
|
@media (min-width: 782px) {
|
|
.auto-fold .block-editor-editor-skeleton {
|
|
right: 36px; } }
|
|
@media (min-width: 961px) {
|
|
.auto-fold .block-editor-editor-skeleton {
|
|
right: 160px; } }
|
|
|
|
/* Sidebar manually collapsed. */
|
|
.folded .block-editor-editor-skeleton {
|
|
right: 0; }
|
|
@media (min-width: 782px) {
|
|
.folded .block-editor-editor-skeleton {
|
|
right: 36px; } }
|
|
|
|
/* Mobile menu opened. */
|
|
@media (max-width: 782px) {
|
|
.auto-fold .wp-responsive-open .block-editor-editor-skeleton {
|
|
right: 190px; } }
|
|
|
|
/* In small screens with responsive menu expanded there is small white space. */
|
|
@media (max-width: 600px) {
|
|
.auto-fold .wp-responsive-open .block-editor-editor-skeleton {
|
|
margin-right: -18px; } }
|
|
|
|
body.is-fullscreen-mode .block-editor-editor-skeleton {
|
|
right: 0 !important; }
|
|
|
|
.block-editor-editor-skeleton__body {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
overflow: auto;
|
|
overscroll-behavior-y: none; }
|
|
|
|
.block-editor-editor-skeleton__content {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column; }
|
|
@media (min-width: 782px) {
|
|
.block-editor-editor-skeleton__content {
|
|
overflow: auto; } }
|
|
|
|
.block-editor-editor-skeleton__sidebar {
|
|
display: none; }
|
|
@media (min-width: 782px) {
|
|
.block-editor-editor-skeleton__sidebar {
|
|
display: block;
|
|
z-index: 100000;
|
|
position: fixed !important;
|
|
top: -9999em;
|
|
bottom: auto;
|
|
right: auto;
|
|
left: 0;
|
|
width: 280px; }
|
|
.block-editor-editor-skeleton__sidebar:focus {
|
|
top: auto;
|
|
bottom: 0; } }
|
|
|
|
.is-sidebar-opened .block-editor-editor-skeleton__sidebar {
|
|
display: block;
|
|
width: auto;
|
|
flex-shrink: 0;
|
|
position: absolute;
|
|
z-index: 100000;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
background: #fff; }
|
|
@media (min-width: 782px) {
|
|
.is-sidebar-opened .block-editor-editor-skeleton__sidebar {
|
|
overflow: auto;
|
|
border-right: 1px solid #e2e4e7;
|
|
position: relative !important;
|
|
z-index: 90; } }
|
|
|
|
.block-editor-editor-skeleton__header {
|
|
flex-shrink: 0;
|
|
height: auto;
|
|
border-bottom: 1px solid #e2e4e7;
|
|
z-index: 30;
|
|
position: -webkit-sticky;
|
|
position: sticky;
|
|
top: 0; }
|
|
@media (min-width: 600px) {
|
|
.block-editor-editor-skeleton__header {
|
|
position: initial;
|
|
top: 0; } }
|
|
|
|
.block-editor-editor-skeleton__footer {
|
|
height: auto;
|
|
flex-shrink: 0;
|
|
overflow: auto;
|
|
border-top: 1px solid #e2e4e7;
|
|
display: none; }
|
|
@media (min-width: 782px) {
|
|
.block-editor-editor-skeleton__footer {
|
|
display: block; } }
|
|
|
|
.block-editor-editor-skeleton__publish {
|
|
z-index: 100000;
|
|
position: fixed !important;
|
|
top: -9999em;
|
|
bottom: auto;
|
|
right: auto;
|
|
left: 0;
|
|
width: 280px; }
|
|
.block-editor-editor-skeleton__publish:focus {
|
|
top: auto;
|
|
bottom: 0; }
|
|
|
|
.block-editor-link-control {
|
|
position: relative;
|
|
min-width: 360px; }
|
|
|
|
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] {
|
|
width: calc(100% - 32px);
|
|
display: block;
|
|
padding: 11px 16px;
|
|
margin: 16px;
|
|
padding-left: 36px;
|
|
position: relative;
|
|
border: 1px solid #e1e1e1;
|
|
border-radius: 4px;
|
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
font-size: 16px; }
|
|
@media (min-width: 600px) {
|
|
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] {
|
|
font-size: 13px; } }
|
|
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]:focus {
|
|
color: #191e23;
|
|
border-color: #007cba;
|
|
box-shadow: 0 0 0 1px #007cba;
|
|
outline: 2px solid transparent; }
|
|
|
|
.block-editor-link-control__search-actions {
|
|
position: absolute;
|
|
/*
|
|
* Actions must be positioned on top of URLInput, since the input will grow
|
|
* when suggestions are rendered.
|
|
*
|
|
* Compensate for:
|
|
* - Input margin ($grid-size-large)
|
|
* - Border (1px)
|
|
* - Vertically, for the difference in height between the input (40px) and
|
|
* the icon buttons.
|
|
* - Horizontally, pad to the minimum of: default input padding, or the
|
|
* equivalent of the vertical padding.
|
|
*/
|
|
top: 19px;
|
|
left: 19px; }
|
|
|
|
.block-editor-link-control__search-results-wrapper {
|
|
position: relative;
|
|
margin-top: -15px; }
|
|
.block-editor-link-control__search-results-wrapper::before, .block-editor-link-control__search-results-wrapper::after {
|
|
content: "";
|
|
position: absolute;
|
|
right: -1px;
|
|
left: 16px;
|
|
display: block;
|
|
pointer-events: none;
|
|
z-index: 100; }
|
|
.block-editor-link-control__search-results-wrapper::before {
|
|
height: 8px;
|
|
top: 0;
|
|
bottom: auto;
|
|
background: linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 100%); }
|
|
.block-editor-link-control__search-results-wrapper::after {
|
|
height: 16px;
|
|
bottom: 0;
|
|
top: auto;
|
|
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 100%); }
|
|
|
|
.block-editor-link-control__search-results-label {
|
|
padding: 15px 30px 0 30px;
|
|
display: block;
|
|
font-size: 1.1em; }
|
|
|
|
.block-editor-link-control__search-results {
|
|
margin: 0;
|
|
padding: 8px 16px 16px;
|
|
max-height: 200px;
|
|
overflow-y: auto; }
|
|
.block-editor-link-control__search-results.is-loading {
|
|
opacity: 0.2; }
|
|
|
|
.block-editor-link-control__search-item {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
background: #fff;
|
|
width: 100%;
|
|
border: none;
|
|
text-align: right;
|
|
padding: 10px 15px;
|
|
border-radius: 5px;
|
|
height: auto; }
|
|
.block-editor-link-control__search-item:hover, .block-editor-link-control__search-item:focus {
|
|
background-color: #e9e9e9; }
|
|
.block-editor-link-control__search-item.is-selected {
|
|
background: #f2f2f2; }
|
|
.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type {
|
|
background: #fff; }
|
|
.block-editor-link-control__search-item.is-current {
|
|
background: transparent;
|
|
border: 0;
|
|
width: 100%;
|
|
cursor: default;
|
|
padding: 16px;
|
|
padding-right: 24px; }
|
|
.block-editor-link-control__search-item .block-editor-link-control__search-item-header {
|
|
display: block;
|
|
margin-left: 24px;
|
|
overflow: hidden;
|
|
white-space: nowrap; }
|
|
.block-editor-link-control__search-item .block-editor-link-control__search-item-icon {
|
|
margin-left: 1em;
|
|
min-width: 24px; }
|
|
.block-editor-link-control__search-item .block-editor-link-control__search-item-info,
|
|
.block-editor-link-control__search-item .block-editor-link-control__search-item-title {
|
|
max-width: 230px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis; }
|
|
.block-editor-link-control__search-item .block-editor-link-control__search-item-title {
|
|
display: block;
|
|
margin-bottom: 0.2em;
|
|
font-weight: 500; }
|
|
.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark {
|
|
font-weight: 700;
|
|
color: #000;
|
|
background-color: transparent; }
|
|
.block-editor-link-control__search-item .block-editor-link-control__search-item-title span {
|
|
font-weight: normal; }
|
|
.block-editor-link-control__search-item .block-editor-link-control__search-item-info {
|
|
display: block;
|
|
color: #999;
|
|
font-size: 0.9em;
|
|
line-height: 1.3; }
|
|
.block-editor-link-control__search-item .block-editor-link-control__search-item-type {
|
|
display: block;
|
|
padding: 3px 8px;
|
|
margin-right: auto;
|
|
font-size: 0.9em;
|
|
background-color: #f3f4f5;
|
|
border-radius: 2px; }
|
|
|
|
.block-editor-link-control__search-results div[role="menu"] > .block-editor-link-control__search-item.block-editor-link-control__search-item {
|
|
padding: 10px; }
|
|
|
|
.block-editor-link-control__settings {
|
|
border-top: 1px solid #e1e1e1;
|
|
margin: 0;
|
|
padding: 16px 24px; }
|
|
.block-editor-link-control__settings :last-child {
|
|
margin-bottom: 0; }
|
|
|
|
.block-editor-link-control__setting {
|
|
margin-bottom: 16px; }
|
|
.block-editor-link-control__setting :last-child {
|
|
margin-bottom: 0; }
|
|
|
|
.block-editor-link-control .block-editor-link-control__search-input .components-spinner {
|
|
display: block; }
|
|
.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner {
|
|
position: absolute;
|
|
right: auto;
|
|
bottom: auto;
|
|
/*
|
|
* Position spinner to the left of the actions.
|
|
*
|
|
* Compensate for:
|
|
* - Input margin ($grid-size-large)
|
|
* - Border (1px)
|
|
* - Vertically, for the difference in height between the input (40px)
|
|
* and the spinner.
|
|
* - Horizontally, adjust for the width occupied by the icon buttons,
|
|
* then artificially create spacing that mimics as if the spinner
|
|
* were center-padded to the same width as an icon button.
|
|
*/
|
|
top: 28px;
|
|
left: 62px; }
|
|
|
|
.block-editor-link-control__search-item-action {
|
|
margin-right: auto;
|
|
flex-shrink: 0; }
|
|
|
|
.block-editor-image-size-control {
|
|
margin-bottom: 1em; }
|
|
.block-editor-image-size-control .block-editor-image-size-control__row {
|
|
display: flex;
|
|
justify-content: space-between; }
|
|
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width,
|
|
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height {
|
|
margin-bottom: 0.5em; }
|
|
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input,
|
|
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input {
|
|
line-height: 1.25; }
|
|
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width {
|
|
margin-left: 5px; }
|
|
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height {
|
|
margin-right: 5px; }
|
|
|
|
.block-editor-inner-blocks.has-overlay::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: -14px;
|
|
left: -14px;
|
|
bottom: -14px;
|
|
right: -14px;
|
|
z-index: 60; }
|
|
|
|
[data-align="full"] .has-overlay::after {
|
|
left: 0;
|
|
right: 0; }
|
|
|
|
.block-editor-inserter {
|
|
display: inline-block;
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
font-size: 13px;
|
|
line-height: 1.4; }
|
|
@media (min-width: 782px) {
|
|
.block-editor-inserter {
|
|
position: relative; } }
|
|
|
|
@media (min-width: 782px) {
|
|
.block-editor-inserter__popover > .components-popover__content {
|
|
overflow-y: visible;
|
|
height: 432px; } }
|
|
|
|
.block-editor-inserter__toggle {
|
|
transition: color 0.2s ease; }
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.block-editor-inserter__toggle {
|
|
transition-duration: 0s; } }
|
|
|
|
.block-editor-inserter__menu {
|
|
height: 100%;
|
|
display: flex;
|
|
width: auto; }
|
|
@media (min-width: 782px) {
|
|
.block-editor-inserter__menu {
|
|
width: 400px;
|
|
position: relative; }
|
|
.block-editor-inserter__menu.has-help-panel {
|
|
width: 700px; } }
|
|
|
|
.block-editor-inserter__main-area {
|
|
width: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%; }
|
|
@media (min-width: 782px) {
|
|
.block-editor-inserter__main-area {
|
|
width: 400px;
|
|
position: relative; } }
|
|
|
|
.block-editor-inserter__inline-elements {
|
|
margin-top: -1px; }
|
|
|
|
.block-editor-inserter__menu.is-bottom::after {
|
|
border-bottom-color: #fff; }
|
|
|
|
.components-popover.block-editor-inserter__popover {
|
|
z-index: 99998; }
|
|
|
|
.components-popover input[type="search"].block-editor-inserter__search {
|
|
display: block;
|
|
margin: 16px;
|
|
padding: 11px 16px;
|
|
position: relative;
|
|
z-index: 1;
|
|
border-radius: 4px;
|
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
font-size: 16px; }
|
|
@media (min-width: 600px) {
|
|
.components-popover input[type="search"].block-editor-inserter__search {
|
|
font-size: 13px; } }
|
|
.components-popover input[type="search"].block-editor-inserter__search:focus {
|
|
color: #191e23;
|
|
border-color: #007cba;
|
|
box-shadow: 0 0 0 1px #007cba;
|
|
outline: 2px solid transparent; }
|
|
|
|
.block-editor-inserter__results {
|
|
flex-grow: 1;
|
|
overflow: auto;
|
|
position: relative;
|
|
z-index: 1;
|
|
padding: 0 16px 16px 16px; }
|
|
.block-editor-inserter__results:focus {
|
|
outline: 1px dotted #555d66; }
|
|
@media (min-width: 782px) {
|
|
.block-editor-inserter__results {
|
|
height: 394px; } }
|
|
.block-editor-inserter__results [role="presentation"] + .components-panel__body {
|
|
border-top: none; }
|
|
|
|
.block-editor-inserter__popover .block-editor-block-types-list {
|
|
margin: 0 -8px; }
|
|
|
|
.block-editor-inserter__reusable-blocks-panel {
|
|
position: relative;
|
|
text-align: left; }
|
|
|
|
.block-editor-inserter__manage-reusable-blocks {
|
|
margin: 16px 16px 0 0; }
|
|
|
|
.block-editor-inserter__no-results {
|
|
font-style: italic;
|
|
padding: 24px;
|
|
text-align: center; }
|
|
|
|
.block-editor-inserter__child-blocks {
|
|
padding: 0 16px; }
|
|
|
|
.block-editor-inserter__parent-block-header {
|
|
display: flex;
|
|
align-items: center; }
|
|
.block-editor-inserter__parent-block-header h2 {
|
|
font-size: 13px; }
|
|
.block-editor-inserter__parent-block-header .block-editor-block-icon {
|
|
margin-left: 8px; }
|
|
|
|
.block-editor-inserter__menu-help-panel {
|
|
display: none;
|
|
border-right: 1px solid #e2e4e7;
|
|
width: 300px;
|
|
height: 100%;
|
|
padding: 20px;
|
|
overflow-y: auto; }
|
|
@media (min-width: 782px) {
|
|
.block-editor-inserter__menu-help-panel {
|
|
display: flex;
|
|
flex-direction: column; } }
|
|
.block-editor-inserter__menu-help-panel .block-editor-block-card {
|
|
padding-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
border-bottom: 1px solid #e2e4e7;
|
|
animation: edit-post__fade-in-animation 0.2s ease-out 0s;
|
|
animation-fill-mode: forwards; }
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.block-editor-inserter__menu-help-panel .block-editor-block-card {
|
|
animation-duration: 1ms; } }
|
|
.block-editor-inserter__menu-help-panel .block-editor-inserter__preview {
|
|
display: flex;
|
|
flex-grow: 2; }
|
|
|
|
.block-editor-inserter__menu-help-panel-no-block {
|
|
display: flex;
|
|
height: 100%;
|
|
flex-direction: column;
|
|
animation: edit-post__fade-in-animation 0.2s ease-out 0s;
|
|
animation-fill-mode: forwards; }
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.block-editor-inserter__menu-help-panel-no-block {
|
|
animation-duration: 1ms; } }
|
|
.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text {
|
|
flex-grow: 1; }
|
|
.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text h4 {
|
|
font-size: 18px; }
|
|
.block-editor-inserter__menu-help-panel-no-block .components-notice {
|
|
margin: 0; }
|
|
.block-editor-inserter__menu-help-panel-no-block h4 {
|
|
margin-top: 0; }
|
|
|
|
.block-editor-inserter__menu-help-panel-hover-area {
|
|
flex-grow: 1;
|
|
margin-top: 20px;
|
|
padding: 20px;
|
|
border: 1px dotted #e2e4e7;
|
|
display: flex;
|
|
align-items: center;
|
|
text-align: center; }
|
|
|
|
.block-editor-inserter__menu-help-panel-title {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
margin-bottom: 20px; }
|
|
|
|
.block-editor-inserter__preview-content {
|
|
border: 1px solid #e2e4e7;
|
|
border-radius: 4px;
|
|
min-height: 150px;
|
|
display: -ms-grid;
|
|
display: grid;
|
|
flex-grow: 2; }
|
|
.block-editor-inserter__preview-content .block-editor-block-preview__container {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
padding: 10px; }
|
|
|
|
.block-editor-inserter__preview-content-missing {
|
|
flex: 1;
|
|
display: flex;
|
|
justify-content: center;
|
|
color: #606a73;
|
|
border: 1px solid #e2e4e7;
|
|
border-radius: 4px;
|
|
align-items: center; }
|
|
|
|
.block-editor-block-types-list__list-item {
|
|
display: block;
|
|
width: 33.33%;
|
|
padding: 0;
|
|
margin: 0 0 12px; }
|
|
|
|
.components-button.block-editor-block-types-list__item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
font-size: 13px;
|
|
color: #32373c;
|
|
padding: 0 4px;
|
|
align-items: stretch;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
background: transparent;
|
|
word-break: break-word;
|
|
border-radius: 4px;
|
|
border: 1px solid transparent;
|
|
transition: all 0.05s ease-in-out;
|
|
position: relative;
|
|
height: auto; }
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.components-button.block-editor-block-types-list__item {
|
|
transition-duration: 0s; } }
|
|
.components-button.block-editor-block-types-list__item:disabled {
|
|
opacity: 0.6;
|
|
cursor: default; }
|
|
.components-button.block-editor-block-types-list__item:not(:disabled):hover::before {
|
|
content: "";
|
|
display: block;
|
|
background: #f3f4f5;
|
|
color: #191e23;
|
|
position: absolute;
|
|
z-index: -1;
|
|
border-radius: 4px;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0; }
|
|
.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,
|
|
.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title {
|
|
color: inherit; }
|
|
.components-button.block-editor-block-types-list__item:not(:disabled):active, .components-button.block-editor-block-types-list__item:not(:disabled):focus {
|
|
position: relative;
|
|
color: #191e23;
|
|
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #00a0d2;
|
|
outline: 2px solid transparent;
|
|
background: transparent; }
|
|
.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,
|
|
.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title, .components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,
|
|
.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title {
|
|
color: inherit; }
|
|
.components-button.block-editor-block-types-list__item:not(:disabled).is-active {
|
|
color: #191e23;
|
|
box-shadow: inset 0 0 0 2px #555d66;
|
|
outline: 2px solid transparent;
|
|
outline-offset: -2px; }
|
|
.components-button.block-editor-block-types-list__item:not(:disabled).is-active:focus {
|
|
color: #191e23;
|
|
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #00a0d2, inset 0 0 0 2px #555d66;
|
|
outline: 4px solid transparent;
|
|
outline-offset: -4px; }
|
|
|
|
.block-editor-block-types-list__item-icon {
|
|
padding: 12px 20px;
|
|
border-radius: 4px;
|
|
color: #555d66;
|
|
transition: all 0.05s ease-in-out; }
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.block-editor-block-types-list__item-icon {
|
|
transition-duration: 0s; } }
|
|
.block-editor-block-types-list__item-icon .block-editor-block-icon {
|
|
margin-right: auto;
|
|
margin-left: auto; }
|
|
.block-editor-block-types-list__item-icon svg {
|
|
transition: all 0.15s ease-out; }
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.block-editor-block-types-list__item-icon svg {
|
|
transition-duration: 0s; } }
|
|
|
|
.block-editor-block-types-list__item-title {
|
|
padding: 4px 2px 8px; }
|
|
|
|
.modal-open .block-editor-media-replace-flow__options {
|
|
display: none; }
|
|
|
|
.block-editor-media-replace-flow__indicator {
|
|
margin-right: 4px; }
|
|
.block-editor-media-replace-flow__indicator::after {
|
|
content: "";
|
|
pointer-events: none;
|
|
display: block;
|
|
width: 0;
|
|
height: 0;
|
|
border-right: 3px solid transparent;
|
|
border-left: 3px solid transparent;
|
|
border-top: 5px solid;
|
|
margin-right: 4px;
|
|
margin-left: 2px; }
|
|
|
|
.block-editor-media-flow__url-input {
|
|
padding: 0 15px;
|
|
max-width: 255px;
|
|
padding-bottom: 10px; }
|
|
.block-editor-media-flow__url-input input {
|
|
max-width: 180px; }
|
|
|
|
.block-editor-media-replace-flow__link-viewer .components-external-link__icon {
|
|
display: none; }
|
|
|
|
.block-editor-media-replace-flow__link-viewer .components-visually-hidden {
|
|
position: initial; }
|
|
|
|
.block-editor-media-replace-flow__link-viewer .components-button {
|
|
flex-shrink: 0; }
|
|
|
|
.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button {
|
|
margin-bottom: 0; }
|
|
|
|
.block-editor-media-placeholder__url-input-form {
|
|
display: flex; }
|
|
.block-editor-media-placeholder__url-input-form input[type="url"].block-editor-media-placeholder__url-input-field {
|
|
width: 100%;
|
|
flex-grow: 1;
|
|
border: none;
|
|
border-radius: 0;
|
|
margin: 2px; }
|
|
@media (min-width: 600px) {
|
|
.block-editor-media-placeholder__url-input-form input[type="url"].block-editor-media-placeholder__url-input-field {
|
|
width: 300px; } }
|
|
|
|
.block-editor-media-placeholder__url-input-submit-button {
|
|
flex-shrink: 1; }
|
|
|
|
.block-editor-media-placeholder__button {
|
|
margin-bottom: 0.5rem; }
|
|
.block-editor-media-placeholder__button .dashicon {
|
|
vertical-align: middle;
|
|
margin-bottom: 3px; }
|
|
.block-editor-media-placeholder__button:hover {
|
|
color: #23282d; }
|
|
|
|
.block-editor-media-placeholder__cancel-button.is-link {
|
|
margin: 1em;
|
|
display: block; }
|
|
|
|
.block-editor-media-placeholder.is-appender {
|
|
min-height: 100px;
|
|
outline: 1px dashed #8d96a0; }
|
|
.block-editor-media-placeholder.is-appender:hover {
|
|
outline: 1px dashed #555d66;
|
|
cursor: pointer; }
|
|
.is-dark-theme .block-editor-media-placeholder.is-appender:hover {
|
|
outline: 1px dashed #fff; }
|
|
.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button {
|
|
margin-left: 4px; }
|
|
.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:hover, .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:focus {
|
|
box-shadow: none;
|
|
border: 1px solid #555d66; }
|
|
|
|
.block-editor-multi-selection-inspector__card {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
padding: 16px; }
|
|
|
|
.block-editor-multi-selection-inspector__card-content {
|
|
flex-grow: 1; }
|
|
|
|
.block-editor-multi-selection-inspector__card-title {
|
|
font-weight: 500;
|
|
margin-bottom: 5px; }
|
|
|
|
.block-editor-multi-selection-inspector__card-description {
|
|
font-size: 13px; }
|
|
|
|
.block-editor-multi-selection-inspector__card .block-editor-block-icon {
|
|
margin-right: -2px;
|
|
margin-left: 10px;
|
|
padding: 0 3px;
|
|
width: 36px;
|
|
height: 24px; }
|
|
|
|
.block-editor .block-editor-plain-text {
|
|
box-shadow: none;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
color: inherit;
|
|
line-height: inherit;
|
|
border: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
width: 100%; }
|
|
|
|
.block-editor-responsive-block-control {
|
|
margin-bottom: 28px;
|
|
border-bottom: 1px solid #d7dade;
|
|
padding-bottom: 14px; }
|
|
.block-editor-responsive-block-control:last-child {
|
|
padding-bottom: 0;
|
|
border-bottom: 0; }
|
|
|
|
.block-editor-responsive-block-control__title {
|
|
margin: 0;
|
|
margin-bottom: 0.6em;
|
|
margin-right: -3px; }
|
|
|
|
.block-editor-responsive-block-control__label {
|
|
font-weight: 600;
|
|
margin-bottom: 0.6em;
|
|
margin-right: -3px; }
|
|
|
|
.block-editor-responsive-block-control__inner {
|
|
margin-right: -1px; }
|
|
|
|
.block-editor-responsive-block-control__toggle {
|
|
margin-right: 1px; }
|
|
|
|
.block-editor-responsive-block-control .components-base-control__help {
|
|
border: 0;
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
-webkit-clip-path: inset(50%);
|
|
clip-path: inset(50%);
|
|
height: 1px;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
position: absolute;
|
|
width: 1px;
|
|
word-wrap: normal !important; }
|
|
|
|
.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator::after {
|
|
margin: 7px; }
|
|
|
|
.block-editor-rich-text__editable > p:first-child {
|
|
margin-top: 0; }
|
|
|
|
.block-editor-rich-text__editable a {
|
|
color: #007fac; }
|
|
|
|
.block-editor-rich-text__editable code {
|
|
padding: 2px;
|
|
border-radius: 2px;
|
|
color: #23282d;
|
|
background: #f3f4f5;
|
|
font-family: Menlo, Consolas, monaco, monospace;
|
|
font-size: inherit; }
|
|
|
|
.block-editor-rich-text__editable [data-rich-text-placeholder] {
|
|
pointer-events: none; }
|
|
|
|
.block-editor-rich-text__editable [data-rich-text-placeholder]::after {
|
|
content: attr(data-rich-text-placeholder);
|
|
opacity: 0.62; }
|
|
|
|
.block-editor-rich-text__editable:focus {
|
|
outline: none; }
|
|
.block-editor-rich-text__editable:focus [data-rich-text-format-boundary] {
|
|
border-radius: 2px; }
|
|
.block-editor-rich-text__editable:focus:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]::after {
|
|
display: none; }
|
|
|
|
figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before {
|
|
opacity: 0.8; }
|
|
|
|
.components-popover.block-editor-rich-text__inline-format-toolbar {
|
|
z-index: 99998; }
|
|
.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content {
|
|
min-width: auto;
|
|
margin-bottom: 6px; }
|
|
.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar {
|
|
border: none; }
|
|
|
|
.block-editor-skip-to-selected-block {
|
|
position: absolute;
|
|
top: -9999em; }
|
|
.block-editor-skip-to-selected-block:focus {
|
|
height: auto;
|
|
width: auto;
|
|
display: block;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
padding: 15px 23px 14px;
|
|
background: #f1f1f1;
|
|
color: #11a0d2;
|
|
line-height: normal;
|
|
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
|
text-decoration: none;
|
|
outline: none;
|
|
z-index: 100000; }
|
|
body.admin-color-sunrise .block-editor-skip-to-selected-block:focus {
|
|
color: #c8b03c; }
|
|
body.admin-color-ocean .block-editor-skip-to-selected-block:focus {
|
|
color: #a89d8a; }
|
|
body.admin-color-midnight .block-editor-skip-to-selected-block:focus {
|
|
color: #77a6b9; }
|
|
body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus {
|
|
color: #c77430; }
|
|
body.admin-color-coffee .block-editor-skip-to-selected-block:focus {
|
|
color: #9fa47b; }
|
|
body.admin-color-blue .block-editor-skip-to-selected-block:focus {
|
|
color: #d9ab59; }
|
|
body.admin-color-light .block-editor-skip-to-selected-block:focus {
|
|
color: #c75726; }
|
|
|
|
.block-editor-tool-selector__help {
|
|
padding: 16px;
|
|
border-top: 1px solid #e2e4e7;
|
|
color: #6c7781; }
|
|
|
|
.block-editor-block-list__block .block-editor-url-input,
|
|
.components-popover .block-editor-url-input,
|
|
.block-editor-url-input {
|
|
flex-grow: 1;
|
|
position: relative;
|
|
padding: 1px; }
|
|
.block-editor-block-list__block .block-editor-url-input input[type="text"],
|
|
.components-popover .block-editor-url-input input[type="text"],
|
|
.block-editor-url-input input[type="text"] {
|
|
width: 100%;
|
|
padding: 8px;
|
|
border: none;
|
|
border-radius: 0;
|
|
margin-right: 0;
|
|
margin-left: 0;
|
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
font-size: 16px; }
|
|
@media (min-width: 600px) {
|
|
.block-editor-block-list__block .block-editor-url-input input[type="text"],
|
|
.components-popover .block-editor-url-input input[type="text"],
|
|
.block-editor-url-input input[type="text"] {
|
|
width: 300px; } }
|
|
@media (min-width: 600px) {
|
|
.block-editor-block-list__block .block-editor-url-input input[type="text"],
|
|
.components-popover .block-editor-url-input input[type="text"],
|
|
.block-editor-url-input input[type="text"] {
|
|
font-size: 13px; } }
|
|
.block-editor-block-list__block .block-editor-url-input input[type="text"]::-ms-clear,
|
|
.components-popover .block-editor-url-input input[type="text"]::-ms-clear,
|
|
.block-editor-url-input input[type="text"]::-ms-clear {
|
|
display: none; }
|
|
.block-editor-block-list__block .block-editor-url-input.has-border input[type="text"],
|
|
.components-popover .block-editor-url-input.has-border input[type="text"],
|
|
.block-editor-url-input.has-border input[type="text"] {
|
|
border: 1px solid #555d66;
|
|
border-radius: 4px; }
|
|
.block-editor-block-list__block .block-editor-url-input.is-full-width,
|
|
.components-popover .block-editor-url-input.is-full-width,
|
|
.block-editor-url-input.is-full-width {
|
|
width: 100%; }
|
|
.block-editor-block-list__block .block-editor-url-input.is-full-width input[type="text"],
|
|
.components-popover .block-editor-url-input.is-full-width input[type="text"],
|
|
.block-editor-url-input.is-full-width input[type="text"] {
|
|
width: 100%; }
|
|
.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,
|
|
.components-popover .block-editor-url-input.is-full-width__suggestions,
|
|
.block-editor-url-input.is-full-width__suggestions {
|
|
width: 100%; }
|
|
.block-editor-block-list__block .block-editor-url-input .components-spinner,
|
|
.components-popover .block-editor-url-input .components-spinner,
|
|
.block-editor-url-input .components-spinner {
|
|
position: absolute;
|
|
left: 8px;
|
|
bottom: 17px;
|
|
margin: 0; }
|
|
|
|
.block-editor-url-input__suggestions {
|
|
max-height: 200px;
|
|
transition: all 0.15s ease-in-out;
|
|
padding: 4px 0;
|
|
width: 302px;
|
|
overflow-y: auto; }
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.block-editor-url-input__suggestions {
|
|
transition-duration: 0s; } }
|
|
|
|
.block-editor-url-input__suggestions,
|
|
.block-editor-url-input .components-spinner {
|
|
display: none; }
|
|
@media (min-width: 600px) {
|
|
.block-editor-url-input__suggestions,
|
|
.block-editor-url-input .components-spinner {
|
|
display: inherit; } }
|
|
|
|
.block-editor-url-input__suggestion {
|
|
padding: 4px 8px;
|
|
color: #6c7781;
|
|
display: block;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
background: #fff;
|
|
width: 100%;
|
|
border: none;
|
|
text-align: right;
|
|
border: none;
|
|
box-shadow: none; }
|
|
.block-editor-url-input__suggestion:hover {
|
|
background: #e2e4e7; }
|
|
.block-editor-url-input__suggestion:focus, .block-editor-url-input__suggestion.is-selected {
|
|
background: rgb(0, 113, 158);
|
|
color: #fff;
|
|
outline: none; }
|
|
body.admin-color-sunrise .block-editor-url-input__suggestion:focus, body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected {
|
|
background: rgb(178, 114, 63); }
|
|
body.admin-color-ocean .block-editor-url-input__suggestion:focus, body.admin-color-ocean .block-editor-url-input__suggestion.is-selected {
|
|
background: rgb(139, 157, 138); }
|
|
body.admin-color-midnight .block-editor-url-input__suggestion:focus, body.admin-color-midnight .block-editor-url-input__suggestion.is-selected {
|
|
background: rgb(191, 65, 57); }
|
|
body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus, body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected {
|
|
background: rgb(142, 155, 73); }
|
|
body.admin-color-coffee .block-editor-url-input__suggestion:focus, body.admin-color-coffee .block-editor-url-input__suggestion.is-selected {
|
|
background: rgb(165, 141, 119); }
|
|
body.admin-color-blue .block-editor-url-input__suggestion:focus, body.admin-color-blue .block-editor-url-input__suggestion.is-selected {
|
|
background: rgb(111, 153, 173); }
|
|
body.admin-color-light .block-editor-url-input__suggestion:focus, body.admin-color-light .block-editor-url-input__suggestion.is-selected {
|
|
background: rgb(0, 113, 158); }
|
|
|
|
.components-toolbar > .block-editor-url-input__button {
|
|
position: inherit; }
|
|
|
|
.block-editor-url-input__button .block-editor-url-input__back {
|
|
margin-left: 4px;
|
|
overflow: visible; }
|
|
.block-editor-url-input__button .block-editor-url-input__back::after {
|
|
content: "";
|
|
position: absolute;
|
|
display: block;
|
|
width: 1px;
|
|
height: 24px;
|
|
left: -1px;
|
|
background: #e2e4e7; }
|
|
|
|
.block-editor-url-input__button-modal {
|
|
box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);
|
|
border: 1px solid #e2e4e7;
|
|
background: #fff; }
|
|
|
|
.block-editor-url-input__button-modal-line {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-grow: 1;
|
|
flex-shrink: 1;
|
|
min-width: 0;
|
|
align-items: flex-start; }
|
|
.block-editor-url-input__button-modal-line .components-button {
|
|
flex-shrink: 0;
|
|
width: 36px;
|
|
height: 36px; }
|
|
|
|
.block-editor-url-popover__additional-controls {
|
|
border-top: 1px solid #e2e4e7; }
|
|
|
|
.block-editor-url-popover__additional-controls > div[role="menu"] .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary) > svg {
|
|
box-shadow: none; }
|
|
|
|
.block-editor-url-popover__additional-controls div[role="menu"] > .components-button {
|
|
padding-right: 2px; }
|
|
|
|
.block-editor-url-popover__row {
|
|
display: flex; }
|
|
|
|
.block-editor-url-popover__row > :not(.block-editor-url-popover__settings-toggle) {
|
|
flex-grow: 1; }
|
|
|
|
.block-editor-url-popover .components-button.has-icon {
|
|
padding: 3px; }
|
|
.block-editor-url-popover .components-button.has-icon > svg {
|
|
padding: 5px;
|
|
border-radius: 4px;
|
|
height: 30px;
|
|
width: 30px; }
|
|
.block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover {
|
|
box-shadow: none; }
|
|
.block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover > svg {
|
|
color: #555d66;
|
|
box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; }
|
|
.block-editor-url-popover .components-button.has-icon:not(:disabled):focus {
|
|
box-shadow: none; }
|
|
.block-editor-url-popover .components-button.has-icon:not(:disabled):focus > svg {
|
|
box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff;
|
|
outline: 2px solid transparent; }
|
|
|
|
.block-editor-url-popover__settings-toggle {
|
|
flex-shrink: 0;
|
|
border-radius: 0;
|
|
border-right: 1px solid #e2e4e7;
|
|
margin-right: 1px; }
|
|
.block-editor-url-popover__settings-toggle[aria-expanded="true"] .dashicon {
|
|
transform: rotate(-180deg); }
|
|
|
|
.block-editor-url-popover__input-container .components-base-control:last-child,
|
|
.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field {
|
|
margin-bottom: 0; }
|
|
|
|
.block-editor-url-popover__settings {
|
|
display: block;
|
|
padding: 16px;
|
|
border-top: 1px solid #e2e4e7; }
|
|
|
|
.block-editor-url-popover__link-editor,
|
|
.block-editor-url-popover__link-viewer {
|
|
display: flex; }
|
|
.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,
|
|
.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field {
|
|
margin-bottom: 0; }
|
|
.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,
|
|
.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner {
|
|
bottom: 9px; }
|
|
|
|
.block-editor-url-popover__link-viewer-url {
|
|
margin: 7px;
|
|
flex-grow: 1;
|
|
flex-shrink: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
min-width: 150px;
|
|
max-width: 500px; }
|
|
.block-editor-url-popover__link-viewer-url.has-invalid-link {
|
|
color: #d94f4f; }
|
|
|
|
.block-editor-warning {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
flex-wrap: nowrap;
|
|
background-color: #fff;
|
|
border: 1px solid #e2e4e7;
|
|
text-align: right;
|
|
padding: 10px 14px 14px; }
|
|
.is-selected .block-editor-warning {
|
|
border-color: rgba(66, 88, 99, 0.4); }
|
|
@media (min-width: 600px) {
|
|
.is-selected .block-editor-warning {
|
|
border-right-color: transparent; } }
|
|
.is-dark-theme .is-selected .block-editor-warning {
|
|
border-color: rgba(255, 255, 255, 0.45); }
|
|
.block-editor-warning .block-editor-warning__message {
|
|
line-height: 1.4;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
font-size: 13px;
|
|
margin: 1em 0; }
|
|
.block-editor-warning p.block-editor-warning__message.block-editor-warning__message {
|
|
min-height: auto; }
|
|
.block-editor-warning .block-editor-warning__contents {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
width: 100%; }
|
|
.block-editor-warning .block-editor-warning__actions {
|
|
display: flex; }
|
|
.block-editor-warning .block-editor-warning__action {
|
|
margin: 0 0 0 6px; }
|
|
|
|
.block-editor-warning__secondary {
|
|
margin: 5px -4px 0 0;
|
|
height: 36px; }
|
|
.block-editor-warning__secondary .components-button.has-icon {
|
|
width: auto;
|
|
padding: 0 2px; }
|
|
@media (min-width: 600px) {
|
|
.block-editor-warning__secondary {
|
|
margin-right: 4px; }
|
|
.block-editor-warning__secondary .components-button.has-icon {
|
|
padding: 0 4px; } }
|
|
.block-editor-warning__secondary .components-button svg {
|
|
transform: rotate(-90deg); }
|
|
|
|
.block-editor-writing-flow {
|
|
display: flex;
|
|
flex-direction: column; }
|
|
|
|
.block-editor-writing-flow__click-redirect {
|
|
cursor: text; }
|
|
|
|
.html-anchor-control .components-external-link {
|
|
display: block;
|
|
margin-top: 8px; }
|