Files
bflows-bandi-fe/src/assets/scss/components/appForm.scss
Vitalii Kiiko 74d2da78d6 :
2024-08-20 12:57:23 +02:00

102 lines
1.7 KiB
SCSS

.appForm {
display: flex;
flex-direction: column;
gap: 24px;
}
.appForm__field {
display: flex;
flex-direction: column;
gap: 14px;
label {
font-size: 14px;
font-style: normal;
font-weight: 700;
line-height: normal;
span {
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
margin-left: 10px;
}
}
small {
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 21px;
}
&.datepicker, &.formfieldrepeater, &.datepickerrange, &.fileupload {
.p-button:not(.p-button-danger) {
background: var(--button-secondary-background);
border: 1px solid var(--button-secondary-borderColor);
}
.p-button:not(:disabled, .p-button-danger):hover {
background: var(--button-secondary-borderColor);
}
}
}
.appForm__oneCol {
display: flex;
flex-direction: column;
label {
font-weight: 400;
}
}
.appForm__twoCols {
display: flex;
gap: 1rem;
justify-content: space-between;
flex-wrap: wrap;
> div {
flex: 1 1 auto;
min-width: 300px;
max-width: 700px;
display: flex;
flex-direction: column;
gap: 14px;
label {
font-weight: 400;
}
}
}
.appForm__repeaterItem {
padding: 0.5rem 0.5rem 0.5rem 1rem;
border-left: 3px solid #dadada;
&:hover {
border-color: var(--button-secondary-background);
background: #FCF7E7;
}
}
.appForm__faqHeaderControls {
display: flex;
gap: 1rem;
button {
flex: 0 0 auto;
}
> div {
flex: 1 1 auto;
}
}
.appForm__faqTab {
display: flex;
justify-content: space-between;
gap: 1rem;
}
.appForm__faqTabItem {
display: flex;
gap: 0.5rem;
}