mirror of https://github.com/django/django.git
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);
|
||||
}
|
||||
|
||||
@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 {
|
||||
padding: 10px;
|
||||
background: var(--body-bg);
|
||||
|
|
|
@ -102,6 +102,12 @@
|
|||
background: var(--selected-row);
|
||||
}
|
||||
|
||||
@media (forced-colors: active) {
|
||||
#nav-sidebar .current-model {
|
||||
background-color: SelectedItem;
|
||||
}
|
||||
}
|
||||
|
||||
.main > #nav-sidebar + .content {
|
||||
max-width: calc(100% - 23px);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue