Skip to content

Commit ac7d2cd

Browse files
committed
Fix: Incorrect search box style
1 parent 9f1821a commit ac7d2cd

File tree

4 files changed

+95
-3
lines changed

4 files changed

+95
-3
lines changed

src/admin/style.scss

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,32 @@
386386
height: 100%;
387387
}
388388

389-
.monaco-editor .inputarea {
390-
box-shadow: none;
389+
.monaco-editor {
390+
391+
.find-widget {
392+
393+
.button {
394+
color: inherit;
395+
background: none;
396+
border: none;
397+
398+
&:focus {
399+
box-shadow: none;
400+
}
401+
}
402+
403+
textarea:focus {
404+
box-shadow: none;
405+
}
406+
}
407+
408+
.inputarea {
409+
box-shadow: none;
410+
}
411+
412+
.monaco-highlighted-label .highlight {
413+
background: transparent;
414+
}
391415
}
392416
}
393417

src/block-editor/style.scss

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,28 @@
1616

1717
.monaco-editor {
1818

19+
.find-widget {
20+
21+
.button {
22+
color: inherit;
23+
background: none;
24+
border: none;
25+
26+
&:focus {
27+
box-shadow: none;
28+
}
29+
30+
&.disabled {
31+
color: inherit !important;
32+
background: none !important;
33+
}
34+
}
35+
36+
textarea:focus {
37+
box-shadow: none;
38+
}
39+
}
40+
1941
.inputarea {
2042
padding: 0;
2143
color: inherit;

src/classic-editor/style.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,23 @@ $wp-admin-theme-color: #2271b1;
66

77
.monaco-editor {
88

9+
.find-widget {
10+
11+
.button {
12+
color: inherit;
13+
background: none;
14+
border: none;
15+
16+
&:focus {
17+
box-shadow: none;
18+
}
19+
}
20+
21+
textarea:focus {
22+
box-shadow: none;
23+
}
24+
}
25+
926
.inputarea {
1027
box-shadow: none;
1128
}

src/theme-plugin-editor/style.scss

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,35 @@
66

77
.monaco-editor {
88

9+
.find-widget {
10+
11+
.button {
12+
color: inherit;
13+
background: none;
14+
border: none;
15+
16+
&:focus {
17+
box-shadow: none;
18+
}
19+
20+
&.disabled {
21+
color: inherit !important;
22+
background: none !important;
23+
}
24+
}
25+
26+
textarea {
27+
min-height: initial;
28+
font-size: inherit;
29+
font-family: inherit;
30+
border: none;
31+
32+
&:focus {
33+
box-shadow: none;
34+
}
35+
}
36+
}
37+
938
.inputarea {
1039
box-shadow: none;
1140

@@ -26,7 +55,7 @@
2655
}
2756

2857
// Original editor textarea
29-
#template textarea {
58+
#template textarea#newcontent {
3059
position: fixed !important;
3160
top: -9999px !important;
3261
left: -9999px !important;

0 commit comments

Comments
 (0)