From ce717c378f6a53e49f51651ed9dc32632734769e Mon Sep 17 00:00:00 2001 From: Pepijn de Vos Date: Tue, 31 Jan 2012 22:04:32 +0100 Subject: [PATCH 1/2] holy grail CSS for inspector --- src/swf/inspector/inspector.html | 68 ++++++++++++++++---------------- 1 file changed, 33 insertions(+), 35 deletions(-) diff --git a/src/swf/inspector/inspector.html b/src/swf/inspector/inspector.html index 467b25d229..a236667cbb 100644 --- a/src/swf/inspector/inspector.html +++ b/src/swf/inspector/inspector.html @@ -21,42 +21,56 @@ color: #cc0000; } #app { - display: box; - box-orient: vertical; - display: -moz-box; - -moz-box-orient: vertical; - display: -webkit-box; - -webkit-box-orient: vertical; - width: 100%; - height: 100%; + } #menu { border-bottom: 1px solid #b3b3b3; padding: 15px 10px; text-align: right; + height: 15px; } #info { border: 1px #ccc; border-style: solid none; - padding: 5px 10px; + padding: 5px 10px; + height: 15px; background: #dcdcdc; text-align: right; } #body { - display: box; - box-orient: horizontal; - box-flex: 1; - display: -moz-box; - -moz-box-orient: horizontal; - -moz-box-flex: 1; - display: -webkit-box; - -webkit-box-orient: horizontal; - -webkit-box-flex: 1; + position: absolute; + top: 73px; + bottom: 0; + width: 100%; + } + #graph { + position: absolute; + top: 0; + right: 0; + left: 0; + bottom: 0; + margin: 0 300px 0 280px; + padding: 10px; + overflow: auto; + } + #preview { + position: absolute; + top: 0; + right: 0; + bottom: 0; + width: 280px; + padding: 10px; + border-left: 1px solid #ccc; + background: url(preview_bg.png); + text-align: center; } #taglist { + position: absolute; + top: 0; + left: 0; + bottom: 0; margin: 0; width: 280px; - height: 600px; padding: 0; border-right: 1px solid #b3b3b3; background: #ececec; @@ -79,22 +93,6 @@ width: 30px; color: #999; } - #graph { - box-flex: 1; - -moz-box-flex: 1; - -webkit-box-flex: 1; - margin: 0; - height: 600px; - padding: 10px; - overflow: auto; - } - #preview { - width: 280px; - padding: 10px; - border-left: 1px solid #ccc; - background: url(preview_bg.png); - text-align: center; - } From b6fa8a87b27880e8343d933163cfd17b27d3fc12 Mon Sep 17 00:00:00 2001 From: Pepijn de Vos Date: Tue, 31 Jan 2012 22:32:05 +0100 Subject: [PATCH 2/2] trying to remove whitespace --- src/swf/inspector/inspector.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/swf/inspector/inspector.html b/src/swf/inspector/inspector.html index a236667cbb..400274901d 100644 --- a/src/swf/inspector/inspector.html +++ b/src/swf/inspector/inspector.html @@ -19,9 +19,6 @@ } .error { color: #cc0000; - } - #app { - } #menu { border-bottom: 1px solid #b3b3b3;