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

Fixed #34857 -- Made calendar "Cancel" button in admin use color variables.

This commit is contained in:
Fabian Braun 2023-09-20 21:31:56 +02:00 committed by Mariusz Felisiak
parent cfe27544df
commit 34ca1d3ab4

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;
}