Theme/src/_input.scss

39 lines
668 B
SCSS

.inp {
// background: $background;
background: unset;
color: $on-background;
border: 1px grey solid;
padding: 0 .5rem;
height: 2rem;
display: inline-block;
min-width: 10rem;
&:focus {
border-color: $primary;
}
// &disabled {
// background: darken-brighten-color($background, 10%)
// }
}
textarea.inp {
height: unset !important;
min-height: 6rem !important;
}
.input-group {
display: flex;
flex-direction: column;
@extend .margin;
input {
@extend .inp;
}
label {
display: inline-block;
margin-bottom: .3rem;
margin-left: .5rem;
}
}