Spaces:
Configuration error
Configuration error
File size: 1,448 Bytes
a7060a0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | .field-label {
margin-bottom: 0;
&__text {
padding: 0 16px;
height: 22px;
display: flex;
margin-bottom: 4px;
font-size: 14px;
line-height: 22px;
justify-content: space-between;
}
&__description {
margin-top: 5px;
font-size: 14px;
line-height: 22px;
color: var(--color-neutral-subtler);
}
&__field {
line-height: 0;
}
&_size_small &__text {
font-size: 10px;
margin: 0;
height: 14px;
line-height: 14px;
}
&_size_large &__text {
font-weight: 500;
font-size: 16px;
line-height: 22px;
margin-bottom: 16px;
}
&_flat &__text {
padding: 0;
}
.input,
.select,
.textarea {
width: 100%;
}
&[data-required] &__text::after {
content: "Required";
color: var(--color-neutral-content-subtler);
}
&_placement_right {
display: inline-flex;
flex-direction: row-reverse;
}
&_placement_left {
display: inline-flex;
}
&_empty &__text,
&_placement_right &__text,
&_placement_left &__text {
margin-bottom: 0;
font-size: 16px;
line-height: 22px;
height: auto;
align-items: center;
}
&_placement_right:not(.label_withDescription) &__field,
&_placement_left:not(.label_withDescription) &__field {
display: flex;
align-items: center;
}
&_placement_right.label_withDescription &__field,
&_placement_left.label_withDescription &__field {
margin-top: 5px;
}
}
|