summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/html/editor.css
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/html/editor.css
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/html/editor.css')
-rw-r--r--wp-includes/blocks/html/editor.css29
1 files changed, 29 insertions, 0 deletions
diff --git a/wp-includes/blocks/html/editor.css b/wp-includes/blocks/html/editor.css
new file mode 100644
index 0000000..28fcf6f
--- /dev/null
+++ b/wp-includes/blocks/html/editor.css
@@ -0,0 +1,29 @@
+.block-library-html__edit .block-library-html__preview-overlay{
+ height:100%;
+ left:0;
+ position:absolute;
+ top:0;
+ width:100%;
+}
+.block-library-html__edit .block-editor-plain-text{
+ 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;
+}
+@media (min-width:600px){
+ .block-library-html__edit .block-editor-plain-text{
+ font-size:13px !important;
+ }
+}
+.block-library-html__edit .block-editor-plain-text: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