mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-01 06:41:41 +00:00
Consistently use red in forms
Errors and required fields now use the colour from the palette. The error messages in the old design are a bit darker now, but I think it's clearer. And it makes the new design look way better. Also snuck in a tiny padding tweak.
This commit is contained in:
@@ -100,15 +100,15 @@ span.info {
|
||||
&.withError {
|
||||
.field_with_errors {
|
||||
label {
|
||||
color: very-light($color-error, 30);
|
||||
color: $color-error;
|
||||
}
|
||||
|
||||
input {
|
||||
border-color: very-light($color-error, 15);
|
||||
border-color: $color-error;
|
||||
}
|
||||
}
|
||||
.formError {
|
||||
color: very-light($color-error, 30);
|
||||
color: $color-error;
|
||||
font-style: italic;
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user