summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/more
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/more
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/more')
-rw-r--r--wp-includes/blocks/more/block.json26
-rw-r--r--wp-includes/blocks/more/editor-rtl.css41
-rw-r--r--wp-includes/blocks/more/editor-rtl.min.css1
-rw-r--r--wp-includes/blocks/more/editor.css41
-rw-r--r--wp-includes/blocks/more/editor.min.css1
5 files changed, 110 insertions, 0 deletions
diff --git a/wp-includes/blocks/more/block.json b/wp-includes/blocks/more/block.json
new file mode 100644
index 0000000..bfd9565
--- /dev/null
+++ b/wp-includes/blocks/more/block.json
@@ -0,0 +1,26 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "core/more",
+ "title": "More",
+ "category": "design",
+ "description": "Content before this block will be shown in the excerpt on your archives page.",
+ "keywords": [ "read more" ],
+ "textdomain": "default",
+ "attributes": {
+ "customText": {
+ "type": "string"
+ },
+ "noTeaser": {
+ "type": "boolean",
+ "default": false
+ }
+ },
+ "supports": {
+ "customClassName": false,
+ "className": false,
+ "html": false,
+ "multiple": false
+ },
+ "editorStyle": "wp-block-more-editor"
+}
diff --git a/wp-includes/blocks/more/editor-rtl.css b/wp-includes/blocks/more/editor-rtl.css
new file mode 100644
index 0000000..81da913
--- /dev/null
+++ b/wp-includes/blocks/more/editor-rtl.css
@@ -0,0 +1,41 @@
+.block-editor-block-list__block[data-type="core/more"]{
+ margin-bottom:28px;
+ margin-top:28px;
+ max-width:100%;
+ text-align:center;
+}
+
+.wp-block-more{
+ display:block;
+ text-align:center;
+ white-space:nowrap;
+}
+.wp-block-more input[type=text]{
+ background:#fff;
+ border:none;
+ border-radius:4px;
+ box-shadow:none;
+ color:#757575;
+ font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
+ font-size:13px;
+ font-weight:600;
+ height:24px;
+ margin:0;
+ max-width:100%;
+ padding:6px 8px;
+ position:relative;
+ text-align:center;
+ text-transform:uppercase;
+ white-space:nowrap;
+}
+.wp-block-more input[type=text]:focus{
+ box-shadow:none;
+}
+.wp-block-more:before{
+ border-top:3px dashed #ccc;
+ content:"";
+ left:0;
+ position:absolute;
+ right:0;
+ top:50%;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/more/editor-rtl.min.css b/wp-includes/blocks/more/editor-rtl.min.css
new file mode 100644
index 0000000..3b15fba
--- /dev/null
+++ b/wp-includes/blocks/more/editor-rtl.min.css
@@ -0,0 +1 @@
+.block-editor-block-list__block[data-type="core/more"]{margin-bottom:28px;margin-top:28px;max-width:100%;text-align:center}.wp-block-more{display:block;text-align:center;white-space:nowrap}.wp-block-more input[type=text]{background:#fff;border:none;border-radius:4px;box-shadow:none;color:#757575;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:600;height:24px;margin:0;max-width:100%;padding:6px 8px;position:relative;text-align:center;text-transform:uppercase;white-space:nowrap}.wp-block-more input[type=text]:focus{box-shadow:none}.wp-block-more:before{border-top:3px dashed #ccc;content:"";left:0;position:absolute;right:0;top:50%} \ No newline at end of file
diff --git a/wp-includes/blocks/more/editor.css b/wp-includes/blocks/more/editor.css
new file mode 100644
index 0000000..81da913
--- /dev/null
+++ b/wp-includes/blocks/more/editor.css
@@ -0,0 +1,41 @@
+.block-editor-block-list__block[data-type="core/more"]{
+ margin-bottom:28px;
+ margin-top:28px;
+ max-width:100%;
+ text-align:center;
+}
+
+.wp-block-more{
+ display:block;
+ text-align:center;
+ white-space:nowrap;
+}
+.wp-block-more input[type=text]{
+ background:#fff;
+ border:none;
+ border-radius:4px;
+ box-shadow:none;
+ color:#757575;
+ font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
+ font-size:13px;
+ font-weight:600;
+ height:24px;
+ margin:0;
+ max-width:100%;
+ padding:6px 8px;
+ position:relative;
+ text-align:center;
+ text-transform:uppercase;
+ white-space:nowrap;
+}
+.wp-block-more input[type=text]:focus{
+ box-shadow:none;
+}
+.wp-block-more:before{
+ border-top:3px dashed #ccc;
+ content:"";
+ left:0;
+ position:absolute;
+ right:0;
+ top:50%;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/more/editor.min.css b/wp-includes/blocks/more/editor.min.css
new file mode 100644
index 0000000..3b15fba
--- /dev/null
+++ b/wp-includes/blocks/more/editor.min.css
@@ -0,0 +1 @@
+.block-editor-block-list__block[data-type="core/more"]{margin-bottom:28px;margin-top:28px;max-width:100%;text-align:center}.wp-block-more{display:block;text-align:center;white-space:nowrap}.wp-block-more input[type=text]{background:#fff;border:none;border-radius:4px;box-shadow:none;color:#757575;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:600;height:24px;margin:0;max-width:100%;padding:6px 8px;position:relative;text-align:center;text-transform:uppercase;white-space:nowrap}.wp-block-more input[type=text]:focus{box-shadow:none}.wp-block-more:before{border-top:3px dashed #ccc;content:"";left:0;position:absolute;right:0;top:50%} \ No newline at end of file