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

49 lines
738 B
SCSS
Raw 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]),
textarea {
padding: 8px;
border-radius: 4px;
font-size: 14px;
font-family: inherit;
font-weight: 400;
border: 1px solid #a4a4a4;
box-shadow: inset 0 0 4px #0000001f;
2022-09-09 14:37:42 +00:00
+ span {
font-size: 0.875rem;
margin-top: 0.25rem;
color: rgb(100, 100, 100);
}
2022-09-01 14:23:11 +00:00
}
&:last-child {
margin-bottom: 0;
}
}