Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
Michal Srb 2020-08-13 04:35:31 -07:00 committed by GitHub
parent c9d5ec9277
commit c0dd870c6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 660 additions and 358 deletions

View file

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