1
0
mirror of https://github.com/django/django.git synced 2024-12-28 12:06:22 +00:00

[5.0.x] Fixed #34857 -- Made calendar "Cancel" button in admin use color variables.

Backport of 34ca1d3ab4 from main
This commit is contained in:
Fabian Braun 2023-09-20 21:31:56 +02:00 committed by Mariusz Felisiak
parent 7e4c1e8b3d
commit 6db8e46e47

View File

@ -533,17 +533,17 @@ span.clearable-file-input label {
margin: 0; margin: 0;
padding: 4px 0; padding: 4px 0;
font-size: 0.75rem; font-size: 0.75rem;
background: #eee; background: var(--close-button-bg);
border-top: 1px solid var(--border-color); border-top: 1px solid var(--border-color);
color: var(--body-fg); color: var(--button-fg);
} }
.calendar-cancel:focus, .calendar-cancel:hover { .calendar-cancel:focus, .calendar-cancel:hover {
background: #ddd; background: var(--close-button-hover-bg);
} }
.calendar-cancel a { .calendar-cancel a {
color: black; color: var(--button-fg);
display: block; display: block;
} }