1
0
mirror of https://github.com/django/django.git synced 2024-12-27 03:25:58 +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;
padding: 4px 0;
font-size: 0.75rem;
background: #eee;
background: var(--close-button-bg);
border-top: 1px solid var(--border-color);
color: var(--body-fg);
color: var(--button-fg);
}
.calendar-cancel:focus, .calendar-cancel:hover {
background: #ddd;
background: var(--close-button-hover-bg);
}
.calendar-cancel a {
color: black;
color: var(--button-fg);
display: block;
}