txtdot/static/form-inputs.css
Artemy Egorov 3b5f402d77
Interface improvements (#74)
* fix: interface style improvements

and components in ejs templates

* fix: improvement of improvements

* Redesign: kind of MD3

* Working url/search switch

* formatting

* Add switch animation, adjust sizes, adjust btn colors, rename bg2 to outline

* Format

---------

Co-authored-by: DarkCat09 <gh@dc09.ru>
2024-02-14 10:23:13 +03:00

21 lines
337 B
CSS

input[type='text'],
select {
outline: 0;
border: 0;
border-bottom: 1px var(--outline) solid;
padding: 0.25rem 0.25rem;
background: var(--bg);
color: var(--fg);
font-size: 1rem;
width: 100%;
transition: border-bottom 0.25s ease-out;
}
input[type='text']:focus,
select:focus {
border-bottom-color: var(--accent);
}