insomnia/app/ui/css/components/overlay.less
Gregory Schier 56a86168c4 Nunjucks Variable Editor Modal (#110)
* Fixed duplication kve bug

* Some minor css

* Fix modal refs

* Got variable modal showing

* A bit more

* Errors and debounced render

* Finished naive editors

* Some key value editor fixes

* Yet even more one-line fixes

* Added some transitions

* Small fixes

* Added key flattening util
2017-03-08 22:23:23 -08:00

15 lines
348 B
Plaintext

.overlay {
background-color: var(--color-bg);
color: var(--color-font);
transition: opacity 200ms ease-out;
opacity: 1;
// NOTE: Hiding with `return null` or `display: none` seems to cause
// the pane to go white for some reason. So, we're hiding it behind
// instead.
&.overlay--hidden {
opacity: 0;
z-index: -9999;
}
}