From 34ca1d3ab45f8f3f3d5bb867e4d13ca663deaa89 Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Wed, 20 Sep 2023 21:31:56 +0200 Subject: [PATCH] Fixed #34857 -- Made calendar "Cancel" button in admin use color variables. --- django/contrib/admin/static/admin/css/widgets.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/django/contrib/admin/static/admin/css/widgets.css b/django/contrib/admin/static/admin/css/widgets.css index b6da67ab41b..f8d888ed514 100644 --- a/django/contrib/admin/static/admin/css/widgets.css +++ b/django/contrib/admin/static/admin/css/widgets.css @@ -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; }