1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-01-23 22:12:48 +02:00

added invalid form-group styles

This commit is contained in:
Gani Georgiev 2022-07-16 10:40:04 +03:00
parent 7fd5102fb5
commit 72f72bc84f

View File

@ -409,7 +409,7 @@ select {
label {
display: flex;
width: 100%;
column-gap: 10px;
column-gap: 5px;
align-items: center;
user-select: none;
font-weight: 600;
@ -487,7 +487,8 @@ select {
}
// states
&.error {
&.error,
&.invalid {
.help-block-error {
color: var(--dangerColor);
}
@ -495,11 +496,17 @@ select {
color: var(--dangerColor);
}
}
&.invalid {
label, %input {
background: var(--dangerAltColor);
}
}
&.required:not(.form-field-toggle) {
> label:after {
content: '*';
color: var(--dangerColor);
margin-left: -7px;
margin-top: -2px;
margin-left: -2px;
}
}
&.disabled {