mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixed inputs
This commit is contained in:
parent
6e89271ea9
commit
811e14fd4c
29 changed files with 566 additions and 901 deletions
39
src/components/input/InputText/styles.module.scss
Normal file
39
src/components/input/InputText/styles.module.scss
Normal file
|
@ -0,0 +1,39 @@
|
|||
@import "~/styles/variables";
|
||||
|
||||
.input {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: inherit;
|
||||
|
||||
&.has_error {
|
||||
color: $red;
|
||||
}
|
||||
|
||||
input {
|
||||
height: $input_height;
|
||||
border: none;
|
||||
flex: 1;
|
||||
outline: none;
|
||||
color: inherit;
|
||||
min-width: 0;
|
||||
background: none;
|
||||
padding: 0 $gap 0 $gap;
|
||||
font: $font_14_semibold;
|
||||
border-radius: $radius;
|
||||
}
|
||||
}
|
||||
|
||||
.suffix {
|
||||
fill: currentColor;
|
||||
stroke: currentColor;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: $input_grey_color;
|
||||
padding: 0 $gap;
|
||||
}
|
||||
|
||||
.reveal {
|
||||
cursor: pointer;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue