insomnia/app/ui/css/editor/dialog.less
Gregory Schier e2c72987e8 Autocomplete for variables and tags (#112)
* Fixed duplication kve bug

* Autocomplete sort of works now

* Even better

* Styled autocomplete dropdown

* Minor tweaks

* Autocomplete looking pretty spiffy

* Bug fixes

* Apply dropdown to all editors

* Fixed key propagation when autocomplete open

* Fixed some modals

* Split up editor less

* Some css improvements

* Move filter help out of editor

* Fixed drag-n-drop

* Perfected autocomplete theme

* "fixed" one-line-editor hint click bug

* Better autocomplete and switch single line input on drag enter

* Don't autocomplete on Tab

* Better tag dnd

* Add constants completion API

* Autocomplete headers

* Fixed tests
2017-03-11 16:31:23 -08:00

44 lines
920 B
Plaintext

@import '../constants/dimensions';
@import '../constants/fonts';
// Search dialog (and others)
.editor {
.CodeMirror-dialog {
background: var(--color-bg);
opacity: 0.95;
color: var(--hl);
border-color: var(--hl-md);
box-sizing: border-box;
width: 100%;
padding: @padding-sm @padding-xs @padding-xs @padding-xs;
box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: row;
align-items: center;
white-space: nowrap;
input {
font-family: @font-monospace !important;
border: 0 !important;
height: 1em !important;
padding: 0 !important;
display: block;
width: 100% !important;
color: var(--color-font);
min-height: 1.5em;
}
* {
margin-left: 0.25em;
margin-right: 0.25em;
}
button {
color: var(--hl);
&:hover {
color: var(--color-font);
}
}
}
}