Skip to content

Commit 89568d5

Browse files
Slightly increase opacity of debug toolbar button (#1982)
* Slightly increase opacity of debug toolbar button Avoids an accessibility issue (low-contrast text) when the page behind the button is white. Fixes #1981 * Add line to changelog. --------- Co-authored-by: Tim Schilling <schillingt@better-simple.com>
1 parent aea6cc6 commit 89568d5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

debug_toolbar/static/debug_toolbar/css/toolbar.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@
301301
font-size: 22px;
302302
font-weight: bold;
303303
background: #000;
304-
opacity: 0.5;
304+
opacity: 0.6;
305305
}
306306

307307
#djDebug #djShowToolBarButton:hover {

docs/changes.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ Change log
33

44
Pending
55
-------
6-
* Support select and explain buttons for ``UNION`` queries on PostgreSQL.
76

7+
* Support select and explain buttons for ``UNION`` queries on PostgreSQL.
88
* Fixed internal toolbar requests being instrumented if the Django setting
99
``FORCE_SCRIPT_NAME`` was set.
10+
* Increase opacity of show Debug Toolbar handle to improve accessibility.
1011

1112
4.4.6 (2024-07-10)
1213
------------------

0 commit comments

Comments
 (0)