diff options
Diffstat (limited to '')
-rw-r--r-- | wp-includes/blocks/more/block.json | 26 | ||||
-rw-r--r-- | wp-includes/blocks/more/editor-rtl.css | 41 | ||||
-rw-r--r-- | wp-includes/blocks/more/editor-rtl.min.css | 1 | ||||
-rw-r--r-- | wp-includes/blocks/more/editor.css | 41 | ||||
-rw-r--r-- | wp-includes/blocks/more/editor.min.css | 1 |
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 |