aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/media/toolbar.css
diff options
context:
space:
mode:
authorMalcolm Tredinnick2009-02-18 19:43:26 +1100
committerRob Hudson2009-03-21 08:37:48 -0700
commit2a839fdc3b264f7bcb4af6caed3cf3f593c89308 (patch)
tree98ee9d697e64511eb4457f2187b691e199ad2464 /debug_toolbar/media/toolbar.css
parent0bed471bb06e3997d29bdc7dc8dec6a0e0c161a0 (diff)
downloaddjango-debug-toolbar-2a839fdc3b264f7bcb4af6caed3cf3f593c89308.tar.bz2
Restrict the debug toolbar to a single row of panels.
Any panels that would cause the toolbar to wrap to a new line are put into a new final panel called "more..." and are accessible via a vertical list under that panel. Slight tweaks were made to the original to match a previous commit's Javascript style. Signed-off-by: Rob Hudson <rob@cogit8.org>
Diffstat (limited to 'debug_toolbar/media/toolbar.css')
-rw-r--r--debug_toolbar/media/toolbar.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/debug_toolbar/media/toolbar.css b/debug_toolbar/media/toolbar.css
index 3656e81..7c765da 100644
--- a/debug_toolbar/media/toolbar.css
+++ b/debug_toolbar/media/toolbar.css
@@ -79,6 +79,22 @@
border-right: 1px solid #487858;
}
+#djDebugMore ul {
+ float: right;
+ background: #2a5738;
+ display: none;
+}
+
+#djDebugMore:hover ul {
+ display: block;
+}
+
+#djDebugMore li {
+ display: inherit;
+ position: inherit;
+ line-height: inherit;
+}
+
#djDebugToolbar #djDebugButton {
color: #92ef3f;
}