excalidraw/src/components/TextInput.scss
Timur Khazamov 4228c2e094
[POC] use serviceWorker from create-react-app (#1286)
* Service worker with toast notifications

* Update CSP to allow fetches from now.sh

* Fixed clearing timers

* rounded icon for pwa (#1301)

* rounded icon for pwa

* cirle pwa app icon

* fix fonts caching

* fix app

* fix css import

* Updated csp tp inlcude worker-src: self

* add worker CSP rule

* use square icon

Co-authored-by: Timur Khazamov <t1mmaas@skbkontur.ru>
Co-authored-by: Faustino Kialungila <Faustino.kialungila@gmail.com>
Co-authored-by: kbariotis <konmpar@gmail.com>
2020-04-13 16:08:39 +02:00

21 lines
390 B
SCSS

@import "../css/_variables.scss";
.TextInput {
display: inline-block;
border: 1.5px solid $oc-gray-2;
line-height: 1;
padding: 0.75rem;
white-space: nowrap;
border-radius: var(--space-factor);
background-color: $oc-white;
&:not(:focus) {
&:hover {
background-color: $oc-gray-1;
}
}
&:focus {
outline: none;
box-shadow: 0 0 0 2px $oc-blue-5;
}
}