summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/buttons
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/buttons
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/buttons')
-rw-r--r--wp-includes/blocks/buttons/block.json45
-rw-r--r--wp-includes/blocks/buttons/editor-rtl.css34
-rw-r--r--wp-includes/blocks/buttons/editor-rtl.min.css1
-rw-r--r--wp-includes/blocks/buttons/editor.css34
-rw-r--r--wp-includes/blocks/buttons/editor.min.css1
-rw-r--r--wp-includes/blocks/buttons/style-rtl.css49
-rw-r--r--wp-includes/blocks/buttons/style-rtl.min.css1
-rw-r--r--wp-includes/blocks/buttons/style.css49
-rw-r--r--wp-includes/blocks/buttons/style.min.css1
9 files changed, 215 insertions, 0 deletions
diff --git a/wp-includes/blocks/buttons/block.json b/wp-includes/blocks/buttons/block.json
new file mode 100644
index 0000000..4dc420b
--- /dev/null
+++ b/wp-includes/blocks/buttons/block.json
@@ -0,0 +1,45 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "core/buttons",
+ "title": "Buttons",
+ "category": "design",
+ "description": "Prompt visitors to take action with a group of button-style links.",
+ "keywords": [ "link" ],
+ "textdomain": "default",
+ "supports": {
+ "anchor": true,
+ "align": [ "wide", "full" ],
+ "html": false,
+ "__experimentalExposeControlsToChildren": true,
+ "spacing": {
+ "blockGap": true,
+ "margin": [ "top", "bottom" ],
+ "__experimentalDefaultControls": {
+ "blockGap": true
+ }
+ },
+ "typography": {
+ "fontSize": true,
+ "lineHeight": true,
+ "__experimentalFontFamily": true,
+ "__experimentalFontWeight": true,
+ "__experimentalFontStyle": true,
+ "__experimentalTextTransform": true,
+ "__experimentalTextDecoration": true,
+ "__experimentalLetterSpacing": true,
+ "__experimentalDefaultControls": {
+ "fontSize": true
+ }
+ },
+ "layout": {
+ "allowSwitching": false,
+ "allowInheriting": false,
+ "default": {
+ "type": "flex"
+ }
+ }
+ },
+ "editorStyle": "wp-block-buttons-editor",
+ "style": "wp-block-buttons"
+}
diff --git a/wp-includes/blocks/buttons/editor-rtl.css b/wp-includes/blocks/buttons/editor-rtl.css
new file mode 100644
index 0000000..af2ce7b
--- /dev/null
+++ b/wp-includes/blocks/buttons/editor-rtl.css
@@ -0,0 +1,34 @@
+.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{
+ margin:0;
+}
+.wp-block-buttons>.block-list-appender{
+ align-items:center;
+ display:inline-flex;
+}
+.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{
+ justify-content:flex-start;
+}
+.wp-block-buttons>.wp-block-button:focus{
+ box-shadow:none;
+}
+.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{
+ margin-left:auto;
+ margin-right:auto;
+ margin-top:0;
+ width:100%;
+}
+.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{
+ margin-bottom:0;
+}
+.editor-styles-wrapper .wp-block-buttons.has-custom-font-size .wp-block-button__link{
+ font-size:inherit;
+}
+
+.wp-block[data-align=center]>.wp-block-buttons{
+ align-items:center;
+ justify-content:center;
+}
+
+.wp-block[data-align=right]>.wp-block-buttons{
+ justify-content:flex-end;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/buttons/editor-rtl.min.css b/wp-includes/blocks/buttons/editor-rtl.min.css
new file mode 100644
index 0000000..65396cd
--- /dev/null
+++ b/wp-includes/blocks/buttons/editor-rtl.min.css
@@ -0,0 +1 @@
+.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{margin:0}.wp-block-buttons>.block-list-appender{align-items:center;display:inline-flex}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-left:auto;margin-right:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.editor-styles-wrapper .wp-block-buttons.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end} \ No newline at end of file
diff --git a/wp-includes/blocks/buttons/editor.css b/wp-includes/blocks/buttons/editor.css
new file mode 100644
index 0000000..af2ce7b
--- /dev/null
+++ b/wp-includes/blocks/buttons/editor.css
@@ -0,0 +1,34 @@
+.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{
+ margin:0;
+}
+.wp-block-buttons>.block-list-appender{
+ align-items:center;
+ display:inline-flex;
+}
+.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{
+ justify-content:flex-start;
+}
+.wp-block-buttons>.wp-block-button:focus{
+ box-shadow:none;
+}
+.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{
+ margin-left:auto;
+ margin-right:auto;
+ margin-top:0;
+ width:100%;
+}
+.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{
+ margin-bottom:0;
+}
+.editor-styles-wrapper .wp-block-buttons.has-custom-font-size .wp-block-button__link{
+ font-size:inherit;
+}
+
+.wp-block[data-align=center]>.wp-block-buttons{
+ align-items:center;
+ justify-content:center;
+}
+
+.wp-block[data-align=right]>.wp-block-buttons{
+ justify-content:flex-end;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/buttons/editor.min.css b/wp-includes/blocks/buttons/editor.min.css
new file mode 100644
index 0000000..65396cd
--- /dev/null
+++ b/wp-includes/blocks/buttons/editor.min.css
@@ -0,0 +1 @@
+.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{margin:0}.wp-block-buttons>.block-list-appender{align-items:center;display:inline-flex}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-left:auto;margin-right:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.editor-styles-wrapper .wp-block-buttons.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end} \ No newline at end of file
diff --git a/wp-includes/blocks/buttons/style-rtl.css b/wp-includes/blocks/buttons/style-rtl.css
new file mode 100644
index 0000000..8ece307
--- /dev/null
+++ b/wp-includes/blocks/buttons/style-rtl.css
@@ -0,0 +1,49 @@
+.wp-block-buttons.is-vertical{
+ flex-direction:column;
+}
+.wp-block-buttons.is-vertical>.wp-block-button:last-child{
+ margin-bottom:0;
+}
+.wp-block-buttons>.wp-block-button{
+ display:inline-block;
+ margin:0;
+}
+.wp-block-buttons.is-content-justification-left{
+ justify-content:flex-start;
+}
+.wp-block-buttons.is-content-justification-left.is-vertical{
+ align-items:flex-start;
+}
+.wp-block-buttons.is-content-justification-center{
+ justify-content:center;
+}
+.wp-block-buttons.is-content-justification-center.is-vertical{
+ align-items:center;
+}
+.wp-block-buttons.is-content-justification-right{
+ justify-content:flex-end;
+}
+.wp-block-buttons.is-content-justification-right.is-vertical{
+ align-items:flex-end;
+}
+.wp-block-buttons.is-content-justification-space-between{
+ justify-content:space-between;
+}
+.wp-block-buttons.aligncenter{
+ text-align:center;
+}
+.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{
+ margin-left:auto;
+ margin-right:auto;
+ width:100%;
+}
+.wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{
+ text-decoration:inherit;
+}
+.wp-block-buttons.has-custom-font-size .wp-block-button__link{
+ font-size:inherit;
+}
+
+.wp-block-button.aligncenter{
+ text-align:center;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/buttons/style-rtl.min.css b/wp-includes/blocks/buttons/style-rtl.min.css
new file mode 100644
index 0000000..6816481
--- /dev/null
+++ b/wp-includes/blocks/buttons/style-rtl.min.css
@@ -0,0 +1 @@
+.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-left:auto;margin-right:auto;width:100%}.wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-button.aligncenter{text-align:center} \ No newline at end of file
diff --git a/wp-includes/blocks/buttons/style.css b/wp-includes/blocks/buttons/style.css
new file mode 100644
index 0000000..8ece307
--- /dev/null
+++ b/wp-includes/blocks/buttons/style.css
@@ -0,0 +1,49 @@
+.wp-block-buttons.is-vertical{
+ flex-direction:column;
+}
+.wp-block-buttons.is-vertical>.wp-block-button:last-child{
+ margin-bottom:0;
+}
+.wp-block-buttons>.wp-block-button{
+ display:inline-block;
+ margin:0;
+}
+.wp-block-buttons.is-content-justification-left{
+ justify-content:flex-start;
+}
+.wp-block-buttons.is-content-justification-left.is-vertical{
+ align-items:flex-start;
+}
+.wp-block-buttons.is-content-justification-center{
+ justify-content:center;
+}
+.wp-block-buttons.is-content-justification-center.is-vertical{
+ align-items:center;
+}
+.wp-block-buttons.is-content-justification-right{
+ justify-content:flex-end;
+}
+.wp-block-buttons.is-content-justification-right.is-vertical{
+ align-items:flex-end;
+}
+.wp-block-buttons.is-content-justification-space-between{
+ justify-content:space-between;
+}
+.wp-block-buttons.aligncenter{
+ text-align:center;
+}
+.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{
+ margin-left:auto;
+ margin-right:auto;
+ width:100%;
+}
+.wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{
+ text-decoration:inherit;
+}
+.wp-block-buttons.has-custom-font-size .wp-block-button__link{
+ font-size:inherit;
+}
+
+.wp-block-button.aligncenter{
+ text-align:center;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/buttons/style.min.css b/wp-includes/blocks/buttons/style.min.css
new file mode 100644
index 0000000..6816481
--- /dev/null
+++ b/wp-includes/blocks/buttons/style.min.css
@@ -0,0 +1 @@
+.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-left:auto;margin-right:auto;width:100%}.wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-button.aligncenter{text-align:center} \ No newline at end of file