kopia lustrzana https://github.com/wagtail/wagtail
Improve the visibility of field error messages, in Windows high-contrast mode and out (#7663) Fix #7241
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>pull/5793/head
rodzic
4e5d130dbb
commit
88c7d46282
|
@ -19,6 +19,7 @@ Changelog
|
|||
* Improve CircleCI frontend & backend build caches (Thibaud Colas)
|
||||
* Add a 'remember me' checkbox to the admin sign in form, if unticked (default) the auth session will expire if the browser is closed (Michael Karamuth, Jake Howard)
|
||||
* When returning to image or document listing views after editing, filters (collection or tag) are now remembered (Tidjani Dia)
|
||||
* Improve the visibility of field error messages, in Windows high-contrast mode and out (Jason Attwood)
|
||||
* Fix: Accessibility fixes for Windows high contrast mode; Dashboard icons colour and contrast (Sakshi Uppoor)
|
||||
* Fix: Rename additional 'spin' CSS animations to avoid clashes with other libraries (Kevin Gutiérrez)
|
||||
* Fix: `default_app_config` deprecations for Django >= 3.2 (Tibor Leupold)
|
||||
|
|
|
@ -557,6 +557,7 @@ Contributors
|
|||
* Michael Karamuth
|
||||
* Vu Pham
|
||||
* Khanh Hoang
|
||||
* Jason Attwood
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -123,7 +123,20 @@ select::-ms-expand {
|
|||
}
|
||||
|
||||
.error-message {
|
||||
color: $color-red;
|
||||
font-size: 1em;
|
||||
font-weight: bold;
|
||||
color: $color-text-error;
|
||||
|
||||
@media (forced-colors: $media-forced-colours) {
|
||||
forced-color-adjust: none;
|
||||
color: $color-text-error-forced-color;
|
||||
}
|
||||
|
||||
&::before {
|
||||
font-family: wagtail;
|
||||
vertical-align: -10%;
|
||||
content: map-get($icons, 'cross');
|
||||
}
|
||||
}
|
||||
|
||||
.help {
|
||||
|
|
|
@ -142,3 +142,7 @@ $nav-search-bg: $nav-grey-1;
|
|||
$nav-search-hover-bg: $nav-item-hover-bg;
|
||||
$nav-search-focus-color: $color-white;
|
||||
$nav-search-focus-bg: $nav-item-hover-bg;
|
||||
|
||||
// Form Errors
|
||||
$color-text-error: change-color($color-red, $saturation: 69, $lightness: 52);
|
||||
$color-text-error-forced-color: change-color($color-red, $saturation: 100, $lightness: 50);
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
* Improve CircleCI frontend & backend build caches (Thibaud Colas)
|
||||
* Add a 'remember me' checkbox to the admin sign in form, if unticked (default) the auth session will expire if the browser is closed (Michael Karamuth, Jake Howard)
|
||||
* When returning to image or document listing views after editing, filters (collection or tag) are now remembered (Tidjani Dia)
|
||||
* Improve the visibility of field error messages, in Windows high-contrast mode and out (Jason Attwood)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue