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/shortcode/editor.css | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 wp-includes/blocks/shortcode/editor.css (limited to 'wp-includes/blocks/shortcode/editor.css') diff --git a/wp-includes/blocks/shortcode/editor.css b/wp-includes/blocks/shortcode/editor.css new file mode 100644 index 0000000..47d6207 --- /dev/null +++ b/wp-includes/blocks/shortcode/editor.css @@ -0,0 +1,27 @@ +[data-type="core/shortcode"].components-placeholder{ + min-height:0; +} + +.blocks-shortcode__textarea{ + background:#fff !important; + border:1px solid #1e1e1e !important; + border-radius:2px !important; + box-shadow:none !important; + box-sizing:border-box; + color:#1e1e1e !important; + font-family:Menlo,Consolas,monaco,monospace !important; + font-size:16px !important; + max-height:250px; + padding:12px !important; + resize:none; +} +@media (min-width:600px){ + .blocks-shortcode__textarea{ + font-size:13px !important; + } +} +.blocks-shortcode__textarea:focus{ + border-color:var(--wp-admin-theme-color) !important; + box-shadow:0 0 0 1px var(--wp-admin-theme-color) !important; + outline:2px solid transparent !important; +} \ No newline at end of file -- cgit v1.2.3