From 8e8f44861d59c1309eb1c75fac61543e3713b6db Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Mon, 13 Jul 2009 00:17:15 +0000 Subject: [PATCH] Start of Edit Source capabilities for SVG-edit git-svn-id: http://svg-edit.googlecode.com/svn/trunk@312 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.css | 34 +++++++++++++++ editor/svg-editor.html | 13 +++++- editor/svg-editor.js | 93 ++++++++++++++++++++++++++++++++---------- editor/svgcanvas.js | 11 ++--- 4 files changed, 124 insertions(+), 27 deletions(-) diff --git a/editor/svg-editor.css b/editor/svg-editor.css index 8dad79ac..45a932a1 100644 --- a/editor/svg-editor.css +++ b/editor/svg-editor.css @@ -272,3 +272,37 @@ div.color_block { #svg_editor #copyright { text-align: right; } + +#svg_source_editor { + display: none; +} + +#svg_source_overlay { + position: absolute; + top: 0px; + right: 0px; + left: 0px; + bottom: 0px; + background-color: black; + opacity: 0.6; +} + +#svg_source_container { + position: absolute; + top: 30px; + left: 30px; + right: 30px; + bottom: 30px; + background-color: #B0B0B0; + opacity: 1.0; + text-align: center; +} + +#svg_source_textarea { + position: relative; + width: 95%; + top: 35px; + height: 90%; + padding: 5px; + font-size: 12px; +} \ No newline at end of file diff --git a/editor/svg-editor.html b/editor/svg-editor.html index e0970c8d..f4094c98 100644 --- a/editor/svg-editor.html +++ b/editor/svg-editor.html @@ -28,10 +28,11 @@
- +
Clear Save +
@@ -216,6 +217,16 @@
+ + +
+
+
+
+
+ +
+