From fd8d70cd81be0e11c91ddd13bdc83aa4077c479b Mon Sep 17 00:00:00 2001 From: Jon Ribbens Date: Tue, 6 Aug 2024 12:30:40 +0100 Subject: [PATCH 1/2] Slightly increase opacity of debug toolbar button Avoids an accessibility issue (low-contrast text) when the page behind the button is white. Fixes #1981 --- debug_toolbar/static/debug_toolbar/css/toolbar.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug_toolbar/static/debug_toolbar/css/toolbar.css b/debug_toolbar/static/debug_toolbar/css/toolbar.css index e495eeb0c..79f42ae56 100644 --- a/debug_toolbar/static/debug_toolbar/css/toolbar.css +++ b/debug_toolbar/static/debug_toolbar/css/toolbar.css @@ -301,7 +301,7 @@ font-size: 22px; font-weight: bold; background: #000; - opacity: 0.5; + opacity: 0.6; } #djDebug #djShowToolBarButton:hover { From 48978f76f26c107e07bdee53426d80c2bb2c789d Mon Sep 17 00:00:00 2001 From: Tim Schilling Date: Tue, 6 Aug 2024 06:59:06 -0500 Subject: [PATCH 2/2] Add line to changelog. --- docs/changes.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changes.rst b/docs/changes.rst index 72dd9d2bc..d867b7d80 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -3,10 +3,11 @@ Change log Pending ------- -* Support select and explain buttons for ``UNION`` queries on PostgreSQL. +* Support select and explain buttons for ``UNION`` queries on PostgreSQL. * Fixed internal toolbar requests being instrumented if the Django setting ``FORCE_SCRIPT_NAME`` was set. +* Increase opacity of show Debug Toolbar handle to improve accessibility. 4.4.6 (2024-07-10) ------------------