Adjust input styling to be a bit more lenient in themes

This commit is contained in:
Andreas Nedbal 2020-05-03 20:39:21 +02:00
parent a6b21a85e5
commit 1eddb0ad36
2 changed files with 9 additions and 1 deletions

View file

@ -54,7 +54,7 @@ $avatar-sizes: (
:root { :root {
--background: #f0edf4; --background: #f0edf4;
--input-bg: #ffffff; --input-bg: var(--background);
--raised-bg: #ffffff; --raised-bg: #ffffff;
--raised-accent: #f7f7f7; --raised-accent: #f7f7f7;

View file

@ -1,4 +1,12 @@
.form-control { .form-control {
background-color: var(--input-bg); background-color: var(--input-bg);
color: RGB(var(--input-text)); color: RGB(var(--input-text));
border: 0;
&:focus {
background-color: var(--input-bg);
color: RGB(var(--input-text));
border-color: var(--primary);
box-shadow: .5px 0 0 0.1rem var(--primary);
}
} }