unified overlays styling

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2423 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Bruno Heridet 2013-02-18 18:52:07 +00:00
parent 5ce4431658
commit 8eceeb2b3f
3 changed files with 17 additions and 40 deletions

View File

@ -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;

View File

@ -600,7 +600,7 @@
</div> <!-- svg_editor -->
<div id="svg_source_editor">
<div id="svg_source_overlay"></div>
<div class="overlay"></div>
<div id="svg_source_container">
<div id="tool_source_back" class="toolbar_button">
<button id="tool_source_save">Apply Changes</button>
@ -618,7 +618,7 @@
<div id="svg_docprops">
<div id="svg_docprops_overlay"></div>
<div class="overlay"></div>
<div id="svg_docprops_container">
<div id="tool_docprops_back" class="toolbar_button">
<button id="tool_docprops_save">OK</button>
@ -664,7 +664,7 @@
</div>
<div id="svg_prefs">
<div id="svg_prefs_overlay"></div>
<div class="overlay"></div>
<div id="svg_prefs_container">
<div id="tool_prefs_back" class="toolbar_button">
<button id="tool_prefs_save">OK</button>
@ -757,7 +757,7 @@
</div>
<div id="dialog_box">
<div id="dialog_box_overlay"></div>
<div class="overlay"></div>
<div id="dialog_container">
<div id="dialog_content"></div>
<div id="dialog_buttons"></div>

View File

@ -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'},