--- a/wp/wp-includes/css/dist/block-editor/style.css Tue Oct 22 16:11:46 2019 +0200
+++ b/wp/wp-includes/css/dist/block-editor/style.css Tue Dec 15 13:49:49 2020 +0100
@@ -3,10 +3,40 @@
* Colors
*/
/**
+ * Deprecated colors.
+ * Please avoid using these.
+ */
+/**
* Breakpoints & Media Queries
*/
/**
- * Often re-used variables
+ * Colors
+ */
+/**
+ * Deprecated colors.
+ * Please avoid using these.
+ */
+/**
+ * Fonts & basic variables.
+ */
+/**
+ * Grid System.
+ * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
+ */
+/**
+ * Dimensions.
+ */
+/**
+ * Shadows.
+ */
+/**
+ * Editor widths.
+ */
+/**
+ * Block UI.
+ */
+/**
+ * Border radii.
*/
/**
* Breakpoint mixins
@@ -18,70 +48,47 @@
* than the space allows.
*/
/**
- * Button states and focus styles
+ * Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
- * Applies editor right 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.
*/
-.block-editor-block-drop-zone {
- border: none;
- border-radius: 0; }
- .block-editor-block-drop-zone .components-drop-zone__content,
- .block-editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content {
- display: none; }
- .block-editor-block-drop-zone.is-close-to-bottom {
- background: none;
- border-bottom: 3px solid #0085ba; }
- body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{
- border-bottom: 3px solid #d1864a; }
- body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{
- border-bottom: 3px solid #a3b9a2; }
- body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{
- border-bottom: 3px solid #e14d43; }
- body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{
- border-bottom: 3px solid #a7b656; }
- body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{
- border-bottom: 3px solid #c2a68c; }
- body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{
- border-bottom: 3px solid #82b4cb; }
- body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{
- border-bottom: 3px solid #0085ba; }
- .block-editor-block-drop-zone.is-close-to-top, .block-editor-block-drop-zone.is-appender.is-close-to-top, .block-editor-block-drop-zone.is-appender.is-close-to-bottom {
- background: none;
- border-top: 3px solid #0085ba;
- border-bottom: none; }
- body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top, body.admin-color-sunrise .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-sunrise .block-editor-block-drop-zone.is-appender.is-close-to-bottom{
- border-top: 3px solid #d1864a; }
- body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top, body.admin-color-ocean .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-ocean .block-editor-block-drop-zone.is-appender.is-close-to-bottom{
- border-top: 3px solid #a3b9a2; }
- body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top, body.admin-color-midnight .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-midnight .block-editor-block-drop-zone.is-appender.is-close-to-bottom{
- border-top: 3px solid #e14d43; }
- body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top, body.admin-color-ectoplasm .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-ectoplasm .block-editor-block-drop-zone.is-appender.is-close-to-bottom{
- border-top: 3px solid #a7b656; }
- body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top, body.admin-color-coffee .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-coffee .block-editor-block-drop-zone.is-appender.is-close-to-bottom{
- border-top: 3px solid #c2a68c; }
- body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top, body.admin-color-blue .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-blue .block-editor-block-drop-zone.is-appender.is-close-to-bottom{
- border-top: 3px solid #82b4cb; }
- body.admin-color-light .block-editor-block-drop-zone.is-close-to-top, body.admin-color-light .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-light .block-editor-block-drop-zone.is-appender.is-close-to-bottom{
- border-top: 3px solid #0085ba; }
+/**
+ * Reset default styles for JavaScript UI based pages.
+ * This is a WP-admin agnostic reset
+ */
+/**
+ * Reset the WP Admin page styles for Gutenberg-like pages.
+ */
+:root {
+ --wp-admin-theme-color: #007cba;
+ --wp-admin-theme-color-darker-10: #006ba1;
+ --wp-admin-theme-color-darker-20: #005a87; }
+
+#start-resizable-editor-section {
+ display: none; }
+
+.block-editor-autocompleters__block .block-editor-block-icon {
+ margin-right: 8px; }
+
+.block-editor-block-alignment-matrix-toolbar__popover .components-popover__content {
+ min-width: 0;
+ width: auto; }
+ .block-editor-block-alignment-matrix-toolbar__popover .components-popover__content > div {
+ padding: 8px; }
.block-editor-block-icon {
display: flex;
align-items: center;
justify-content: center;
width: 24px;
- height: 24px;
- margin: 0;
- border-radius: 4px; }
+ height: 24px; }
.block-editor-block-icon.has-colors svg {
fill: currentColor; }
.block-editor-block-icon svg {
@@ -90,6 +97,18 @@
max-width: 24px;
max-height: 24px; }
+.block-editor-block-inspector .components-base-control {
+ margin-bottom: 24px; }
+ .block-editor-block-inspector .components-base-control:last-child {
+ margin-bottom: 8px; }
+
+.block-editor-block-inspector .components-panel__body {
+ border: none;
+ border-top: 1px solid #f0f0f0; }
+
+.block-editor-block-inspector .block-editor-block-card {
+ padding: 16px; }
+
.block-editor-block-inspector__no-blocks {
display: block;
font-size: 13px;
@@ -97,93 +116,26 @@
padding: 32px 16px;
text-align: center; }
-.block-editor-block-inspector__card {
- display: flex;
- align-items: flex-start;
- margin: -16px;
- padding: 16px; }
-
-.block-editor-block-inspector__card-icon {
- border: 1px solid #ccd0d4;
- padding: 7px;
- margin-right: 10px;
- height: 36px;
- width: 36px; }
-
-.block-editor-block-inspector__card-content {
- flex-grow: 1; }
-
-.block-editor-block-inspector__card-title {
- font-weight: 500;
- margin-bottom: 5px; }
-
-.block-editor-block-inspector__card-description {
- font-size: 13px; }
-
-.block-editor-block-inspector__card .block-editor-block-icon {
- margin-left: -2px;
- margin-right: 10px;
- padding: 0 3px;
- width: 36px;
- height: 24px; }
-
-.block-editor-block-list__layout .components-draggable__clone .block-editor-block-contextual-toolbar {
- display: none !important; }
-
-.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit::before {
- border: none; }
-
-.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > .block-editor-block-list__block-edit > * {
- background: #f8f9f9; }
-
-.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > .block-editor-block-list__block-edit > * > * {
- visibility: hidden; }
-
-.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-mover,
-.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-contextual-toolbar {
- display: none; }
-
-.block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit .reusable-block-edit-panel * {
+.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel * {
z-index: 1; }
-/**
- * General layout
- */
-@media (min-width: 600px) {
- .block-editor-block-list__layout {
- padding-left: 46px;
- padding-right: 46px; } }
+.block-editor-block-styles .block-editor-block-list__block {
+ margin: 0; }
-.block-editor-block-list__block .block-editor-block-list__layout {
- padding-left: 0;
- padding-right: 0;
- margin-left: -14px;
- margin-right: -14px; }
-
-.block-editor-block-list__layout .block-editor-default-block-appender > .block-editor-default-block-appender__content,
-.block-editor-block-list__layout > .block-editor-block-list__block > .block-editor-block-list__block-edit,
-.block-editor-block-list__layout > .block-editor-block-list__layout > .block-editor-block-list__block > .block-editor-block-list__block-edit {
- margin-top: 32px;
- margin-bottom: 32px; }
-
+/**
+ * Notices & Block Selected/Hover Styles.
+ */
.block-editor-block-list__layout .block-editor-block-list__block {
position: relative;
- padding-left: 14px;
- padding-right: 14px;
overflow-wrap: break-word;
/**
* Notices
*/
/**
- * Block border layout
+ * Block Layout
*/ }
- @media (min-width: 600px) {
- .block-editor-block-list__layout .block-editor-block-list__block {
- padding-left: 43px;
- padding-right: 43px; } }
.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui {
- margin: -10px 20px 12px 20px;
- width: calc(100% - 40px); }
+ 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%; }
@@ -192,60 +144,125 @@
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 .block-editor-block-list__block-edit {
- position: relative; }
- .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit::before {
- z-index: 0;
- content: "";
+ .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;
- border: 1px solid transparent;
- border-left: none;
- box-shadow: none;
- transition: border-color 0.1s linear, box-shadow 0.1s linear;
+ z-index: 1;
pointer-events: none;
- outline: 1px solid transparent;
- right: -14px;
- left: -14px;
- top: -14px;
- bottom: -14px; }
- .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit::before {
- border-color: rgba(66, 88, 99, 0.4);
- box-shadow: inset 3px 0 0 0 #555d66; }
- .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit::before {
- border-color: rgba(255, 255, 255, 0.45);
- box-shadow: inset 3px 0 0 0 #d7dade; }
- @media (min-width: 600px) {
- .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit::before {
- box-shadow: -3px 0 0 0 #555d66; }
- .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit::before {
- box-shadow: -3px 0 0 0 #d7dade; } }
- .block-editor-block-list__layout .block-editor-block-list__block.is-hovered > .block-editor-block-list__block-edit::before {
- box-shadow: -3px 0 0 0 #e2e4e7; }
- .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-hovered > .block-editor-block-list__block-edit::before {
- box-shadow: -3px 0 0 0 #40464d; }
+ content: "";
+ top: 1px;
+ bottom: 1px;
+ left: 1px;
+ right: 1px;
+ box-shadow: 0 0 0 1.5px #007cba;
+ box-shadow: 0 0 0 1.5px 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 1.5px #fff; }
.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) {
opacity: 0.5;
transition: opacity 0.1s linear; }
+ @media (prefers-reduced-motion: reduce) {
+ .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) {
+ transition-duration: 0s; } }
.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block, .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused {
opacity: 1; }
-/**
- * Cross-block selection
- */
-
-.block-editor-block-list__layout .block-editor-block-list__block ::selection {
- background-color: #b3e7fe; }
+.block-editor-block-list__layout .block-editor-block-list__block,
+.block-editor-block-list__layout .block-list-appender {
+ 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); }
-.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected *::selection {
- background-color: transparent; }
+/**
+ * Cross-Block Selection
+ */
+.block-editor-block-list__layout {
+ 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; }
+ .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 {
+ box-shadow: 0 0 0 1.5px #007cba;
+ box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
+ border-radius: 1px;
+ transition: box-shadow 0.2s ease-out;
+ outline: 2px solid transparent; }
+ @media (prefers-reduced-motion: reduce) {
+ .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 {
+ transition-duration: 0s; } }
+ .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 1.5px #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; }
+ .is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected {
+ box-shadow: 0 0 0 1.5px #007cba;
+ box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
+ outline: 1.5px solid transparent; }
+ .is-block-moving-mode .block-editor-block-list__layout .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; }
+ .is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after {
+ content: none; }
+ .is-block-moving-mode.can-insert-moving-block .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
+ border-color: #007cba;
+ border-color: var(--wp-admin-theme-color); }
-.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit::before {
- background: #b3e7fe;
- mix-blend-mode: multiply;
- top: -14px;
- bottom: -14px; }
- .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit::before {
- mix-blend-mode: soft-light; }
+.is-block-moving-mode.block-editor-block-list__block-selection-button {
+ opacity: 0;
+ font-size: 1px;
+ height: 1px;
+ padding: 0; }
/**
* Block styles and alignments
@@ -253,301 +270,87 @@
.block-editor-block-list__layout .block-editor-block-list__block.has-warning {
min-height: 36px; }
-.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit > * {
+.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 1.5px transparent;
+ transition: box-shadow 0.1s ease-in; }
+ @media (prefers-reduced-motion: reduce) {
+ .block-editor-block-list__layout .block-editor-block-list__block::after {
+ transition-duration: 0s; } }
+
+.block-editor-block-list__layout .block-editor-block-list__block.has-warning > * {
pointer-events: none;
-webkit-user-select: none;
- -moz-user-select: none;
-ms-user-select: none;
user-select: none; }
-.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit .block-editor-warning {
+.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 .block-editor-block-list__block-edit::before {
- border-color: rgba(145, 151, 162, 0.25);
- border-left: 1px solid rgba(145, 151, 162, 0.25); }
- .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::before {
- border-color: rgba(255, 255, 255, 0.35); }
-
-.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::before {
- border-color: rgba(66, 88, 99, 0.4);
- border-left-color: transparent; }
- .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::before {
- border-color: rgba(255, 255, 255, 0.45); }
-
-.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::after {
+.block-editor-block-list__layout .block-editor-block-list__block.has-warning::after {
content: "";
position: absolute;
- background-color: rgba(248, 249, 249, 0.4);
- top: -14px;
- bottom: -14px;
- right: -14px;
- left: -14px; }
+ 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 .block-editor-block-list__block-edit::after {
+.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected::after {
background-color: transparent; }
-.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::after {
- bottom: 22px; }
- @media (min-width: 600px) {
- .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::after {
- bottom: -14px; } }
+.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-typing .block-editor-block-list__empty-block-inserter,
-.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__side-inserter {
- opacity: 0;
- animation: 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; }
+
+.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 .block-editor-block-list__empty-block-inserter,
-.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter {
- animation: edit-post__fade-in-animation 0.2s ease-out 0s;
- animation-fill-mode: forwards; }
- @media (prefers-reduced-motion: reduce) {
- .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__empty-block-inserter,
- .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter {
- animation-duration: 1ms !important; } }
+.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.is-reusable > .block-editor-block-list__block-edit::before {
- border: 1px dashed rgba(145, 151, 162, 0.25); }
- .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-block-list__block-edit::before {
- border-color: rgba(255, 255, 255, 0.35); }
+.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; }
-.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected > .block-editor-block-list__block-edit::before {
- border-color: rgba(66, 88, 99, 0.4);
- border-left-color: transparent; }
- .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected > .block-editor-block-list__block-edit::before {
- border-color: rgba(255, 255, 255, 0.45);
- border-left-color: transparent; }
+.block-editor-block-list__layout .wp-block {
+ margin-left: auto;
+ margin-right: auto; }
-.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] {
- z-index: 81;
+.wp-block[data-align="left"], .wp-block[data-align="right"] {
width: 100%;
height: 0; }
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-list__block-edit {
- margin-top: 0; }
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-list__block-edit::before {
- content: none; }
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar {
- margin-bottom: 1px; }
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar {
- width: auto;
- border-bottom: 1px solid #b5bcc2;
- bottom: auto; }
+ .wp-block[data-align="left"]::before, .wp-block[data-align="right"]::before {
+ content: none; }
-.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar {
- left: 0;
- right: auto; }
+.wp-block[data-align="left"] > *,
+.wp-block[data-align="right"] > * {
+ z-index: 21; }
-.block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar {
- left: auto;
- right: 0; }
-
-@media (min-width: 600px) {
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar,
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar {
- top: 14px; } }
-
-.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit {
+.wp-block[data-align="left"] > * {
/*!rtl:begin:ignore*/
float: left;
margin-right: 2em;
/*!rtl:end:ignore*/ }
-@media (min-width: 600px) {
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-toolbar {
- /*!rtl:begin:ignore*/
- left: 14px;
- right: auto;
- /*!rtl:end:ignore*/ } }
-
-.block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] > .block-editor-block-list__block-edit {
+.wp-block[data-align="right"] > * {
/*!rtl:begin:ignore*/
float: right;
margin-left: 2em;
/*!rtl:end:ignore*/ }
-@media (min-width: 600px) {
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-toolbar {
- /*!rtl:begin:ignore*/
- right: 14px;
- left: auto;
- /*!rtl:end:ignore*/ } }
-
-.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] {
- clear: both;
- z-index: 20; }
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover,
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover,
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover {
- top: -44px;
- bottom: auto;
- min-height: 0;
- height: auto;
- width: auto; }
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover::before,
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover::before,
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before {
- content: none; }
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control,
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control,
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control {
- float: left; }
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover,
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover,
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover {
- display: none; }
- @media (min-width: 1280px) {
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover,
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover,
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover {
- display: block; } }
- @media (min-width: 600px) {
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] .block-editor-block-toolbar {
- display: inline-flex; } }
-
-.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover,
-.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover {
- left: -13px; }
-
-.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-list__breadcrumb {
- left: 0; }
-
-@media (min-width: 600px) {
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] {
- margin-left: -45px;
- margin-right: -45px; } }
-
-.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit {
- margin-left: -14px;
- margin-right: -14px; }
- @media (min-width: 600px) {
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit {
- margin-left: -44px;
- margin-right: -44px; } }
- .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit figure {
- width: 100%; }
-
-.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit::before {
- left: 0;
- right: 0;
- border-left-width: 0;
- border-right-width: 0; }
-
-.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover,
-.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover {
- left: 1px; }
-
-.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-drop-zone {
- top: -4px;
- bottom: -3px;
- margin: 0 14px; }
-
-.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts {
- display: none; }
-
-.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,
-.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; }
-
-/**
- * Left and right side UI; Unified toolbar on Mobile
- */
-.block-editor-block-list__block.is-multi-selected > .block-editor-block-mover,
-.block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover {
- position: absolute;
- width: 30px;
- height: 100%;
- max-height: 112px; }
-
-.block-editor-block-list__block.is-multi-selected > .block-editor-block-mover,
-.block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover {
- top: -15px; }
-
-@media (min-width: 600px) {
- .block-editor-block-list__block.is-multi-selected .block-editor-block-mover, .block-editor-block-list__block.is-selected .block-editor-block-mover, .block-editor-block-list__block.is-hovered .block-editor-block-mover {
- z-index: 80; } }
-
-.block-editor-block-list__block.is-multi-selected > .block-editor-block-mover,
-.block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover {
- padding-right: 2px;
- left: -45px;
- display: none; }
- @media (min-width: 600px) {
- .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover,
- .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover {
- display: block; } }
-
-.block-editor-block-list__block.is-multi-selected > .block-editor-block-mover {
- left: -30px; }
-
-.block-editor-block-list__block[data-align="left"].is-selected > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__block[data-align="right"].is-selected > .block-editor-block-list__block-edit > .block-editor-block-mover {
- display: none; }
- @media (min-width: 600px) {
- .block-editor-block-list__block[data-align="left"].is-selected > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__block[data-align="right"].is-selected > .block-editor-block-list__block-edit > .block-editor-block-mover {
- display: block;
- opacity: 1;
- animation: none;
- width: 45px;
- height: auto;
- padding-bottom: 14px;
- margin-top: 0; } }
-
-.block-editor-block-list__block[data-align="left"].is-hovered > .block-editor-block-list__block-edit > .block-editor-block-mover,
-.block-editor-block-list__block[data-align="left"].is-dragging > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__block[data-align="right"].is-hovered > .block-editor-block-list__block-edit > .block-editor-block-mover,
-.block-editor-block-list__block[data-align="right"].is-dragging > .block-editor-block-list__block-edit > .block-editor-block-mover {
- display: none; }
-
-/**
- * Mobile unified toolbar.
- */
-.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar {
- display: flex;
- flex-direction: row;
- transform: translateY(15px);
- margin-top: 37px;
- margin-right: -14px;
- margin-left: -14px;
- border-top: 1px solid #b5bcc2;
- height: 37px;
- background-color: #fff;
- box-shadow: 0 5px 10px rgba(25, 30, 35, 0.05), 0 2px 2px rgba(25, 30, 35, 0.05); }
- @media (min-width: 600px) {
- .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar {
- display: none; } }
- @media (min-width: 600px) {
- .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar {
- box-shadow: none; } }
- .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter {
- position: relative;
- left: auto;
- top: auto;
- margin: 0; }
- .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle,
- .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control {
- width: 36px;
- height: 36px;
- border-radius: 4px;
- padding: 3px;
- margin: 0;
- justify-content: center;
- align-items: center; }
- .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon,
- .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon {
- margin: auto; }
- .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover {
- display: flex;
- margin-right: auto; }
- .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter,
- .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control {
- float: left; }
-
-.block-editor-block-list__block[data-align="full"] .block-editor-block-list__block-mobile-toolbar {
- margin-left: 0;
- margin-right: 0; }
+.wp-block[data-align="full"], .wp-block[data-align="wide"] {
+ clear: both; }
/**
* In-Canvas Inserter
@@ -555,7 +358,6 @@
.block-editor-block-list .block-editor-inserter {
margin: 8px;
cursor: move;
- cursor: -webkit-grab;
cursor: grab; }
.block-editor-block-list__insertion-point {
@@ -566,82 +368,91 @@
.block-editor-block-list__insertion-point-indicator {
position: absolute;
top: calc(50% - 1px);
- height: 2px;
+ height: 1.5px;
left: 0;
right: 0;
- background: #0085ba; }
-
-body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{
- background: #d1864a; }
-
-body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{
- background: #a3b9a2; }
-
-body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{
- background: #e14d43; }
-
-body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{
- background: #a7b656; }
-
-body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{
- background: #c2a68c; }
-
-body.admin-color-blue .block-editor-block-list__insertion-point-indicator{
- background: #82b4cb; }
-
-body.admin-color-light .block-editor-block-list__insertion-point-indicator{
- background: #0085ba; }
+ background: #007cba;
+ background: var(--wp-admin-theme-color); }
.block-editor-block-list__insertion-point-inserter {
display: none;
- position: absolute;
- bottom: auto;
- left: 0;
- right: 0;
justify-content: center;
- height: 22px;
- opacity: 0;
- transition: opacity 0.1s linear; }
+ cursor: text; }
@media (min-width: 480px) {
.block-editor-block-list__insertion-point-inserter {
display: flex; } }
- .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle {
- margin-top: -8px;
- border-radius: 50%;
- color: #007cba;
- background: #fff;
- height: 36px;
- width: 36px; }
- .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):hover {
- box-shadow: none; }
- .block-editor-block-list__insertion-point-inserter:hover, .block-editor-block-list__insertion-point-inserter.is-visible {
- opacity: 1; }
+ .block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle {
+ visibility: hidden;
+ pointer-events: none; }
+
+.block-editor-block-list__block-popover-inserter {
+ position: absolute;
+ top: -9999em;
+ margin-bottom: 14px; }
+ .block-editor-block-list__block-popover-inserter.is-visible {
+ position: static; }
+
+.block-editor-block-list__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 {
+ background: #1e1e1e;
+ border-radius: 2px;
+ color: #fff;
+ padding: 0;
+ min-width: 24px;
+ 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; }
-.edit-post-layout:not(.has-fixed-toolbar) .is-selected > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter,
-.edit-post-layout:not(.has-fixed-toolbar) .is-focused > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter {
- opacity: 0;
- pointer-events: none; }
- .edit-post-layout:not(.has-fixed-toolbar) .is-selected > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter:hover, .edit-post-layout:not(.has-fixed-toolbar) .is-selected > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter.is-visible,
- .edit-post-layout:not(.has-fixed-toolbar) .is-focused > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter:hover,
- .edit-post-layout:not(.has-fixed-toolbar) .is-focused > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter.is-visible {
+.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;
+ 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; } }
+
+@keyframes block-editor-inserter__toggle__fade-in-animation-delayed {
+ 0% {
+ opacity: 0; }
+ 80% {
+ opacity: 0; }
+ 100% {
+ opacity: 1; } }
+
+@keyframes block-editor-inserter__toggle__fade-in-animation {
+ from {
+ opacity: 0;
+ transform: scale(0); }
+ to {
opacity: 1;
- pointer-events: auto; }
+ transform: scale(1); } }
+
+.wp-block .block-list-appender .block-editor-inserter__toggle {
+ animation: block-editor-inserter__toggle__fade-in-animation 0.1s ease;
+ animation-fill-mode: forwards; }
+ @media (prefers-reduced-motion: reduce) {
+ .wp-block .block-list-appender .block-editor-inserter__toggle {
+ animation-duration: 1ms; } }
+
+.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender {
+ 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); }
.block-editor-block-list__block > .block-editor-block-list__insertion-point {
position: absolute;
top: -16px;
height: 28px;
bottom: auto;
- left: 0;
- right: 0; }
- @media (min-width: 600px) {
- .block-editor-block-list__block > .block-editor-block-list__insertion-point {
- left: -1px;
- right: -1px; } }
-
-.block-editor-block-list__block[data-align="full"] > .block-editor-block-list__insertion-point {
- left: 0;
- right: 0; }
+ left: 14px;
+ right: 14px; }
.block-editor-block-list__block .block-editor-block-list__block-html-textarea {
display: block;
@@ -653,194 +464,192 @@
resize: none;
overflow: hidden;
font-family: Menlo, Consolas, monaco, monospace;
- font-size: 14px;
+ font-size: 15px;
line-height: 150%;
transition: padding 0.2s linear; }
+ @media (prefers-reduced-motion: reduce) {
+ .block-editor-block-list__block .block-editor-block-list__block-html-textarea {
+ transition-duration: 0s; } }
.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus {
box-shadow: none; }
/**
* Block Toolbar when contextual.
*/
-.block-editor-block-list__block .block-editor-block-contextual-toolbar {
- z-index: 21;
- white-space: nowrap;
- text-align: left;
- pointer-events: none;
- position: absolute;
- bottom: 22px;
- left: -14px;
- right: -14px;
- border-top: 1px solid #b5bcc2; }
- .block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar {
- border-top: none;
- border-bottom: none; }
- @media (min-width: 600px) {
- .block-editor-block-list__block .block-editor-block-contextual-toolbar {
- border-top: none; }
- .block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar {
- border-top: 1px solid #b5bcc2;
- border-bottom: 1px solid #b5bcc2; } }
-
-.block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar,
-.block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar {
- margin-bottom: 1px;
- margin-top: -37px;
- box-shadow: -3px 0 0 0 #555d66; }
- .is-dark-theme .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .is-dark-theme
- .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar {
- box-shadow: -3px 0 0 0 #d7dade; }
- @media (min-width: 600px) {
- .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar,
- .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar {
- box-shadow: none; } }
- .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar .editor-block-toolbar,
- .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar .editor-block-toolbar {
- border-left: none; }
-
-.block-editor-block-list__block .block-editor-block-contextual-toolbar {
- margin-left: 0;
- margin-right: 0; }
- @media (min-width: 600px) {
- .block-editor-block-list__block .block-editor-block-contextual-toolbar {
- margin-left: -15px;
- margin-right: -15px; } }
-
-.block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar {
- /*rtl:ignore*/
- margin-right: 15px; }
+.block-editor-block-contextual-toolbar {
+ border: 1px solid #1e1e1e;
+ border-radius: 2px;
+ 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.is-up-button svg {
+ margin-top: 3px; }
+ .block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-down-button svg {
+ margin-bottom: 3px; }
+ .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-list__block[data-align="right"] .block-editor-block-contextual-toolbar {
- /*rtl:ignore*/
- margin-left: 15px; }
-
-.block-editor-block-list__block .block-editor-block-contextual-toolbar > * {
- pointer-events: auto; }
-
-.block-editor-block-list__block[data-align="full"] .block-editor-block-contextual-toolbar {
- left: 0;
- right: 0; }
-
-.block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar {
- margin-left: -28px; }
-
-@media (min-width: 600px) {
- .block-editor-block-list__block .block-editor-block-contextual-toolbar {
- bottom: auto;
- left: auto;
- right: auto;
- box-shadow: none;
- transform: translateY(-52px); }
- @supports ((position: -webkit-sticky) or (position: sticky)) {
- .block-editor-block-list__block .block-editor-block-contextual-toolbar {
- position: -webkit-sticky;
- position: sticky;
- top: 51px; } } }
-
-.block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar {
- /*rtl:ignore*/
- float: left; }
-
-.block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar {
- /*rtl:ignore*/
- float: right; }
-
-.block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar,
-.block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar {
- transform: translateY(-15px); }
-
-.block-editor-block-contextual-toolbar .block-editor-block-toolbar {
- width: 100%; }
- @media (min-width: 600px) {
- .block-editor-block-contextual-toolbar .block-editor-block-toolbar {
- width: auto;
- border-right: none;
- position: absolute;
- left: 1px;
- top: 1px; } }
+/**
+ * Block Label for Navigation/Selection Mode
+ */
+.block-editor-block-list__block-selection-button {
+ display: block;
+ 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 1.5px #007cba;
+ box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); }
/**
- * Hover label
+ * Warnings.
*/
-.block-editor-block-list__breadcrumb {
- position: absolute;
- line-height: 1;
- z-index: 2;
- left: -17px;
- top: -31px; }
- .block-editor-block-list__breadcrumb .components-toolbar {
- padding: 0;
- border: none;
- line-height: 1;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- font-size: 11px;
- padding: 4px 4px;
- background: #e2e4e7;
- color: #191e23; }
- .is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar {
- background: #40464d;
- color: #fff; }
- .block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar {
- opacity: 0;
- animation: edit-post__fade-in-animation 60ms ease-out 0.5s;
- animation-fill-mode: forwards; }
- @media (prefers-reduced-motion: reduce) {
- .block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar {
- animation-duration: 1ms !important; } }
- .editor-inner-blocks .block-editor-block-list__breadcrumb {
- z-index: 22; }
- [data-align="left"] .block-editor-block-list__breadcrumb {
- left: 0; }
- [data-align="right"] .block-editor-block-list__breadcrumb {
- left: auto;
- right: 0; }
-
-.block-editor-block-list__descendant-arrow::before {
- content: "→";
- display: inline-block;
- padding: 0 4px; }
- .rtl .block-editor-block-list__descendant-arrow::before {
- content: "←"; }
-
-@media (min-width: 600px) {
- .block-editor-block-list__block::before {
- bottom: 0;
- content: "";
- left: -28px;
- position: absolute;
- right: -28px;
- top: 0; }
- .block-editor-block-list__block .block-editor-block-list__block::before {
- left: 0;
- right: 0; }
- .block-editor-block-list__block[data-align="full"]::before {
- content: none; } }
-
.block-editor-block-list__block .block-editor-warning {
z-index: 5;
- position: relative;
- margin-right: -14px;
- margin-left: -14px;
- margin-bottom: -14px;
- transform: translateY(-14px);
- padding: 10px 14px; }
- @media (min-width: 600px) {
- .block-editor-block-list__block .block-editor-warning {
- padding: 10px 14px; } }
+ position: relative; }
+ .block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning {
+ margin-bottom: auto; }
+
+/**
+ * Popovers.
+ */
+.block-editor-block-list__insertion-point-popover.is-without-arrow {
+ z-index: 28;
+ 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; }
+
+.components-popover.block-editor-block-list__block-popover {
+ z-index: 31;
+ position: absolute; }
+ .components-popover.block-editor-block-list__block-popover .components-popover__content {
+ margin: 0 !important;
+ min-width: auto;
+ 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; }
+
+.is-dragging-components-draggable .components-tooltip {
+ display: none; }
+
+.block-editor-block-list__block .block-list-appender {
+ margin: 8px 0; }
+ .has-background .block-editor-block-list__block .block-list-appender {
+ margin: 20px 8px; }
+ .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) {
+ .block-editor-block-list__block .block-list-appender .block-list-appender__toggle {
+ transition-duration: 0s; } }
.block-list-appender > .block-editor-inserter {
display: block; }
-.block-list-appender__toggle {
+.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;
+ transform: scale(0); }
+
+.block-editor-block-breadcrumb {
+ list-style: none;
+ padding: 0;
+ margin: 0; }
+ .block-editor-block-breadcrumb li {
+ display: inline-block;
+ margin: 0; }
+ .block-editor-block-breadcrumb li:not(:last-child)::after {
+ content: "→" /*rtl:"←"*/; }
+
+.block-editor-block-breadcrumb__button.components-button {
+ height: 24px;
+ line-height: 24px;
+ padding: 0;
+ 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 1.5px #007cba;
+ box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color); }
+
+.block-editor-block-breadcrumb__current {
+ cursor: default; }
+
+.block-editor-block-breadcrumb__button.components-button,
+.block-editor-block-breadcrumb__current {
+ color: #1e1e1e;
+ padding: 0 8px;
+ font-size: inherit; }
+
+.block-editor-block-card {
display: flex;
- align-items: center;
- justify-content: center;
- padding: 16px;
- outline: 1px dashed #8d96a0;
- width: 100%;
- color: #555d66; }
- .block-list-appender__toggle:hover {
- outline: 1px dashed #555d66; }
+ align-items: flex-start; }
+
+.block-editor-block-card__icon {
+ border: 1px solid #ccd0d4;
+ padding: 7px;
+ margin-right: 10px;
+ height: 36px;
+ width: 36px; }
+
+.block-editor-block-card__content {
+ flex-grow: 1; }
+
+.block-editor-block-card__title {
+ font-weight: 500; }
+ .block-editor-block-card__title.block-editor-block-card__title {
+ margin: 0 0 5px; }
+
+.block-editor-block-card__description {
+ font-size: 13px; }
+
+.block-editor-block-card .block-editor-block-icon {
+ margin-left: -2px;
+ margin-right: 10px;
+ padding: 0 3px;
+ width: 36px;
+ height: 24px; }
/**
* Invalid block comparison
@@ -866,11 +675,12 @@
float: right; }
.block-editor-block-compare__wrapper .block-editor-block-compare__converted {
border-left: 1px solid #ddd;
- padding-left: 15px; }
+ 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: #23282d;
+ color: #1e1e1e;
border-bottom: 1px solid #ddd;
padding-bottom: 15px;
line-height: 1.7; }
@@ -895,252 +705,391 @@
font-weight: 400;
margin: 0.67em 0; }
-.block-editor-block-mover {
- min-height: 56px;
- opacity: 0; }
- .block-editor-block-mover.is-visible {
- animation: edit-post__fade-in-animation 0.2s ease-out 0s;
- animation-fill-mode: forwards; }
- @media (prefers-reduced-motion: reduce) {
- .block-editor-block-mover.is-visible {
- animation-duration: 1ms !important; } }
- @media (min-width: 600px) {
- .block-editor-block-list__block:not([data-align="wide"]):not([data-align="full"]) .block-editor-block-mover {
- margin-top: -8px; } }
+.block-editor-block-draggable-chip-wrapper {
+ position: absolute;
+ top: -60px; }
-.block-editor-block-mover__control {
+.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;
+ 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; }
+
+.is-dragging.is-selected,
+.is-dragging.is-multi-selected {
+ display: none !important; }
+
+.block-editor-block-mobile-toolbar {
display: flex;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- padding: 0;
- width: 28px;
- height: 24px;
- color: rgba(14, 28, 46, 0.62); }
- .block-editor-block-mover__control svg {
- width: 28px;
- height: 24px;
- padding: 2px 5px; }
- .is-dark-theme .block-editor-block-mover__control {
- color: rgba(255, 255, 255, 0.65); }
- .is-dark-theme .wp-block .wp-block .block-editor-block-mover__control,
- .wp-block .is-dark-theme .wp-block .block-editor-block-mover__control {
- color: rgba(14, 28, 46, 0.62); }
- .block-editor-block-mover__control[aria-disabled="true"] {
- cursor: default;
- pointer-events: none;
- color: rgba(130, 148, 147, 0.15); }
- .is-dark-theme .block-editor-block-mover__control[aria-disabled="true"] {
- color: rgba(255, 255, 255, 0.2); }
+ flex-direction: row;
+ 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; }
-.block-editor-block-mover__control-drag-handle {
- cursor: move;
- cursor: -webkit-grab;
- cursor: grab;
- fill: currentColor;
- border-radius: 4px; }
- .block-editor-block-mover__control-drag-handle, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus {
- box-shadow: none;
- background: none;
- color: rgba(10, 24, 41, 0.7); }
- .is-dark-theme .block-editor-block-mover__control-drag-handle, .is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus {
- color: rgba(255, 255, 255, 0.75); }
- .is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle,
- .wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle, .is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover,
- .wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active,
- .wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus,
- .wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus {
- color: rgba(10, 24, 41, 0.7); }
- .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active {
- cursor: -webkit-grabbing;
- cursor: grabbing; }
+.block-editor-block-mover {
+ display: inline-flex;
+ flex-direction: row; }
-.block-editor-block-mover__description {
+.block-editor-block-mover-button__description {
display: none; }
+.block-editor-block-mover-button.has-icon {
+ padding: 0; }
+
+.block-editor-block-mover .components-toolbar-group,
+.block-editor-block-mover .components-toolbar {
+ flex: 1;
+ flex-direction: row; }
+ @media (min-width: 600px) {
+ .block-editor-block-mover .components-toolbar-group,
+ .block-editor-block-mover .components-toolbar {
+ flex-direction: column; } }
+
+.block-editor-block-mover.is-horizontal .components-toolbar-group,
+.block-editor-block-mover.is-horizontal .components-toolbar {
+ flex-direction: row; }
+
@media (min-width: 600px) {
- .block-editor-block-list__layout [data-align="right"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default),
- .block-editor-block-list__layout [data-align="left"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default),
- .block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default), .block-editor-block-list__layout [data-align="right"]
- .block-editor-block-mover__control,
- .block-editor-block-list__layout [data-align="left"]
- .block-editor-block-mover__control,
- .block-editor-block-list__layout .block-editor-block-list__layout
- .block-editor-block-mover__control {
- background: #fff;
- box-shadow: inset 0 0 0 1px #e2e4e7; }
- .block-editor-block-list__layout [data-align="right"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2),
- .block-editor-block-list__layout [data-align="left"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2),
- .block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2), .block-editor-block-list__layout [data-align="right"]
- .block-editor-block-mover__control:nth-child(-n+2),
- .block-editor-block-list__layout [data-align="left"]
- .block-editor-block-mover__control:nth-child(-n+2),
- .block-editor-block-list__layout .block-editor-block-list__layout
- .block-editor-block-mover__control:nth-child(-n+2) {
- margin-bottom: -1px; }
- .block-editor-block-list__layout [data-align="right"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .block-editor-block-list__layout [data-align="right"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .block-editor-block-list__layout [data-align="right"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus,
- .block-editor-block-list__layout [data-align="left"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover,
- .block-editor-block-list__layout [data-align="left"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active,
- .block-editor-block-list__layout [data-align="left"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus,
- .block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover,
- .block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active,
- .block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus, .block-editor-block-list__layout [data-align="right"]
- .block-editor-block-mover__control:hover, .block-editor-block-list__layout [data-align="right"]
- .block-editor-block-mover__control:active, .block-editor-block-list__layout [data-align="right"]
- .block-editor-block-mover__control:focus,
- .block-editor-block-list__layout [data-align="left"]
- .block-editor-block-mover__control:hover,
- .block-editor-block-list__layout [data-align="left"]
- .block-editor-block-mover__control:active,
- .block-editor-block-list__layout [data-align="left"]
- .block-editor-block-mover__control:focus,
- .block-editor-block-list__layout .block-editor-block-list__layout
- .block-editor-block-mover__control:hover,
- .block-editor-block-list__layout .block-editor-block-list__layout
- .block-editor-block-mover__control:active,
- .block-editor-block-list__layout .block-editor-block-list__layout
- .block-editor-block-mover__control:focus {
- z-index: 1; } }
+ .block-editor-block-mover .block-editor-block-mover-button {
+ padding: 0 !important;
+ height: 24px;
+ width: 48px; } }
+
+@media (min-width: 600px) {
+ .block-editor-block-mover .block-editor-block-mover-button::before {
+ left: 8px !important;
+ right: 8px !important; } }
+
+@media (min-width: 600px) {
+ .block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button svg,
+ .block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button svg {
+ margin-bottom: -8px; }
+ .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 svg,
+ .block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button svg {
+ margin-top: -8px; }
+ .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: 0;
+ bottom: 0;
+ 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); }
.block-editor-block-navigation__container {
padding: 7px; }
.block-editor-block-navigation__label {
- margin: 0 0 8px;
- color: #6c7781; }
+ margin: 0 0 12px;
+ color: #757575;
+ text-transform: uppercase;
+ font-size: 11px;
+ font-weight: 500; }
-.block-editor-block-navigation__list,
-.block-editor-block-navigation__paragraph {
+.block-editor-block-navigation__container {
+ padding: 7px; }
+
+.block-editor-block-navigation-tree {
+ width: 100%;
+ border-collapse: collapse;
padding: 0;
margin: 0; }
-.block-editor-block-navigation__list .block-editor-block-navigation__list {
- margin-top: 2px;
- border-left: 2px solid #a2aab2;
- margin-left: 1em; }
- .block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list {
- margin-left: 1.5em; }
- .block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item {
- position: relative; }
- .block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item::before {
- position: absolute;
- left: 0;
- background: #a2aab2;
- width: 0.5em;
- height: 2px;
+.block-editor-block-navigation-leaf {
+ position: relative; }
+ .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents {
+ display: flex;
+ align-items: center;
+ width: calc(100% - 0.8em);
+ height: auto;
+ padding: 12px 6px;
+ margin-top: auto;
+ margin-bottom: auto;
+ text-align: left;
+ color: #40464d;
+ border-radius: 2px; }
+ .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) {
+ .block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents {
+ animation-duration: 1ms; } }
+ .block-editor-block-navigation-leaf .block-editor-block-icon {
+ align-self: flex-start;
+ margin-right: 6px; }
+ .block-editor-block-navigation-leaf.is-selected .block-editor-block-icon svg,
+ .block-editor-block-navigation-leaf.is-selected:focus .block-editor-block-icon svg {
+ color: #fff;
+ background: #1e1e1e;
+ box-shadow: 0 0 0 1px #1e1e1e;
+ border-radius: 1px; }
+ .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 {
+ width: 36px;
+ opacity: 0;
+ vertical-align: top; }
+ @media (prefers-reduced-motion: reduce) {
+ .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,
+ .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 1.5px #007cba, inset 0 0 0 4px #fff;
+ box-shadow: inset 0 0 0 1.5px 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: "";
- top: calc(50% - 1px); }
- .block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button {
- margin-left: 0.8em;
- width: calc(100% - 0.8em); }
- .block-editor-block-navigation__list .block-editor-block-navigation__list > li:last-child {
- position: relative; }
- .block-editor-block-navigation__list .block-editor-block-navigation__list > li:last-child::after {
position: absolute;
- content: "";
- background: #fff;
- top: 19px;
- bottom: 0;
- left: -2px;
- width: 2px; }
+ 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; }
-.block-editor-block-navigation__item-button {
- display: flex;
- align-items: center;
- width: 100%;
- padding: 6px;
- text-align: left;
- color: #40464d;
- border-radius: 4px; }
- .block-editor-block-navigation__item-button .block-editor-block-icon {
- margin-right: 6px; }
- .block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled="true"]) {
- color: #191e23;
- border: none;
- box-shadow: none;
- background: #f3f4f5; }
- .block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled="true"]) {
- color: #191e23;
- border: none;
- box-shadow: none;
- outline-offset: -2px;
- outline: 1px dotted #555d66; }
- .block-editor-block-navigation__item-button.is-selected, .block-editor-block-navigation__item-button.is-selected:focus {
- color: #32373c;
- background: #edeff0; }
-
-.block-editor-block-preview {
- pointer-events: none;
- padding: 10px;
- overflow: hidden;
+.block-editor-block-navigation-block-slot__description,
+.block-editor-block-navigation-block-select-button__description,
+.block-editor-block-navigation-appender__description {
display: none; }
- @media (min-width: 782px) {
- .block-editor-block-preview {
- display: block; } }
- .block-editor-block-preview .block-editor-block-preview__content {
- padding: 14px;
- border: 1px solid #e2e4e7;
- font-family: "Noto Serif", serif; }
- .block-editor-block-preview .block-editor-block-preview__content > div {
- transform: scale(0.9);
- transform-origin: center top;
- font-family: "Noto Serif", serif; }
- .block-editor-block-preview .block-editor-block-preview__content > div section {
- height: auto; }
- .block-editor-block-preview .block-editor-block-preview__content > .reusable-block-indicator {
- display: none; }
+
+.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 {
+ display: flex; }
+
+.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container,
+.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container {
+ min-height: 56px; }
-.block-editor-block-preview__title {
- margin-bottom: 10px;
- color: #6c7781; }
+.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line,
+.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line {
+ position: relative;
+ flex-shrink: 0;
+ width: 24px; }
+ .block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line:first-child,
+ .block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line:first-child {
+ width: 18px; }
+ .block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item,
+ .block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item {
+ margin-right: 6px; }
+ .block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line::before,
+ .block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line::before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 1px;
+ bottom: -2px;
+ right: -1px;
+ border-right: 2px solid #a2aab2; }
+ .block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.is-terminated::before,
+ .block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.is-terminated::before {
+ border-color: transparent; }
+ .block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item.is-last-row,
+ .block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row {
+ height: 26px; }
+ .block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item::after,
+ .block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item::after {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 26px;
+ left: 100%;
+ width: 5px;
+ border-bottom: 2px solid #a2aab2; }
-.block-editor-block-settings-menu__toggle .dashicon {
- transform: rotate(90deg); }
-
-.block-editor-block-settings-menu__popover::before, .block-editor-block-settings-menu__popover::after {
- margin-left: 2px; }
-
-.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__content {
- padding: 7px 0; }
+.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row {
+ height: 16px; }
+ .block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row::after {
+ top: 100%; }
-.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator {
- margin-top: 8px;
- margin-bottom: 8px;
- margin-left: 0;
- margin-right: 0;
- border-top: 1px solid #e2e4e7; }
- .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator:last-child {
- display: none; }
+.block-editor-block-parent-selector {
+ background: #fff;
+ 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; }
-.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__title {
- display: block;
- padding: 6px;
- color: #6c7781; }
+.block-editor-block-patterns-list__item {
+ border-radius: 2px;
+ cursor: pointer;
+ margin-top: 16px;
+ transition: all 0.05s ease-in-out;
+ position: relative;
+ 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 1.5px #007cba;
+ box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px var(--wp-admin-theme-color);
+ outline: 2px solid transparent; }
+ .block-editor-block-patterns-list__item.is-placeholder {
+ min-height: 100px; }
-.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control {
+.block-editor-block-patterns-list__item-title {
+ padding: 4px;
+ font-size: 12px;
+ text-align: center; }
+
+.block-editor-block-preview__container {
+ position: relative;
width: 100%;
- justify-content: flex-start;
- background: none;
- outline: none;
- border-radius: 0;
- color: #555d66;
- text-align: left;
- cursor: pointer;
- border: none;
- box-shadow: none; }
- .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled="true"]) {
- color: #191e23;
- border: none;
- box-shadow: none;
- background: #f3f4f5; }
- .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled="true"]) {
- color: #191e23;
- border: none;
- box-shadow: none;
- outline-offset: -2px;
- outline: 1px dotted #555d66; }
- .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control .dashicon {
- margin-right: 5px; }
+ overflow: hidden; }
+ .block-editor-block-preview__container.editor-styles-wrapper {
+ padding: 0;
+ margin: 0; }
+
+.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__content .block-editor-block-list__insertion-point,
+ .block-editor-block-preview__content .block-editor-block-drop-zone,
+ .block-editor-block-preview__content .reusable-block-indicator,
+ .block-editor-block-preview__content .block-list-appender {
+ display: none; }
+ .block-editor-block-preview__content .block-editor-block-list__layout.is-root-container {
+ padding-left: 0;
+ padding-right: 0; }
+ .block-editor-block-preview__content .block-editor-block-list__layout.is-root-container > .wp-block[data-align="full"] {
+ margin-left: 0;
+ margin-right: 0; }
+
+.block-editor-block-settings-menu__popover .components-dropdown-menu__menu {
+ padding: 0; }
.block-editor-block-styles {
display: flex;
@@ -1153,131 +1102,105 @@
flex-shrink: 0;
cursor: pointer;
overflow: hidden;
- border-radius: 4px;
- padding: 4px; }
- .block-editor-block-styles__item.is-active {
- color: #191e23;
- box-shadow: 0 0 0 2px #00a0d2;
- outline: 2px solid transparent;
- outline-offset: -2px;
- box-shadow: 0 0 0 2px #555d66; }
+ border-radius: 2px;
+ padding: 6px;
+ display: flex;
+ flex-direction: column; }
.block-editor-block-styles__item:focus {
- color: #191e23;
- box-shadow: 0 0 0 2px #00a0d2;
- outline: 2px solid transparent;
- outline-offset: -2px; }
- .block-editor-block-styles__item:hover {
- background: #f3f4f5;
- color: #191e23; }
+ box-shadow: 0 0 0 1.5px #007cba;
+ box-shadow: 0 0 0 1.5px 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 {
+ border: 2px solid #1e1e1e; }
.block-editor-block-styles__item-preview {
outline: 1px solid transparent;
- border: 1px solid rgba(25, 30, 35, 0.2);
- overflow: hidden;
padding: 0;
- text-align: initial;
- border-radius: 4px;
+ border-radius: 2px;
display: flex;
- height: 60px;
- background: #fff; }
- .block-editor-block-styles__item-preview .block-editor-block-preview__content {
- transform: scale(0.7);
- transform-origin: center center;
- width: 100%;
- margin: 0;
- padding: 0;
- overflow: visible;
- min-height: auto; }
+ overflow: hidden;
+ background: #fff;
+ align-items: center;
+ flex-grow: 1;
+ min-height: 80px; }
+
+.block-editor-block-switcher__styles__menugroup {
+ position: relative; }
.block-editor-block-styles__item-label {
text-align: center;
- padding: 4px 2px; }
+ padding: 4px 0; }
.block-editor-block-switcher {
- position: relative;
- height: 36px; }
+ position: relative; }
-.components-icon-button.block-editor-block-switcher__toggle,
-.components-icon-button.block-editor-block-switcher__no-switcher-icon {
+.block-editor-block-switcher__no-switcher-icon,
+.block-editor-block-switcher__toggle {
+ position: relative; }
+
+.components-button.block-editor-block-switcher__toggle,
+.components-button.block-editor-block-switcher__no-switcher-icon {
margin: 0;
display: block;
- height: 36px;
- padding: 3px; }
+ 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; }
-.components-icon-button.block-editor-block-switcher__no-switcher-icon {
+.components-button.block-editor-block-switcher__no-switcher-icon {
width: 48px; }
- .components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
+ .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-blocks-icon {
margin-right: auto;
margin-left: auto; }
.components-button.block-editor-block-switcher__no-switcher-icon:disabled {
- background: #f3f4f5;
- border-radius: 0;
- opacity: 0.84; }
+ 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: #555d66 !important; }
+ color: #1e1e1e !important; }
-.components-icon-button.block-editor-block-switcher__toggle {
- width: auto; }
- .components-icon-button.block-editor-block-switcher__toggle:active, .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled="true"]):hover, .components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled="true"]):focus {
- outline: none;
- box-shadow: none;
- background: none;
- border: none; }
- .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,
- .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform {
- width: 42px;
- height: 30px;
+.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon,
+.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon,
+.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon,
+.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon {
+ padding: 0; }
+ .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;
- padding: 3px;
display: flex;
- align-items: center;
- transition: all 0.1s cubic-bezier(0.165, 0.84, 0.44, 1); }
- .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon::after {
- content: "";
- pointer-events: none;
- display: block;
- width: 0;
- height: 0;
- border-left: 3px solid transparent;
- border-right: 3px solid transparent;
- border-top: 5px solid currentColor;
- margin-left: 4px;
- margin-right: 2px; }
- .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform {
- margin-top: 6px;
- border-radius: 4px; }
- .components-icon-button.block-editor-block-switcher__toggle[aria-expanded="true"] .block-editor-block-icon,
- .components-icon-button.block-editor-block-switcher__toggle[aria-expanded="true"] .block-editor-block-switcher__transform,
- .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,
- .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,
- .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,
- .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform {
- transform: translateY(-36px); }
- .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,
- .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform {
- box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff;
- outline: 2px solid transparent;
- outline-offset: -2px; }
+ align-items: center; }
+ .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;
+ left: 8px; }
-.components-popover:not(.is-mobile).block-editor-block-switcher__popover .components-popover__content {
- min-width: 300px;
- max-width: 340px; }
+.components-popover.block-editor-block-switcher__popover .components-popover__content {
+ min-width: 300px; }
-@media (min-width: 782px) {
- .block-editor-block-switcher__popover .components-popover__content {
- position: relative; }
- .block-editor-block-switcher__popover .components-popover__content .block-editor-block-preview {
- border: 1px solid #e2e4e7;
- box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);
- background: #fff;
- position: absolute;
- left: 100%;
- top: -1px;
- bottom: -1px;
- width: 300px;
- height: auto; } }
+.components-popover.block-editor-block-switcher__popover .components-popover__content > div {
+ min-width: auto;
+ display: flex;
+ background: #fff;
+ padding: 0; }
+ .components-popover.block-editor-block-switcher__popover .components-popover__content > div .components-menu-group {
+ padding: 16px;
+ margin: 0; }
+
+.block-editor-block-switcher__popover .components-popover__content .block-editor-block-styles {
+ margin: 0 -3px; }
.block-editor-block-switcher__popover .components-popover__content .components-panel__body {
border: 0;
@@ -1285,62 +1208,180 @@
z-index: 1; }
.block-editor-block-switcher__popover .components-popover__content .components-panel__body + .components-panel__body {
- border-top: 1px solid #e2e4e7; }
+ border-top: 1px solid #f0f0f0; }
-.block-editor-block-switcher__popover:not(.is-mobile) > .components-popover__content {
- overflow-y: visible; }
+.block-editor-block-switcher__popover__preview__parent .block-editor-block-switcher__popover__preview__container {
+ position: absolute;
+ top: -12px;
+ left: calc(100% + 32px); }
-.block-editor-block-switcher__popover .block-editor-block-styles {
- margin: 0 -3px; }
-
-.block-editor-block-switcher__popover .block-editor-block-types-list {
- margin: 8px -8px -8px; }
+.block-editor-block-switcher__preview__popover {
+ 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; }
-.block-editor-block-toolbar {
- display: flex;
- flex-grow: 1;
- width: 100%;
- overflow: auto;
- position: relative;
- transition: border-color 0.1s linear, box-shadow 0.1s linear;
- border-left: 1px solid #b5bcc2; }
- @media (min-width: 600px) {
- .block-editor-block-toolbar {
- overflow: inherit;
- border-left: none;
- box-shadow: -3px 0 0 0 #555d66; }
- .is-dark-theme .block-editor-block-toolbar {
- box-shadow: -3px 0 0 0 #d7dade; } }
- .block-editor-block-toolbar .components-toolbar {
- border: 0;
- border-top: 1px solid #b5bcc2;
- border-bottom: 1px solid #b5bcc2;
- border-right: 1px solid #b5bcc2; }
- .has-fixed-toolbar .block-editor-block-toolbar {
- box-shadow: none;
- border-left: 1px solid #e2e4e7; }
- .has-fixed-toolbar .block-editor-block-toolbar .components-toolbar {
- border-color: #e2e4e7; }
+.block-editor-block-switcher__preview-title {
+ margin-bottom: 12px;
+ color: #757575;
+ text-transform: uppercase;
+ font-size: 11px;
+ font-weight: 500; }
+
+.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle,
+.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon {
+ height: 48px; }
+
+.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon {
+ width: 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; }
.block-editor-block-types-list {
list-style: none;
- padding: 2px 0;
+ padding: 4px;
+ margin-left: -4px;
+ margin-right: -4px;
overflow: hidden;
display: flex;
flex-wrap: wrap; }
-.block-editor-color-palette-control__color-palette {
- display: inline-block;
- margin-top: 0.6rem; }
+.block-editor-block-variation-picker .components-placeholder__instructions {
+ margin-bottom: 0; }
+
+.block-editor-block-variation-picker .components-placeholder__fieldset {
+ flex-direction: column; }
+
+.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset {
+ max-width: 90%; }
+
+.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations {
+ display: flex;
+ justify-content: flex-start;
+ flex-direction: row;
+ flex-wrap: wrap;
+ width: 100%;
+ margin: 16px 0;
+ padding: 0;
+ list-style: none; }
+ .block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations > li {
+ list-style: none;
+ margin: 8px 8px 0 0;
+ flex-shrink: 1;
+ max-width: 100px; }
+ .block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations > li button {
+ display: flex; }
+ .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;
+ margin-right: 12px;
+ text-align: center; }
+
+.block-editor-block-variation-picker__variation {
+ 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-button-block-appender {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ padding: 8px;
+ width: 100%;
+ height: auto;
+ color: #1e1e1e;
+ box-shadow: inset 0 0 0 1px #1e1e1e; }
+ .block-editor-button-block-appender:hover {
+ 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;
+ 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; }
+
+.block-editor-color-gradient-control__color-indicator {
+ margin-bottom: 8px; }
+
+.block-editor-color-gradient-control__button-tabs {
+ display: block;
+ margin-bottom: 8px; }
+
+.block-editor-panel-color-gradient-settings .component-color-indicator {
+ vertical-align: text-bottom; }
+
+.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator {
+ display: inline-block; }
+
+.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator {
+ display: none; }
.block-editor-contrast-checker > .components-notice {
margin: 0; }
.block-editor-default-block-appender {
- clear: both; }
+ clear: both;
+ margin-left: auto;
+ margin-right: auto;
+ position: relative; }
+ .block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover {
+ outline: 1px solid transparent; }
.block-editor-default-block-appender textarea.block-editor-default-block-appender__content {
- font-family: "Noto Serif", serif;
- font-size: 16px;
+ font-family: inherit;
+ font-size: inherit;
border: none;
background: none;
box-shadow: none;
@@ -1350,53 +1391,29 @@
outline: 1px solid transparent;
transition: 0.2s outline;
resize: none;
- padding: 0 50px 0 14px;
- color: rgba(14, 28, 46, 0.62); }
+ margin-top: 28px;
+ margin-bottom: 28px;
+ padding: 0 50px 0 0;
+ color: rgba(30, 30, 30, 0.62); }
+ @media (prefers-reduced-motion: reduce) {
+ .block-editor-default-block-appender textarea.block-editor-default-block-appender__content {
+ transition-duration: 0s; } }
.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content {
color: rgba(255, 255, 255, 0.65); }
- .block-editor-default-block-appender .block-editor-inserter__toggle:not([aria-expanded="true"]) {
- opacity: 0;
- transition: opacity 0.2s; }
- .block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts {
- animation: edit-post__fade-in-animation 0.2s ease-out 0s;
- animation-fill-mode: forwards; }
- @media (prefers-reduced-motion: reduce) {
- .block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts {
- animation-duration: 1ms !important; } }
- .block-editor-default-block-appender:hover .block-editor-inserter__toggle {
- opacity: 1; }
.block-editor-default-block-appender .components-drop-zone__content-icon {
display: none; }
-.block-editor-block-list__empty-block-inserter,
-.block-editor-default-block-appender .block-editor-inserter,
-.block-editor-inserter-with-shortcuts {
+.block-editor-default-block-appender__content {
+ line-height: 1.8; }
+
+.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter,
+.block-editor-default-block-appender .block-editor-inserter {
position: absolute;
- top: 0; }
- .block-editor-block-list__empty-block-inserter .components-icon-button,
- .block-editor-default-block-appender .block-editor-inserter .components-icon-button,
- .block-editor-inserter-with-shortcuts .components-icon-button {
- width: 28px;
- height: 28px;
- margin-right: 12px;
- padding: 0; }
- .block-editor-block-list__empty-block-inserter .block-editor-block-icon,
- .block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon,
- .block-editor-inserter-with-shortcuts .block-editor-block-icon {
- margin: auto; }
- .block-editor-block-list__empty-block-inserter .components-icon-button svg,
- .block-editor-default-block-appender .block-editor-inserter .components-icon-button svg,
- .block-editor-inserter-with-shortcuts .components-icon-button svg {
- display: block;
- margin: auto; }
- .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,
- .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,
- .block-editor-inserter-with-shortcuts .block-editor-inserter__toggle {
+ top: 0;
+ 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; }
- .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover,
- .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover,
- .block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
- box-shadow: none; }
.block-editor-block-list__empty-block-inserter,
.block-editor-default-block-appender .block-editor-inserter {
@@ -1404,269 +1421,402 @@
@media (min-width: 600px) {
.block-editor-block-list__empty-block-inserter,
.block-editor-default-block-appender .block-editor-inserter {
- left: -44px;
- right: auto; } }
+ display: flex;
+ height: 100%; } }
.block-editor-block-list__empty-block-inserter:disabled,
.block-editor-default-block-appender .block-editor-inserter:disabled {
display: none; }
- .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,
- .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle {
- border-radius: 50%;
- width: 28px;
- height: 28px;
- padding: 0; }
- .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),
- .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover) {
- color: rgba(10, 24, 41, 0.7); }
- .is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover), .is-dark-theme
- .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover) {
- color: rgba(255, 255, 255, 0.75); }
+
+@media (min-width: 600px) {
+ .block-editor-default-block-appender .block-editor-inserter {
+ align-items: center; } }
+
+.block-editor-link-control {
+ position: relative;
+ min-width: 360px; }
+ .components-popover__content .block-editor-link-control {
+ min-width: auto;
+ width: 90vw;
+ max-width: 360px; }
+
+.block-editor-link-control__search-input-wrapper {
+ position: relative; }
-.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,
-.block-editor-default-block-appender .block-editor-inserter-with-shortcuts {
- right: 14px;
- display: none;
- z-index: 5; }
+.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] {
+ 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;
+ width: calc(100% - 32px);
+ display: block;
+ padding: 11px 16px;
+ padding-right: 36px;
+ margin: 16px;
+ position: relative;
+ border: 1px solid #ddd;
+ 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-block-list__side-inserter .block-editor-inserter-with-shortcuts,
- .block-editor-default-block-appender .block-editor-inserter-with-shortcuts {
- right: 0;
- display: flex; } }
+ .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 0.5px #007cba;
+ box-shadow: 0 0 0 0.5px 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); }
+
+.block-editor-link-control .block-editor-link-control__search-input .components-base-control__field {
+ margin-bottom: 0; }
+
+.block-editor-link-control__search-error {
+ margin: -8px 16px 16px; }
-.block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom {
- z-index: 100001; }
+.block-editor-link-control__search-actions {
+ position: absolute;
+ /*
+ * Actions must be positioned on top of URLInput, since the input will grow
+ * when suggestions are rendered.
+ *
+ * Compensate for:
+ * - Input margin ($grid-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.
+ */
+ top: 19px;
+ right: 19px; }
+
+.block-editor-link-control__search-results-wrapper {
+ position: relative;
+ margin-top: -15px; }
+ .block-editor-link-control__search-results-wrapper::before, .block-editor-link-control__search-results-wrapper::after {
+ content: "";
+ position: absolute;
+ 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;
+ background: linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 100%); }
+ .block-editor-link-control__search-results-wrapper::after {
+ height: 16px;
+ bottom: 0;
+ top: auto;
+ background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 100%); }
+
+.block-editor-link-control__search-results-label {
+ padding: 15px 30px 0 30px;
+ display: block;
+ font-size: 1.1em; }
-.block-editor-inner-blocks.has-overlay::after {
- content: "";
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 120; }
+.block-editor-link-control__search-results {
+ margin: 0;
+ padding: 8px 16px 8px;
+ max-height: 200px;
+ overflow-y: auto; }
+ .block-editor-link-control__search-results.is-loading {
+ opacity: 0.2; }
-.block-editor-inserter-with-shortcuts {
+.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;
+ padding: 10px 15px;
+ border-radius: 5px;
+ 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 1.5px #007cba inset;
+ box-shadow: 0 0 0 1.5px 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;
+ margin-right: 24px;
+ 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 {
+ max-width: 230px;
+ overflow: hidden;
+ text-overflow: ellipsis; }
+ .block-editor-link-control__search-item .block-editor-link-control__search-item-title mark {
+ color: #1e1e1e; }
+ .block-editor-link-control__search-item .block-editor-link-control__search-item-title {
+ display: block;
+ margin-bottom: 0.2em;
+ font-weight: 500; }
+ .block-editor-link-control__search-item .block-editor-link-control__search-item-title mark {
+ font-weight: 700;
+ color: #000;
+ background-color: transparent; }
+ .block-editor-link-control__search-item .block-editor-link-control__search-item-title span {
+ font-weight: normal; }
+ .block-editor-link-control__search-item .block-editor-link-control__search-item-info {
+ display: block;
+ color: #6c7781;
+ 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; }
+
+.block-editor-link-control__loading {
+ margin: 16px;
display: flex;
align-items: center; }
- .block-editor-inserter-with-shortcuts .components-icon-button {
- border-radius: 4px; }
- .block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon) {
- height: 24px;
- width: 24px; }
-
-.block-editor-inserter-with-shortcuts__block {
- margin-right: 4px;
- width: 36px;
- height: 36px;
- padding-top: 8px;
- color: rgba(10, 24, 41, 0.7); }
- .is-dark-theme .block-editor-inserter-with-shortcuts__block {
- color: rgba(255, 255, 255, 0.75); }
-
-.block-editor-inserter {
- display: inline-block;
- background: none;
- border: none;
- padding: 0;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- font-size: 13px;
- line-height: 1.4; }
- @media (min-width: 782px) {
- .block-editor-inserter {
- position: relative; } }
+ .block-editor-link-control__loading .components-spinner {
+ margin-top: 0; }
-@media (min-width: 782px) {
- .block-editor-inserter__popover:not(.is-mobile) > .components-popover__content {
- overflow-y: visible;
- height: 432px; } }
-
-.block-editor-inserter__toggle {
- display: inline-flex;
- align-items: center;
- color: #555d66;
- background: none;
- cursor: pointer;
- border: none;
- outline: none;
- transition: color 0.2s ease; }
+.components-button + .block-editor-link-control__search-create {
+ margin-top: 20px;
+ overflow: visible;
+ padding: 12px 15px; }
+ .components-button + .block-editor-link-control__search-create::before {
+ content: "";
+ position: absolute;
+ top: -10px;
+ left: 0;
+ display: block;
+ width: 100%;
+ border-top: 1px solid #ddd; }
-.block-editor-inserter__menu {
- width: auto;
- display: flex;
- flex-direction: column;
- height: 100%; }
- @media (min-width: 782px) {
- .block-editor-inserter__menu {
- width: 400px;
- position: relative; }
- .block-editor-inserter__menu .block-editor-block-preview {
- border: 1px solid #e2e4e7;
- box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);
- background: #fff;
- position: absolute;
- left: 100%;
- top: -1px;
- bottom: -1px;
- width: 300px; } }
+.block-editor-link-control__search-results div[role="menu"] > .block-editor-link-control__search-item.block-editor-link-control__search-item {
+ padding: 10px; }
+
+.block-editor-link-control__settings {
+ border-top: 1px solid #ddd;
+ margin: 0;
+ padding: 16px 24px; }
+ .block-editor-link-control__settings :last-child {
+ margin-bottom: 0; }
+
+.block-editor-link-control__setting {
+ margin-bottom: 16px; }
+ .block-editor-link-control__setting :last-child {
+ margin-bottom: 0; }
-.block-editor-inserter__inline-elements {
- margin-top: -1px; }
-
-.block-editor-inserter__menu.is-bottom::after {
- border-bottom-color: #fff; }
+.block-editor-link-control .block-editor-link-control__search-input .components-spinner {
+ display: block; }
+ .block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner {
+ position: absolute;
+ 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; }
-.components-popover input[type="search"].block-editor-inserter__search {
- display: block;
- margin: 16px;
- padding: 11px 16px;
- position: relative;
- z-index: 1;
- border-radius: 4px;
- /* Fonts smaller than 16px causes mobile safari to zoom. */
- font-size: 16px; }
- @media (min-width: 600px) {
- .components-popover input[type="search"].block-editor-inserter__search {
- font-size: 13px; } }
- .components-popover input[type="search"].block-editor-inserter__search:focus {
- color: #191e23;
- border-color: #00a0d2;
- box-shadow: 0 0 0 1px #00a0d2;
- outline: 2px solid transparent;
- outline-offset: -2px; }
+.block-editor-link-control__search-item-action {
+ margin-left: auto;
+ flex-shrink: 0; }
-.block-editor-inserter__results {
- flex-grow: 1;
- overflow: auto;
- position: relative;
- z-index: 1;
- padding: 0 16px 16px 16px; }
- .block-editor-inserter__results:focus {
- outline: 1px dotted #555d66; }
- @media (min-width: 782px) {
- .block-editor-inserter__results {
- height: 394px; } }
- .block-editor-inserter__results [role="presentation"] + .components-panel__body {
- border-top: none; }
-
-.block-editor-inserter__popover .block-editor-block-types-list {
- margin: 0 -8px; }
+.block-editor-line-height-control {
+ margin-bottom: 24px; }
+ .block-editor-line-height-control input {
+ display: block;
+ max-width: 60px; }
-.block-editor-inserter__reusable-blocks-panel {
- position: relative;
- text-align: right; }
-
-.block-editor-inserter__manage-reusable-blocks {
- margin: 16px 0 0 16px; }
+.block-editor-image-size-control {
+ margin-bottom: 1em; }
+ .block-editor-image-size-control .block-editor-image-size-control__row {
+ display: flex;
+ justify-content: space-between; }
+ .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width,
+ .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height {
+ margin-bottom: 0.5em; }
+ .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input,
+ .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input {
+ line-height: 1.25; }
+ .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width {
+ margin-right: 5px; }
+ .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height {
+ margin-left: 5px; }
-.block-editor-inserter__no-results {
- font-style: italic;
- padding: 24px;
- text-align: center; }
-
-.block-editor-inserter__child-blocks {
- padding: 0 16px; }
+.block-editor-block-list__layout.has-overlay::after {
+ content: "";
+ position: absolute;
+ top: -14px;
+ right: -14px;
+ bottom: -14px;
+ left: -14px;
+ z-index: 60; }
-.block-editor-inserter__parent-block-header {
- display: flex;
- align-items: center; }
- .block-editor-inserter__parent-block-header h2 {
- font-size: 13px; }
- .block-editor-inserter__parent-block-header .block-editor-block-icon {
- margin-right: 8px; }
+[data-align="full"] .has-overlay::after {
+ right: 0;
+ left: 0; }
.block-editor-block-types-list__list-item {
display: block;
width: 33.33%;
- padding: 0 4px;
- margin: 0 0 12px; }
+ padding: 0;
+ margin: 0; }
-.block-editor-block-types-list__item {
+.components-button.block-editor-block-types-list__item {
display: flex;
flex-direction: column;
width: 100%;
font-size: 13px;
color: #32373c;
- padding: 0;
+ padding: 8px;
align-items: stretch;
justify-content: center;
cursor: pointer;
background: transparent;
word-break: break-word;
- border-radius: 4px;
+ border-radius: 2px;
border: 1px solid transparent;
transition: all 0.05s ease-in-out;
- position: relative; }
- .block-editor-block-types-list__item:disabled {
+ position: relative;
+ height: auto; }
+ @media (prefers-reduced-motion: reduce) {
+ .components-button.block-editor-block-types-list__item {
+ transition-duration: 0s; } }
+ .components-button.block-editor-block-types-list__item:disabled {
opacity: 0.6;
cursor: default; }
- .block-editor-block-types-list__item:not(:disabled):hover::before {
- content: "";
- display: block;
- background: #f3f4f5;
- color: #191e23;
- position: absolute;
- z-index: -1;
- border-radius: 4px;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0; }
- .block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,
- .block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title {
- color: currentColor; }
- .block-editor-block-types-list__item:not(:disabled):active, .block-editor-block-types-list__item:not(:disabled).is-active, .block-editor-block-types-list__item:not(:disabled):focus {
- position: relative;
- outline: none;
- color: #191e23;
- box-shadow: 0 0 0 2px #00a0d2;
+ .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; }
- .block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,
- .block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title, .block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-icon,
- .block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-title, .block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,
- .block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title {
- color: currentColor; }
.block-editor-block-types-list__item-icon {
padding: 12px 20px;
- border-radius: 4px;
- color: #555d66;
+ border-radius: 2px;
+ color: #1e1e1e;
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) {
+ .block-editor-block-types-list__item-icon svg {
+ transition-duration: 0s; } }
.block-editor-block-types-list__item-title {
- padding: 4px 2px 8px; }
+ padding: 4px 2px 8px;
+ font-size: 12px; }
+
+.modal-open .block-editor-media-replace-flow__options {
+ display: none; }
+
+.block-editor-media-replace-flow__options .components-popover__content > div {
+ padding-top: 16px; }
-.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon {
- background: #fff;
- margin-right: 3px;
- margin-bottom: 6px;
- padding: 9px 20px 9px;
- position: relative;
- top: -2px;
- left: -2px;
- box-shadow: 0 0 0 1px #e2e4e7; }
+.block-editor-media-replace-flow__indicator {
+ margin-left: 4px; }
+
+.block-editor-media-replace-flow__media-upload-menu {
+ margin-bottom: 16px; }
+
+.block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label {
+ top: 16px; }
-.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon-stack {
- display: block;
- background: #fff;
- box-shadow: 0 0 0 1px #e2e4e7;
- width: 100%;
- height: 100%;
- position: absolute;
- z-index: -1;
- bottom: -6px;
- right: -6px;
- border-radius: 4px; }
+.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; }
-.block-editor-media-placeholder__url-input-container {
- width: 100%; }
- .block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button {
- margin-bottom: 0; }
+.block-editor-media-flow__error {
+ padding: 0 20px 20px 20px;
+ 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; }
+
+.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button {
+ margin-bottom: 0; }
.block-editor-media-placeholder__url-input-form {
display: flex; }
@@ -1685,19 +1835,21 @@
.block-editor-media-placeholder__button {
margin-bottom: 0.5rem; }
- .block-editor-media-placeholder__button .dashicon {
- vertical-align: middle;
- margin-bottom: 3px; }
- .block-editor-media-placeholder__button:hover {
- color: #23282d; }
+
+.block-editor-media-placeholder__cancel-button.is-link {
+ margin: 1em;
+ display: block; }
-.components-form-file-upload .block-editor-media-placeholder__button {
- margin-right: 4px; }
+.block-editor-media-placeholder.is-appender {
+ 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); }
.block-editor-multi-selection-inspector__card {
display: flex;
align-items: flex-start;
- margin: -16px;
padding: 16px; }
.block-editor-multi-selection-inspector__card-content {
@@ -1717,15 +1869,6 @@
width: 36px;
height: 24px; }
-.block-editor-panel-color-settings .component-color-indicator {
- vertical-align: text-bottom; }
-
-.block-editor-panel-color-settings__panel-title .component-color-indicator {
- display: inline-block; }
-
-.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator {
- display: none; }
-
.block-editor .block-editor-plain-text {
box-shadow: none;
font-family: inherit;
@@ -1737,68 +1880,85 @@
margin: 0;
width: 100%; }
-.block-editor-format-toolbar {
- display: flex;
- flex-shrink: 0; }
+.block-editor-responsive-block-control {
+ margin-bottom: 28px;
+ border-bottom: 1px solid #d7dade;
+ padding-bottom: 14px; }
+ .block-editor-responsive-block-control:last-child {
+ padding-bottom: 0;
+ border-bottom: 0; }
-.block-editor-format-toolbar__selection-position {
- position: absolute;
- transform: translateX(-50%); }
+.block-editor-responsive-block-control__title {
+ margin: 0;
+ margin-bottom: 0.6em;
+ margin-left: -3px; }
-.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator::after {
- margin: 7px; }
+.block-editor-responsive-block-control__label {
+ font-weight: 600;
+ margin-bottom: 0.6em;
+ margin-left: -3px; }
+
+.block-editor-responsive-block-control__inner {
+ margin-left: -1px; }
+
+.block-editor-responsive-block-control__toggle {
+ margin-left: 1px; }
-.block-editor-rich-text {
- position: relative; }
+.block-editor-responsive-block-control .components-base-control__help {
+ border: 0;
+ clip: rect(1px, 1px, 1px, 1px);
+ -webkit-clip-path: inset(50%);
+ clip-path: inset(50%);
+ height: 1px;
+ margin: -1px;
+ overflow: hidden;
+ padding: 0;
+ position: absolute;
+ width: 1px;
+ word-wrap: normal !important; }
+
+.block-editor-format-toolbar .components-dropdown-menu__toggle {
+ justify-content: center; }
+
+.block-editor-rich-text__editable > p:first-child {
+ margin-top: 0; }
+
+.block-editor-rich-text__editable [data-rich-text-placeholder] {
+ pointer-events: none; }
-.block-editor-rich-text__editable {
- margin: 0;
- position: relative;
- white-space: pre-wrap !important; }
- .block-editor-rich-text__editable > p:first-child {
- margin-top: 0; }
- .block-editor-rich-text__editable a {
- color: #007fac; }
- .block-editor-rich-text__editable code {
- padding: 2px;
+.block-editor-rich-text__editable [data-rich-text-placeholder]::after {
+ content: attr(data-rich-text-placeholder);
+ opacity: 0.62; }
+
+.block-editor-rich-text__editable:focus {
+ outline: none; }
+ .block-editor-rich-text__editable:focus [data-rich-text-format-boundary] {
+ border-radius: 2px; }
+ .block-editor-rich-text__editable:focus:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]::after {
+ display: none; }
+
+figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before {
+ opacity: 0.8; }
+
+.components-popover.block-editor-rich-text__inline-format-toolbar {
+ z-index: 99998; }
+ .components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content {
+ width: auto;
+ min-width: auto;
+ margin-bottom: 8px;
+ box-shadow: none;
+ border: 1px solid #1e1e1e;
border-radius: 2px;
- color: #23282d;
- background: #f3f4f5;
- font-family: Menlo, Consolas, monaco, monospace;
- font-size: inherit; }
- .is-multi-selected .block-editor-rich-text__editable code {
- background: #67cffd; }
- .block-editor-rich-text__editable:focus {
- outline: none; }
- .block-editor-rich-text__editable:focus *[data-rich-text-format-boundary] {
- border-radius: 2px; }
- .block-editor-rich-text__editable[data-is-placeholder-visible="true"] {
- position: absolute;
- top: 0;
- width: 100%;
- margin-top: 0;
- height: 100%; }
- .block-editor-rich-text__editable[data-is-placeholder-visible="true"] > p {
- margin-top: 0; }
- .block-editor-rich-text__editable + .block-editor-rich-text__editable {
- pointer-events: none; }
- .block-editor-rich-text__editable + .block-editor-rich-text__editable,
- .block-editor-rich-text__editable + .block-editor-rich-text__editable p {
- opacity: 0.62; }
- .block-editor-rich-text__editable[data-is-placeholder-visible="true"] + figcaption.block-editor-rich-text__editable {
- opacity: 0.8; }
-
-.block-editor-rich-text__inline-toolbar {
- display: flex;
- justify-content: center;
- position: absolute;
- top: -40px;
- line-height: 0;
- left: 0;
- right: 0;
- z-index: 1; }
- .block-editor-rich-text__inline-toolbar ul.components-toolbar {
- box-shadow: 0 2px 10px rgba(25, 30, 35, 0.1), 0 0 2px rgba(25, 30, 35, 0.1); }
+ 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; }
.block-editor-skip-to-selected-block {
position: absolute;
@@ -1811,26 +1971,22 @@
font-weight: 600;
padding: 15px 23px 14px;
background: #f1f1f1;
- color: #11a0d2;
+ 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; }
- body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{
- color: #c8b03c; }
- body.admin-color-ocean .block-editor-skip-to-selected-block:focus{
- color: #a89d8a; }
- body.admin-color-midnight .block-editor-skip-to-selected-block:focus{
- color: #77a6b9; }
- body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{
- color: #c77430; }
- body.admin-color-coffee .block-editor-skip-to-selected-block:focus{
- color: #9fa47b; }
- body.admin-color-blue .block-editor-skip-to-selected-block:focus{
- color: #d9ab59; }
- body.admin-color-light .block-editor-skip-to-selected-block:focus{
- color: #c75726; }
+
+.block-editor-tool-selector__help {
+ margin-top: 8px;
+ margin-left: -12px;
+ margin-right: -12px;
+ margin-bottom: -12px;
+ padding: 12px 20px;
+ border-top: 1px solid #ddd;
+ color: #6c7781; }
.block-editor-block-list__block .block-editor-url-input,
.components-popover .block-editor-url-input,
@@ -1863,20 +2019,75 @@
.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;
- top: 9px;
+ bottom: 17px;
margin: 0; }
+.block-editor-url-input__input[type="text"] {
+ 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; }
+ @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 0.5px #007cba;
+ box-shadow: 0 0 0 0.5px 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); }
+
.block-editor-url-input__suggestions {
max-height: 200px;
transition: all 0.15s ease-in-out;
padding: 4px 0;
width: 302px;
overflow-y: auto; }
+ @media (prefers-reduced-motion: reduce) {
+ .block-editor-url-input__suggestions {
+ transition-duration: 0s; } }
.block-editor-url-input__suggestions,
.block-editor-url-input .components-spinner {
@@ -1896,29 +2107,16 @@
width: 100%;
border: none;
text-align: left;
- border: none;
box-shadow: none; }
.block-editor-url-input__suggestion:hover {
- background: #e2e4e7; }
+ background: #ddd; }
.block-editor-url-input__suggestion:focus, .block-editor-url-input__suggestion.is-selected {
- background: rgb(0, 113, 158);
+ background: #005a87;
+ background: var(--wp-admin-theme-color-darker-20);
color: #fff;
outline: none; }
- body.admin-color-sunrise .block-editor-url-input__suggestion:focus, body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected{
- background: rgb(178, 114, 63); }
- body.admin-color-ocean .block-editor-url-input__suggestion:focus, body.admin-color-ocean .block-editor-url-input__suggestion.is-selected{
- background: rgb(139, 157, 138); }
- body.admin-color-midnight .block-editor-url-input__suggestion:focus, body.admin-color-midnight .block-editor-url-input__suggestion.is-selected{
- background: rgb(191, 65, 57); }
- body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus, body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected{
- background: rgb(142, 155, 73); }
- body.admin-color-coffee .block-editor-url-input__suggestion:focus, body.admin-color-coffee .block-editor-url-input__suggestion.is-selected{
- background: rgb(165, 141, 119); }
- body.admin-color-blue .block-editor-url-input__suggestion:focus, body.admin-color-blue .block-editor-url-input__suggestion.is-selected{
- background: rgb(111, 153, 173); }
- body.admin-color-light .block-editor-url-input__suggestion:focus, body.admin-color-light .block-editor-url-input__suggestion.is-selected{
- background: rgb(0, 113, 158); }
+.components-toolbar-group > .block-editor-url-input__button,
.components-toolbar > .block-editor-url-input__button {
position: inherit; }
@@ -1932,11 +2130,11 @@
width: 1px;
height: 24px;
right: -1px;
- background: #e2e4e7; }
+ background: #ddd; }
.block-editor-url-input__button-modal {
- box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);
- border: 1px solid #e2e4e7;
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
+ border: 1px solid #ddd;
background: #fff; }
.block-editor-url-input__button-modal-line {
@@ -1951,95 +2149,511 @@
width: 36px;
height: 36px; }
+.block-editor-url-popover__additional-controls {
+ border-top: 1px solid #ddd; }
+
+.block-editor-url-popover__additional-controls > div[role="menu"] .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary) > svg {
+ box-shadow: none; }
+
+.block-editor-url-popover__additional-controls div[role="menu"] > .components-button {
+ padding-left: 2px; }
+
.block-editor-url-popover__row {
display: flex; }
.block-editor-url-popover__row > :not(.block-editor-url-popover__settings-toggle) {
flex-grow: 1; }
-.block-editor-url-popover .components-icon-button {
+.block-editor-url-popover .components-button.has-icon {
padding: 3px; }
- .block-editor-url-popover .components-icon-button > svg {
+ .block-editor-url-popover .components-button.has-icon > svg {
padding: 5px;
- border-radius: 4px;
+ border-radius: 2px;
height: 30px;
width: 30px; }
- .block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
+ .block-editor-url-popover .components-button.has-icon:not(:disabled):focus {
box-shadow: none; }
- .block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover > svg {
- color: #555d66;
- box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; }
- .block-editor-url-popover .components-icon-button:not(:disabled):focus {
- box-shadow: none; }
- .block-editor-url-popover .components-icon-button:not(:disabled):focus > svg {
- box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff;
- outline: 2px solid transparent;
- outline-offset: -2px; }
+ .block-editor-url-popover .components-button.has-icon:not(:disabled):focus > svg {
+ box-shadow: inset 0 0 0 1.5px #007cba, inset 0 0 0 4px #fff;
+ box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color), inset 0 0 0 4px #fff;
+ outline: 2px solid transparent; }
.block-editor-url-popover__settings-toggle {
flex-shrink: 0;
border-radius: 0;
- border-left: 1px solid #e2e4e7;
+ border-left: 1px solid #ddd;
margin-left: 1px; }
.block-editor-url-popover__settings-toggle[aria-expanded="true"] .dashicon {
transform: rotate(180deg); }
+.block-editor-url-popover__input-container .components-base-control:last-child,
+.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field {
+ margin-bottom: 0; }
+
.block-editor-url-popover__settings {
+ display: block;
padding: 16px;
- border-top: 1px solid #e2e4e7; }
- .block-editor-url-popover__settings .components-base-control:last-child .components-base-control__field {
+ border-top: 1px solid #ddd; }
+
+.block-editor-url-popover__link-editor,
+.block-editor-url-popover__link-viewer {
+ display: flex; }
+ .block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,
+ .block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field {
margin-bottom: 0; }
+ .block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,
+ .block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner {
+ bottom: 9px; }
+
+.block-editor-url-popover__link-viewer-url {
+ margin: 7px;
+ flex-grow: 1;
+ flex-shrink: 1;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ min-width: 150px;
+ max-width: 500px; }
+ .block-editor-url-popover__link-viewer-url.has-invalid-link {
+ color: #d94f4f; }
.block-editor-warning {
+ align-items: center;
display: flex;
- flex-direction: row;
- justify-content: space-between;
- flex-wrap: nowrap;
- background-color: #fff;
- border: 1px solid #e2e4e7;
- text-align: left;
- padding: 20px; }
- .has-warning.is-multi-selected .block-editor-warning {
- background-color: transparent; }
- .is-selected .block-editor-warning {
- border-color: rgba(66, 88, 99, 0.4);
- border-left-color: transparent; }
- .is-dark-theme .is-selected .block-editor-warning {
- border-color: rgba(255, 255, 255, 0.45); }
+ flex-wrap: wrap;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
+ font-size: 13px;
+ padding: 6px 12px;
+ border: 1px solid #1e1e1e;
+ border-radius: 2px;
+ 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; }
+ font-size: 13px;
+ margin: 1em 0; }
+ .block-editor-warning p.block-editor-warning__message.block-editor-warning__message {
+ min-height: auto; }
.block-editor-warning .block-editor-warning__contents {
display: flex;
flex-direction: row;
justify-content: space-between;
flex-wrap: wrap;
- align-items: center;
+ align-items: baseline;
width: 100%; }
.block-editor-warning .block-editor-warning__actions {
display: flex; }
.block-editor-warning .block-editor-warning__action {
- margin: 0 6px 0 0; }
+ margin: 0 0 0 8px; }
.block-editor-warning__secondary {
- margin: 3px 0 0 -4px; }
- .block-editor-warning__secondary .components-icon-button {
- width: auto;
- padding: 8px 2px; }
- @media (min-width: 600px) {
- .block-editor-warning__secondary {
- margin-left: 4px; }
- .block-editor-warning__secondary .components-icon-button {
- padding: 8px 4px; } }
- .block-editor-warning__secondary .components-button svg {
- transform: rotate(90deg); }
+ margin: auto 0 auto 8px; }
.block-editor-writing-flow {
- height: 100%;
display: flex;
flex-direction: column; }
.block-editor-writing-flow__click-redirect {
- flex-basis: 100%;
cursor: text; }
+
+.html-anchor-control .components-external-link {
+ display: block;
+ margin-top: 8px; }
+
+#end-resizable-editor-section {
+ display: none; }
+
+/**
+ * Block Toolbar
+ */
+.block-editor-block-toolbar {
+ display: flex;
+ flex-grow: 1;
+ width: 100%;
+ overflow: auto;
+ position: relative;
+ 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; }
+
+.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;
+ flex-wrap: nowrap; }
+
+.block-editor-block-toolbar__slot {
+ display: inline-block;
+ line-height: 0; }
+ @supports ((position: -webkit-sticky) or (position: sticky)) {
+ .block-editor-block-toolbar__slot {
+ display: inline-flex; } }
+
+.block-editor-block-toolbar__block-parent-selector-wrapper {
+ position: absolute;
+ top: -1px;
+ left: -1px;
+ opacity: 0;
+ transition: all 60ms linear;
+ 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 {
+ opacity: 1;
+ transform: translateY(-60px); }
+ .edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar__block-parent-selector-wrapper {
+ display: none; }
+
+.block-editor-block-toolbar-animated-width-container {
+ position: relative;
+ overflow: hidden;
+ transition: width 300ms; }
+
+.block-editor-block-toolbar-content-enter {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: auto;
+ opacity: 0; }
+
+.block-editor-block-toolbar-content-enter-active {
+ position: absolute;
+ opacity: 1;
+ transition: opacity 300ms; }
+
+.block-editor-block-toolbar-content-exit {
+ width: auto;
+ opacity: 1;
+ pointer-events: none; }
+
+.block-editor-block-toolbar-content-exit-active {
+ opacity: 0;
+ transition: opacity 300ms; }
+
+.block-editor-inserter {
+ display: inline-block;
+ background: none;
+ border: none;
+ padding: 0;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
+ font-size: 13px;
+ line-height: 1.4; }
+ @media (min-width: 782px) {
+ .block-editor-inserter {
+ position: relative; } }
+
+.block-editor-inserter__popover .block-editor-inserter__menu {
+ 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; }
+
+.block-editor-inserter__toggle.components-button {
+ display: inline-flex;
+ align-items: center;
+ cursor: pointer;
+ border: none;
+ outline: none;
+ padding: 0;
+ transition: color 0.2s ease; }
+ @media (prefers-reduced-motion: reduce) {
+ .block-editor-inserter__toggle.components-button {
+ transition-duration: 0s; } }
+
+.block-editor-inserter__menu {
+ height: 100%;
+ position: relative;
+ overflow: visible; }
+
+.block-editor-inserter__main-area {
+ width: auto;
+ overflow-y: auto;
+ height: 100%; }
+ @media (min-width: 782px) {
+ .block-editor-inserter__main-area {
+ width: 350px; } }
+
+.block-editor-inserter__inline-elements {
+ margin-top: -1px; }
+
+.block-editor-inserter__menu.is-bottom::after {
+ border-bottom-color: #fff; }
+
+.components-popover.block-editor-inserter__popover {
+ z-index: 99998; }
+
+.block-editor-inserter__search {
+ padding: 16px;
+ position: -webkit-sticky;
+ position: sticky;
+ top: 0;
+ background: #fff;
+ 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;
+ /* Override core line-height. To be reviewed. */
+ line-height: normal; } }
+ .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 0.5px #007cba;
+ box-shadow: 0 0 0 0.5px 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 1.5px #007cba;
+ box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); }
+ .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:-ms-input-placeholder {
+ color: #606a73; }
+ .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-ms-input-placeholder {
+ color: #606a73; }
+ .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::placeholder {
+ color: #606a73; }
+ .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; }
+
+.block-editor-inserter__search-icon {
+ position: absolute;
+ top: 0;
+ right: 20px;
+ bottom: 0;
+ display: flex;
+ align-items: center; }
+ .block-editor-inserter__search-icon > svg {
+ margin: 8px; }
+
+.block-editor-inserter__tabs {
+ display: flex;
+ flex-direction: column;
+ 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; }
+
+.block-editor-inserter__panel-header {
+ display: inline-flex;
+ align-items: center;
+ padding: 16px 16px 0; }
+
+.block-editor-inserter__panel-content {
+ padding: 0 16px; }
+
+.block-editor-inserter__panel-title {
+ margin: 0 12px 0 0;
+ color: #757575;
+ text-transform: uppercase;
+ font-size: 11px;
+ font-weight: 500; }
+
+.block-editor-inserter__block-list {
+ flex-grow: 1;
+ position: relative; }
+
+.block-editor-inserter__popover .block-editor-block-types-list {
+ margin: 0 -8px; }
+
+.block-editor-inserter__reusable-blocks-panel {
+ position: relative;
+ text-align: right; }
+
+.block-editor-inserter__manage-reusable-blocks {
+ display: inline-block;
+ margin: 16px; }
+
+.block-editor-inserter__no-results {
+ padding: 32px;
+ margin-top: 64px;
+ text-align: center; }
+
+.block-editor-inserter__no-results-icon {
+ fill: #b5bcc2; }
+
+.block-editor-inserter__child-blocks {
+ padding: 0 16px; }
+
+.block-editor-inserter__parent-block-header {
+ display: flex;
+ align-items: center; }
+ .block-editor-inserter__parent-block-header h2 {
+ font-size: 13px; }
+ .block-editor-inserter__parent-block-header .block-editor-block-icon {
+ margin-right: 8px; }
+
+.block-editor-inserter__preview-container {
+ display: none;
+ width: 300px;
+ background: #fff;
+ border-radius: 2px;
+ border: 1px solid #ddd;
+ position: absolute;
+ top: 16px;
+ left: calc(100% + 16px); }
+ @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; }
+
+.block-editor-inserter__preview-content {
+ min-height: 144px;
+ background: #f0f0f0;
+ display: -ms-grid;
+ display: grid;
+ flex-grow: 1;
+ align-items: center; }
+
+.block-editor-inserter__preview-content-missing {
+ flex: 1;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ min-height: 144px;
+ color: #606a73;
+ background: #f0f0f0; }
+
+.block-editor-inserter__tips {
+ border-top: 1px solid #ddd;
+ padding: 16px;
+ flex-shrink: 0; }
+
+.block-editor-inserter__manage-reusable-blocks-container {
+ padding: 16px; }
+
+.block-editor-inserter__quick-inserter {
+ width: 100%; }
+ @media (min-width: 782px) {
+ .block-editor-inserter__quick-inserter {
+ width: 350px; } }
+
+.block-editor-inserter__quick-inserter-results {
+ padding-bottom: 16px; }
+ .block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header {
+ height: 0;
+ padding: 0;
+ float: left; }
+
+.block-editor-inserter__quick-inserter-patterns {
+ display: -ms-grid;
+ display: grid;
+ -ms-grid-columns: 1fr 1fr;
+ grid-template-columns: 1fr 1fr;
+ grid-gap: 8px; }
+
+.block-editor-inserter__quick-inserter-separator {
+ border-top: 1px solid #ddd; }
+
+.block-editor-inserter__popover.is-quick > .components-popover__content > div {
+ padding: 0; }
+
+.block-editor-inserter__quick-inserter-expand.components-button {
+ display: block;
+ background: #1e1e1e;
+ color: #fff;
+ width: 100%;
+ height: 44px;
+ border-radius: 0; }
+ .block-editor-inserter__quick-inserter-expand.components-button:hover {
+ color: #fff; }
+ .block-editor-inserter__quick-inserter-expand.components-button:focus:not(:disabled) {
+ box-shadow: inset 0 0 0 1.5px #1e1e1e, inset 0 0 0 2px #fff; }
+
+.block-editor-post-preview__dropdown {
+ display: none;
+ margin-right: 12px;
+ padding: 0; }
+
+.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize {
+ padding-left: 40px; }
+ .block-editor-post-preview__button-resize.block-editor-post-preview__button-resize.has-icon {
+ padding-left: 8px; }
+
+.block-editor-post-preview__dropdown-content .components-popover__content {
+ overflow-y: visible; }
+
+.block-editor-post-preview__dropdown-content .components-menu-group + .components-menu-group {
+ border-top: 1px solid #ccc;
+ padding: 8px 12px;
+ margin-left: -12px;
+ margin-right: -12px; }
+
+@media (min-width: 600px) {
+ .editor-post-preview {
+ display: none; }
+ .block-editor-post-preview__dropdown {
+ display: flex; } }