1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed #34913 -- Added borders on high contrast mode in the admin.

This commit is contained in:
Cheuk Ting Ho 2023-10-21 19:09:22 +01:00 committed by GitHub
parent a680ac7d77
commit eab67450b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View File

@ -878,6 +878,12 @@ a.deletelink:focus, a.deletelink:hover {
margin-right: -300px;
}
@media (forced-colors: active) {
#content-related {
border: 1px solid;
}
}
#footer {
clear: both;
padding: 10px;
@ -928,6 +934,12 @@ a.deletelink:focus, a.deletelink:hover {
text-decoration: underline;
}
@media (forced-colors: active) {
#header {
border-bottom: 1px solid;
}
}
#branding {
display: flex;
}

View File

@ -139,6 +139,12 @@
margin: 0 0 0 30px;
}
@media (forced-colors: active) {
#changelist-filter {
border: 1px solid;
}
}
#changelist-filter h2 {
font-size: 0.875rem;
text-transform: uppercase;