Add CodeMirror search styles

This commit is contained in:
Alasdair Smith 2018-06-29 15:33:50 +01:00
parent e0f6afcbb4
commit 673e9155ba
2 changed files with 33 additions and 0 deletions

View file

@ -88,3 +88,4 @@
@import "../js/libs/pdfListView/AnnotationsLayer.css";
@import "../js/libs/pdfListView/HighlightsLayer.css";
@import "vendor/codemirror.css";
@import "vendor/codemirror-dialog.css";

View file

@ -0,0 +1,32 @@
.CodeMirror-dialog {
position: absolute;
left: 0; right: 0;
background: inherit;
z-index: 15;
padding: .1em .8em;
overflow: hidden;
color: inherit;
}
.CodeMirror-dialog-top {
border-bottom: 1px solid #eee;
top: 0;
}
.CodeMirror-dialog-bottom {
border-top: 1px solid #eee;
bottom: 0;
}
.CodeMirror-dialog input {
border: none;
outline: none;
background: transparent;
width: 20em;
color: inherit;
font-family: monospace;
}
.CodeMirror-dialog button {
font-size: 70%;
}