mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
Fixed #34627 -- Highlighted active row in admin UI when forced-colors mode is enabled.
This commit is contained in:
parent
e26d1a91d7
commit
51fdea6841
@ -265,6 +265,15 @@
|
|||||||
background-color: var(--selected-row);
|
background-color: var(--selected-row);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (forced-colors: active) {
|
||||||
|
#changelist table tbody tr.selected {
|
||||||
|
background-color: SelectedItem;
|
||||||
|
}
|
||||||
|
#changelist table tbody tr:has(input[type=checkbox]:checked) {
|
||||||
|
background-color: SelectedItem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#changelist .actions {
|
#changelist .actions {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
background: var(--body-bg);
|
background: var(--body-bg);
|
||||||
|
@ -102,6 +102,12 @@
|
|||||||
background: var(--selected-row);
|
background: var(--selected-row);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (forced-colors: active) {
|
||||||
|
#nav-sidebar .current-model {
|
||||||
|
background-color: SelectedItem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.main > #nav-sidebar + .content {
|
.main > #nav-sidebar + .content {
|
||||||
max-width: calc(100% - 23px);
|
max-width: calc(100% - 23px);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user