2020-04-13 16:08:39 +02:00
|
|
|
@import "../css/_variables.scss";
|
2020-04-10 18:09:29 -04:00
|
|
|
|
|
|
|
.TextInput {
|
2020-08-13 04:35:31 -07:00
|
|
|
color: var(--text-color-primary);
|
2020-04-10 18:09:29 -04:00
|
|
|
display: inline-block;
|
2020-08-13 04:35:31 -07:00
|
|
|
border: 1.5px solid var(--button-gray-1);
|
2020-04-10 18:09:29 -04:00
|
|
|
line-height: 1;
|
|
|
|
padding: 0.75rem;
|
|
|
|
white-space: nowrap;
|
|
|
|
border-radius: var(--space-factor);
|
2020-08-13 04:35:31 -07:00
|
|
|
background-color: var(--input-background-color);
|
2020-04-10 18:09:29 -04:00
|
|
|
&:not(:focus) {
|
|
|
|
&:hover {
|
2020-08-13 04:35:31 -07:00
|
|
|
background-color: var(--input-hover-background-color);
|
2020-04-10 18:09:29 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
2020-08-13 04:35:31 -07:00
|
|
|
box-shadow: 0 0 0 2px var(--focus-highlight-color);
|
2020-04-10 18:09:29 -04:00
|
|
|
}
|
|
|
|
}
|