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