aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar
diff options
context:
space:
mode:
authorMalcolm Tredinnick2008-09-24 10:52:06 +1000
committerMalcolm Tredinnick2008-09-24 10:56:23 +1000
commit864fde8eab5074a89281873e75e8a9a97fc7109d (patch)
tree8cf2c3dc528ea88459bbc46d03b3daa651e7d7dd /debug_toolbar
parentf4d0f529a31ec4904501c43b2bd847b440fd5c08 (diff)
downloaddjango-debug-toolbar-864fde8eab5074a89281873e75e8a9a97fc7109d.tar.bz2
The start of some work to make the CSS play nicely with others.
Right now, if you use the debug toolbar in a site that also uses YUI's grid system, all the text will be centre-aligned. So this commit pushes it back to left-aligned. There are still some more workaround stylings required here (spacing, font un-breakage, etc), but this solves the most immediate problem.
Diffstat (limited to 'debug_toolbar')
-rw-r--r--debug_toolbar/media/toolbar.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug_toolbar/media/toolbar.css b/debug_toolbar/media/toolbar.css
index 7d2ad82..7fd5cc5 100644
--- a/debug_toolbar/media/toolbar.css
+++ b/debug_toolbar/media/toolbar.css
@@ -1,8 +1,8 @@
-#djDebugToolbar {height:30px; background:orange; color:#000; z-index:100000000; border:1px solid #06171D; border-width:1px 0;}
+#djDebugToolbar {height:30px; background:orange; color:#000; z-index:100000000; border:1px solid #06171D; border-width:1px 0; text-align: left;}
#djDebugToolbar ul {margin:0; padding:0 10px; list-style:none;}
#djDebugToolbar li {display:inline; width:auto; position:relative; float:none; margin:0 10px 0 0; padding:0; height:20px; line-height:30px; padding:8px 10px 8px 0; border-right: 1px solid #06171D;}
#djDebugToolbar #djDebugButton {color:red; font-weight:bold;}
-#djDebug * {margin:0; padding:0; float:none; position:static; }
+#djDebug * {margin:0; padding:0; float:none; position:static; text-align: left;}
#djDebug .panelContent {display:none; position:absolute; margin:0; padding:5px; top:35px; width:auto; left:5px; right:5px; bottom:5px; background:white; color:black; border:1px solid black; z-index:1000000; overflow:auto;}
#djDebug .panelContent p {padding: 0 5px;}
#djDebug .panelContent p, #djDebug .panelContent table, #djDebug .panelContent ul, #djDebug .panelContent dl {margin:5px 0;}