mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-22 17:29:07 +00:00
Merge pull request #721 from sharelatex/as-rt-search
Add CodeMirror search styles
This commit is contained in:
commit
e22d2c8da7
2 changed files with 33 additions and 0 deletions
services/web/public/stylesheets
|
@ -91,3 +91,4 @@
|
|||
@import "../js/libs/pdfListView/HighlightsLayer.css";
|
||||
@import "../js/libs/select/select.css";
|
||||
@import "vendor/codemirror.css";
|
||||
@import "vendor/codemirror-dialog.css";
|
32
services/web/public/stylesheets/vendor/codemirror-dialog.css
vendored
Normal file
32
services/web/public/stylesheets/vendor/codemirror-dialog.css
vendored
Normal 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%;
|
||||
}
|
Loading…
Add table
Reference in a new issue