2020-07-27 16:10:36 -04:00
|
|
|
@charset "UTF-8";
|
2019-03-21 08:48:00 -04:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Breakpoints & Media Queries
|
|
|
|
*/
|
2021-01-27 21:04:13 -05:00
|
|
|
/**
|
|
|
|
* 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.
|
2021-02-07 22:37:09 -05:00
|
|
|
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
2021-01-27 21:04:13 -05:00
|
|
|
*/
|
2020-01-22 17:06:21 -05:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
2019-03-21 08:48:00 -04:00
|
|
|
/**
|
2020-06-26 09:33:47 -04:00
|
|
|
* Fonts & basic variables.
|
2019-03-21 08:48:00 -04:00
|
|
|
*/
|
2020-05-05 19:56:33 -04:00
|
|
|
/**
|
|
|
|
* Grid System.
|
|
|
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
|
|
*/
|
2020-06-26 09:33:47 -04:00
|
|
|
/**
|
|
|
|
* Dimensions.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Shadows.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Editor widths.
|
|
|
|
*/
|
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* Block & Editor UI.
|
2020-06-26 09:33:47 -04:00
|
|
|
*/
|
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* Block paddings.
|
2020-06-26 09:33:47 -04:00
|
|
|
*/
|
2020-10-13 09:10:30 -04:00
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* React Native specific.
|
|
|
|
* These variables do not appear to be used anywhere else.
|
2020-10-13 09:10:30 -04:00
|
|
|
*/
|
2019-03-21 08:48:00 -04:00
|
|
|
/**
|
|
|
|
* Breakpoint mixins
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Long content fade mixin
|
|
|
|
*
|
|
|
|
* Creates a fading overlay to signify that the content is longer
|
|
|
|
* than the space allows.
|
|
|
|
*/
|
|
|
|
/**
|
2020-06-26 09:33:47 -04:00
|
|
|
* Focus styles.
|
2019-03-21 08:48:00 -04:00
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
2019-09-19 11:19:18 -04:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
2021-01-27 21:04:13 -05:00
|
|
|
/**
|
|
|
|
* These are default block editor widths in case the theme doesn't provide them.
|
|
|
|
*/
|
2020-06-26 09:33:47 -04:00
|
|
|
:root {
|
|
|
|
--wp-admin-theme-color: #007cba;
|
|
|
|
--wp-admin-theme-color-darker-10: #006ba1;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #005a87;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
:root {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
#start-resizable-editor-section {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: none;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2021-01-27 21:04:13 -05:00
|
|
|
.block-editor-autocompleters__block {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-autocompleters__block .block-editor-block-icon {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-block-alignment-matrix-toolbar__popover .components-popover__content {
|
|
|
|
min-width: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.block-editor-block-alignment-matrix-toolbar__popover .components-popover__content > div {
|
|
|
|
padding: 8px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2019-03-21 08:48:00 -04:00
|
|
|
.block-editor-block-icon {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
width: 24px;
|
2021-01-27 21:04:13 -05:00
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.block-editor-block-inspector .components-base-control {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
.block-editor-block-inspector .components-base-control:last-child {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
.block-editor-block-inspector .components-panel__body {
|
|
|
|
border: none;
|
2021-01-27 21:04:13 -05:00
|
|
|
border-top: 1px solid #e0e0e0;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
.block-editor-block-inspector .block-editor-block-card {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 16px;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
2019-03-21 08:48:00 -04:00
|
|
|
.block-editor-block-inspector__no-blocks {
|
|
|
|
display: block;
|
|
|
|
font-size: 13px;
|
|
|
|
background: #fff;
|
|
|
|
padding: 32px 16px;
|
2021-01-27 21:04:13 -05:00
|
|
|
text-align: center;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-styles .block-editor-block-list__block {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
/**
|
|
|
|
* Notices & Block Selected/Hover Styles.
|
|
|
|
*/
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block,
|
|
|
|
.block-editor-block-list__layout .block-list-appender {
|
2021-01-27 21:04:13 -05:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before,
|
|
|
|
.block-editor-block-list__layout .block-list-appender.is-drop-target::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
z-index: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear;
|
|
|
|
top: -14px;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
border-top: 4px solid #007cba;
|
|
|
|
border-top: 4px solid var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-drop-target.is-dropping-horizontally::before,
|
|
|
|
.block-editor-block-list__layout .block-list-appender.is-drop-target.is-dropping-horizontally::before {
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: -6px;
|
|
|
|
border-top: none;
|
|
|
|
border-left: 4px solid #007cba;
|
|
|
|
border-left: 4px solid var(--wp-admin-theme-color);
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
/**
|
2020-01-08 06:57:23 -05:00
|
|
|
* Cross-Block Selection
|
2019-03-21 08:48:00 -04:00
|
|
|
*/
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-list__layout {
|
2021-01-27 21:04:13 -05:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after, .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered::after,
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after,
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1;
|
|
|
|
pointer-events: none;
|
|
|
|
content: "";
|
|
|
|
top: 1px;
|
|
|
|
bottom: 1px;
|
|
|
|
left: 1px;
|
|
|
|
right: 1px;
|
|
|
|
box-shadow: 0 0 0 2px #007cba;
|
|
|
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
border-radius: 1px;
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
|
|
|
.is-dark-theme .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after, .is-dark-theme .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered::after,
|
|
|
|
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after,
|
|
|
|
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after {
|
|
|
|
box-shadow: 0 0 0 2px #fff;
|
|
|
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff;
|
|
|
|
}
|
|
|
|
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected .components-placeholder ::selection, .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered .components-placeholder ::selection,
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted .components-placeholder ::selection,
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:not(.is-selected)::after {
|
|
|
|
box-shadow: 0 0 0 1px #949494;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.has-child-selected {
|
|
|
|
box-shadow: 0 0 0 2px #007cba;
|
|
|
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
outline: var(--wp-admin-border-width-focus) solid transparent;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
z-index: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
top: -14px;
|
|
|
|
border-radius: 2px;
|
|
|
|
border-top: 4px solid #ccc;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected::after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__layout .is-block-moving-mode.can-insert-moving-block.block-editor-block-list__block.is-selected::before {
|
|
|
|
border-color: #007cba;
|
|
|
|
border-color: var(--wp-admin-theme-color);
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
|
|
|
.is-block-moving-mode.block-editor-block-list__block-selection-button {
|
|
|
|
opacity: 0;
|
|
|
|
font-size: 1px;
|
|
|
|
height: 1px;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-10-20 09:36:16 -04:00
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block {
|
|
|
|
position: relative;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* Notices
|
|
|
|
*/
|
2020-10-20 09:36:16 -04:00
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* Block Layout
|
|
|
|
*/
|
2020-10-20 09:36:16 -04:00
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* Block styles and alignments
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel * {
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
.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-left: 0;
|
|
|
|
margin-right: 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:not([contenteditable]):focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus::after {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1;
|
|
|
|
pointer-events: none;
|
|
|
|
content: "";
|
|
|
|
top: 1px;
|
|
|
|
bottom: 1px;
|
|
|
|
left: 1px;
|
|
|
|
right: 1px;
|
|
|
|
box-shadow: 0 0 0 2px #007cba;
|
|
|
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
border-radius: 1px;
|
|
|
|
}
|
|
|
|
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus::after {
|
|
|
|
box-shadow: 0 0 0 2px #fff;
|
|
|
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-outline-mode.is-selected:not(.is-typing)::after {
|
|
|
|
box-shadow: 0 0 0 1px #1e1e1e;
|
|
|
|
top: 1px;
|
|
|
|
left: 1px;
|
|
|
|
right: 1px;
|
|
|
|
bottom: 1px;
|
|
|
|
border-radius: 1px;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-outline-mode.is-selected:not(.is-typing):focus::after {
|
|
|
|
box-shadow: 0 0 0 2px #007cba;
|
|
|
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-outline-mode.is-hovered:not(.is-typing) {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-outline-mode.is-hovered:not(.is-typing)::after {
|
|
|
|
top: 1px;
|
|
|
|
left: 1px;
|
|
|
|
right: 1px;
|
|
|
|
bottom: 1px;
|
|
|
|
box-shadow: 0 0 0 1px #007cba;
|
|
|
|
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
|
|
border-radius: 1px;
|
|
|
|
}
|
|
|
|
.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) {
|
2020-10-20 09:36:16 -04:00
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) {
|
2021-01-27 21:04:13 -05:00
|
|
|
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;
|
|
|
|
}
|
2021-02-02 00:17:13 -05:00
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode) {
|
|
|
|
opacity: 0.5;
|
|
|
|
transition: opacity 0.1s linear;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode) {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode).is-active-entity, .block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode).has-child-selected, .block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode):not(.has-child-selected) .block-editor-block-list__block, .block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode).is-active-entity .block-editor-block-list__block,
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode) .is-active-entity .block-editor-block-list__block {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2021-01-27 21:04:13 -05:00
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block::after {
|
|
|
|
content: "";
|
|
|
|
pointer-events: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
border-radius: 2px;
|
|
|
|
box-shadow: 0 0 0 2px transparent;
|
|
|
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) transparent;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.has-warning {
|
|
|
|
min-height: 48px;
|
|
|
|
}
|
|
|
|
.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::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
border-radius: 2px;
|
|
|
|
background-color: rgba(255, 255, 255, 0.4);
|
|
|
|
}
|
|
|
|
.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.is-reusable > .block-editor-inner-blocks > .block-editor-block-list__layout.has-overlay::after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-inner-blocks > .block-editor-block-list__layout.has-overlay .block-editor-block-list__layout.has-overlay::after {
|
|
|
|
display: block;
|
|
|
|
}
|
2021-02-02 00:17:13 -05:00
|
|
|
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.has-child-selected::after {
|
|
|
|
box-shadow: 0 0 0 1px #007cba;
|
|
|
|
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
|
|
}
|
2021-01-27 21:04:13 -05:00
|
|
|
.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-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 {
|
|
|
|
left: auto;
|
|
|
|
right: 8px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-block-list__layout .wp-block {
|
|
|
|
margin-left: auto;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-right: auto;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2021-01-27 21:04:13 -05:00
|
|
|
.wp-block[data-align=left], .wp-block[data-align=right] {
|
2019-03-21 08:48:00 -04:00
|
|
|
width: 100%;
|
2021-01-27 21:04:13 -05:00
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
.wp-block[data-align=left]::before, .wp-block[data-align=right]::before {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
.wp-block[data-align=left] > *, .wp-block[data-align=right] > * {
|
|
|
|
z-index: 21;
|
|
|
|
}
|
|
|
|
.wp-block[data-align=left] > * {
|
2019-03-21 08:48:00 -04:00
|
|
|
/*!rtl:begin:ignore*/
|
|
|
|
float: left;
|
|
|
|
margin-right: 2em;
|
2021-01-27 21:04:13 -05:00
|
|
|
/*!rtl:end:ignore*/
|
|
|
|
}
|
|
|
|
.wp-block[data-align=right] > * {
|
2019-03-21 08:48:00 -04:00
|
|
|
/*!rtl:begin:ignore*/
|
|
|
|
float: right;
|
|
|
|
margin-left: 2em;
|
2021-01-27 21:04:13 -05:00
|
|
|
/*!rtl:end:ignore*/
|
|
|
|
}
|
|
|
|
.wp-block[data-align=full], .wp-block[data-align=wide] {
|
|
|
|
clear: both;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* In-Canvas Inserter
|
|
|
|
*/
|
|
|
|
.block-editor-block-list .block-editor-inserter {
|
|
|
|
margin: 8px;
|
|
|
|
cursor: move;
|
2021-01-27 21:04:13 -05:00
|
|
|
cursor: grab;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-block-list__insertion-point {
|
2021-02-02 00:17:13 -05:00
|
|
|
position: absolute;
|
2021-01-27 21:04:13 -05:00
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-block-list__insertion-point-indicator {
|
|
|
|
position: absolute;
|
2020-06-26 09:33:47 -04:00
|
|
|
background: #007cba;
|
2021-01-27 21:04:13 -05:00
|
|
|
background: var(--wp-admin-theme-color);
|
2021-02-02 00:17:13 -05:00
|
|
|
animation: block-editor-inserter__toggle__fade-in-animation-delayed 0.3s ease;
|
2021-01-27 21:04:13 -05:00
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.block-editor-block-list__insertion-point-indicator {
|
|
|
|
animation-duration: 1ms;
|
|
|
|
}
|
|
|
|
}
|
2021-02-02 00:17:13 -05:00
|
|
|
.block-editor-block-list__insertion-point.is-vertical > .block-editor-block-list__insertion-point-indicator {
|
|
|
|
top: 50%;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 1px;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__insertion-point.is-horizontal > .block-editor-block-list__insertion-point-indicator {
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 50%;
|
|
|
|
height: 100%;
|
|
|
|
width: 1px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-block-list__insertion-point-inserter {
|
|
|
|
display: none;
|
2021-02-02 00:17:13 -05:00
|
|
|
position: absolute;
|
2021-01-27 21:04:13 -05:00
|
|
|
justify-content: center;
|
2021-02-02 00:17:13 -05:00
|
|
|
top: calc(50% - 12px);
|
|
|
|
left: calc(50% - 12px);
|
2021-01-27 21:04:13 -05:00
|
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
|
|
.block-editor-block-list__insertion-point-inserter {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-02-06 16:03:31 -05:00
|
|
|
.block-editor-block-list__block-popover-inserter {
|
|
|
|
position: absolute;
|
|
|
|
top: -9999em;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 14px;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__block-popover-inserter.is-visible {
|
|
|
|
position: static;
|
|
|
|
}
|
2020-02-06 16:03:31 -05:00
|
|
|
|
2020-07-07 10:43:35 -04:00
|
|
|
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon,
|
|
|
|
.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon,
|
|
|
|
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon,
|
|
|
|
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon {
|
2020-06-26 09:33:47 -04:00
|
|
|
background: #1e1e1e;
|
|
|
|
border-radius: 2px;
|
|
|
|
color: #fff;
|
2020-02-06 16:03:31 -05:00
|
|
|
padding: 0;
|
2020-06-26 09:33:47 -04:00
|
|
|
min-width: 24px;
|
2021-01-27 21:04:13 -05:00
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,
|
|
|
|
.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover,
|
|
|
|
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,
|
|
|
|
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon:hover {
|
|
|
|
color: #fff;
|
2021-02-02 00:17:13 -05:00
|
|
|
background: #007cba;
|
|
|
|
background: var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon {
|
|
|
|
background: #007cba;
|
|
|
|
background: var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover {
|
|
|
|
background: #1e1e1e;
|
2021-01-27 21:04:13 -05:00
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button,
|
|
|
|
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button {
|
|
|
|
animation: block-editor-inserter__toggle__fade-in-animation-delayed 0.3s ease;
|
2021-01-27 21:04:13 -05:00
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button,
|
|
|
|
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button {
|
|
|
|
animation-duration: 1ms;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
@keyframes block-editor-inserter__toggle__fade-in-animation-delayed {
|
|
|
|
0% {
|
2021-01-27 21:04:13 -05:00
|
|
|
opacity: 0;
|
|
|
|
}
|
2021-02-02 00:17:13 -05:00
|
|
|
60% {
|
2021-01-27 21:04:13 -05:00
|
|
|
opacity: 0;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
100% {
|
2021-01-27 21:04:13 -05:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
@keyframes block-editor-inserter__toggle__fade-in-animation {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
to {
|
|
|
|
opacity: 1;
|
2021-01-27 21:04:13 -05:00
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
.wp-block .block-list-appender .block-editor-inserter__toggle {
|
|
|
|
animation: block-editor-inserter__toggle__fade-in-animation 0.1s ease;
|
2021-01-27 21:04:13 -05:00
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.wp-block .block-list-appender .block-editor-inserter__toggle {
|
|
|
|
animation-duration: 1ms;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-07-07 10:43:35 -04:00
|
|
|
.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(0);
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-block-list__block .block-editor-block-list__block-html-textarea {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
2020-10-20 09:36:16 -04:00
|
|
|
padding: 12px;
|
2019-03-21 08:48:00 -04:00
|
|
|
width: 100%;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
2020-10-20 09:36:16 -04:00
|
|
|
border-radius: 2px;
|
|
|
|
box-shadow: inset 0 0 0 1px #1e1e1e;
|
2019-03-21 08:48:00 -04:00
|
|
|
resize: none;
|
|
|
|
overflow: hidden;
|
|
|
|
font-family: Menlo, Consolas, monaco, monospace;
|
2020-06-26 09:33:47 -04:00
|
|
|
font-size: 15px;
|
2020-10-13 09:10:30 -04:00
|
|
|
line-height: 1.5;
|
2021-01-27 21:04:13 -05:00
|
|
|
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: inset 0 0 0 2px #007cba;
|
|
|
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Block Toolbar when contextual.
|
|
|
|
*/
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-contextual-toolbar {
|
|
|
|
border: 1px solid #1e1e1e;
|
|
|
|
border-radius: 2px;
|
2021-01-27 21:04:13 -05:00
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar-group,
|
|
|
|
.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar {
|
|
|
|
border-right-color: #1e1e1e;
|
|
|
|
}
|
|
|
|
.block-editor-block-contextual-toolbar .block-editor-block-mover-button {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button {
|
|
|
|
min-width: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button:focus::before {
|
|
|
|
left: 0 !important;
|
|
|
|
min-width: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg {
|
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-down-button svg {
|
|
|
|
bottom: 5px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
/**
|
2020-01-08 06:57:23 -05:00
|
|
|
* Block Label for Navigation/Selection Mode
|
2019-03-21 08:48:00 -04:00
|
|
|
*/
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-list__block-selection-button {
|
2020-01-08 06:57:23 -05:00
|
|
|
display: block;
|
2021-01-27 21:04:13 -05:00
|
|
|
z-index: 22;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__block-selection-button .components-button {
|
|
|
|
font-size: 13px;
|
|
|
|
height: 46px;
|
|
|
|
padding: 12px 16px;
|
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
|
|
|
box-shadow: 0 0 0 1px #1e1e1e;
|
|
|
|
border-radius: 1px;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__block-selection-button .components-button:focus {
|
|
|
|
box-shadow: 0 0 0 2px #007cba;
|
|
|
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
/**
|
|
|
|
* Warnings.
|
|
|
|
*/
|
2019-03-21 08:48:00 -04:00
|
|
|
.block-editor-block-list__block .block-editor-warning {
|
|
|
|
z-index: 5;
|
2021-01-27 21:04:13 -05:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning {
|
|
|
|
margin-bottom: auto;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
/**
|
|
|
|
* Popovers.
|
|
|
|
*/
|
|
|
|
.block-editor-block-list__insertion-point-popover.is-without-arrow {
|
2020-07-07 10:43:35 -04:00
|
|
|
z-index: 28;
|
2021-01-27 21:04:13 -05:00
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
overflow-y: visible;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2020-02-06 16:03:31 -05:00
|
|
|
|
2020-10-13 09:10:30 -04:00
|
|
|
@keyframes hide-during-dragging {
|
|
|
|
to {
|
|
|
|
position: fixed;
|
2021-01-27 21:04:13 -05:00
|
|
|
transform: translate(9999px, 9999px);
|
|
|
|
}
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
.components-popover.block-editor-block-list__block-popover {
|
2020-07-07 10:43:35 -04:00
|
|
|
z-index: 31;
|
2021-01-27 21:04:13 -05:00
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
.components-popover.block-editor-block-list__block-popover .components-popover__content {
|
|
|
|
margin: 0 !important;
|
|
|
|
min-width: auto;
|
|
|
|
width: -webkit-max-content;
|
|
|
|
width: max-content;
|
|
|
|
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-list__block-selection-button,
|
|
|
|
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
|
|
|
.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover {
|
|
|
|
opacity: 0;
|
|
|
|
animation: hide-during-dragging 1ms linear forwards;
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.is-dragging-components-draggable .components-tooltip {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: none;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.block-editor-block-list__block .block-list-appender {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__block .block-list-appender .block-editor-default-block-appender {
|
|
|
|
margin: 8px 0;
|
|
|
|
}
|
|
|
|
.block-editor-block-list__block .block-list-appender .block-list-appender__toggle {
|
|
|
|
padding: 0;
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1);
|
|
|
|
transition: all 0.1s ease;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-list__block .block-list-appender .block-list-appender__toggle {
|
2021-01-27 21:04:13 -05:00
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
2020-02-06 16:03:31 -05:00
|
|
|
|
2019-03-21 08:48:00 -04:00
|
|
|
.block-list-appender > .block-editor-inserter {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: block;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-list__block:not(.is-selected):not(.has-child-selected):not(.block-editor-block-list__layout) .block-editor-block-list__layout > .block-list-appender .block-list-appender__toggle {
|
|
|
|
opacity: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
transform: scale(0);
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.block-editor-block-breadcrumb {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.block-editor-block-breadcrumb li {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.block-editor-block-breadcrumb li:not(:last-child)::after {
|
|
|
|
content: "→" /*rtl:"←"*/;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
|
|
|
.block-editor-block-breadcrumb__button.components-button {
|
|
|
|
height: 24px;
|
|
|
|
line-height: 24px;
|
2020-06-26 09:33:47 -04:00
|
|
|
padding: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.block-editor-block-breadcrumb__button.components-button:hover:not(:disabled) {
|
|
|
|
text-decoration: underline;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
.block-editor-block-breadcrumb__button.components-button:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
.block-editor-block-breadcrumb__button.components-button:focus::before {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
border-radius: 2px;
|
|
|
|
top: 1px;
|
|
|
|
right: 1px;
|
|
|
|
bottom: 1px;
|
|
|
|
left: 1px;
|
|
|
|
box-shadow: inset 0 0 0 2px #007cba;
|
|
|
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
|
|
|
.block-editor-block-breadcrumb__current {
|
2021-01-27 21:04:13 -05:00
|
|
|
cursor: default;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
|
|
|
.block-editor-block-breadcrumb__button.components-button,
|
|
|
|
.block-editor-block-breadcrumb__current {
|
2020-06-26 09:33:47 -04:00
|
|
|
color: #1e1e1e;
|
2020-01-08 06:57:23 -05:00
|
|
|
padding: 0 8px;
|
2021-01-27 21:04:13 -05:00
|
|
|
font-size: inherit;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.block-editor-block-card {
|
2019-03-21 08:48:00 -04:00
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
align-items: flex-start;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
.block-editor-block-card__icon {
|
2020-10-13 09:10:30 -04:00
|
|
|
border: 1px solid #ddd;
|
2019-09-19 11:19:18 -04:00
|
|
|
padding: 7px;
|
|
|
|
margin-right: 10px;
|
|
|
|
height: 36px;
|
2021-01-27 21:04:13 -05:00
|
|
|
width: 36px;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
.block-editor-block-card__content {
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
.block-editor-block-card__title {
|
2021-01-27 21:04:13 -05:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
.block-editor-block-card__title.block-editor-block-card__title {
|
|
|
|
margin: 0 0 5px;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
.block-editor-block-card__description {
|
2021-01-27 21:04:13 -05:00
|
|
|
font-size: 13px;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
.block-editor-block-card .block-editor-block-icon {
|
|
|
|
margin-left: -2px;
|
|
|
|
margin-right: 10px;
|
|
|
|
padding: 0 3px;
|
|
|
|
width: 36px;
|
2021-01-27 21:04:13 -05:00
|
|
|
height: 24px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Invalid block comparison
|
|
|
|
*/
|
|
|
|
.block-editor-block-compare {
|
|
|
|
overflow: auto;
|
2021-01-27 21:04:13 -05:00
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.block-editor-block-compare {
|
|
|
|
max-height: 70%;
|
|
|
|
}
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-block-compare__wrapper {
|
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding-bottom: 16px;
|
|
|
|
}
|
|
|
|
.block-editor-block-compare__wrapper > div {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 50%;
|
|
|
|
padding: 0 16px 0 0;
|
|
|
|
min-width: 200px;
|
|
|
|
}
|
|
|
|
.block-editor-block-compare__wrapper > div button {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
.block-editor-block-compare__wrapper .block-editor-block-compare__converted {
|
|
|
|
border-left: 1px solid #ddd;
|
|
|
|
padding-left: 15px;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
.block-editor-block-compare__wrapper .block-editor-block-compare__html {
|
|
|
|
font-family: Menlo, Consolas, monaco, monospace;
|
|
|
|
font-size: 12px;
|
|
|
|
color: #1e1e1e;
|
|
|
|
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: #cc1818;
|
|
|
|
}
|
|
|
|
.block-editor-block-compare__wrapper .block-editor-block-compare__preview {
|
|
|
|
padding: 0;
|
|
|
|
padding-top: 16px;
|
|
|
|
}
|
|
|
|
.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: 16px;
|
|
|
|
}
|
|
|
|
.block-editor-block-compare__wrapper .block-editor-block-compare__heading {
|
|
|
|
font-size: 1em;
|
|
|
|
font-weight: 400;
|
|
|
|
margin: 0.67em 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-07-07 10:43:35 -04:00
|
|
|
.block-editor-block-draggable-chip-wrapper {
|
|
|
|
position: absolute;
|
2020-10-13 09:10:30 -04:00
|
|
|
top: -24px;
|
2021-01-27 21:04:13 -05:00
|
|
|
left: 0;
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
|
|
|
.block-editor-block-draggable-chip {
|
|
|
|
background-color: #1e1e1e;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid #1e1e1e;
|
|
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
|
|
|
|
color: #fff;
|
|
|
|
cursor: grabbing;
|
|
|
|
display: inline-flex;
|
|
|
|
height: 48px;
|
|
|
|
min-width: 72px;
|
|
|
|
padding: 0 12px;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
2021-01-27 21:04:13 -05:00
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
.block-editor-block-draggable-chip svg {
|
|
|
|
fill: currentColor;
|
|
|
|
}
|
|
|
|
.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content {
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
.block-editor-block-draggable-chip .components-flex__item {
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
2020-10-13 09:10:30 -04:00
|
|
|
.is-dragging {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: none !important;
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.block-editor-block-mobile-toolbar {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2021-01-27 21:04:13 -05:00
|
|
|
border-right: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
.block-editor-block-mobile-toolbar .block-editor-block-mover-button {
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
border-radius: 2px;
|
|
|
|
padding: 3px;
|
|
|
|
margin: 0;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.block-editor-block-mobile-toolbar .block-editor-block-mover-button .dashicon {
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
.block-editor-block-mobile-toolbar .block-editor-block-mover {
|
|
|
|
display: flex;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover-button {
|
|
|
|
float: left;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-mover-button__description {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: none;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-mover-button.has-icon {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 0;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
2020-10-20 09:36:16 -04:00
|
|
|
.block-editor-block-mover {
|
|
|
|
display: inline-flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
.block-editor-block-mover .block-editor-block-mover__move-button-container,
|
|
|
|
.block-editor-block-mover .components-toolbar {
|
|
|
|
flex: 1;
|
|
|
|
flex-direction: row;
|
|
|
|
border-right: none !important;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
2020-10-20 09:36:16 -04:00
|
|
|
.block-editor-block-mover .block-editor-block-mover__move-button-container,
|
2021-01-27 21:04:13 -05:00
|
|
|
.block-editor-block-mover .components-toolbar {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container, .block-editor-block-mover.is-horizontal .components-toolbar {
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.block-editor-block-mover .block-editor-block-mover-button {
|
|
|
|
height: 24px;
|
|
|
|
width: 42px;
|
|
|
|
padding-right: 11px !important;
|
|
|
|
padding-left: 6px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.block-editor-block-mover .block-editor-block-mover-button::before {
|
|
|
|
left: 8px !important;
|
|
|
|
right: 8px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-editor-block-mover .block-editor-block-mover__drag-handle {
|
|
|
|
width: 24px;
|
|
|
|
cursor: grab;
|
|
|
|
min-width: 24px !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
.block-editor-block-mover .block-editor-block-mover__drag-handle:focus::before {
|
|
|
|
left: 0 !important;
|
|
|
|
right: 0 !important;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button,
|
|
|
|
.block-editor-block-mover .components-toolbar .block-editor-block-mover-button {
|
|
|
|
margin: 0 auto 0 0;
|
|
|
|
}
|
|
|
|
.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button::before,
|
|
|
|
.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button::before {
|
|
|
|
bottom: 0;
|
|
|
|
height: calc(100% - 1px);
|
|
|
|
}
|
|
|
|
.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button::before,
|
|
|
|
.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button::before {
|
|
|
|
top: 0;
|
|
|
|
height: calc(100% - 1px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon {
|
|
|
|
height: 48px;
|
|
|
|
width: 24px;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon::before {
|
|
|
|
top: 1px;
|
|
|
|
bottom: 1px;
|
|
|
|
min-width: 0;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon svg {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: -8px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon::before {
|
|
|
|
left: 0 !important;
|
|
|
|
right: 0 !important;
|
|
|
|
}
|
|
|
|
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon svg {
|
|
|
|
margin-left: -8px;
|
|
|
|
margin-right: 0;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon::before {
|
|
|
|
left: 0 !important;
|
|
|
|
right: 0 !important;
|
|
|
|
width: calc(100% + 1px);
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-block-navigation__label {
|
2020-06-26 09:33:47 -04:00
|
|
|
margin: 0 0 12px;
|
|
|
|
color: #757575;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 11px;
|
2021-01-27 21:04:13 -05:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-block-navigation__container {
|
2021-01-27 21:04:13 -05:00
|
|
|
min-width: 280px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-navigation-tree {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
2019-03-21 08:48:00 -04:00
|
|
|
padding: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-navigation-leaf {
|
2021-01-27 21:04:13 -05:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf.is-selected .block-editor-block-navigation-block-contents, .block-editor-block-navigation-leaf.is-selected:hover .block-editor-block-navigation-block-contents, .block-editor-block-navigation-leaf.is-selected:focus .block-editor-block-navigation-block-contents {
|
|
|
|
background: #1e1e1e;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf.is-dragging {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
padding: 6px;
|
|
|
|
text-align: left;
|
|
|
|
color: #1e1e1e;
|
|
|
|
border-radius: 2px;
|
|
|
|
position: relative;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:hover {
|
|
|
|
background: #f0f0f0;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:focus {
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-before::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear;
|
|
|
|
top: -2px;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
border-top: 4px solid #007cba;
|
|
|
|
border-top: 4px solid var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-after::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear;
|
|
|
|
bottom: -2px;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
border-bottom: 4px solid #007cba;
|
|
|
|
border-bottom: 4px solid var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-to-inner-blocks::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear;
|
|
|
|
bottom: -2px;
|
|
|
|
right: 0;
|
|
|
|
left: 24px;
|
|
|
|
border-bottom: 4px solid #007cba;
|
|
|
|
border-bottom: 4px solid var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.components-modal__content .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents {
|
|
|
|
opacity: 1;
|
|
|
|
animation: edit-post__fade-in-animation 0.2s ease-out 0s;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents {
|
2021-01-27 21:04:13 -05:00
|
|
|
animation-duration: 1ms;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-icon {
|
|
|
|
align-self: flex-start;
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell,
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__contents-cell {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell {
|
|
|
|
line-height: 0;
|
|
|
|
width: 36px;
|
|
|
|
opacity: 0;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,
|
2021-01-27 21:04:13 -05:00
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible {
|
|
|
|
opacity: 1;
|
|
|
|
animation: edit-post__fade-in-animation 0.2s ease-out 0s;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible {
|
|
|
|
animation-duration: 1ms;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell .components-button.has-icon,
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell,
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell .components-button.has-icon {
|
|
|
|
width: 24px;
|
|
|
|
min-width: 24px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell {
|
|
|
|
padding-top: 8px;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell-alignment-wrapper {
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-mover-button {
|
|
|
|
position: relative;
|
|
|
|
width: 36px;
|
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-mover-button svg {
|
|
|
|
position: relative;
|
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button {
|
|
|
|
align-items: flex-end;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button svg {
|
|
|
|
bottom: -4px;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button {
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button svg {
|
|
|
|
top: -4px;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:enabled {
|
|
|
|
box-shadow: none;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus::before {
|
|
|
|
box-shadow: inset 0 0 0 2px #007cba, inset 0 0 0 4px #fff;
|
|
|
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 4px #fff;
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-mover-button::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
border-radius: 2px;
|
|
|
|
height: 16px;
|
|
|
|
min-width: 100%;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
animation: components-button__appear-animation 0.1s ease;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-block-mover-button::before {
|
|
|
|
animation-duration: 1ms;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-inserter__toggle {
|
|
|
|
background: #1e1e1e;
|
|
|
|
color: #fff;
|
|
|
|
height: 24px;
|
|
|
|
margin: 6px 6px 6px 1px;
|
|
|
|
min-width: 24px;
|
|
|
|
}
|
|
|
|
.block-editor-block-navigation-leaf .block-editor-inserter__toggle:active {
|
|
|
|
color: #fff;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-navigation-block-slot__description,
|
|
|
|
.block-editor-block-navigation-block-select-button__description,
|
|
|
|
.block-editor-block-navigation-appender__description {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: none;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container,
|
|
|
|
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-appender__container,
|
|
|
|
.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container,
|
|
|
|
.block-editor-block-navigation-appender__cell .block-editor-block-navigation-appender__container {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: flex;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2021-01-27 21:04:13 -05:00
|
|
|
.block-editor-block-navigator-indentation {
|
2020-06-26 09:33:47 -04:00
|
|
|
flex-shrink: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
width: 18px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-block-parent-selector {
|
|
|
|
background: #fff;
|
2021-01-27 21:04:13 -05:00
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
.block-editor-block-parent-selector .block-editor-block-parent-selector__button {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
border: 1px solid #1e1e1e;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
2019-10-15 12:17:12 -04:00
|
|
|
|
2020-07-07 10:43:35 -04:00
|
|
|
.block-editor-block-patterns-list__item {
|
|
|
|
border-radius: 2px;
|
|
|
|
cursor: pointer;
|
|
|
|
margin-top: 16px;
|
|
|
|
transition: all 0.05s ease-in-out;
|
|
|
|
position: relative;
|
2021-01-27 21:04:13 -05:00
|
|
|
border: 1px solid transparent;
|
|
|
|
}
|
|
|
|
.block-editor-block-patterns-list__item:hover {
|
|
|
|
border: 1px solid #007cba;
|
|
|
|
border: 1px solid var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.block-editor-block-patterns-list__item:focus {
|
|
|
|
box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #007cba;
|
|
|
|
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
|
|
|
.block-editor-block-patterns-list__item.is-placeholder {
|
|
|
|
min-height: 100px;
|
|
|
|
}
|
|
|
|
.block-editor-block-patterns-list__item[draggable=true] .block-editor-block-preview__container {
|
|
|
|
cursor: grab;
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
|
|
|
.block-editor-block-patterns-list__item-title {
|
|
|
|
padding: 4px;
|
|
|
|
font-size: 12px;
|
2021-01-27 21:04:13 -05:00
|
|
|
text-align: center;
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.block-editor-block-preview__container {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
2021-01-27 21:04:13 -05:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.block-editor-block-preview__container.editor-styles-wrapper {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.block-editor-block-preview__container .block-editor-block-preview__content {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
transform-origin: top left;
|
|
|
|
text-align: initial;
|
|
|
|
margin: 0;
|
|
|
|
overflow: visible;
|
|
|
|
min-height: auto;
|
|
|
|
}
|
|
|
|
.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__insertion-point,
|
|
|
|
.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-drop-zone,
|
|
|
|
.block-editor-block-preview__container .block-editor-block-preview__content .reusable-block-indicator,
|
|
|
|
.block-editor-block-preview__container .block-editor-block-preview__content .block-list-appender {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__layout.is-root-container {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__layout.is-root-container > .wp-block[data-align=full] {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.block-editor-block-settings-menu__popover .components-dropdown-menu__menu {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-block-styles {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2021-01-27 21:04:13 -05:00
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-block-styles__item {
|
|
|
|
width: calc(50% - 4px);
|
|
|
|
margin: 4px 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
overflow: hidden;
|
2020-06-26 09:33:47 -04:00
|
|
|
border-radius: 2px;
|
2019-09-19 11:19:18 -04:00
|
|
|
padding: 6px;
|
2020-06-26 09:33:47 -04:00
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
.block-editor-block-styles__item:focus {
|
|
|
|
box-shadow: 0 0 0 2px #007cba;
|
|
|
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
|
|
|
.block-editor-block-styles__item:hover .block-editor-block-styles__item-preview {
|
|
|
|
border-color: #007cba;
|
|
|
|
border-color: var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.block-editor-block-styles__item.is-active .block-editor-block-styles__item-label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.block-editor-block-styles__item.is-active .block-editor-block-styles__item-preview {
|
|
|
|
margin: 0;
|
|
|
|
border: 2px solid #1e1e1e;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-block-styles__item-preview {
|
|
|
|
outline: 1px solid transparent;
|
|
|
|
padding: 0;
|
2020-10-13 09:10:30 -04:00
|
|
|
margin: 2px;
|
2020-06-26 09:33:47 -04:00
|
|
|
border-radius: 2px;
|
2019-03-21 08:48:00 -04:00
|
|
|
display: flex;
|
2019-09-19 11:19:18 -04:00
|
|
|
overflow: hidden;
|
|
|
|
background: #fff;
|
2020-06-26 09:33:47 -04:00
|
|
|
align-items: center;
|
|
|
|
flex-grow: 1;
|
2020-10-13 09:10:30 -04:00
|
|
|
min-height: 80px;
|
2021-01-27 21:04:13 -05:00
|
|
|
max-height: 160px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-07-07 10:43:35 -04:00
|
|
|
.block-editor-block-switcher__styles__menugroup {
|
2021-01-27 21:04:13 -05:00
|
|
|
position: relative;
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
2019-03-21 08:48:00 -04:00
|
|
|
.block-editor-block-styles__item-label {
|
|
|
|
text-align: center;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 4px 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-block-switcher {
|
2021-01-27 21:04:13 -05:00
|
|
|
position: relative;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-block-switcher__no-switcher-icon,
|
|
|
|
.block-editor-block-switcher__toggle {
|
2021-01-27 21:04:13 -05:00
|
|
|
position: relative;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-01-22 17:06:21 -05:00
|
|
|
.components-button.block-editor-block-switcher__toggle,
|
|
|
|
.components-button.block-editor-block-switcher__no-switcher-icon {
|
2019-03-21 08:48:00 -04:00
|
|
|
margin: 0;
|
|
|
|
display: block;
|
2021-01-27 21:04:13 -05:00
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
.components-button.block-editor-block-switcher__toggle .block-editor-block-icon,
|
|
|
|
.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
|
|
|
|
margin: auto;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2021-02-02 00:17:13 -05:00
|
|
|
.block-editor-block-switcher__toggle-text {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
2020-10-13 09:10:30 -04:00
|
|
|
.block-editor-block-switcher__popover {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-left: 6px;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
|
2020-01-22 17:06:21 -05:00
|
|
|
.components-button.block-editor-block-switcher__no-switcher-icon {
|
2021-01-27 21:04:13 -05:00
|
|
|
width: 48px;
|
|
|
|
}
|
|
|
|
.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-blocks-icon {
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.components-button.block-editor-block-switcher__no-switcher-icon:disabled {
|
2021-01-27 21:04:13 -05:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
.components-button.block-editor-block-switcher__no-switcher-icon:disabled,
|
|
|
|
.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors {
|
|
|
|
color: #1e1e1e !important;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-10-13 09:10:30 -04:00
|
|
|
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
|
|
|
|
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
|
|
|
|
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,
|
|
|
|
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon {
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
|
|
|
margin: 0 auto;
|
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
align-items: center;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
|
|
|
|
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
|
|
|
|
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before,
|
|
|
|
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before {
|
|
|
|
top: 8px;
|
|
|
|
right: 8px;
|
|
|
|
bottom: 8px;
|
2021-01-27 21:04:13 -05:00
|
|
|
left: 8px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-07-07 10:43:35 -04:00
|
|
|
.components-popover.block-editor-block-switcher__popover .components-popover__content {
|
2021-01-27 21:04:13 -05:00
|
|
|
min-width: 300px;
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.components-popover.block-editor-block-switcher__popover .components-popover__content > div {
|
2020-07-07 10:43:35 -04:00
|
|
|
min-width: auto;
|
2019-09-19 11:19:18 -04:00
|
|
|
display: flex;
|
|
|
|
background: #fff;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .components-menu-group {
|
|
|
|
padding: 16px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-07-07 10:43:35 -04:00
|
|
|
.block-editor-block-switcher__popover .components-popover__content .block-editor-block-styles {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 0 -3px;
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
.block-editor-block-switcher__popover .components-popover__content .components-panel__body {
|
|
|
|
border: 0;
|
|
|
|
position: relative;
|
2021-01-27 21:04:13 -05:00
|
|
|
z-index: 1;
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
.block-editor-block-switcher__popover .components-popover__content .components-panel__body + .components-panel__body {
|
2021-01-27 21:04:13 -05:00
|
|
|
border-top: 1px solid #e0e0e0;
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
|
|
|
.block-editor-block-switcher__popover__preview__parent .block-editor-block-switcher__popover__preview__container {
|
|
|
|
position: absolute;
|
|
|
|
top: -12px;
|
2021-01-27 21:04:13 -05:00
|
|
|
left: calc(100% + 32px);
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
|
|
|
.block-editor-block-switcher__preview__popover {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.block-editor-block-switcher__preview__popover.components-popover {
|
|
|
|
margin-left: 4px;
|
|
|
|
margin-top: 11px;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.block-editor-block-switcher__preview__popover {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-editor-block-switcher__preview__popover .components-popover__content {
|
|
|
|
box-shadow: none;
|
|
|
|
border: 1px solid #1e1e1e;
|
|
|
|
background: #fff;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
.block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview {
|
|
|
|
width: 300px;
|
|
|
|
height: auto;
|
|
|
|
padding: 16px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.block-editor-block-switcher__preview-title {
|
2020-06-26 09:33:47 -04:00
|
|
|
margin-bottom: 12px;
|
|
|
|
color: #757575;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 11px;
|
2021-01-27 21:04:13 -05:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon {
|
2021-01-27 21:04:13 -05:00
|
|
|
width: 48px;
|
|
|
|
}
|
2020-10-20 09:36:16 -04:00
|
|
|
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon,
|
|
|
|
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle {
|
2021-01-27 21:04:13 -05:00
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,
|
|
|
|
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,
|
|
|
|
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-icon,
|
|
|
|
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,
|
|
|
|
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform {
|
|
|
|
padding: 12px;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2019-03-21 08:48:00 -04:00
|
|
|
.block-editor-block-types-list {
|
|
|
|
list-style: none;
|
2019-09-19 11:19:18 -04:00
|
|
|
padding: 4px;
|
|
|
|
margin-left: -4px;
|
|
|
|
margin-right: -4px;
|
2019-03-21 08:48:00 -04:00
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-02-06 16:03:31 -05:00
|
|
|
.block-editor-block-variation-picker .components-placeholder__instructions {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-02-06 16:03:31 -05:00
|
|
|
.block-editor-block-variation-picker .components-placeholder__fieldset {
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
2020-02-06 16:03:31 -05:00
|
|
|
.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset {
|
2021-01-27 21:04:13 -05:00
|
|
|
max-width: 90%;
|
|
|
|
}
|
2020-02-06 16:03:31 -05:00
|
|
|
|
|
|
|
.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;
|
2021-01-27 21:04:13 -05:00
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations > li {
|
|
|
|
list-style: none;
|
|
|
|
margin: 8px 20px 0 0;
|
|
|
|
flex-shrink: 1;
|
|
|
|
width: 75px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations > li button {
|
|
|
|
display: inline-flex;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
.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__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label {
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
|
|
font-size: 12px;
|
|
|
|
display: block;
|
|
|
|
line-height: 1.4;
|
|
|
|
}
|
2020-02-06 16:03:31 -05:00
|
|
|
|
|
|
|
.block-editor-block-variation-picker__variation {
|
2021-01-27 21:04:13 -05:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.block-editor-block-variation-picker__variation.components-button.has-icon {
|
|
|
|
justify-content: center;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.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-left: 0;
|
|
|
|
}
|
|
|
|
.block-editor-block-variation-picker__variation:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.block-editor-block-variation-transforms {
|
|
|
|
padding: 0 16px 16px 56px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.block-editor-block-variation-transforms .components-dropdown-menu__toggle {
|
|
|
|
border: 1px solid #757575;
|
|
|
|
border-radius: 2px;
|
|
|
|
min-height: 30px;
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
text-align: left;
|
|
|
|
justify-content: left;
|
|
|
|
padding: 6px 12px;
|
|
|
|
}
|
|
|
|
.block-editor-block-variation-transforms .components-dropdown-menu__toggle.components-dropdown-menu__toggle {
|
|
|
|
padding-right: 24px;
|
|
|
|
}
|
|
|
|
.block-editor-block-variation-transforms .components-dropdown-menu__toggle:focus:not(:disabled) {
|
|
|
|
border-color: #007cba;
|
|
|
|
border-color: var(--wp-admin-theme-color);
|
|
|
|
box-shadow: 0 0 0 2px-1px #007cba;
|
|
|
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus)-1px var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.block-editor-block-variation-transforms .components-dropdown-menu__toggle svg {
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.block-editor-block-variation-transforms__popover .components-popover__content {
|
|
|
|
min-width: 230px;
|
|
|
|
}
|
2020-02-06 16:03:31 -05:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.block-editor-button-block-appender {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-06-26 09:33:47 -04:00
|
|
|
padding: 8px;
|
2019-09-19 11:19:18 -04:00
|
|
|
width: 100%;
|
2020-01-22 17:06:21 -05:00
|
|
|
height: auto;
|
2020-06-26 09:33:47 -04:00
|
|
|
color: #1e1e1e;
|
2021-01-27 21:04:13 -05:00
|
|
|
box-shadow: inset 0 0 0 1px #1e1e1e;
|
|
|
|
}
|
|
|
|
.is-dark-theme .block-editor-button-block-appender {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.block-editor-button-block-appender:hover {
|
|
|
|
color: #007cba;
|
|
|
|
color: var(--wp-admin-theme-color);
|
|
|
|
box-shadow: inset 0 0 0 1px #007cba;
|
|
|
|
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.block-editor-button-block-appender:focus {
|
|
|
|
box-shadow: inset 0 0 0 2px #007cba;
|
|
|
|
box-shadow: inset 0 0 0 2px var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.block-editor-button-block-appender:active {
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
.block-editor-button-block-appender.block-list-appender__toggle {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
color: #1e1e1e;
|
|
|
|
box-shadow: none;
|
|
|
|
height: 24px;
|
2021-02-02 00:17:13 -05:00
|
|
|
width: 24px;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 0;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
.block-editor-button-block-appender.block-list-appender__toggle:active {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.block-editor-button-block-appender.block-list-appender__toggle > svg {
|
|
|
|
width: 24px;
|
|
|
|
background-color: #1e1e1e;
|
|
|
|
color: #fff;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2020-10-13 09:10:30 -04:00
|
|
|
.block-editor-color-gradient-control .block-editor-color-gradient-control__color-indicator {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
.block-editor-color-gradient-control .block-editor-color-gradient-control__button-tabs {
|
2020-02-10 17:33:27 -05:00
|
|
|
display: block;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
|
|
|
|
.block-editor-panel-color-gradient-settings .component-color-indicator {
|
2021-01-27 21:04:13 -05:00
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 782px) {
|
|
|
|
.block-editor-panel-color-gradient-settings .components-circular-option-picker__swatches {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
.block-editor-panel-color-gradient-settings .components-circular-option-picker__option-wrapper {
|
|
|
|
margin-right: calc((100% - (28px * 6)) / 5);
|
|
|
|
}
|
|
|
|
.block-editor-panel-color-gradient-settings .components-circular-option-picker__option-wrapper:nth-child(6n+6) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
|
2019-03-21 08:48:00 -04:00
|
|
|
.block-editor-contrast-checker > .components-notice {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-default-block-appender {
|
2019-09-19 11:19:18 -04:00
|
|
|
clear: both;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2021-01-27 21:04:13 -05:00
|
|
|
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: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
box-shadow: none;
|
|
|
|
display: block;
|
|
|
|
cursor: text;
|
|
|
|
width: 100%;
|
|
|
|
outline: 1px solid transparent;
|
|
|
|
transition: 0.2s outline;
|
|
|
|
margin-top: 28px;
|
|
|
|
margin-bottom: 28px;
|
2021-02-02 00:17:13 -05:00
|
|
|
resize: none !important;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 0 50px 0 0;
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2019-03-21 08:48:00 -04:00
|
|
|
.block-editor-default-block-appender textarea.block-editor-default-block-appender__content {
|
2021-01-27 21:04:13 -05:00
|
|
|
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;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.block-editor-default-block-appender__content {
|
2021-01-27 21:04:13 -05:00
|
|
|
line-height: 1.8;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2020-03-10 10:53:18 -04:00
|
|
|
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter,
|
2020-01-22 17:06:21 -05:00
|
|
|
.block-editor-default-block-appender .block-editor-inserter {
|
2019-03-21 08:48:00 -04:00
|
|
|
position: absolute;
|
2020-03-10 10:53:18 -04:00
|
|
|
top: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
.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-right: 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-block-list__empty-block-inserter,
|
|
|
|
.block-editor-default-block-appender .block-editor-inserter {
|
2021-01-27 21:04:13 -05:00
|
|
|
right: 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;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-02-06 16:03:31 -05:00
|
|
|
@media (min-width: 600px) {
|
|
|
|
.block-editor-default-block-appender .block-editor-inserter {
|
2021-01-27 21:04:13 -05:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-font-appearance-control__select {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
.components-font-appearance-control__select ul li {
|
|
|
|
color: #1e1e1e;
|
|
|
|
text-transform: capitalize;
|
|
|
|
}
|
2020-02-06 16:03:31 -05:00
|
|
|
|
|
|
|
.block-editor-link-control {
|
2020-01-08 06:57:23 -05:00
|
|
|
position: relative;
|
2021-01-27 21:04:13 -05:00
|
|
|
min-width: 360px;
|
|
|
|
}
|
|
|
|
.components-popover__content .block-editor-link-control {
|
|
|
|
min-width: auto;
|
|
|
|
width: 90vw;
|
|
|
|
max-width: 360px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-link-control__search-input-wrapper {
|
2021-01-27 21:04:13 -05:00
|
|
|
position: relative;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
2021-01-27 21:04:13 -05:00
|
|
|
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text] {
|
2020-06-26 09:33:47 -04:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
|
|
padding: 6px 8px;
|
|
|
|
box-shadow: 0 0 0 transparent;
|
|
|
|
transition: box-shadow 0.1s linear;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid #757575;
|
|
|
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
|
|
font-size: 16px;
|
|
|
|
/* Override core line-height. To be reviewed. */
|
|
|
|
line-height: normal;
|
2020-01-08 06:57:23 -05:00
|
|
|
width: calc(100% - 32px);
|
|
|
|
display: block;
|
|
|
|
padding: 11px 16px;
|
2020-02-10 17:33:27 -05:00
|
|
|
padding-right: 36px;
|
2020-06-26 09:33:47 -04:00
|
|
|
margin: 16px;
|
2020-01-08 06:57:23 -05:00
|
|
|
position: relative;
|
2020-07-07 10:43:35 -04:00
|
|
|
border: 1px solid #ddd;
|
2021-01-27 21:04:13 -05:00
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text] {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@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;
|
|
|
|
/* Override core line-height. To be reviewed. */
|
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus {
|
|
|
|
border-color: #007cba;
|
|
|
|
border-color: var(--wp-admin-theme-color);
|
|
|
|
box-shadow: 0 0 0 1px #007cba;
|
|
|
|
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
|
|
|
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-link-control .block-editor-link-control__search-input .components-base-control__field {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-link-control__search-error {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: -8px 16px 16px;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
2020-02-10 17:33:27 -05:00
|
|
|
.block-editor-link-control__search-actions {
|
2020-01-08 06:57:23 -05:00
|
|
|
position: absolute;
|
2020-02-10 17:33:27 -05:00
|
|
|
/*
|
2021-01-27 21:04:13 -05:00
|
|
|
* Actions must be positioned on top of URLInput, since the input will grow
|
|
|
|
* when suggestions are rendered.
|
|
|
|
*
|
|
|
|
* Compensate for:
|
|
|
|
* - Input margin ($grid-unit-20)
|
|
|
|
* - 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.
|
|
|
|
*/
|
2020-01-08 06:57:23 -05:00
|
|
|
top: 19px;
|
2021-01-27 21:04:13 -05:00
|
|
|
right: 19px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-button .block-editor-link-control__search-submit .has-icon {
|
|
|
|
margin: -1px;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
|
|
|
.block-editor-link-control__search-results-wrapper {
|
|
|
|
position: relative;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-top: -15px;
|
|
|
|
}
|
|
|
|
.block-editor-link-control__search-results-wrapper::before, .block-editor-link-control__search-results-wrapper::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
left: -1px;
|
|
|
|
right: 16px;
|
|
|
|
display: block;
|
|
|
|
pointer-events: none;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
.block-editor-link-control__search-results-wrapper::before {
|
|
|
|
height: 8px;
|
|
|
|
top: 0;
|
|
|
|
bottom: auto;
|
|
|
|
}
|
|
|
|
.block-editor-link-control__search-results-wrapper::after {
|
|
|
|
height: 16px;
|
|
|
|
bottom: 0;
|
|
|
|
top: auto;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
2020-02-06 16:03:31 -05:00
|
|
|
.block-editor-link-control__search-results-label {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 16px 32px 0;
|
2020-02-06 16:03:31 -05:00
|
|
|
display: block;
|
2021-01-27 21:04:13 -05:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
2020-02-06 16:03:31 -05:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.block-editor-link-control__search-results {
|
|
|
|
margin: 0;
|
2020-06-26 09:33:47 -04:00
|
|
|
padding: 8px 16px 8px;
|
2020-01-08 06:57:23 -05:00
|
|
|
max-height: 200px;
|
2021-01-27 21:04:13 -05:00
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
.block-editor-link-control__search-results.is-loading {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
|
|
|
.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: left;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 12px 16px;
|
2020-01-22 17:06:21 -05:00
|
|
|
border-radius: 5px;
|
2021-01-27 21:04:13 -05:00
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
.block-editor-link-control__search-item:hover, .block-editor-link-control__search-item:focus {
|
|
|
|
background-color: #ddd;
|
|
|
|
}
|
|
|
|
.block-editor-link-control__search-item:focus:not(:disabled) {
|
|
|
|
box-shadow: 0 0 0 2px #007cba inset;
|
|
|
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color) inset;
|
|
|
|
}
|
|
|
|
.block-editor-link-control__search-item.is-selected {
|
|
|
|
background: #f0f0f0;
|
|
|
|
}
|
|
|
|
.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-left: 24px;
|
|
|
|
}
|
|
|
|
.block-editor-link-control__search-item .block-editor-link-control__search-item-header {
|
|
|
|
display: block;
|
2021-02-02 00:17:13 -05:00
|
|
|
margin-right: 8px;
|
2021-01-27 21:04:13 -05:00
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.block-editor-link-control__search-item .block-editor-link-control__search-item-icon {
|
|
|
|
margin-right: 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 {
|
|
|
|
overflow: hidden;
|
2021-02-02 00:17:13 -05:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
padding-right: 24px;
|
|
|
|
}
|
|
|
|
.block-editor-link-control__search-item .block-editor-link-control__search-item-info .components-external-link__icon,
|
|
|
|
.block-editor-link-control__search-item .block-editor-link-control__search-item-title .components-external-link__icon {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
margin-top: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
}
|
|
|
|
.block-editor-link-control__search-item .block-editor-link-control__search-item-title {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 0.2em;
|
|
|
|
font-weight: 500;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.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: #757575;
|
|
|
|
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-left: auto;
|
|
|
|
font-size: 0.9em;
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-link-control__loading {
|
|
|
|
margin: 16px;
|
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.block-editor-link-control__loading .components-spinner {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.components-button + .block-editor-link-control__search-create {
|
|
|
|
overflow: visible;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 12px 16px;
|
|
|
|
}
|
|
|
|
.components-button + .block-editor-link-control__search-create::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: -10px;
|
|
|
|
left: 0;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2021-01-27 21:04:13 -05:00
|
|
|
.block-editor-link-control__search-results div[role=menu] > .block-editor-link-control__search-item.block-editor-link-control__search-item {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
|
|
|
.block-editor-link-control__settings {
|
2020-07-07 10:43:35 -04:00
|
|
|
border-top: 1px solid #ddd;
|
2020-01-08 06:57:23 -05:00
|
|
|
margin: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 16px 24px;
|
|
|
|
}
|
|
|
|
.block-editor-link-control__settings :last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
|
|
|
.block-editor-link-control__setting {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
.block-editor-link-control__setting :last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
|
|
|
.block-editor-link-control .block-editor-link-control__search-input .components-spinner {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner {
|
|
|
|
position: absolute;
|
|
|
|
left: auto;
|
|
|
|
bottom: auto;
|
|
|
|
/*
|
|
|
|
* Position spinner to the left of the actions.
|
|
|
|
*
|
|
|
|
* Compensate for:
|
|
|
|
* - Input margin ($grid-unit-20)
|
|
|
|
* - 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;
|
|
|
|
right: 62px;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
|
|
|
.block-editor-link-control__search-item-action {
|
|
|
|
margin-left: auto;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-line-height-control {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
.block-editor-line-height-control input {
|
|
|
|
display: block;
|
|
|
|
max-width: 60px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-02-06 16:03:31 -05:00
|
|
|
.block-editor-image-size-control {
|
2021-01-27 21:04:13 -05:00
|
|
|
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-right: 5px;
|
|
|
|
}
|
|
|
|
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
2020-02-06 16:03:31 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-list__layout.has-overlay::after {
|
2019-03-21 08:48:00 -04:00
|
|
|
content: "";
|
|
|
|
position: absolute;
|
2019-09-19 11:19:18 -04:00
|
|
|
top: -14px;
|
|
|
|
right: -14px;
|
|
|
|
bottom: -14px;
|
|
|
|
left: -14px;
|
2021-01-27 21:04:13 -05:00
|
|
|
z-index: 60;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2021-01-27 21:04:13 -05:00
|
|
|
[data-align=full] .has-overlay::after {
|
2019-03-21 08:48:00 -04:00
|
|
|
right: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
left: 0;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2019-03-21 08:48:00 -04:00
|
|
|
.block-editor-block-types-list__list-item {
|
|
|
|
display: block;
|
|
|
|
width: 33.33%;
|
2019-09-19 11:19:18 -04:00
|
|
|
padding: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.components-button.block-editor-block-types-list__item {
|
2019-03-21 08:48:00 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
font-size: 13px;
|
2020-10-13 09:10:30 -04:00
|
|
|
color: #1e1e1e;
|
2020-06-26 09:33:47 -04:00
|
|
|
padding: 8px;
|
2019-03-21 08:48:00 -04:00
|
|
|
align-items: stretch;
|
|
|
|
justify-content: center;
|
|
|
|
cursor: pointer;
|
|
|
|
background: transparent;
|
|
|
|
word-break: break-word;
|
2020-06-26 09:33:47 -04:00
|
|
|
border-radius: 2px;
|
2019-03-21 08:48:00 -04:00
|
|
|
border: 1px solid transparent;
|
|
|
|
transition: all 0.05s ease-in-out;
|
2020-01-22 17:06:21 -05:00
|
|
|
position: relative;
|
2021-01-27 21:04:13 -05:00
|
|
|
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 {
|
|
|
|
border-color: #007cba;
|
|
|
|
border-color: var(--wp-admin-theme-color);
|
|
|
|
color: #007cba !important;
|
|
|
|
color: var(--wp-admin-theme-color) !important;
|
|
|
|
}
|
|
|
|
.components-button.block-editor-block-types-list__item:not(:disabled).is-active {
|
|
|
|
color: #fff;
|
|
|
|
background: #1e1e1e;
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
outline-offset: -2px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-block-types-list__item-icon {
|
|
|
|
padding: 12px 20px;
|
2020-06-26 09:33:47 -04:00
|
|
|
border-radius: 2px;
|
|
|
|
color: #1e1e1e;
|
2021-01-27 21:04:13 -05:00
|
|
|
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-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
.block-editor-block-types-list__item-icon svg {
|
|
|
|
transition: all 0.15s ease-out;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2019-03-21 08:48:00 -04:00
|
|
|
.block-editor-block-types-list__item-icon svg {
|
2021-01-27 21:04:13 -05:00
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-editor-block-types-list__list-item[draggable=true] .block-editor-block-types-list__item-icon {
|
|
|
|
cursor: grab;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-block-types-list__item-title {
|
2020-06-26 09:33:47 -04:00
|
|
|
padding: 4px 2px 8px;
|
2021-01-27 21:04:13 -05:00
|
|
|
font-size: 12px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-01-22 17:06:21 -05:00
|
|
|
.modal-open .block-editor-media-replace-flow__options {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: none;
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-media-replace-flow__options .components-popover__content > div {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding-top: 16px;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-media-replace-flow__indicator {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-left: 4px;
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
|
2020-10-13 09:10:30 -04:00
|
|
|
.block-editor-media-flow__url-input {
|
|
|
|
border-top: 1px solid #1e1e1e;
|
|
|
|
margin-top: 12px;
|
|
|
|
margin-right: -12px;
|
|
|
|
margin-left: -12px;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 12px 24px 0;
|
|
|
|
}
|
|
|
|
.block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label {
|
|
|
|
top: 16px;
|
|
|
|
}
|
|
|
|
.block-editor-media-flow__url-input .block-editor-link-control {
|
|
|
|
margin-top: -16px;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.block-editor-media-flow__url-input .block-editor-link-control .components-base-control .components-base-control__field {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-title {
|
|
|
|
max-width: 180px;
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item.is-current {
|
|
|
|
width: auto;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text] {
|
|
|
|
margin: 16px 0 0 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions {
|
|
|
|
right: 4px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-media-flow__error {
|
|
|
|
padding: 0 20px 20px 20px;
|
2021-01-27 21:04:13 -05:00
|
|
|
max-width: 255px;
|
|
|
|
}
|
|
|
|
.block-editor-media-flow__error .components-with-notices-ui {
|
|
|
|
max-width: 255px;
|
|
|
|
}
|
|
|
|
.block-editor-media-flow__error .components-with-notices-ui .components-notice__content {
|
|
|
|
overflow: hidden;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
.block-editor-media-flow__error .components-with-notices-ui .components-notice__dismiss {
|
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
|
|
|
}
|
2020-01-22 17:06:21 -05:00
|
|
|
|
|
|
|
.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-media-placeholder__url-input-form {
|
2021-01-27 21:04:13 -05:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-media-placeholder__url-input-submit-button {
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-media-placeholder__button {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.block-editor-media-placeholder__cancel-button.is-link {
|
|
|
|
margin: 1em;
|
2021-01-27 21:04:13 -05:00
|
|
|
display: block;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
.block-editor-media-placeholder.is-appender {
|
2021-01-27 21:04:13 -05:00
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
.block-editor-media-placeholder.is-appender:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
box-shadow: 0 0 0 1px #007cba;
|
|
|
|
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2019-03-21 08:48:00 -04:00
|
|
|
.block-editor-multi-selection-inspector__card {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 16px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-multi-selection-inspector__card-content {
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-multi-selection-inspector__card-title {
|
|
|
|
font-weight: 500;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-multi-selection-inspector__card-description {
|
2021-01-27 21:04:13 -05:00
|
|
|
font-size: 13px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-multi-selection-inspector__card .block-editor-block-icon {
|
|
|
|
margin-left: -2px;
|
|
|
|
margin-right: 10px;
|
|
|
|
padding: 0 3px;
|
|
|
|
width: 36px;
|
2021-01-27 21:04:13 -05:00
|
|
|
height: 24px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2021-01-27 21:04:13 -05:00
|
|
|
.block-editor-plain-text {
|
2019-03-21 08:48:00 -04:00
|
|
|
box-shadow: none;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
color: inherit;
|
|
|
|
line-height: inherit;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
width: 100%;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.block-editor-responsive-block-control {
|
|
|
|
margin-bottom: 28px;
|
2020-10-13 09:10:30 -04:00
|
|
|
border-bottom: 1px solid #ccc;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding-bottom: 14px;
|
|
|
|
}
|
|
|
|
.block-editor-responsive-block-control:last-child {
|
|
|
|
padding-bottom: 0;
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.block-editor-responsive-block-control__title {
|
|
|
|
margin: 0;
|
|
|
|
margin-bottom: 0.6em;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-left: -3px;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
|
|
|
.block-editor-responsive-block-control__label {
|
|
|
|
font-weight: 600;
|
|
|
|
margin-bottom: 0.6em;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-left: -3px;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
|
|
|
.block-editor-responsive-block-control__inner {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-left: -1px;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
|
|
|
.block-editor-responsive-block-control__toggle {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-left: 1px;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
|
|
|
.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;
|
2019-03-21 08:48:00 -04:00
|
|
|
position: absolute;
|
2020-01-08 06:57:23 -05:00
|
|
|
width: 1px;
|
2021-01-27 21:04:13 -05:00
|
|
|
word-wrap: normal !important;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-format-toolbar .components-dropdown-menu__toggle {
|
2021-01-27 21:04:13 -05:00
|
|
|
justify-content: center;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2021-02-02 00:17:13 -05:00
|
|
|
.show-icon-labels .block-editor-format-toolbar .components-button.has-icon {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.show-icon-labels .block-editor-format-toolbar .components-button.has-icon svg {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.show-icon-labels .block-editor-format-toolbar .components-button.has-icon::after {
|
|
|
|
content: attr(aria-label);
|
|
|
|
}
|
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.block-editor-rich-text__editable > p:first-child {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
.block-editor-rich-text__editable [data-rich-text-placeholder] {
|
2021-01-27 21:04:13 -05:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
.block-editor-rich-text__editable [data-rich-text-placeholder]::after {
|
|
|
|
content: attr(data-rich-text-placeholder);
|
2021-01-27 21:04:13 -05:00
|
|
|
opacity: 0.62;
|
|
|
|
}
|
2020-02-06 16:03:31 -05:00
|
|
|
.block-editor-rich-text__editable:focus {
|
2021-01-27 21:04:13 -05:00
|
|
|
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;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before {
|
2021-01-27 21:04:13 -05:00
|
|
|
opacity: 0.8;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.components-popover.block-editor-rich-text__inline-format-toolbar {
|
2021-01-27 21:04:13 -05:00
|
|
|
z-index: 99998;
|
|
|
|
}
|
|
|
|
.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content {
|
|
|
|
width: auto;
|
|
|
|
min-width: auto;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
box-shadow: none;
|
|
|
|
border: 1px solid #1e1e1e;
|
|
|
|
border-radius: 2px;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar-group,
|
|
|
|
.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar__control,
|
|
|
|
.components-popover.block-editor-rich-text__inline-format-toolbar .components-dropdown-menu__toggle {
|
|
|
|
min-width: 48px;
|
|
|
|
min-height: 48px;
|
|
|
|
padding-left: 12px;
|
|
|
|
padding-right: 12px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-skip-to-selected-block {
|
|
|
|
position: absolute;
|
2021-01-27 21:04:13 -05:00
|
|
|
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: #007cba;
|
|
|
|
color: var(--wp-admin-theme-color);
|
|
|
|
line-height: normal;
|
|
|
|
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
|
|
|
text-decoration: none;
|
|
|
|
outline: none;
|
|
|
|
z-index: 100000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.block-editor-text-decoration-and-transform {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.block-editor-text-transform-control {
|
|
|
|
flex: 0 0 50%;
|
|
|
|
}
|
|
|
|
.block-editor-text-transform-control legend {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
.block-editor-text-transform-control .block-editor-text-transform-control__buttons {
|
|
|
|
display: inline-flex;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
.block-editor-text-transform-control .block-editor-text-transform-control__buttons .components-button.has-icon {
|
|
|
|
min-width: 24px;
|
|
|
|
padding: 0;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.block-editor-text-decoration-control {
|
|
|
|
flex: 0 0 50%;
|
|
|
|
}
|
|
|
|
.block-editor-text-decoration-control legend {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
.block-editor-text-decoration-control .block-editor-text-decoration-control__buttons {
|
|
|
|
display: inline-flex;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
.block-editor-text-decoration-control .block-editor-text-decoration-control__buttons .components-button.has-icon {
|
|
|
|
min-width: 24px;
|
|
|
|
padding: 0;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.block-editor-tool-selector__help {
|
2020-06-26 09:33:47 -04:00
|
|
|
margin-top: 8px;
|
|
|
|
margin-left: -12px;
|
|
|
|
margin-right: -12px;
|
|
|
|
margin-bottom: -12px;
|
|
|
|
padding: 12px 20px;
|
2020-07-07 10:43:35 -04:00
|
|
|
border-top: 1px solid #ddd;
|
2021-01-27 21:04:13 -05:00
|
|
|
color: #757575;
|
|
|
|
min-width: 280px;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
2019-03-21 08:48:00 -04:00
|
|
|
.block-editor-block-list__block .block-editor-url-input,
|
|
|
|
.components-popover .block-editor-url-input,
|
|
|
|
.block-editor-url-input {
|
|
|
|
flex-grow: 1;
|
|
|
|
position: relative;
|
2021-01-27 21:04:13 -05:00
|
|
|
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-left: 0;
|
|
|
|
margin-right: 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.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 .block-editor-url-input__input[type=text],
|
|
|
|
.components-popover .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],
|
|
|
|
.block-editor-url-input.is-full-width .block-editor-url-input__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;
|
|
|
|
right: 8px;
|
|
|
|
bottom: 17px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.block-editor-url-input__input[type=text] {
|
2020-06-26 09:33:47 -04:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
|
|
padding: 6px 8px;
|
|
|
|
box-shadow: 0 0 0 transparent;
|
|
|
|
transition: box-shadow 0.1s linear;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid #757575;
|
|
|
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
|
|
font-size: 16px;
|
|
|
|
/* Override core line-height. To be reviewed. */
|
2021-01-27 21:04:13 -05:00
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.block-editor-url-input__input[type=text] {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.block-editor-url-input__input[type=text] {
|
|
|
|
font-size: 13px;
|
|
|
|
/* Override core line-height. To be reviewed. */
|
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-editor-url-input__input[type=text]:focus {
|
|
|
|
border-color: #007cba;
|
|
|
|
border-color: var(--wp-admin-theme-color);
|
|
|
|
box-shadow: 0 0 0 1px #007cba;
|
|
|
|
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
|
|
|
.block-editor-url-input__input[type=text]::-webkit-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.block-editor-url-input__input[type=text]::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.block-editor-url-input__input[type=text]:-ms-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.is-dark-theme .block-editor-url-input__input[type=text]::-webkit-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .block-editor-url-input__input[type=text]::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .block-editor-url-input__input[type=text]:-ms-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2019-03-21 08:48:00 -04:00
|
|
|
.block-editor-url-input__suggestions {
|
|
|
|
max-height: 200px;
|
|
|
|
transition: all 0.15s ease-in-out;
|
|
|
|
padding: 4px 0;
|
|
|
|
width: 302px;
|
2021-01-27 21:04:13 -05:00
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.block-editor-url-input__suggestions {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-url-input__suggestions,
|
|
|
|
.block-editor-url-input .components-spinner {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.block-editor-url-input__suggestions,
|
|
|
|
.block-editor-url-input .components-spinner {
|
|
|
|
display: inherit;
|
|
|
|
}
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-url-input__suggestion {
|
|
|
|
padding: 4px 8px;
|
2020-10-13 09:10:30 -04:00
|
|
|
color: #757575;
|
2019-03-21 08:48:00 -04:00
|
|
|
display: block;
|
|
|
|
font-size: 13px;
|
|
|
|
cursor: pointer;
|
|
|
|
background: #fff;
|
|
|
|
width: 100%;
|
|
|
|
border: none;
|
|
|
|
text-align: left;
|
2021-01-27 21:04:13 -05:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
.block-editor-url-input__suggestion:hover {
|
|
|
|
background: #ddd;
|
|
|
|
}
|
|
|
|
.block-editor-url-input__suggestion:focus, .block-editor-url-input__suggestion.is-selected {
|
|
|
|
background: #005a87;
|
|
|
|
background: var(--wp-admin-theme-color-darker-20);
|
|
|
|
color: #fff;
|
|
|
|
outline: none;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.components-toolbar-group > .block-editor-url-input__button,
|
2019-03-21 08:48:00 -04:00
|
|
|
.components-toolbar > .block-editor-url-input__button {
|
2021-01-27 21:04:13 -05:00
|
|
|
position: inherit;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-url-input__button .block-editor-url-input__back {
|
|
|
|
margin-right: 4px;
|
2021-01-27 21:04:13 -05:00
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
.block-editor-url-input__button .block-editor-url-input__back::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: 1px;
|
|
|
|
height: 24px;
|
|
|
|
right: -1px;
|
|
|
|
background: #ddd;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-url-input__button-modal {
|
2020-06-26 09:33:47 -04:00
|
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
|
2020-07-07 10:43:35 -04:00
|
|
|
border: 1px solid #ddd;
|
2021-01-27 21:04:13 -05:00
|
|
|
background: #fff;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-url-input__button-modal-line {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
min-width: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
.block-editor-url-input__button-modal-line .components-button {
|
|
|
|
flex-shrink: 0;
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.block-editor-url-popover__additional-controls {
|
2021-01-27 21:04:13 -05:00
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2021-01-27 21:04:13 -05:00
|
|
|
.block-editor-url-popover__additional-controls > div[role=menu] .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary) > svg {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2021-01-27 21:04:13 -05:00
|
|
|
.block-editor-url-popover__additional-controls div[role=menu] > .components-button {
|
|
|
|
padding-left: 2px;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2019-03-21 08:48:00 -04:00
|
|
|
.block-editor-url-popover__row {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: flex;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-url-popover__row > :not(.block-editor-url-popover__settings-toggle) {
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-01-22 17:06:21 -05:00
|
|
|
.block-editor-url-popover .components-button.has-icon {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
.block-editor-url-popover .components-button.has-icon > svg {
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 2px;
|
|
|
|
height: 30px;
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
.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 2px #007cba, inset 0 0 0 4px #fff;
|
|
|
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 4px #fff;
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-url-popover__settings-toggle {
|
|
|
|
flex-shrink: 0;
|
|
|
|
border-radius: 0;
|
2020-07-07 10:43:35 -04:00
|
|
|
border-left: 1px solid #ddd;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-left: 1px;
|
|
|
|
}
|
|
|
|
.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.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 {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
2019-03-21 08:48:00 -04:00
|
|
|
.block-editor-url-popover__settings {
|
2019-09-19 11:19:18 -04:00
|
|
|
display: block;
|
2019-03-21 08:48:00 -04:00
|
|
|
padding: 16px;
|
2021-01-27 21:04:13 -05:00
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.block-editor-url-popover__link-editor,
|
|
|
|
.block-editor-url-popover__link-viewer {
|
2021-01-27 21:04:13 -05:00
|
|
|
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;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
.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;
|
2021-01-27 21:04:13 -05:00
|
|
|
max-width: 500px;
|
|
|
|
}
|
|
|
|
.block-editor-url-popover__link-viewer-url.has-invalid-link {
|
|
|
|
color: #cc1818;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2019-03-21 08:48:00 -04:00
|
|
|
.block-editor-warning {
|
2020-06-26 09:33:47 -04:00
|
|
|
align-items: center;
|
2019-03-21 08:48:00 -04:00
|
|
|
display: flex;
|
2020-06-26 09:33:47 -04:00
|
|
|
flex-wrap: wrap;
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
2020-10-13 09:10:30 -04:00
|
|
|
padding: 1em;
|
2020-06-26 09:33:47 -04:00
|
|
|
border: 1px solid #1e1e1e;
|
|
|
|
border-radius: 2px;
|
2021-01-27 21:04:13 -05:00
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
color: #1e1e1e;
|
2021-02-02 00:17:13 -05:00
|
|
|
margin: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
}
|
|
|
|
.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;
|
2021-02-02 00:17:13 -05:00
|
|
|
margin-top: 1em;
|
2021-01-27 21:04:13 -05:00
|
|
|
}
|
|
|
|
.block-editor-warning .block-editor-warning__action {
|
|
|
|
margin: 0 8px 0 0;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
|
|
|
.block-editor-warning__secondary {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: auto 0 auto 8px;
|
|
|
|
}
|
2019-03-21 08:48:00 -04:00
|
|
|
|
2020-10-13 09:10:30 -04:00
|
|
|
.components-popover.block-editor-warning__dropdown {
|
2021-01-27 21:04:13 -05:00
|
|
|
z-index: 99998;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
.html-anchor-control .components-external-link {
|
|
|
|
display: block;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-top: 8px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
#end-resizable-editor-section {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: none;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Block Toolbar
|
|
|
|
*/
|
|
|
|
.block-editor-block-toolbar {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
position: relative;
|
2021-01-27 21:04:13 -05:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-editor-block-toolbar .components-toolbar-group,
|
|
|
|
.block-editor-block-toolbar .components-toolbar {
|
|
|
|
background: none;
|
|
|
|
line-height: 0;
|
|
|
|
margin-top: -1px;
|
|
|
|
margin-bottom: -1px;
|
|
|
|
border: 0;
|
|
|
|
border-right: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
.block-editor-block-toolbar > :last-child,
|
|
|
|
.block-editor-block-toolbar > :last-child .components-toolbar-group,
|
|
|
|
.block-editor-block-toolbar > :last-child .components-toolbar {
|
|
|
|
border-right: none;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-10-13 09:10:30 -04:00
|
|
|
.block-editor-block-toolbar__block-controls {
|
|
|
|
height: auto !important;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
.block-editor-block-toolbar__block-controls .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,
|
|
|
|
.block-editor-block-toolbar__block-controls .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
|
|
|
|
width: 24px !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
.block-editor-block-toolbar__block-controls .block-editor-block-switcher .components-dropdown-menu__toggle:focus::before,
|
|
|
|
.block-editor-block-toolbar__block-controls .block-editor-block-switcher__no-switcher-icon:focus::before {
|
|
|
|
right: 4px !important;
|
|
|
|
}
|
|
|
|
.block-editor-block-toolbar__block-controls .block-editor-block-mover {
|
|
|
|
margin-left: -6px;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-block-toolbar .components-toolbar-group,
|
|
|
|
.block-editor-block-toolbar .components-toolbar,
|
|
|
|
.block-editor-format-toolbar .components-toolbar-group,
|
|
|
|
.block-editor-format-toolbar .components-toolbar {
|
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-wrap: nowrap;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-block-toolbar__slot {
|
|
|
|
display: inline-block;
|
2021-01-27 21:04:13 -05:00
|
|
|
line-height: 0;
|
|
|
|
}
|
|
|
|
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
|
|
|
.block-editor-block-toolbar__slot {
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-block-toolbar__block-parent-selector-wrapper {
|
|
|
|
position: absolute;
|
|
|
|
top: -1px;
|
|
|
|
left: -1px;
|
|
|
|
opacity: 0;
|
|
|
|
transition: all 60ms linear;
|
2021-01-27 21:04:13 -05:00
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.block-editor-block-toolbar__block-parent-selector-wrapper {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.is-showing-movers .block-editor-block-toolbar__block-parent-selector-wrapper {
|
2020-08-10 10:18:33 -04:00
|
|
|
opacity: 1;
|
2021-01-27 21:04:13 -05:00
|
|
|
transform: translateY(-60px);
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2021-02-02 00:17:13 -05:00
|
|
|
.show-icon-labels .block-editor-block-toolbar .components-button.has-icon {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.show-icon-labels .block-editor-block-toolbar .components-button.has-icon svg {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.show-icon-labels .block-editor-block-toolbar .components-button.has-icon::after {
|
|
|
|
content: attr(aria-label);
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
.show-icon-labels .components-accessible-toolbar .components-toolbar-group > div:first-child:last-child > .components-button.has-icon {
|
|
|
|
padding-left: 6px;
|
|
|
|
padding-right: 6px;
|
|
|
|
}
|
|
|
|
.show-icon-labels .block-editor-block-switcher {
|
|
|
|
border-right: 1px solid #1e1e1e;
|
|
|
|
}
|
|
|
|
.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,
|
|
|
|
.show-icon-labels .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
|
|
|
|
width: 0 !important;
|
|
|
|
height: 0 !important;
|
|
|
|
}
|
|
|
|
.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle:focus::before,
|
|
|
|
.show-icon-labels .block-editor-block-switcher__no-switcher-icon:focus::before {
|
|
|
|
right: 4px !important;
|
|
|
|
}
|
|
|
|
.show-icon-labels .block-editor-block-parent-selector__button .block-editor-block-icon {
|
|
|
|
width: 0;
|
|
|
|
}
|
|
|
|
.show-icon-labels .block-editor-block-toolbar__block-controls .block-editor-block-mover {
|
|
|
|
margin-left: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.show-icon-labels .block-editor-block-mover-button {
|
|
|
|
padding-left: 8px !important;
|
|
|
|
padding-right: 8px !important;
|
|
|
|
}
|
|
|
|
.show-icon-labels .block-editor-block-mover__drag-handle.has-icon {
|
|
|
|
padding-left: 6px !important;
|
|
|
|
padding-right: 6px !important;
|
|
|
|
border-right: 1px solid #1e1e1e;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.show-icon-labels .is-up-button.is-up-button.is-up-button {
|
|
|
|
border-bottom: 1px solid #1e1e1e;
|
|
|
|
margin-right: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.show-icon-labels .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.show-icon-labels .components-toolbar,
|
|
|
|
.show-icon-labels .components-toolbar-group {
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
|
|
|
.show-icon-labels .block-editor-format-toolbar .components-button + .components-button {
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.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;
|
2021-01-27 21:04:13 -05:00
|
|
|
line-height: 0;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.block-editor-inserter {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2021-02-02 00:17:13 -05:00
|
|
|
.block-editor-inserter__popover.is-quick .components-popover__content {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > * {
|
|
|
|
border-left: 1px solid #ccc;
|
|
|
|
border-right: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *:first-child {
|
|
|
|
border-top: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *:last-child {
|
|
|
|
border-bottom: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *.components-button {
|
|
|
|
border: 1px solid #1e1e1e;
|
|
|
|
}
|
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-inserter__popover .block-editor-inserter__menu {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: -12px;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__tabs .components-tab-panel__tabs {
|
|
|
|
top: 60px;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__main-area {
|
|
|
|
overflow: visible;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__preview-container {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__toggle.components-button {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
padding: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
transition: color 0.2s ease;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.block-editor-inserter__toggle.components-button {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__menu {
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
2021-01-27 21:04:13 -05:00
|
|
|
overflow: visible;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__main-area {
|
|
|
|
width: auto;
|
|
|
|
overflow-y: auto;
|
2021-01-27 21:04:13 -05:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.block-editor-inserter__main-area {
|
|
|
|
width: 350px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__inline-elements {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-top: -1px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__menu.is-bottom::after {
|
2021-01-27 21:04:13 -05:00
|
|
|
border-bottom-color: #fff;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.components-popover.block-editor-inserter__popover {
|
2021-01-27 21:04:13 -05:00
|
|
|
z-index: 99999;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__search {
|
|
|
|
padding: 16px;
|
|
|
|
position: -webkit-sticky;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
background: #fff;
|
2021-01-27 21:04:13 -05:00
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__search input[type=search].block-editor-inserter__search-input {
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
|
|
padding: 6px 8px;
|
|
|
|
box-shadow: 0 0 0 transparent;
|
|
|
|
transition: box-shadow 0.1s linear;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid #757575;
|
|
|
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
|
|
font-size: 16px;
|
|
|
|
/* Override core line-height. To be reviewed. */
|
|
|
|
line-height: normal;
|
|
|
|
display: block;
|
|
|
|
padding: 16px 48px 16px 16px;
|
|
|
|
background: #f0f0f0;
|
|
|
|
border: none;
|
|
|
|
width: 100%;
|
|
|
|
height: 48px;
|
|
|
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.block-editor-inserter__search input[type=search].block-editor-inserter__search-input {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.block-editor-inserter__search input[type=search].block-editor-inserter__search-input {
|
|
|
|
font-size: 13px;
|
2020-06-26 09:33:47 -04:00
|
|
|
/* Override core line-height. To be reviewed. */
|
|
|
|
line-height: normal;
|
2021-01-27 21:04:13 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus {
|
|
|
|
border-color: #007cba;
|
|
|
|
border-color: var(--wp-admin-theme-color);
|
|
|
|
box-shadow: 0 0 0 1px #007cba;
|
|
|
|
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.block-editor-inserter__search input[type=search].block-editor-inserter__search-input {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus {
|
|
|
|
background: #fff;
|
|
|
|
box-shadow: 0 0 0 2px #007cba;
|
|
|
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder {
|
|
|
|
color: #757575;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::placeholder {
|
|
|
|
color: #757575;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-decoration, .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-cancel-button, .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-button, .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-decoration {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__search-icon {
|
|
|
|
position: absolute;
|
2020-07-07 10:43:35 -04:00
|
|
|
top: 0;
|
|
|
|
right: 20px;
|
|
|
|
bottom: 0;
|
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__search-icon > svg {
|
|
|
|
margin: 8px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__tabs {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-top: -8px;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__tabs .components-tab-panel__tabs {
|
|
|
|
position: -webkit-sticky;
|
|
|
|
position: sticky;
|
|
|
|
top: 72px;
|
|
|
|
background: #fff;
|
|
|
|
z-index: 1;
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-bottom: -1px;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__tabs .components-tab-panel__tab-content {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-direction: column;
|
|
|
|
position: relative;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__panel-header {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 16px 16px 0;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-10-13 09:10:30 -04:00
|
|
|
.block-editor-inserter__panel-header-patterns {
|
2021-02-02 00:17:13 -05:00
|
|
|
padding: 16px 16px 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-inserter__panel-content {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 16px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-10-13 09:10:30 -04:00
|
|
|
.block-editor-inserter__panel-title,
|
2021-01-27 21:04:13 -05:00
|
|
|
.block-editor-inserter__panel-title button {
|
2020-06-26 09:33:47 -04:00
|
|
|
margin: 0 12px 0 0;
|
|
|
|
color: #757575;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 11px;
|
2021-01-27 21:04:13 -05:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-10-13 09:10:30 -04:00
|
|
|
.block-editor-inserter__panel-dropdown select.components-select-control__input.components-select-control__input.components-select-control__input {
|
2021-01-27 21:04:13 -05:00
|
|
|
line-height: 1.2;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__panel-dropdown select {
|
2021-01-27 21:04:13 -05:00
|
|
|
border: none;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-inserter__block-list {
|
|
|
|
flex-grow: 1;
|
2021-01-27 21:04:13 -05:00
|
|
|
position: relative;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__popover .block-editor-block-types-list {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: -8px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__reusable-blocks-panel {
|
|
|
|
position: relative;
|
2021-01-27 21:04:13 -05:00
|
|
|
text-align: right;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__manage-reusable-blocks {
|
|
|
|
display: inline-block;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 16px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__no-results {
|
|
|
|
padding: 32px;
|
|
|
|
margin-top: 64px;
|
2021-01-27 21:04:13 -05:00
|
|
|
text-align: center;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__no-results-icon {
|
2021-01-27 21:04:13 -05:00
|
|
|
fill: #949494;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__child-blocks {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 0 16px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__parent-block-header {
|
|
|
|
display: flex;
|
2021-01-27 21:04:13 -05:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__parent-block-header h2 {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__parent-block-header .block-editor-block-icon {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__preview-container {
|
|
|
|
display: none;
|
|
|
|
width: 300px;
|
|
|
|
background: #fff;
|
|
|
|
border-radius: 2px;
|
2020-07-07 10:43:35 -04:00
|
|
|
border: 1px solid #ddd;
|
2020-06-26 09:33:47 -04:00
|
|
|
position: absolute;
|
|
|
|
top: 16px;
|
2020-10-13 09:10:30 -04:00
|
|
|
left: calc(100% + 16px);
|
|
|
|
max-height: calc(100% - 32px);
|
2021-01-27 21:04:13 -05:00
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.block-editor-inserter__preview-container {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.block-editor-inserter__preview-container .block-editor-block-card {
|
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__preview-container .block-editor-block-card__title {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__preview-content {
|
|
|
|
min-height: 144px;
|
2020-07-07 10:43:35 -04:00
|
|
|
background: #f0f0f0;
|
2020-06-26 09:33:47 -04:00
|
|
|
display: -ms-grid;
|
|
|
|
display: grid;
|
|
|
|
flex-grow: 1;
|
2021-01-27 21:04:13 -05:00
|
|
|
align-items: center;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__preview-content-missing {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
min-height: 144px;
|
2020-10-13 09:10:30 -04:00
|
|
|
color: #757575;
|
2021-01-27 21:04:13 -05:00
|
|
|
background: #f0f0f0;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__tips {
|
2020-07-07 10:43:35 -04:00
|
|
|
border-top: 1px solid #ddd;
|
2020-06-26 09:33:47 -04:00
|
|
|
padding: 16px;
|
2021-01-27 21:04:13 -05:00
|
|
|
flex-shrink: 0;
|
|
|
|
position: relative;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-07-07 10:43:35 -04:00
|
|
|
.block-editor-inserter__manage-reusable-blocks-container {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 16px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-07-07 10:43:35 -04:00
|
|
|
.block-editor-inserter__quick-inserter {
|
2020-10-13 09:10:30 -04:00
|
|
|
width: 100%;
|
2021-01-27 21:04:13 -05:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.block-editor-inserter__quick-inserter {
|
|
|
|
width: 350px;
|
|
|
|
}
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
2020-10-13 09:10:30 -04:00
|
|
|
.block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header {
|
|
|
|
height: 0;
|
|
|
|
padding: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
float: left;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__quick-inserter .block-editor-inserter__panel-content {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 8px;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__quick-inserter.has-search .block-editor-inserter__panel-content,
|
|
|
|
.block-editor-inserter__quick-inserter.has-expand .block-editor-inserter__panel-content {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 16px;
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__quick-inserter-patterns {
|
|
|
|
display: -ms-grid;
|
|
|
|
display: grid;
|
|
|
|
-ms-grid-columns: 1fr 1fr;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
2021-01-27 21:04:13 -05:00
|
|
|
grid-gap: 8px;
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__quick-inserter-separator {
|
2021-01-27 21:04:13 -05:00
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
2020-07-14 07:39:09 -04:00
|
|
|
.block-editor-inserter__popover.is-quick > .components-popover__content > div {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 0;
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
|
|
|
.block-editor-inserter__quick-inserter-expand.components-button {
|
|
|
|
display: block;
|
|
|
|
background: #1e1e1e;
|
|
|
|
color: #fff;
|
|
|
|
width: 100%;
|
|
|
|
height: 44px;
|
2021-01-27 21:04:13 -05:00
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__quick-inserter-expand.components-button:hover {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__quick-inserter-expand.components-button:active {
|
|
|
|
color: #ccc;
|
|
|
|
}
|
|
|
|
.block-editor-inserter__quick-inserter-expand.components-button:focus:not(:disabled) {
|
|
|
|
box-shadow: inset 0 0 0 1.5px #007cba, inset 0 0 0 3px #fff;
|
|
|
|
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color), inset 0 0 0 3px #fff;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-post-preview__dropdown {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 0;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding-left: 40px;
|
|
|
|
}
|
|
|
|
.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize.has-icon {
|
|
|
|
padding-left: 8px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.block-editor-post-preview__dropdown-content .components-popover__content {
|
2021-01-27 21:04:13 -05:00
|
|
|
overflow-y: visible;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
.block-editor-post-preview__dropdown-content.edit-post-post-preview-dropdown .components-menu-group:first-child {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding-bottom: 8px;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
.block-editor-post-preview__dropdown-content.edit-post-post-preview-dropdown .components-menu-group:last-child {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
.block-editor-post-preview__dropdown-content .components-menu-group + .components-menu-group {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 8px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
@media (min-width: 600px) {
|
2020-10-13 09:10:30 -04:00
|
|
|
.edit-post-header__settings .editor-post-preview,
|
2021-01-27 21:04:13 -05:00
|
|
|
.edit-site-header__actions .editor-post-preview {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-save-draft,
|
|
|
|
.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-saved-state,
|
|
|
|
.edit-post-header.has-reduced-ui .edit-post-header__settings .block-editor-post-preview__button-toggle {
|
|
|
|
transition: opacity 0.1s linear;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) and (prefers-reduced-motion: reduce) {
|
|
|
|
.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-save-draft,
|
|
|
|
.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-saved-state,
|
|
|
|
.edit-post-header.has-reduced-ui .edit-post-header__settings .block-editor-post-preview__button-toggle {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .editor-post-save-draft,
|
|
|
|
.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .editor-post-saved-state,
|
|
|
|
.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .block-editor-post-preview__button-toggle {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .block-editor-post-preview__button-toggle.is-opened {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
body.admin-color-light {
|
|
|
|
--wp-admin-theme-color: #0085ba;
|
|
|
|
--wp-admin-theme-color-darker-10: #0073a1;
|
|
|
|
--wp-admin-theme-color-darker-20: #006187;
|
|
|
|
--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-darker-10: #2145e6;
|
|
|
|
--wp-admin-theme-color-darker-20: #183ad6;
|
|
|
|
--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-darker-10: #07526c;
|
|
|
|
--wp-admin-theme-color-darker-20: #064054;
|
|
|
|
--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-darker-10: #383330;
|
|
|
|
--wp-admin-theme-color-darker-20: #2b2724;
|
|
|
|
--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-darker-10: #46365d;
|
|
|
|
--wp-admin-theme-color-darker-20: #3a2c4d;
|
|
|
|
--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-darker-10: #dd382d;
|
|
|
|
--wp-admin-theme-color-darker-20: #d02c21;
|
|
|
|
--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-darker-10: #576e74;
|
|
|
|
--wp-admin-theme-color-darker-20: #4c6066;
|
|
|
|
--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-darker-10: #d97426;
|
|
|
|
--wp-admin-theme-color-darker-20: #c36922;
|
|
|
|
--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;
|
|
|
|
}
|
|
|
|
}
|