summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/template-part/editor.css
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
commita415c29efee45520ae252d2aa28f1083a521cd7b (patch)
treef4ade4b6668ecc0765de7e1424f7c1427ad433ff /wp-includes/blocks/template-part/editor.css
parentInitial commit. (diff)
downloadwordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.tar.xz
wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.zip
Adding upstream version 6.4.3+dfsg1.upstream/6.4.3+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/blocks/template-part/editor.css')
-rw-r--r--wp-includes/blocks/template-part/editor.css33
1 files changed, 33 insertions, 0 deletions
diff --git a/wp-includes/blocks/template-part/editor.css b/wp-includes/blocks/template-part/editor.css
new file mode 100644
index 0000000..71fdf32
--- /dev/null
+++ b/wp-includes/blocks/template-part/editor.css
@@ -0,0 +1,33 @@
+.block-editor-template-part__selection-modal{
+ z-index:1000001;
+}
+.block-editor-template-part__selection-modal .block-editor-block-patterns-list{
+ column-count:2;
+ column-gap:24px;
+}
+@media (min-width:1280px){
+ .block-editor-template-part__selection-modal .block-editor-block-patterns-list{
+ column-count:3;
+ }
+}
+.block-editor-template-part__selection-modal .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item{
+ break-inside:avoid-column;
+}
+
+.block-library-template-part__selection-search{
+ background:#fff;
+ padding:16px 0;
+ position:sticky;
+ top:0;
+ z-index:2;
+}
+
+.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-highlighted,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-selected{
+ box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
+}
+.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus:after{
+ box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
+}
+.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after,.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus:after{
+ box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff;
+} \ No newline at end of file