Spaces:
Configuration error
Configuration error
File size: 1,803 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 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | .form {
width: 100%;
display: block;
&__row {
display: grid;
justify-items: stretch;
justify-content: space-between;
grid-template-columns: repeat(var(--column-count, 5), 1fr);
grid-gap: var(--row-gap, 16px) 12px;
&:not(:first-child) {
margin-top: 20px;
}
&__description {
font-size: 0.875rem;
}
}
&__submit {
display: flex;
margin-top: 32px;
align-items: center;
justify-content: space-between;
& + .inline-error {
margin-top: 32px;
}
&_size {
&_small {
margin-top: 16px;
}
}
}
&__info {
display: flex;
align-items: center;
color: var(--color-negative-content);
font-size: 14px;
line-height: 22px;
&_valid {
color: var(--color-neutral-content-subtler);
}
}
&__column {
display: grid;
grid-auto-flow: column;
align-items: flex-start;
}
}
.input-ls,
.textarea-ls,
.counter,
.select-ls__list {
transition: all 100ms ease-out;
outline: 0;
color: var(--color-neutral-content);
&:not(&_ghost):focus,
&:not(:read-only):focus,
&_focused {
outline: 4px solid var(--color-primary-focus-outline);
/* box-shadow: 0 0 0 6px var(--color-primary-surface-content-subtle), inset 0 -1px 0 rgb(0 0 0 / 10%), inset 0 0 0 1px rgb(0 0 0 / 15%), inset 0 0 0 1px var(--color-primary-surface-content-subtle); */
border-color: var(--color-neutral-border-bolder);
}
&:focus-visible {
outline: none;
}
&:read-only:focus {
box-shadow: none;
border-color: var(--border-color);
}
}
.form-indicator {
font-weight: 500;
&__item {
&_type {
&_success {
color: var(--color-positive-content);
}
&_fail {
color: var(--color-negative-content);
}
}
}
}
|