From e5d3482291edf86670463669c298142d372a7792 Mon Sep 17 00:00:00 2001 From: Anon Ray Date: Sun, 6 Oct 2013 05:31:38 +0530 Subject: [PATCH] Fix UI issues - Improvement in the editor UI with help text and all - Inprovement in the UI of ace code editor --- mouchak/static/css/editor.css | 21 +++++------ mouchak/templates/editor.html | 83 ++++++++++++++++++++++++++++++----------- 2 files changed, 72 insertions(+), 32 deletions(-) diff --git a/mouchak/static/css/editor.css b/mouchak/static/css/editor.css index ebb970f..0460f07 100644 --- a/mouchak/static/css/editor.css +++ b/mouchak/static/css/editor.css @@ -1,8 +1,8 @@ .page { border: 1px solid #999; - padding: 20px; - width: 400px; - /*height: 400px;*/ + padding: 30px; + padding-bottom: 10px; + width: 600px; } #pages { position: absolute; @@ -15,8 +15,8 @@ } #page { position: absolute; - left: 500px; - top: 90px; + left: 400px; + top: 40px; } #pagelist { padding: 10px; @@ -62,12 +62,11 @@ top: 0px; } #code-edit { - position: absolute; - top: 355px; - right: 0; - bottom: 0 ; - left: 125px; - width: 70%; + position: relative; + top: 0; + left: 0; + width: 100%; + height: 500px; } #editor-overlay { position: absolute; diff --git a/mouchak/templates/editor.html b/mouchak/templates/editor.html index 3e2b633..31ef797 100644 --- a/mouchak/templates/editor.html +++ b/mouchak/templates/editor.html @@ -48,33 +48,59 @@