From a415c29efee45520ae252d2aa28f1083a521cd7b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 09:56:49 +0200 Subject: Adding upstream version 6.4.3+dfsg1. Signed-off-by: Daniel Baumann --- wp-includes/blocks/template-part/block.json | 29 +++++++++++++++++++ wp-includes/blocks/template-part/editor-rtl.css | 33 ++++++++++++++++++++++ .../blocks/template-part/editor-rtl.min.css | 1 + wp-includes/blocks/template-part/editor.css | 33 ++++++++++++++++++++++ wp-includes/blocks/template-part/editor.min.css | 1 + wp-includes/blocks/template-part/theme-rtl.css | 5 ++++ wp-includes/blocks/template-part/theme-rtl.min.css | 1 + wp-includes/blocks/template-part/theme.css | 5 ++++ wp-includes/blocks/template-part/theme.min.css | 1 + 9 files changed, 109 insertions(+) create mode 100644 wp-includes/blocks/template-part/block.json create mode 100644 wp-includes/blocks/template-part/editor-rtl.css create mode 100644 wp-includes/blocks/template-part/editor-rtl.min.css create mode 100644 wp-includes/blocks/template-part/editor.css create mode 100644 wp-includes/blocks/template-part/editor.min.css create mode 100644 wp-includes/blocks/template-part/theme-rtl.css create mode 100644 wp-includes/blocks/template-part/theme-rtl.min.css create mode 100644 wp-includes/blocks/template-part/theme.css create mode 100644 wp-includes/blocks/template-part/theme.min.css (limited to 'wp-includes/blocks/template-part') diff --git a/wp-includes/blocks/template-part/block.json b/wp-includes/blocks/template-part/block.json new file mode 100644 index 0000000..9fe4311 --- /dev/null +++ b/wp-includes/blocks/template-part/block.json @@ -0,0 +1,29 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "core/template-part", + "title": "Template Part", + "category": "theme", + "description": "Edit the different global regions of your site, like the header, footer, sidebar, or create your own.", + "textdomain": "default", + "attributes": { + "slug": { + "type": "string" + }, + "theme": { + "type": "string" + }, + "tagName": { + "type": "string" + }, + "area": { + "type": "string" + } + }, + "supports": { + "align": true, + "html": false, + "reusable": false + }, + "editorStyle": "wp-block-template-part-editor" +} diff --git a/wp-includes/blocks/template-part/editor-rtl.css b/wp-includes/blocks/template-part/editor-rtl.css new file mode 100644 index 0000000..71fdf32 --- /dev/null +++ b/wp-includes/blocks/template-part/editor-rtl.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 diff --git a/wp-includes/blocks/template-part/editor-rtl.min.css b/wp-includes/blocks/template-part/editor-rtl.min.css new file mode 100644 index 0000000..a3af03d --- /dev/null +++ b/wp-includes/blocks/template-part/editor-rtl.min.css @@ -0,0 +1 @@ +.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 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 diff --git a/wp-includes/blocks/template-part/editor.min.css b/wp-includes/blocks/template-part/editor.min.css new file mode 100644 index 0000000..a3af03d --- /dev/null +++ b/wp-includes/blocks/template-part/editor.min.css @@ -0,0 +1 @@ +.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 diff --git a/wp-includes/blocks/template-part/theme-rtl.css b/wp-includes/blocks/template-part/theme-rtl.css new file mode 100644 index 0000000..6c5262c --- /dev/null +++ b/wp-includes/blocks/template-part/theme-rtl.css @@ -0,0 +1,5 @@ +.wp-block-template-part.has-background{ + margin-bottom:0; + margin-top:0; + padding:1.25em 2.375em; +} \ No newline at end of file diff --git a/wp-includes/blocks/template-part/theme-rtl.min.css b/wp-includes/blocks/template-part/theme-rtl.min.css new file mode 100644 index 0000000..551636b --- /dev/null +++ b/wp-includes/blocks/template-part/theme-rtl.min.css @@ -0,0 +1 @@ +.wp-block-template-part.has-background{margin-bottom:0;margin-top:0;padding:1.25em 2.375em} \ No newline at end of file diff --git a/wp-includes/blocks/template-part/theme.css b/wp-includes/blocks/template-part/theme.css new file mode 100644 index 0000000..6c5262c --- /dev/null +++ b/wp-includes/blocks/template-part/theme.css @@ -0,0 +1,5 @@ +.wp-block-template-part.has-background{ + margin-bottom:0; + margin-top:0; + padding:1.25em 2.375em; +} \ No newline at end of file diff --git a/wp-includes/blocks/template-part/theme.min.css b/wp-includes/blocks/template-part/theme.min.css new file mode 100644 index 0000000..551636b --- /dev/null +++ b/wp-includes/blocks/template-part/theme.min.css @@ -0,0 +1 @@ +.wp-block-template-part.has-background{margin-bottom:0;margin-top:0;padding:1.25em 2.375em} \ No newline at end of file -- cgit v1.2.3