Skip to content

Commit 9b9115c

Browse files
authored
Merge pull request #104 from arduino/feature/style-search-panel
Style search panel
2 parents 3cf9075 + 0dab66a commit 9b9115c

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

ui/arduino/main.css

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,3 +570,56 @@ button.small .icon {
570570
font-size: inherit;
571571
outline-color: #F4BA00;
572572
}
573+
574+
#code-editor .cm-panels {
575+
border-color: #DAE3E3;
576+
padding: 0 10px;
577+
margin: 0;
578+
}
579+
#code-editor .cm-panels .cm-search {
580+
display: flex;
581+
align-items: center;
582+
height: 45px;
583+
padding: 0;
584+
background: #ECF1F1;
585+
gap: 10px;
586+
}
587+
#code-editor .cm-panels label {
588+
display: none;
589+
}
590+
#code-editor .cm-panels input,
591+
#code-editor .cm-panels button {
592+
height: 28px;
593+
margin: 0;
594+
padding: 0;
595+
width: auto;
596+
}
597+
#code-editor .cm-panels button {
598+
border: none;
599+
border-radius: none;
600+
font-family: inherit;
601+
background: none;
602+
}
603+
#code-editor .cm-panels input {
604+
box-sizing: border-box;
605+
padding: 0 10px;
606+
border: none;
607+
width: 100%;
608+
background: rgba(255, 255, 255, 1.0);
609+
font-family: inherit;
610+
font-size: 14px;
611+
outline-style: none;
612+
}
613+
#code-editor .cm-panels input:focus {
614+
outline-style: solid;
615+
outline-color: #F4BA00;
616+
617+
}
618+
#code-editor .cm-panels [name="replace"],
619+
#code-editor .cm-panels [name="replace"],
620+
#code-editor .cm-panels [name="replaceAll"] {
621+
display: none;
622+
}
623+
#code-editor .cm-panel.cm-search [name="close"] {
624+
position: relative;
625+
}

0 commit comments

Comments
 (0)