kopia lustrzana https://github.com/wagtail/wagtail
Ensure visual consistency between buttons and links as buttons in WHCM
- Fix secondary-button disabled state - Fix legacy dropdown in WHCM - Fixes #9078pull/9448/head
rodzic
91de7a126d
commit
bd13f567fe
|
|
@ -8,6 +8,7 @@ Changelog
|
||||||
* Remove unsquashed `testapp` migrations (Matt Westcott)
|
* Remove unsquashed `testapp` migrations (Matt Westcott)
|
||||||
* Fix: Make sure workflow timeline icons are visible in high-contrast mode (Loveth Omokaro)
|
* Fix: Make sure workflow timeline icons are visible in high-contrast mode (Loveth Omokaro)
|
||||||
* Fix: Ensure authentication forms (login, password reset) have a visible border in Windows high-contrast mode (Loveth Omokaro)
|
* Fix: Ensure authentication forms (login, password reset) have a visible border in Windows high-contrast mode (Loveth Omokaro)
|
||||||
|
* Fix: Ensure visual consistency between buttons and links as buttons in Windows high-contrast mode (Albina Starykova)
|
||||||
|
|
||||||
|
|
||||||
4.1 LTS (xx.xx.xxxx) - IN DEVELOPMENT
|
4.1 LTS (xx.xx.xxxx) - IN DEVELOPMENT
|
||||||
|
|
|
||||||
|
|
@ -253,7 +253,7 @@
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (forced-colors: active) {
|
@media (forced-colors: $media-forced-colours) {
|
||||||
color: GrayText;
|
color: GrayText;
|
||||||
border-color: GrayText;
|
border-color: GrayText;
|
||||||
border-style: dashed;
|
border-style: dashed;
|
||||||
|
|
@ -355,4 +355,17 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ensure visual consistency between button and a elements in WHCM
|
||||||
|
|
||||||
|
@media (forced-colors: $media-forced-colours) {
|
||||||
|
&:not(:disabled):not(.disabled):not([disabled]) {
|
||||||
|
color: ButtonText;
|
||||||
|
border-color: ButtonText;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
border-color: Highlight;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -62,8 +62,6 @@
|
||||||
|
|
||||||
li a,
|
li a,
|
||||||
li button {
|
li button {
|
||||||
forced-color-adjust: none;
|
|
||||||
background-color: $color-black;
|
|
||||||
border-color: $color-white;
|
border-color: $color-white;
|
||||||
color: $color-white;
|
color: $color-white;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ depth: 1
|
||||||
|
|
||||||
* Make sure workflow timeline icons are visible in high-contrast mode (Loveth Omokaro)
|
* Make sure workflow timeline icons are visible in high-contrast mode (Loveth Omokaro)
|
||||||
* Ensure authentication forms (login, password reset) have a visible border in Windows high-contrast mode (Loveth Omokaro)
|
* Ensure authentication forms (login, password reset) have a visible border in Windows high-contrast mode (Loveth Omokaro)
|
||||||
|
* Ensure visual consistency between buttons and links as buttons in Windows high-contrast mode (Albina Starykova)
|
||||||
|
|
||||||
## Upgrade considerations
|
## Upgrade considerations
|
||||||
|
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue