Files
Frontend-Internal-Developer…/frontend/src/app/components/fields/styles.module.css
2026-03-05 16:03:31 +08:00

60 lines
1.1 KiB
CSS

.input {
display: flex;
padding: 12px 16px;
flex-direction: column;
justify-content: center;
align-items: flex-start;
gap: 10px;
width: 100%;
align-self: stretch;
border-radius: 6px;
border: 1px solid #616583;
background-color: transparent;
color: white;
font-family: Inter;
font-size: 16px;
outline: none;
font-style: normal;
font-weight: 400;
line-height: normal;
caret-color: #575bc7;
}
.input:focus {
border-radius: 6px;
border: 1px solid #959aff;
background: rgba(75, 79, 109, 0.25);
}
.input:focus::placeholder {
color: #4b4f6d;
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.input:hover {
background: rgba(75, 79, 109, 0.25);
}
.input::placeholder {
color: #85869b;
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.input:disabled {
background: rgba(75, 79, 109, 0.15);
border: 1px solid #616583;
color: #85869b;
cursor: not-allowed;
pointer-events: none;
user-select: none;
}
.error,
.error:focus,
.error:hover {
border: 1px solid #b43939;
}