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/button/editor-rtl.css | 92 ++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 wp-includes/blocks/button/editor-rtl.css (limited to 'wp-includes/blocks/button/editor-rtl.css') diff --git a/wp-includes/blocks/button/editor-rtl.css b/wp-includes/blocks/button/editor-rtl.css new file mode 100644 index 0000000..b44770c --- /dev/null +++ b/wp-includes/blocks/button/editor-rtl.css @@ -0,0 +1,92 @@ +.wp-block[data-align=center]>.wp-block-button{ + margin-left:auto; + margin-right:auto; + text-align:center; +} + +.wp-block[data-align=right]>.wp-block-button{ + text-align:right; +} + +.wp-block-button{ + cursor:text; + position:relative; +} +.wp-block-button:focus{ + box-shadow:0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color); + outline:2px solid transparent; + outline-offset:-2px; +} +.wp-block-button[data-rich-text-placeholder]:after{ + opacity:.8; +} + +.wp-block-button__inline-link{ + color:#757575; + height:0; + max-width:290px; + overflow:hidden; +} +.wp-block-button__inline-link-input__suggestions{ + max-width:290px; +} +@media (min-width:782px){ + .wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{ + max-width:260px; + } +} +@media (min-width:960px){ + .wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{ + max-width:290px; + } +} +.is-selected .wp-block-button__inline-link{ + height:auto; + overflow:visible; +} + +.wp-button-label__width .components-button-group{ + display:block; +} +.wp-button-label__width .components-base-control__field{ + margin-bottom:12px; +} + +div[data-type="core/button"]{ + display:table; +} + +.editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link{ + text-decoration:inherit; +} + +.editor-styles-wrapper .wp-block-button .wp-block-button__link:where(.has-border-color){ + border-width:initial; +} +.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-top-color]){ + border-top-width:medium; +} +.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-right-color]){ + border-left-width:medium; +} +.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-bottom-color]){ + border-bottom-width:medium; +} +.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-left-color]){ + border-right-width:medium; +} +.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-style]){ + border-width:initial; +} +.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-top-style]){ + border-top-width:medium; +} +.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-right-style]){ + border-left-width:medium; +} +.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-bottom-style]){ + border-bottom-width:medium; +} +.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-left-style]){ + border-right-width:medium; +} \ No newline at end of file -- cgit v1.2.3