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:
parent
7e4c1e8b3d
commit
6db8e46e47
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user