Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove unused a.button CSS
No anchor tag includes the class "button". Slightly simplifies and
reduces the CSS.
  • Loading branch information
jdufresne committed Oct 4, 2020
commit 165e5b2204343c5784ba9605488a05c49105de1f
9 changes: 3 additions & 6 deletions debug_toolbar/static/debug_toolbar/css/toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@
transition: none;
}

#djDebug button,
#djDebug a.button {
#djDebug button {
background-color: #eee;
background-image: linear-gradient(to bottom, #eee, #cccccc);
border: 1px solid #ccc;
Expand All @@ -97,8 +96,7 @@
text-shadow: 0 1px 0 #eee;
}

#djDebug button:hover,
#djDebug a.button:hover {
#djDebug button:hover {
background-color: #ddd;
background-image: linear-gradient(to bottom, #ddd, #bbb);
border-color: #bbb;
Expand All @@ -107,8 +105,7 @@
text-shadow: 0 1px 0 #ddd;
}

#djDebug button:active,
#djDebug a.button:active {
#djDebug button:active {
border: 1px solid #aaa;
border-bottom: 1px solid #888;
box-shadow: inset 0 0 5px 2px #aaa, 0 1px 0 0 #eee;
Expand Down