hugo-theme-re-terminal/assets/css/form.scss

31 lines
440 B
SCSS
Raw Normal View History

2022-06-21 13:50:51 +00:00
input, textarea, select {
background: transparent;
2022-06-21 15:14:59 +00:00
color: $accent;
border: 1px solid $accent;
2022-06-21 13:50:51 +00:00
border-radius: 0;
padding: 10px;
font: inherit;
appearance: none;
&:focus, :active {
2022-06-21 15:14:59 +00:00
border-color: $color;
outline: 1px solid $color;
2022-06-21 13:50:51 +00:00
}
&:active {
box-shadow: none;
}
}
select {
2022-06-21 15:14:59 +00:00
background: $background;
2022-06-21 13:50:51 +00:00
option {
2022-06-21 15:14:59 +00:00
background: $background;
2022-06-21 13:50:51 +00:00
}
}
::placeholder {
2022-11-13 21:45:10 +00:00
color: transparentize($accent, .5);
2022-06-21 13:50:51 +00:00
}