From 52f4be6d1044f791d98f9d887e09034ec3a23f07 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Thu, 4 Dec 2014 18:23:00 +0200 Subject: Fixes #112: /?debug=1 gives you back debugging helpers --- res/css/partials/dev-area.scss | 43 ++++++++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 18 deletions(-) (limited to 'res/css/partials/dev-area.scss') diff --git a/res/css/partials/dev-area.scss b/res/css/partials/dev-area.scss index 7d344a55..fa1cfbf3 100644 --- a/res/css/partials/dev-area.scss +++ b/res/css/partials/dev-area.scss @@ -1,25 +1,32 @@ .debug-ui { - position:fixed; - bottom:70px; - left:10px; - text-decoration: none; + display: none; } -.debug-ui-row { - float: left; - width: 100%; -} +body.debug { + .debug-ui { + display: inline; + position:fixed; + bottom:70px; + left:10px; + text-decoration: none; + } -.debug-ui-left { - float: left; - width: 50%; -} + .debug-ui-row { + float: left; + width: 100%; + } -.debug-ui-right { - float: right; - width: 50%; -} + .debug-ui-left { + float: left; + width: 50%; + } -.debug{ + .debug-ui-right { + float: right; + width: 50%; + } -} \ No newline at end of file + .debug{ + + } +} -- cgit v1.3.1