mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 11:11:11 +02:00
Adds new Checkbox and CheckboxField components (#37665)
This commit is contained in:
@@ -549,8 +549,8 @@ code {
|
||||
input[type='email'],
|
||||
input[type='password'],
|
||||
input[type='datetime-local'] {
|
||||
&:focus:invalid:not(:placeholder-shown),
|
||||
&:required:invalid:not(:placeholder-shown) {
|
||||
&:focus:user-invalid:not(:placeholder-shown),
|
||||
&:required:user-invalid:not(:placeholder-shown) {
|
||||
border-color: var(--color-text-error);
|
||||
}
|
||||
}
|
||||
@@ -560,16 +560,6 @@ code {
|
||||
color: var(--color-text-error);
|
||||
}
|
||||
|
||||
input[type='text'],
|
||||
input[type='number'],
|
||||
input[type='email'],
|
||||
input[type='password'],
|
||||
input[type='datetime-local'],
|
||||
textarea,
|
||||
select {
|
||||
border-color: var(--color-text-error);
|
||||
}
|
||||
|
||||
.error {
|
||||
display: block;
|
||||
font-weight: 500;
|
||||
@@ -732,9 +722,23 @@ code {
|
||||
}
|
||||
}
|
||||
|
||||
.simple_form .input.field_with_errors,
|
||||
[data-has-error='true'] {
|
||||
input[type='text'],
|
||||
input[type='number'],
|
||||
input[type='email'],
|
||||
input[type='password'],
|
||||
input[type='datetime-local'],
|
||||
textarea,
|
||||
select {
|
||||
border-color: var(--color-text-error);
|
||||
}
|
||||
}
|
||||
|
||||
/* Double-chevron icon for custom select components */
|
||||
.select-wrapper,
|
||||
.select .label_input__wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
||||
&::after {
|
||||
|
||||
Reference in New Issue
Block a user