Adding SVG icons to svg-editor.html and related scripts, keeping old with -classic suffix
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@916 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -47,11 +47,20 @@ body {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
#svg_editor #stroke_bg,
|
||||
#svg_editor #fill_bg {
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
#svg_editor #fill_color, #svg_editor #stroke_color {
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
border: 1px solid #808080;
|
||||
cursor: pointer;
|
||||
margin-top: -19px;
|
||||
margin-left: 1px;
|
||||
}
|
||||
|
||||
#svg_editor div#palette {
|
||||
@@ -138,6 +147,7 @@ body {
|
||||
border-bottom: 1px solid #FFFFFF;
|
||||
border-left: 1px solid #808080;
|
||||
border-top: 1px solid #808080;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#svg_editor .layer_button {
|
||||
@@ -149,6 +159,8 @@ body {
|
||||
border-right: 1px solid #808080;
|
||||
border-bottom: 1px solid #808080;
|
||||
cursor: pointer;
|
||||
float: left;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
#svg_editor .layer_buttonpressed {
|
||||
@@ -182,9 +194,6 @@ body {
|
||||
}
|
||||
|
||||
#svg_editor #layerlist td.layervis {
|
||||
background-image: url('images/eye.png');
|
||||
background-repeat: no-repeat;
|
||||
background-position: 3px center;
|
||||
width: 22px;
|
||||
cursor:pointer;
|
||||
}
|
||||
@@ -193,6 +202,14 @@ body {
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
#svg_editor #layerlist td.layervis * {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#svg_editor #layerlist td.layerinvis * {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#svg_editor #layerlist td.layername {
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -311,6 +328,7 @@ body {
|
||||
position: relative;
|
||||
top: -13px;
|
||||
left: -5px;
|
||||
margin-top: -3px;
|
||||
margin-bottom: -13px;
|
||||
}
|
||||
|
||||
@@ -331,8 +349,7 @@ span.zoom_tool {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.dropdown button {
|
||||
background: transparent 3px 8px url('images/dropdown.gif') no-repeat;
|
||||
#svg_editor .dropdown button {
|
||||
width: 15px;
|
||||
height: 21px;
|
||||
margin: 6px 0 0 1px;
|
||||
@@ -422,13 +439,37 @@ span.zoom_tool {
|
||||
}
|
||||
|
||||
#svg_editor .tool_sep {
|
||||
width: 2px;
|
||||
width: 1px;
|
||||
background: #888;
|
||||
border-left: 1px outset #EEE;
|
||||
margin: 2px 3px;
|
||||
padding: 0;
|
||||
height: 24px;
|
||||
margin: 2px;
|
||||
margin-right: 0;
|
||||
padding: 2px;
|
||||
|
||||
}
|
||||
|
||||
#tool_bold, #tool_italic {
|
||||
font: bold 2.1em/1.1em serif;
|
||||
text-align: center;
|
||||
padding-left: 2px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#tool_bold span, #tool_italic span {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0; left: 0;
|
||||
background: #000;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#tool_italic {
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
||||
#svg_editor #color_picker {
|
||||
position: absolute;
|
||||
display: none;
|
||||
@@ -449,22 +490,6 @@ span.zoom_tool {
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
#svg_editor #tool_square { background: 2px 2px url('images/square.png') no-repeat; }
|
||||
#svg_editor #tool_rect { background: 2px 2px url('images/rect.png') no-repeat; }
|
||||
#svg_editor #tool_fhrect { background: 2px 2px url('images/freehand-square.png') no-repeat; }
|
||||
#svg_editor #tool_circle { background: 2px 2px url('images/circle.png') no-repeat; }
|
||||
#svg_editor #tool_ellipse { background: 2px 2px url('images/ellipse.png') no-repeat; }
|
||||
#svg_editor #tool_fhellipse { background: 2px 2px url('images/freehand-circle.png') no-repeat; }
|
||||
#svg_editor #tool_stacktop { background: 2px 2px url('images/move_top.png') no-repeat; }
|
||||
#svg_editor #tool_stackbottom { background: 2px 2px url('images/move_bottom.png') no-repeat; }
|
||||
#svg_editor #tool_aligntop { background: 2px 2px url('images/align-top.png') no-repeat; }
|
||||
#svg_editor #tool_alignmiddle { background: 2px 2px url('images/align-middle.png') no-repeat; }
|
||||
#svg_editor #tool_alignbottom { background: 2px 2px url('images/align-bottom.png') no-repeat; }
|
||||
#svg_editor #tool_alignleft { background: 2px 2px url('images/align-left.png') no-repeat; }
|
||||
#svg_editor #tool_aligncenter { background: 2px 2px url('images/align-center.png') no-repeat; }
|
||||
#svg_editor #tool_alignright { background: 2px 2px url('images/align-right.png') no-repeat; }
|
||||
#svg_editor .tool_sep { background: 2px 2px url('images/sep.png') no-repeat; }
|
||||
|
||||
/* TODO: figure out what more-specific selector causes me to write this atrocity and not
|
||||
simply .tool_flyout_button */
|
||||
#svg_editor #tools_rect .tool_flyout_button, #svg_editor #tools_ellipse .tool_flyout_button {
|
||||
@@ -635,21 +660,25 @@ span.zoom_tool {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
#tool_source_save, #tool_docprops_save {
|
||||
background: #E8E8E8 url(images/save.png) no-repeat 2px 0;
|
||||
button#tool_source_save,
|
||||
button#tool_source_cancel,
|
||||
button#tool_docprops_save,
|
||||
button#tool_docprops_cancel {
|
||||
border:1px solid #dedede;
|
||||
line-height:130%;
|
||||
background: #E8E8E8 none;
|
||||
padding:5px 10px 5px 7px; /* Firefox */
|
||||
line-height:17px; /* Safari */
|
||||
}
|
||||
|
||||
#tool_source_cancel, #tool_docprops_cancel {
|
||||
background: #E8E8E8 url(images/cancel.png) no-repeat 2px 0;
|
||||
.toolbar_button button .svg_icon {
|
||||
margin:0 3px -3px 0 !important;
|
||||
padding:0;
|
||||
border:none;
|
||||
width:16px;
|
||||
height:16px;
|
||||
}
|
||||
|
||||
#tool_source_save, #tool_docprops_save {
|
||||
background: #E8E8E8 url(images/save.png) no-repeat 2px 0;
|
||||
}
|
||||
|
||||
#tool_source_cancel, #tool_docprops_cancel {
|
||||
background: #E8E8E8 url(images/cancel.png) no-repeat 2px 0;
|
||||
}
|
||||
|
||||
/* Slider
|
||||
----------------------------------*/
|
||||
@@ -676,4 +705,12 @@ span.zoom_tool {
|
||||
.ui-slider-handle {
|
||||
background: #B0B0B0;
|
||||
border: 1px solid #000;
|
||||
}
|
||||
}
|
||||
|
||||
/* Possibly not necessary */
|
||||
#svg_editor #tools_rect .tool_flyout_button,
|
||||
#svg_editor #tools_ellipse .tool_flyout_button {
|
||||
padding: 2px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user