Skip to content

Commit a8a5850

Browse files
committed
Various cleanup for some CSS overrides
1 parent 984f327 commit a8a5850

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

debug_toolbar/static/debug_toolbar/css/toolbar.css

+48
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
#djDebug table, #djDebug caption, #djDebug tbody, #djDebug tfoot, #djDebug thead, #djDebug tr, #djDebug th, #djDebug td {
2626
margin:0;
2727
padding:0;
28+
min-width:0;
29+
width:auto;
2830
border:0;
2931
outline:0;
3032
font-size:12px;
@@ -35,6 +37,52 @@
3537
font-family:sans-serif;
3638
text-align:left;
3739
text-shadow: none;
40+
-webkit-transition: none;
41+
-moz-transition: none;
42+
-o-transition: none;
43+
transition: none;
44+
}
45+
46+
#djDebug button {
47+
background-color: #eee;
48+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eee), color-stop(100%, #cccccc));
49+
background-image: -webkit-linear-gradient(top, #eee, #cccccc);
50+
background-image: -moz-linear-gradient(top, #eee, #cccccc);
51+
background-image: -ms-linear-gradient(top, #eee, #cccccc);
52+
background-image: -o-linear-gradient(top, #eee, #cccccc);
53+
background-image: linear-gradient(top, #eee, #cccccc);
54+
border: 1px solid #ccc;
55+
border-bottom: 1px solid #bbb;
56+
-webkit-border-radius: 3px;
57+
-moz-border-radius: 3px;
58+
border-radius: 3px;
59+
color: #333;
60+
line-height: 1;
61+
padding: 0 8px;
62+
text-align: center;
63+
text-shadow: 0 1px 0 #eee;
64+
}
65+
66+
#djDebug button:hover {
67+
background-color: #ddd;
68+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ddd), color-stop(100%, #bbb));
69+
background-image: -webkit-linear-gradient(top, #ddd, #bbb);
70+
background-image: -moz-linear-gradient(top, #ddd, #bbb);
71+
background-image: -ms-linear-gradient(top, #ddd, #bbb);
72+
background-image: -o-linear-gradient(top, #ddd, #bbb);
73+
background-image: linear-gradient(top, #ddd, #bbb);
74+
border-color: #bbb;
75+
border-bottom-color: #999;
76+
cursor: pointer;
77+
text-shadow: 0 1px 0 #ddd;
78+
}
79+
80+
#djDebug button:active {
81+
border: 1px solid #aaa;
82+
border-bottom: 1px solid #888;
83+
-webkit-box-shadow: inset 0 0 5px 2px #aaa, 0 1px 0 0 #eee;
84+
-moz-box-shadow: inset 0 0 5px 2px #aaa, 0 1px 0 0 #eee;
85+
box-shadow: inset 0 0 5px 2px #aaa, 0 1px 0 0 #eee;
3886
}
3987

4088
#djDebug #djDebugToolbar {

0 commit comments

Comments
 (0)