This repository has been archived on 2024-06-14. You can view files and clone it, but cannot push or open issues or pull requests.
icynet-admin/components/common/Form/Form.module.scss

52 lines
868 B
SCSS
Raw Permalink Normal View History

.wrapper {
form {
display: flex;
flex-direction: column;
}
}
.control {
display: flex;
flex-direction: column;
margin-bottom: 1rem;
&.inline {
flex-direction: row;
input[type='checkbox'] {
margin-left: 1rem;
}
}
2022-09-01 14:23:11 +00:00
label {
font-weight: 600;
}
input[type='text'],
2022-09-01 18:11:36 +00:00
input[type='email'],
2022-09-01 14:23:11 +00:00
input[type='password'],
input:not([type]),
2022-09-14 17:31:38 +00:00
select,
2022-09-01 14:23:11 +00:00
textarea {
padding: 8px;
border-radius: 4px;
font-size: 14px;
font-family: inherit;
font-weight: 400;
2022-09-12 19:31:58 +00:00
color: var(--form-field-color);
background: var(--form-field-background);
border: 1px solid var(--form-field-border);
box-shadow: inset 0 0 4px var(--form-field-box-shadow);
2022-09-14 17:31:38 +00:00
}
2022-09-09 14:37:42 +00:00
2022-09-14 17:31:38 +00:00
> span {
font-size: 0.875rem;
margin-top: 0.25rem;
color: var(--form-field-helper-color);
2022-09-01 14:23:11 +00:00
}
&:last-child {
margin-bottom: 0;
}
}