mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-21 18:47:46 +01:00
Adjust input styling to be a bit more lenient in themes
This commit is contained in:
parent
a6b21a85e5
commit
1eddb0ad36
2 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue