@wordpress/block-editor 10.2.0 → 10.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +41 -0
- package/build/components/block-draggable/draggable-chip.js +4 -2
- package/build/components/block-draggable/draggable-chip.js.map +1 -1
- package/build/components/block-inspector/index.js +4 -4
- package/build/components/block-inspector/index.js.map +1 -1
- package/build/components/block-list/block-list-compact.native.js +1 -0
- package/build/components/block-list/block-list-compact.native.js.map +1 -1
- package/build/components/block-list/block.js +72 -14
- package/build/components/block-list/block.js.map +1 -1
- package/build/components/block-list/block.native.js +79 -12
- package/build/components/block-list/block.native.js.map +1 -1
- package/build/components/block-list/use-in-between-inserter.js +7 -23
- package/build/components/block-list/use-in-between-inserter.js.map +1 -1
- package/build/components/block-lock/modal.js +9 -6
- package/build/components/block-lock/modal.js.map +1 -1
- package/build/components/block-parent-selector/index.js +3 -3
- package/build/components/block-parent-selector/index.js.map +1 -1
- package/build/components/block-patterns-list/index.js +5 -4
- package/build/components/block-patterns-list/index.js.map +1 -1
- package/build/components/block-popover/drop-zone.js +85 -0
- package/build/components/block-popover/drop-zone.js.map +1 -0
- package/build/components/block-popover/index.js +2 -1
- package/build/components/block-popover/index.js.map +1 -1
- package/build/components/block-preview/auto.js +2 -2
- package/build/components/block-preview/auto.js.map +1 -1
- package/build/components/block-preview/index.js +6 -9
- package/build/components/block-preview/index.js.map +1 -1
- package/build/components/block-preview/live.js +3 -7
- package/build/components/block-preview/live.js.map +1 -1
- package/build/components/block-selection-clearer/index.js +9 -1
- package/build/components/block-selection-clearer/index.js.map +1 -1
- package/build/components/block-settings-menu/block-settings-dropdown.js +17 -11
- package/build/components/block-settings-menu/block-settings-dropdown.js.map +1 -1
- package/build/components/block-styles/index.js +18 -42
- package/build/components/block-styles/index.js.map +1 -1
- package/build/components/block-toolbar/index.js +4 -4
- package/build/components/block-toolbar/index.js.map +1 -1
- package/build/components/block-tools/back-compat.js +2 -1
- package/build/components/block-tools/back-compat.js.map +1 -1
- package/build/components/block-tools/insertion-point.js +50 -20
- package/build/components/block-tools/insertion-point.js.map +1 -1
- package/build/components/block-tools/selected-block-popover.js +15 -3
- package/build/components/block-tools/selected-block-popover.js.map +1 -1
- package/build/components/colors-gradients/control.js +1 -1
- package/build/components/colors-gradients/control.js.map +1 -1
- package/build/components/colors-gradients/panel-color-gradient-settings.js +2 -2
- package/build/components/colors-gradients/panel-color-gradient-settings.js.map +1 -1
- package/build/components/font-sizes/fluid-utils.js +256 -0
- package/build/components/font-sizes/fluid-utils.js.map +1 -0
- package/build/components/font-sizes/index.js +8 -0
- package/build/components/font-sizes/index.js.map +1 -1
- package/build/components/index.js +0 -9
- package/build/components/index.js.map +1 -1
- package/build/components/inner-blocks/use-inner-block-template-sync.js +3 -2
- package/build/components/inner-blocks/use-inner-block-template-sync.js.map +1 -1
- package/build/components/inserter/block-patterns-tab.js +151 -78
- package/build/components/inserter/block-patterns-tab.js.map +1 -1
- package/build/components/inserter/menu.js +14 -3
- package/build/components/inserter/menu.js.map +1 -1
- package/build/components/inserter-draggable-blocks/index.js +4 -2
- package/build/components/inserter-draggable-blocks/index.js.map +1 -1
- package/build/components/list-view/use-list-view-drop-zone.js +1 -14
- package/build/components/list-view/use-list-view-drop-zone.js.map +1 -1
- package/build/components/preview-options/index.js +2 -3
- package/build/components/preview-options/index.js.map +1 -1
- package/build/components/spacing-sizes-control/spacing-input-control.js +35 -5
- package/build/components/spacing-sizes-control/spacing-input-control.js.map +1 -1
- package/build/components/use-block-drop-zone/index.js +98 -57
- package/build/components/use-block-drop-zone/index.js.map +1 -1
- package/build/components/use-on-block-drop/index.js +12 -12
- package/build/components/use-on-block-drop/index.js.map +1 -1
- package/build/components/use-on-block-drop/types.js +6 -0
- package/build/components/use-on-block-drop/types.js.map +1 -0
- package/build/hooks/align.js +1 -3
- package/build/hooks/align.js.map +1 -1
- package/build/hooks/align.native.js +1 -7
- package/build/hooks/align.native.js.map +1 -1
- package/build/hooks/font-size.js +60 -0
- package/build/hooks/font-size.js.map +1 -1
- package/build/hooks/margin.js +6 -5
- package/build/hooks/margin.js.map +1 -1
- package/build/hooks/padding.js +2 -1
- package/build/hooks/padding.js.map +1 -1
- package/build/hooks/style.js +126 -4
- package/build/hooks/style.js.map +1 -1
- package/build/hooks/use-typography-props.js +17 -3
- package/build/hooks/use-typography-props.js.map +1 -1
- package/build/hooks/utils.js +1 -1
- package/build/hooks/utils.js.map +1 -1
- package/build/store/actions.js +59 -45
- package/build/store/actions.js.map +1 -1
- package/build/store/defaults.js +3 -0
- package/build/store/defaults.js.map +1 -1
- package/build/store/reducer.js +31 -15
- package/build/store/reducer.js.map +1 -1
- package/build/utils/math.js +14 -0
- package/build/utils/math.js.map +1 -1
- package/build/utils/pre-parse-patterns.js +19 -2
- package/build/utils/pre-parse-patterns.js.map +1 -1
- package/build-module/components/block-draggable/draggable-chip.js +7 -3
- package/build-module/components/block-draggable/draggable-chip.js.map +1 -1
- package/build-module/components/block-inspector/index.js +4 -4
- package/build-module/components/block-inspector/index.js.map +1 -1
- package/build-module/components/block-list/block-list-compact.native.js +1 -0
- package/build-module/components/block-list/block-list-compact.native.js.map +1 -1
- package/build-module/components/block-list/block.js +72 -14
- package/build-module/components/block-list/block.js.map +1 -1
- package/build-module/components/block-list/block.native.js +80 -13
- package/build-module/components/block-list/block.native.js.map +1 -1
- package/build-module/components/block-list/use-in-between-inserter.js +8 -24
- package/build-module/components/block-list/use-in-between-inserter.js.map +1 -1
- package/build-module/components/block-lock/modal.js +10 -8
- package/build-module/components/block-lock/modal.js.map +1 -1
- package/build-module/components/block-parent-selector/index.js +3 -3
- package/build-module/components/block-parent-selector/index.js.map +1 -1
- package/build-module/components/block-patterns-list/index.js +5 -4
- package/build-module/components/block-patterns-list/index.js.map +1 -1
- package/build-module/components/block-popover/drop-zone.js +70 -0
- package/build-module/components/block-popover/drop-zone.js.map +1 -0
- package/build-module/components/block-popover/index.js +2 -1
- package/build-module/components/block-popover/index.js.map +1 -1
- package/build-module/components/block-preview/auto.js +1 -1
- package/build-module/components/block-preview/auto.js.map +1 -1
- package/build-module/components/block-preview/index.js +6 -9
- package/build-module/components/block-preview/index.js.map +1 -1
- package/build-module/components/block-preview/live.js +3 -6
- package/build-module/components/block-preview/live.js.map +1 -1
- package/build-module/components/block-selection-clearer/index.js +9 -1
- package/build-module/components/block-selection-clearer/index.js.map +1 -1
- package/build-module/components/block-settings-menu/block-settings-dropdown.js +18 -12
- package/build-module/components/block-settings-menu/block-settings-dropdown.js.map +1 -1
- package/build-module/components/block-styles/index.js +19 -44
- package/build-module/components/block-styles/index.js.map +1 -1
- package/build-module/components/block-toolbar/index.js +4 -4
- package/build-module/components/block-toolbar/index.js.map +1 -1
- package/build-module/components/block-tools/back-compat.js +2 -1
- package/build-module/components/block-tools/back-compat.js.map +1 -1
- package/build-module/components/block-tools/insertion-point.js +48 -20
- package/build-module/components/block-tools/insertion-point.js.map +1 -1
- package/build-module/components/block-tools/selected-block-popover.js +15 -3
- package/build-module/components/block-tools/selected-block-popover.js.map +1 -1
- package/build-module/components/colors-gradients/control.js +2 -2
- package/build-module/components/colors-gradients/control.js.map +1 -1
- package/build-module/components/colors-gradients/panel-color-gradient-settings.js +3 -3
- package/build-module/components/colors-gradients/panel-color-gradient-settings.js.map +1 -1
- package/build-module/components/font-sizes/fluid-utils.js +245 -0
- package/build-module/components/font-sizes/fluid-utils.js.map +1 -0
- package/build-module/components/font-sizes/index.js +1 -0
- package/build-module/components/font-sizes/index.js.map +1 -1
- package/build-module/components/index.js +0 -1
- package/build-module/components/index.js.map +1 -1
- package/build-module/components/inner-blocks/use-inner-block-template-sync.js +3 -2
- package/build-module/components/inner-blocks/use-inner-block-template-sync.js.map +1 -1
- package/build-module/components/inserter/block-patterns-tab.js +148 -81
- package/build-module/components/inserter/block-patterns-tab.js.map +1 -1
- package/build-module/components/inserter/menu.js +10 -3
- package/build-module/components/inserter/menu.js.map +1 -1
- package/build-module/components/inserter-draggable-blocks/index.js +4 -2
- package/build-module/components/inserter-draggable-blocks/index.js.map +1 -1
- package/build-module/components/list-view/use-list-view-drop-zone.js +1 -14
- package/build-module/components/list-view/use-list-view-drop-zone.js.map +1 -1
- package/build-module/components/preview-options/index.js +2 -3
- package/build-module/components/preview-options/index.js.map +1 -1
- package/build-module/components/spacing-sizes-control/spacing-input-control.js +34 -5
- package/build-module/components/spacing-sizes-control/spacing-input-control.js.map +1 -1
- package/build-module/components/use-block-drop-zone/index.js +98 -58
- package/build-module/components/use-block-drop-zone/index.js.map +1 -1
- package/build-module/components/use-on-block-drop/index.js +12 -12
- package/build-module/components/use-on-block-drop/index.js.map +1 -1
- package/build-module/components/use-on-block-drop/types.js +2 -0
- package/build-module/components/use-on-block-drop/types.js.map +1 -0
- package/build-module/hooks/align.js +1 -2
- package/build-module/hooks/align.js.map +1 -1
- package/build-module/hooks/align.native.js +1 -6
- package/build-module/hooks/align.native.js.map +1 -1
- package/build-module/hooks/font-size.js +59 -1
- package/build-module/hooks/font-size.js.map +1 -1
- package/build-module/hooks/margin.js +6 -5
- package/build-module/hooks/margin.js.map +1 -1
- package/build-module/hooks/padding.js +2 -1
- package/build-module/hooks/padding.js.map +1 -1
- package/build-module/hooks/style.js +124 -3
- package/build-module/hooks/style.js.map +1 -1
- package/build-module/hooks/use-typography-props.js +17 -4
- package/build-module/hooks/use-typography-props.js.map +1 -1
- package/build-module/hooks/utils.js +2 -2
- package/build-module/hooks/utils.js.map +1 -1
- package/build-module/store/actions.js +55 -42
- package/build-module/store/actions.js.map +1 -1
- package/build-module/store/defaults.js +3 -0
- package/build-module/store/defaults.js.map +1 -1
- package/build-module/store/reducer.js +32 -16
- package/build-module/store/reducer.js.map +1 -1
- package/build-module/utils/math.js +12 -0
- package/build-module/utils/math.js.map +1 -1
- package/build-module/utils/pre-parse-patterns.js +19 -2
- package/build-module/utils/pre-parse-patterns.js.map +1 -1
- package/build-style/style-rtl.css +243 -144
- package/build-style/style.css +243 -144
- package/package.json +28 -28
- package/src/components/block-breadcrumb/test/index.js +1 -1
- package/src/components/block-draggable/draggable-chip.js +4 -2
- package/src/components/block-inspector/index.js +8 -7
- package/src/components/block-list/block-list-compact.native.js +1 -0
- package/src/components/block-list/block.js +111 -7
- package/src/components/block-list/block.native.js +123 -9
- package/src/components/block-list/style.scss +93 -126
- package/src/components/block-list/use-in-between-inserter.js +8 -19
- package/src/components/block-lock/modal.js +12 -7
- package/src/components/block-mover/style.scss +0 -1
- package/src/components/block-parent-selector/index.js +3 -3
- package/src/components/block-patterns-list/index.js +9 -5
- package/src/components/block-patterns-list/style.scss +7 -3
- package/src/components/block-popover/README.md +8 -0
- package/src/components/block-popover/drop-zone.js +63 -0
- package/src/components/block-popover/index.js +2 -1
- package/src/components/block-popover/style.scss +17 -1
- package/src/components/block-preview/auto.js +1 -1
- package/src/components/block-preview/index.js +7 -8
- package/src/components/block-preview/live.js +2 -7
- package/src/components/block-preview/test/index.js +1 -7
- package/src/components/block-selection-clearer/index.js +7 -2
- package/src/components/block-selection-clearer/test/index.js +118 -0
- package/src/components/block-settings-menu/block-settings-dropdown.js +25 -11
- package/src/components/block-settings-menu/test/block-mode-toggle.js +17 -17
- package/src/components/block-styles/index.js +26 -49
- package/src/components/block-switcher/test/index.js +2 -2
- package/src/components/block-toolbar/index.js +4 -6
- package/src/components/block-toolbar/style.scss +38 -14
- package/src/components/block-tools/back-compat.js +1 -0
- package/src/components/block-tools/insertion-point.js +42 -17
- package/src/components/block-tools/selected-block-popover.js +14 -1
- package/src/components/button-block-appender/style.scss +4 -2
- package/src/components/color-palette/test/__snapshots__/control.js.snap +32 -52
- package/src/components/color-palette/test/control.js +11 -15
- package/src/components/colors-gradients/control.js +2 -2
- package/src/components/colors-gradients/panel-color-gradient-settings.js +3 -4
- package/src/components/colors-gradients/test/control.js +49 -77
- package/src/components/font-sizes/fluid-utils.js +296 -0
- package/src/components/font-sizes/index.js +1 -0
- package/src/components/font-sizes/test/fluid-utils.js +168 -0
- package/src/components/image-size-control/test/index.js +47 -60
- package/src/components/index.js +0 -1
- package/src/components/inner-blocks/use-inner-block-template-sync.js +3 -2
- package/src/components/inserter/block-patterns-tab.js +232 -98
- package/src/components/inserter/menu.js +15 -2
- package/src/components/inserter/style.scss +94 -9
- package/src/components/inserter/test/reusable-blocks-tab.js +6 -6
- package/src/components/inserter-draggable-blocks/index.js +12 -2
- package/src/components/inserter-list-item/style.scss +20 -1
- package/src/components/link-control/test/index.js +1 -1
- package/src/components/list-view/use-list-view-drop-zone.js +4 -18
- package/src/components/panel-color-settings/test/index.js +4 -4
- package/src/components/preview-options/index.js +2 -2
- package/src/components/preview-options/style.scss +1 -1
- package/src/components/provider/test/use-block-sync.js +131 -165
- package/src/components/responsive-block-control/test/index.js +4 -4
- package/src/components/spacing-sizes-control/spacing-input-control.js +16 -2
- package/src/components/spacing-sizes-control/style.scss +26 -19
- package/src/components/use-block-drop-zone/index.js +136 -79
- package/src/components/use-block-drop-zone/test/index.js +333 -81
- package/src/components/use-on-block-drop/index.js +11 -12
- package/src/components/use-on-block-drop/types.ts +1 -0
- package/src/hooks/align.js +3 -2
- package/src/hooks/align.native.js +5 -8
- package/src/hooks/font-size.js +75 -0
- package/src/hooks/margin.js +5 -4
- package/src/hooks/padding.js +1 -0
- package/src/hooks/style.js +122 -3
- package/src/hooks/test/style.js +206 -1
- package/src/hooks/test/use-typography-props.js +22 -0
- package/src/hooks/use-typography-props.js +18 -3
- package/src/hooks/utils.js +6 -2
- package/src/store/actions.js +20 -12
- package/src/store/defaults.js +3 -0
- package/src/store/reducer.js +31 -24
- package/src/store/test/actions.js +0 -9
- package/src/utils/math.js +17 -0
- package/src/utils/pre-parse-patterns.js +12 -7
- package/build/components/inserter/pattern-panel.js +0 -87
- package/build/components/inserter/pattern-panel.js.map +0 -1
- package/build-module/components/inserter/pattern-panel.js +0 -74
- package/build-module/components/inserter/pattern-panel.js.map +0 -1
- package/src/components/inserter/pattern-panel.js +0 -93
package/build-style/style.css
CHANGED
|
@@ -172,52 +172,82 @@
|
|
|
172
172
|
/**
|
|
173
173
|
* Cross-Block Selection
|
|
174
174
|
*/
|
|
175
|
+
@keyframes selection-overlay__fade-in-animation {
|
|
176
|
+
from {
|
|
177
|
+
opacity: 0;
|
|
178
|
+
}
|
|
179
|
+
to {
|
|
180
|
+
opacity: 0.4;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
175
183
|
.block-editor-block-list__layout {
|
|
176
184
|
position: relative;
|
|
177
185
|
}
|
|
178
186
|
.block-editor-block-list__layout::selection {
|
|
179
187
|
background: transparent;
|
|
180
188
|
}
|
|
181
|
-
.
|
|
182
|
-
|
|
183
|
-
|
|
189
|
+
.has-multi-selection .block-editor-block-list__layout::selection {
|
|
190
|
+
background: transparent;
|
|
191
|
+
}
|
|
192
|
+
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected) {
|
|
193
|
+
border-radius: 2px;
|
|
194
|
+
overflow: hidden;
|
|
195
|
+
}
|
|
196
|
+
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected)::selection, .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected) ::selection {
|
|
197
|
+
background: transparent;
|
|
198
|
+
}
|
|
199
|
+
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected)::after {
|
|
200
|
+
content: "";
|
|
184
201
|
position: absolute;
|
|
185
202
|
z-index: 1;
|
|
186
203
|
pointer-events: none;
|
|
204
|
+
top: 0;
|
|
205
|
+
right: 0;
|
|
206
|
+
bottom: 0;
|
|
207
|
+
left: 0;
|
|
208
|
+
background: var(--wp-admin-theme-color);
|
|
209
|
+
opacity: 0.4;
|
|
210
|
+
border-radius: 2px;
|
|
211
|
+
animation: selection-overlay__fade-in-animation 0.1s ease-out;
|
|
212
|
+
animation-fill-mode: forwards;
|
|
213
|
+
outline: 2px solid transparent;
|
|
214
|
+
}
|
|
215
|
+
@media (prefers-reduced-motion: reduce) {
|
|
216
|
+
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected)::after {
|
|
217
|
+
animation-duration: 1ms;
|
|
218
|
+
animation-delay: 0s;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted,
|
|
222
|
+
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected, .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected, .block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.has-child-selected {
|
|
223
|
+
border-radius: 2px;
|
|
224
|
+
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
225
|
+
outline: 2px solid transparent;
|
|
226
|
+
}
|
|
227
|
+
.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus {
|
|
228
|
+
outline: none;
|
|
229
|
+
}
|
|
230
|
+
.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus::after {
|
|
187
231
|
content: "";
|
|
232
|
+
position: absolute;
|
|
233
|
+
z-index: 1;
|
|
234
|
+
pointer-events: none;
|
|
188
235
|
top: 1px;
|
|
236
|
+
right: 1px;
|
|
189
237
|
bottom: 1px;
|
|
190
238
|
left: 1px;
|
|
191
|
-
right: 1px;
|
|
192
239
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
193
240
|
border-radius: 1px;
|
|
194
241
|
outline: 2px solid transparent;
|
|
195
242
|
}
|
|
196
|
-
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block
|
|
197
|
-
|
|
198
|
-
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected::after {
|
|
199
|
-
box-shadow: 0 0 0 1px #fff;
|
|
200
|
-
}
|
|
201
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected) .components-placeholder ::selection,
|
|
202
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected) .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected) ::selection,
|
|
203
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted .components-placeholder ::selection,
|
|
204
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected) ::selection,
|
|
205
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected .components-placeholder ::selection,
|
|
206
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected) ::selection {
|
|
207
|
-
background: transparent;
|
|
208
|
-
}
|
|
209
|
-
.has-multi-selection .block-editor-block-list__layout::selection {
|
|
210
|
-
background: transparent;
|
|
211
|
-
}
|
|
212
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after {
|
|
213
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
214
|
-
outline: 1px solid transparent;
|
|
243
|
+
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus::after {
|
|
244
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff;
|
|
215
245
|
}
|
|
216
|
-
.block-editor-block-list__layout
|
|
217
|
-
box-shadow:
|
|
218
|
-
outline:
|
|
246
|
+
.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected {
|
|
247
|
+
box-shadow: none;
|
|
248
|
+
outline: none;
|
|
219
249
|
}
|
|
220
|
-
.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected::
|
|
250
|
+
.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected::after {
|
|
221
251
|
content: "";
|
|
222
252
|
position: absolute;
|
|
223
253
|
z-index: 0;
|
|
@@ -229,10 +259,7 @@
|
|
|
229
259
|
border-radius: 2px;
|
|
230
260
|
border-top: 4px solid #ccc;
|
|
231
261
|
}
|
|
232
|
-
.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected::after {
|
|
233
|
-
content: none;
|
|
234
|
-
}
|
|
235
|
-
.block-editor-block-list__layout .is-block-moving-mode.can-insert-moving-block.block-editor-block-list__block.is-selected::before {
|
|
262
|
+
.block-editor-block-list__layout .is-block-moving-mode.can-insert-moving-block.block-editor-block-list__block.is-selected::after {
|
|
236
263
|
border-color: var(--wp-admin-theme-color);
|
|
237
264
|
}
|
|
238
265
|
.has-multi-selection .block-editor-block-list__layout {
|
|
@@ -266,24 +293,6 @@
|
|
|
266
293
|
/**
|
|
267
294
|
* Notices
|
|
268
295
|
*/
|
|
269
|
-
/**
|
|
270
|
-
* Block Layout
|
|
271
|
-
*/
|
|
272
|
-
/**
|
|
273
|
-
* Block styles and alignments
|
|
274
|
-
*/
|
|
275
|
-
}
|
|
276
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-partially-selected::after {
|
|
277
|
-
top: -0.5px;
|
|
278
|
-
right: -0.5px;
|
|
279
|
-
bottom: -0.5px;
|
|
280
|
-
left: -0.5px;
|
|
281
|
-
}
|
|
282
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after, .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected::after {
|
|
283
|
-
top: 0;
|
|
284
|
-
right: 0;
|
|
285
|
-
bottom: 0;
|
|
286
|
-
left: 0;
|
|
287
296
|
}
|
|
288
297
|
.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel * {
|
|
289
298
|
z-index: 1;
|
|
@@ -302,43 +311,6 @@
|
|
|
302
311
|
.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content {
|
|
303
312
|
font-size: 13px;
|
|
304
313
|
}
|
|
305
|
-
.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus {
|
|
306
|
-
outline: none;
|
|
307
|
-
}
|
|
308
|
-
.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus::after {
|
|
309
|
-
position: absolute;
|
|
310
|
-
z-index: 1;
|
|
311
|
-
pointer-events: none;
|
|
312
|
-
content: "";
|
|
313
|
-
top: 1px;
|
|
314
|
-
bottom: 1px;
|
|
315
|
-
left: 1px;
|
|
316
|
-
right: 1px;
|
|
317
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
318
|
-
border-radius: 1px;
|
|
319
|
-
outline: 2px solid transparent;
|
|
320
|
-
}
|
|
321
|
-
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus::after {
|
|
322
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff;
|
|
323
|
-
}
|
|
324
|
-
.block-editor-block-list__layout .block-editor-block-list__block::after {
|
|
325
|
-
content: "";
|
|
326
|
-
pointer-events: none;
|
|
327
|
-
position: absolute;
|
|
328
|
-
top: 0;
|
|
329
|
-
right: 0;
|
|
330
|
-
bottom: 0;
|
|
331
|
-
left: 0;
|
|
332
|
-
border-radius: 2px;
|
|
333
|
-
box-shadow: 0 0 0 0 transparent;
|
|
334
|
-
transition: box-shadow 0.1s linear;
|
|
335
|
-
}
|
|
336
|
-
@media (prefers-reduced-motion: reduce) {
|
|
337
|
-
.block-editor-block-list__layout .block-editor-block-list__block::after {
|
|
338
|
-
transition-duration: 0s;
|
|
339
|
-
transition-delay: 0s;
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
314
|
.block-editor-block-list__layout .block-editor-block-list__block.has-warning {
|
|
343
315
|
min-height: 48px;
|
|
344
316
|
}
|
|
@@ -380,6 +352,9 @@
|
|
|
380
352
|
cursor: default;
|
|
381
353
|
}
|
|
382
354
|
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-hovered::after {
|
|
355
|
+
content: "";
|
|
356
|
+
position: absolute;
|
|
357
|
+
pointer-events: none;
|
|
383
358
|
top: 1px;
|
|
384
359
|
left: 1px;
|
|
385
360
|
right: 1px;
|
|
@@ -389,20 +364,14 @@
|
|
|
389
364
|
}
|
|
390
365
|
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-selected {
|
|
391
366
|
cursor: default;
|
|
367
|
+
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
368
|
+
border-radius: 2px;
|
|
392
369
|
}
|
|
393
370
|
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-selected.rich-text {
|
|
394
371
|
cursor: unset;
|
|
395
372
|
}
|
|
396
|
-
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-selected
|
|
397
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
398
|
-
top: 1px;
|
|
399
|
-
left: 1px;
|
|
400
|
-
right: 1px;
|
|
401
|
-
bottom: 1px;
|
|
402
|
-
border-radius: 1px;
|
|
403
|
-
}
|
|
404
|
-
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-selected:focus::after {
|
|
405
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
373
|
+
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-selected:focus {
|
|
374
|
+
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
406
375
|
}
|
|
407
376
|
|
|
408
377
|
.is-focus-mode .block-editor-block-list__block:not(.has-child-selected) {
|
|
@@ -1037,7 +1006,6 @@
|
|
|
1037
1006
|
@media (min-width: 600px) {
|
|
1038
1007
|
.block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container {
|
|
1039
1008
|
flex-direction: column;
|
|
1040
|
-
width: 36px;
|
|
1041
1009
|
}
|
|
1042
1010
|
.block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container > * {
|
|
1043
1011
|
height: 24px;
|
|
@@ -1110,6 +1078,7 @@
|
|
|
1110
1078
|
.block-editor-block-patterns-list__list-item {
|
|
1111
1079
|
cursor: pointer;
|
|
1112
1080
|
margin-bottom: 24px;
|
|
1081
|
+
position: relative;
|
|
1113
1082
|
}
|
|
1114
1083
|
.block-editor-block-patterns-list__list-item.is-placeholder {
|
|
1115
1084
|
min-height: 100px;
|
|
@@ -1125,8 +1094,7 @@
|
|
|
1125
1094
|
display: flex;
|
|
1126
1095
|
align-items: center;
|
|
1127
1096
|
overflow: hidden;
|
|
1128
|
-
border-radius:
|
|
1129
|
-
border: 1px solid #f0f0f0;
|
|
1097
|
+
border-radius: 4px;
|
|
1130
1098
|
}
|
|
1131
1099
|
.block-editor-block-patterns-list__item .block-editor-block-patterns-list__item-title {
|
|
1132
1100
|
padding-top: 8px;
|
|
@@ -1134,7 +1102,7 @@
|
|
|
1134
1102
|
text-align: center;
|
|
1135
1103
|
}
|
|
1136
1104
|
.block-editor-block-patterns-list__item:hover .block-editor-block-preview__container {
|
|
1137
|
-
|
|
1105
|
+
box-shadow: 0 0 0 2px var(--wp-admin-theme-color);
|
|
1138
1106
|
}
|
|
1139
1107
|
.block-editor-block-patterns-list__item:focus .block-editor-block-preview__container {
|
|
1140
1108
|
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
@@ -1160,7 +1128,7 @@
|
|
|
1160
1128
|
box-shadow: none;
|
|
1161
1129
|
overflow-y: visible;
|
|
1162
1130
|
}
|
|
1163
|
-
.components-popover.block-editor-block-popover:not(.block-editor-block-popover__inbetween) .components-popover__content * {
|
|
1131
|
+
.components-popover.block-editor-block-popover:not(.block-editor-block-popover__inbetween, .block-editor-block-popover__drop-zone) .components-popover__content * {
|
|
1164
1132
|
pointer-events: all;
|
|
1165
1133
|
}
|
|
1166
1134
|
|
|
@@ -1177,6 +1145,16 @@
|
|
|
1177
1145
|
pointer-events: all;
|
|
1178
1146
|
}
|
|
1179
1147
|
|
|
1148
|
+
.components-popover.block-editor-block-popover__drop-zone * {
|
|
1149
|
+
pointer-events: none;
|
|
1150
|
+
}
|
|
1151
|
+
.components-popover.block-editor-block-popover__drop-zone .block-editor-block-popover__drop-zone-foreground {
|
|
1152
|
+
position: absolute;
|
|
1153
|
+
inset: 0;
|
|
1154
|
+
background-color: var(--wp-admin-theme-color);
|
|
1155
|
+
border-radius: 2px;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1180
1158
|
.block-editor-block-preview__container {
|
|
1181
1159
|
position: relative;
|
|
1182
1160
|
width: 100%;
|
|
@@ -1764,10 +1742,10 @@
|
|
|
1764
1742
|
color: #000;
|
|
1765
1743
|
}
|
|
1766
1744
|
|
|
1767
|
-
.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child, .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-
|
|
1745
|
+
.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child, .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .wp-block-group__inner-container > .block-list-appender:only-child, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .wp-block-group__inner-container > .block-list-appender:only-child {
|
|
1768
1746
|
pointer-events: none;
|
|
1769
1747
|
}
|
|
1770
|
-
.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after, .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-
|
|
1748
|
+
.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after, .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .wp-block-group__inner-container > .block-list-appender:only-child::after, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .wp-block-group__inner-container > .block-list-appender:only-child::after {
|
|
1771
1749
|
content: "";
|
|
1772
1750
|
position: absolute;
|
|
1773
1751
|
top: 0;
|
|
@@ -1775,9 +1753,10 @@
|
|
|
1775
1753
|
bottom: 0;
|
|
1776
1754
|
left: 0;
|
|
1777
1755
|
pointer-events: none;
|
|
1756
|
+
border: 1px dashed currentColor;
|
|
1778
1757
|
border-radius: 2px;
|
|
1779
1758
|
}
|
|
1780
|
-
.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after::before, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after::before, .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-
|
|
1759
|
+
.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after::before, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after::before, .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .wp-block-group__inner-container > .block-list-appender:only-child::after::before, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .wp-block-group__inner-container > .block-list-appender:only-child::after::before {
|
|
1781
1760
|
content: "";
|
|
1782
1761
|
position: absolute;
|
|
1783
1762
|
top: 0;
|
|
@@ -1788,7 +1767,7 @@
|
|
|
1788
1767
|
background: currentColor;
|
|
1789
1768
|
opacity: 0.1;
|
|
1790
1769
|
}
|
|
1791
|
-
.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter, .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-
|
|
1770
|
+
.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter, .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter {
|
|
1792
1771
|
visibility: hidden;
|
|
1793
1772
|
}
|
|
1794
1773
|
|
|
@@ -2100,9 +2079,24 @@
|
|
|
2100
2079
|
opacity: 0.6;
|
|
2101
2080
|
cursor: default;
|
|
2102
2081
|
}
|
|
2103
|
-
.components-button.block-editor-block-types-list__item:not(:disabled):hover {
|
|
2082
|
+
.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title {
|
|
2083
|
+
color: var(--wp-admin-theme-color) !important;
|
|
2084
|
+
filter: brightness(0.95);
|
|
2085
|
+
}
|
|
2086
|
+
.components-button.block-editor-block-types-list__item:not(:disabled):hover svg {
|
|
2104
2087
|
color: var(--wp-admin-theme-color) !important;
|
|
2105
2088
|
}
|
|
2089
|
+
.components-button.block-editor-block-types-list__item:not(:disabled):hover::after {
|
|
2090
|
+
content: "";
|
|
2091
|
+
position: absolute;
|
|
2092
|
+
top: 0;
|
|
2093
|
+
bottom: 0;
|
|
2094
|
+
left: 0;
|
|
2095
|
+
right: 0;
|
|
2096
|
+
border-radius: 2px;
|
|
2097
|
+
opacity: 0.04;
|
|
2098
|
+
background: var(--wp-admin-theme-color);
|
|
2099
|
+
}
|
|
2106
2100
|
.components-button.block-editor-block-types-list__item:not(:disabled):focus {
|
|
2107
2101
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
2108
2102
|
}
|
|
@@ -3871,12 +3865,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
3871
3865
|
padding-left: 6px;
|
|
3872
3866
|
padding-right: 6px;
|
|
3873
3867
|
}
|
|
3874
|
-
.show-icon-labels .block-editor-block-switcher {
|
|
3875
|
-
border-right: 1px solid #1e1e1e;
|
|
3876
|
-
}
|
|
3877
|
-
.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle {
|
|
3878
|
-
margin-left: 0;
|
|
3879
|
-
}
|
|
3880
3868
|
.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,
|
|
3881
3869
|
.show-icon-labels .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
|
|
3882
3870
|
width: 0 !important;
|
|
@@ -3885,24 +3873,50 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
3885
3873
|
.show-icon-labels .block-editor-block-parent-selector__button .block-editor-block-icon {
|
|
3886
3874
|
width: 0;
|
|
3887
3875
|
}
|
|
3876
|
+
.show-icon-labels .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container {
|
|
3877
|
+
width: auto;
|
|
3878
|
+
}
|
|
3888
3879
|
.show-icon-labels .block-editor-block-toolbar__block-controls .block-editor-block-mover {
|
|
3889
|
-
|
|
3880
|
+
border-left: 1px solid #1e1e1e;
|
|
3881
|
+
margin-left: 6px;
|
|
3882
|
+
margin-right: -6px;
|
|
3890
3883
|
white-space: nowrap;
|
|
3891
3884
|
}
|
|
3885
|
+
.show-icon-labels .block-editor-block-contextual-toolbar.is-fixed .block-editor-block-toolbar__block-controls .block-editor-block-mover {
|
|
3886
|
+
border-left-color: #e0e0e0;
|
|
3887
|
+
}
|
|
3892
3888
|
.show-icon-labels .block-editor-block-mover-button {
|
|
3893
3889
|
padding-left: 8px !important;
|
|
3894
3890
|
padding-right: 8px !important;
|
|
3895
3891
|
}
|
|
3896
3892
|
.show-icon-labels .block-editor-block-mover__drag-handle.has-icon {
|
|
3897
|
-
padding-left:
|
|
3898
|
-
padding-right:
|
|
3899
|
-
|
|
3893
|
+
padding-left: 12px !important;
|
|
3894
|
+
padding-right: 12px !important;
|
|
3895
|
+
}
|
|
3896
|
+
.show-icon-labels .block-editor-block-contextual-toolbar.is-fixed .block-editor-block-mover__move-button-container {
|
|
3897
|
+
border-width: 0;
|
|
3900
3898
|
}
|
|
3901
3899
|
@media (min-width: 600px) {
|
|
3902
3900
|
.show-icon-labels .is-up-button.is-up-button.is-up-button {
|
|
3903
|
-
border-bottom: 1px solid #1e1e1e;
|
|
3904
3901
|
margin-right: 0;
|
|
3905
3902
|
border-radius: 0;
|
|
3903
|
+
order: 1;
|
|
3904
|
+
}
|
|
3905
|
+
.show-icon-labels .block-editor-block-mover__move-button-container {
|
|
3906
|
+
border-left: 1px solid #1e1e1e;
|
|
3907
|
+
}
|
|
3908
|
+
.show-icon-labels .block-editor-block-mover__move-button-container::before {
|
|
3909
|
+
content: "";
|
|
3910
|
+
display: block;
|
|
3911
|
+
height: 1px;
|
|
3912
|
+
background: #1e1e1e;
|
|
3913
|
+
order: 2;
|
|
3914
|
+
}
|
|
3915
|
+
.show-icon-labels .is-down-button.is-down-button.is-down-button {
|
|
3916
|
+
order: 3;
|
|
3917
|
+
}
|
|
3918
|
+
.show-icon-labels .block-editor-block-contextual-toolbar.is-fixed .block-editor-block-mover__move-button-container::before {
|
|
3919
|
+
background: #ddd;
|
|
3906
3920
|
}
|
|
3907
3921
|
}
|
|
3908
3922
|
.show-icon-labels .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button {
|
|
@@ -3937,16 +3951,15 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
3937
3951
|
flex-direction: column;
|
|
3938
3952
|
height: 100%;
|
|
3939
3953
|
gap: 16px;
|
|
3940
|
-
|
|
3954
|
+
}
|
|
3955
|
+
.block-editor-inserter__main-area.show-as-tabs {
|
|
3956
|
+
gap: 0;
|
|
3941
3957
|
}
|
|
3942
3958
|
@media (min-width: 782px) {
|
|
3943
3959
|
.block-editor-inserter__main-area {
|
|
3944
3960
|
width: 350px;
|
|
3945
3961
|
}
|
|
3946
3962
|
}
|
|
3947
|
-
.block-editor-inserter__main-area.show-as-tabs {
|
|
3948
|
-
gap: 0;
|
|
3949
|
-
}
|
|
3950
3963
|
|
|
3951
3964
|
.block-editor-inserter__popover.is-quick .components-popover__content {
|
|
3952
3965
|
border: none;
|
|
@@ -4055,10 +4068,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4055
4068
|
padding: 16px 16px 0;
|
|
4056
4069
|
}
|
|
4057
4070
|
|
|
4058
|
-
.block-editor-inserter__panel-header-patterns {
|
|
4059
|
-
padding: 16px 16px 0;
|
|
4060
|
-
}
|
|
4061
|
-
|
|
4062
4071
|
.block-editor-inserter__panel-content {
|
|
4063
4072
|
padding: 16px;
|
|
4064
4073
|
}
|
|
@@ -4139,6 +4148,87 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4139
4148
|
font-size: 13px;
|
|
4140
4149
|
}
|
|
4141
4150
|
|
|
4151
|
+
.block-editor-inserter__patterns-explore-button.components-button {
|
|
4152
|
+
padding: 16px;
|
|
4153
|
+
justify-content: center;
|
|
4154
|
+
margin-top: 16px;
|
|
4155
|
+
width: 100%;
|
|
4156
|
+
}
|
|
4157
|
+
|
|
4158
|
+
.block-editor-inserter__patterns-selected-category.block-editor-inserter__patterns-selected-category {
|
|
4159
|
+
color: var(--wp-admin-theme-color);
|
|
4160
|
+
position: relative;
|
|
4161
|
+
}
|
|
4162
|
+
.block-editor-inserter__patterns-selected-category.block-editor-inserter__patterns-selected-category .components-flex-item {
|
|
4163
|
+
filter: brightness(0.95);
|
|
4164
|
+
}
|
|
4165
|
+
.block-editor-inserter__patterns-selected-category.block-editor-inserter__patterns-selected-category svg {
|
|
4166
|
+
fill: var(--wp-admin-theme-color);
|
|
4167
|
+
}
|
|
4168
|
+
.block-editor-inserter__patterns-selected-category.block-editor-inserter__patterns-selected-category::after {
|
|
4169
|
+
content: "";
|
|
4170
|
+
position: absolute;
|
|
4171
|
+
top: 0;
|
|
4172
|
+
bottom: 0;
|
|
4173
|
+
left: 0;
|
|
4174
|
+
right: 0;
|
|
4175
|
+
border-radius: 2px;
|
|
4176
|
+
opacity: 0.04;
|
|
4177
|
+
background: var(--wp-admin-theme-color);
|
|
4178
|
+
}
|
|
4179
|
+
|
|
4180
|
+
.block-editor-inserter__block-patterns-tabs-container {
|
|
4181
|
+
height: 100%;
|
|
4182
|
+
}
|
|
4183
|
+
.block-editor-inserter__block-patterns-tabs-container nav {
|
|
4184
|
+
height: 100%;
|
|
4185
|
+
}
|
|
4186
|
+
|
|
4187
|
+
.block-editor-inserter__block-patterns-tabs {
|
|
4188
|
+
display: flex;
|
|
4189
|
+
flex-direction: column;
|
|
4190
|
+
padding: 16px;
|
|
4191
|
+
overflow-y: auto;
|
|
4192
|
+
height: 100%;
|
|
4193
|
+
}
|
|
4194
|
+
|
|
4195
|
+
.block-editor-inserter__patterns-fill-space {
|
|
4196
|
+
flex-grow: 1;
|
|
4197
|
+
}
|
|
4198
|
+
|
|
4199
|
+
.block-editor-inserter__patterns-category-panel {
|
|
4200
|
+
background: #f0f0f0;
|
|
4201
|
+
border-left: 1px solid #e0e0e0;
|
|
4202
|
+
border-right: 1px solid #e0e0e0;
|
|
4203
|
+
position: absolute;
|
|
4204
|
+
padding: 32px 24px;
|
|
4205
|
+
top: 0;
|
|
4206
|
+
left: 0;
|
|
4207
|
+
height: 100%;
|
|
4208
|
+
width: 100%;
|
|
4209
|
+
overflow-y: auto;
|
|
4210
|
+
scrollbar-gutter: stable both-edges;
|
|
4211
|
+
}
|
|
4212
|
+
@media (min-width: 782px) {
|
|
4213
|
+
.block-editor-inserter__patterns-category-panel {
|
|
4214
|
+
left: 100%;
|
|
4215
|
+
display: block;
|
|
4216
|
+
width: 300px;
|
|
4217
|
+
}
|
|
4218
|
+
}
|
|
4219
|
+
.block-editor-inserter__patterns-category-panel .block-editor-block-patterns-list {
|
|
4220
|
+
margin-top: 24px;
|
|
4221
|
+
}
|
|
4222
|
+
.block-editor-inserter__patterns-category-panel .block-editor-block-preview__container {
|
|
4223
|
+
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.07);
|
|
4224
|
+
}
|
|
4225
|
+
.block-editor-inserter__patterns-category-panel .block-editor-block-preview__container:hover {
|
|
4226
|
+
box-shadow: 0 0 0 2px #1e1e1e, 0 15px 25px rgba(0, 0, 0, 0.07);
|
|
4227
|
+
}
|
|
4228
|
+
.block-editor-inserter__patterns-category-panel .block-editor-block-patterns-list__item-title {
|
|
4229
|
+
display: none;
|
|
4230
|
+
}
|
|
4231
|
+
|
|
4142
4232
|
.block-editor-inserter__preview-content {
|
|
4143
4233
|
min-height: 144px;
|
|
4144
4234
|
background: #f0f0f0;
|
|
@@ -4278,6 +4368,10 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4278
4368
|
max-height: 800px;
|
|
4279
4369
|
}
|
|
4280
4370
|
|
|
4371
|
+
.block-editor-inserter__patterns-category-panel-title {
|
|
4372
|
+
font-size: calc(1.25 * 13px);
|
|
4373
|
+
}
|
|
4374
|
+
|
|
4281
4375
|
.block-editor-post-preview__dropdown {
|
|
4282
4376
|
padding: 0;
|
|
4283
4377
|
}
|
|
@@ -4301,7 +4395,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4301
4395
|
|
|
4302
4396
|
@media (min-width: 600px) {
|
|
4303
4397
|
.edit-post-header__settings .editor-post-preview,
|
|
4304
|
-
.edit-site-
|
|
4398
|
+
.edit-site-header-edit-mode__actions .editor-post-preview {
|
|
4305
4399
|
display: none;
|
|
4306
4400
|
}
|
|
4307
4401
|
}
|
|
@@ -4336,7 +4430,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4336
4430
|
display: grid;
|
|
4337
4431
|
grid-template-columns: auto 1fr auto;
|
|
4338
4432
|
align-items: center;
|
|
4339
|
-
grid-template-rows:
|
|
4433
|
+
grid-template-rows: 16px auto;
|
|
4340
4434
|
}
|
|
4341
4435
|
|
|
4342
4436
|
.component-spacing-sizes-control {
|
|
@@ -4359,15 +4453,16 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4359
4453
|
grid-column: 1/1;
|
|
4360
4454
|
justify-content: left;
|
|
4361
4455
|
height: 16px;
|
|
4362
|
-
margin-top:
|
|
4456
|
+
margin-top: 16px;
|
|
4363
4457
|
}
|
|
4364
4458
|
.component-spacing-sizes-control .components-spacing-sizes-control__side-label {
|
|
4365
4459
|
grid-column: 1/1;
|
|
4366
4460
|
justify-self: left;
|
|
4367
4461
|
margin-bottom: 0;
|
|
4368
4462
|
}
|
|
4369
|
-
.component-spacing-sizes-control.is-unlinked .components-range-control.components-spacing-sizes-control__range-control
|
|
4370
|
-
|
|
4463
|
+
.component-spacing-sizes-control.is-unlinked .components-range-control.components-spacing-sizes-control__range-control,
|
|
4464
|
+
.component-spacing-sizes-control.is-unlinked .components-spacing-sizes-control__custom-value-input {
|
|
4465
|
+
margin-top: 8px;
|
|
4371
4466
|
}
|
|
4372
4467
|
.component-spacing-sizes-control .components-spacing-sizes-control__hint-single,
|
|
4373
4468
|
.component-spacing-sizes-control .components-spacing-sizes-control__hint-all {
|
|
@@ -4385,12 +4480,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4385
4480
|
grid-column: 2/2;
|
|
4386
4481
|
grid-row: 1/1;
|
|
4387
4482
|
justify-self: end;
|
|
4388
|
-
|
|
4389
|
-
}
|
|
4390
|
-
.component-spacing-sizes-control .components-spacing-sizes-control__custom-toggle-all.is-small.has-icon {
|
|
4391
|
-
padding: 0;
|
|
4392
|
-
min-width: 24px;
|
|
4393
|
-
height: 16px;
|
|
4483
|
+
margin-top: -4px;
|
|
4394
4484
|
}
|
|
4395
4485
|
.component-spacing-sizes-control .component-spacing-sizes-control__linked-button ~ .components-spacing-sizes-control__custom-toggle-all {
|
|
4396
4486
|
margin-right: 4px;
|
|
@@ -4398,29 +4488,37 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4398
4488
|
.component-spacing-sizes-control .components-spacing-sizes-control__custom-toggle-single {
|
|
4399
4489
|
grid-column: 3/3;
|
|
4400
4490
|
justify-self: end;
|
|
4401
|
-
}
|
|
4402
|
-
.component-spacing-sizes-control .components-spacing-sizes-control__custom-toggle-single.is-small.has-icon {
|
|
4403
|
-
padding: 0;
|
|
4404
|
-
min-width: 24px;
|
|
4405
|
-
height: 16px;
|
|
4406
4491
|
margin-top: 12px;
|
|
4407
4492
|
}
|
|
4408
4493
|
.component-spacing-sizes-control .component-spacing-sizes-control__linked-button {
|
|
4409
4494
|
grid-column: 3/3;
|
|
4410
4495
|
grid-row: 1/1;
|
|
4411
4496
|
justify-self: end;
|
|
4497
|
+
line-height: 0;
|
|
4498
|
+
margin-top: -4px;
|
|
4412
4499
|
}
|
|
4413
4500
|
.component-spacing-sizes-control .components-spacing-sizes-control__custom-value-range {
|
|
4414
4501
|
grid-column: span 2;
|
|
4415
|
-
margin-left:
|
|
4416
|
-
|
|
4502
|
+
margin-left: 16px;
|
|
4503
|
+
margin-top: 8px;
|
|
4417
4504
|
}
|
|
4418
4505
|
.component-spacing-sizes-control .components-spacing-sizes-control__custom-value-input {
|
|
4419
4506
|
width: 124px;
|
|
4507
|
+
margin-top: 8px;
|
|
4508
|
+
}
|
|
4509
|
+
.component-spacing-sizes-control .components-range-control {
|
|
4510
|
+
height: 40px;
|
|
4511
|
+
/* Vertically center the RangeControl until it has true 40px height. */
|
|
4512
|
+
display: flex;
|
|
4513
|
+
align-items: center;
|
|
4514
|
+
}
|
|
4515
|
+
.component-spacing-sizes-control .components-range-control > .components-base-control__field {
|
|
4516
|
+
/* Fixes RangeControl contents when the outer wrapper is flex */
|
|
4517
|
+
flex: 1;
|
|
4420
4518
|
}
|
|
4421
4519
|
.component-spacing-sizes-control .components-spacing-sizes-control__range-control {
|
|
4422
4520
|
grid-column: span 3;
|
|
4423
|
-
|
|
4521
|
+
margin-top: 8px;
|
|
4424
4522
|
}
|
|
4425
4523
|
.component-spacing-sizes-control .components-range-control__mark {
|
|
4426
4524
|
height: 4px;
|
|
@@ -4439,6 +4537,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4439
4537
|
}
|
|
4440
4538
|
.component-spacing-sizes-control .components-spacing-sizes-control__custom-select-control {
|
|
4441
4539
|
grid-column: span 3;
|
|
4540
|
+
margin-top: 8px;
|
|
4442
4541
|
}
|
|
4443
4542
|
|
|
4444
4543
|
body.admin-color-light {
|