diff --git a/editor/svg-editor.css b/editor/svg-editor.css index 213938dd..c147c8e2 100644 --- a/editor/svg-editor.css +++ b/editor/svg-editor.css @@ -1074,12 +1074,12 @@ span.zoom_tool { display: none; } -#svg_source_editor #svg_source_overlay { +.overlay { position: absolute; - top: 0px; - right: 0px; - left: 0px; - bottom: 0px; + top: 0; + right: 0; + left: 0; + bottom: 0; background-color: black; opacity: 0.6; z-index: 5; @@ -1245,18 +1245,6 @@ span.zoom_tool { margin-left: 0; } -#svg_docprops #svg_docprops_overlay, -#svg_prefs #svg_prefs_overlay { - position: absolute; - top: 0px; - right: 0px; - left: 0px; - bottom: 0px; - background-color: black; - opacity: 0.6; - z-index: 20000; -} - #tool_prefs_option { float: right; } @@ -1303,17 +1291,6 @@ span.zoom_tool { display: none; } -#dialog_box_overlay { - background: black; - opacity: .5; - height:100%; - left:0; - position:absolute; - top:0; - width:100%; - z-index: 6; -} - #dialog_content { height: 95px; margin: 10px 10px 5px 10px; diff --git a/editor/svg-editor.html b/editor/svg-editor.html index 7eae9bbc..59a082c9 100644 --- a/editor/svg-editor.html +++ b/editor/svg-editor.html @@ -600,7 +600,7 @@
-
+
@@ -618,7 +618,7 @@
-
+
@@ -631,15 +631,15 @@ - + +
Canvas Dimensions - + - + -
+
-
+
@@ -712,7 +712,7 @@

Note: Background will not be saved with image.

- +
Grid @@ -750,14 +750,14 @@ -->
- +
-
+
diff --git a/editor/svg-editor.js b/editor/svg-editor.js index bfd7a9f2..42091dd4 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -3914,7 +3914,7 @@ {sel: '#tool_import', fn: clickImport, evt: 'mouseup'}, {sel: '#tool_source', fn: showSourceEditor, evt: 'click', key: ['U', true]}, {sel: '#tool_wireframe', fn: clickWireframe, evt: 'click', key: ['F', true]}, - {sel: '#tool_source_cancel,#svg_source_overlay,#tool_docprops_cancel,#tool_prefs_cancel', fn: cancelOverlays, evt: 'click', key: ['esc', false, false], hidekey: true}, + {sel: '#tool_source_cancel,.overlay,#tool_docprops_cancel,#tool_prefs_cancel', fn: cancelOverlays, evt: 'click', key: ['esc', false, false], hidekey: true}, {sel: '#tool_source_save', fn: saveSourceEditor, evt: 'click'}, {sel: '#tool_docprops_save', fn: saveDocProperties, evt: 'click'}, {sel: '#tool_docprops', fn: showDocProperties, evt: 'mouseup'},