647 lines
12 KiB
CSS
647 lines
12 KiB
CSS
body {
|
|
background: #E8E8E8;
|
|
}
|
|
|
|
#svg_editor {
|
|
font-size: 8pt;
|
|
font-family: Verdana, Helvetica, Arial;
|
|
color: #000000;
|
|
}
|
|
|
|
#svg_editor a {
|
|
color: #0000FF;
|
|
}
|
|
|
|
#svg_editor hr {
|
|
border: none;
|
|
border-bottom: 1px solid #808080;
|
|
}
|
|
|
|
#svg_editor select {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
#svg_editor #svgroot {
|
|
-moz-user-select: none;
|
|
}
|
|
|
|
#svg_editor #svgcanvas {
|
|
background-color: #FFFFFF;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
width: 640px;
|
|
height: 480px;
|
|
-apple-dashboard-region:dashboard-region(control rectangle 0px 0px 0px 0px); /* for widget regions that shouldn't react to dragging */
|
|
position: relative;
|
|
}
|
|
|
|
#svg_editor div#palette_holder {
|
|
overflow-x: scroll;
|
|
overflow-y: hidden;
|
|
height: 31px;
|
|
border: 1px solid #808080;
|
|
border-top: none;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
#svg_editor #fill_color, #svg_editor #stroke_color {
|
|
height: 16px;
|
|
width: 16px;
|
|
border: 1px solid #808080;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#svg_editor div#palette {
|
|
float: left;
|
|
width: 6848px;
|
|
height: 16px;
|
|
}
|
|
|
|
#svg_editor div#workarea {
|
|
display: inline-block;
|
|
position:absolute;
|
|
top: 75px;
|
|
left: 40px;
|
|
bottom: 60px;
|
|
right: 14px;
|
|
background-color: #A0A0A0;
|
|
border: 1px solid #808080;
|
|
overflow: auto;
|
|
}
|
|
|
|
#svg_editor #sidepanels {
|
|
display: inline-block;
|
|
position:absolute;
|
|
top: 75px;
|
|
bottom: 60px;
|
|
right: 0px;
|
|
width: 2px;
|
|
padding: 10px;
|
|
border-color: #808080;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
border-left: none;
|
|
}
|
|
|
|
#svg_editor #layerpanel {
|
|
display: inline-block;
|
|
background-color: #E8E8E8;
|
|
position:absolute;
|
|
top: 1px;
|
|
bottom: 0px;
|
|
right: 0px;
|
|
width: 0px;
|
|
overflow: hidden;
|
|
margin: 0px;
|
|
}
|
|
|
|
/*
|
|
border-style: solid;
|
|
border-color: #666;
|
|
border-width: 0px 0px 0px 1px;
|
|
*/
|
|
#svg_editor #sidepanel_handle {
|
|
display: inline-block;
|
|
position: absolute;
|
|
background-color: #E8E8E8;
|
|
left: 0px;
|
|
top: 40%;
|
|
width: 1em;
|
|
padding: 5px 1px 5px 5px;
|
|
margin-left: 3px;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
-moz-border-radius: 5px;
|
|
-webkit-border-radius: 5px;
|
|
-moz-user-select: none;
|
|
}
|
|
|
|
#svg_editor #sidepanel_handle:hover {
|
|
font-weight: bold;
|
|
}
|
|
|
|
#svg_editor #sidepanel_handle * {
|
|
cursor: pointer;
|
|
-moz-user-select: none;
|
|
}
|
|
#svg_editor #layerbuttons {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
padding-left: 2px;
|
|
padding-right: 2px;
|
|
width: 106px;
|
|
height: 20px;
|
|
border-right: 1px solid #FFFFFF;
|
|
border-bottom: 1px solid #FFFFFF;
|
|
border-left: 1px solid #808080;
|
|
border-top: 1px solid #808080;
|
|
}
|
|
|
|
#svg_editor .layer_button {
|
|
width: 14px;
|
|
height: 14px;
|
|
padding: 1px;
|
|
border-left: 1px solid #FFFFFF;
|
|
border-top: 1px solid #FFFFFF;
|
|
border-right: 1px solid #808080;
|
|
border-bottom: 1px solid #808080;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#svg_editor .layer_buttonpressed {
|
|
width: 14px;
|
|
height: 14px;
|
|
padding: 1px;
|
|
border-right: 1px solid #FFFFFF;
|
|
border-bottom: 1px solid #FFFFFF;
|
|
border-left: 1px solid #808080;
|
|
border-top: 1px solid #808080;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#svg_editor #layerlist {
|
|
margin: 1px;
|
|
padding: 0px;
|
|
width: 110px;
|
|
border-collapse: collapse;
|
|
border: 1px solid #808080;
|
|
background-color: #FFFFFF;
|
|
}
|
|
|
|
#svg_editor #layerlist tr.layer {
|
|
background-color: #FFFFFF;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
}
|
|
#svg_editor #layerlist tr.layersel {
|
|
border: 1px solid #808080;
|
|
background-color: #CCCCCC;
|
|
}
|
|
|
|
#svg_editor #layerlist td.layervis {
|
|
background-image: url('images/eye.png');
|
|
background-repeat: no-repeat;
|
|
background-position: 3px center;
|
|
width: 22px;
|
|
cursor:pointer;
|
|
}
|
|
#svg_editor #layerlist td.layerinvis {
|
|
background-image: none;
|
|
cursor:pointer;
|
|
}
|
|
|
|
#svg_editor #layerlist td.layername {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#svg_editor #layerlist tr.layersel td.layername {
|
|
font-weight: bold;
|
|
}
|
|
|
|
#svg_editor #selLayerLabel {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#svg_editor #selLayerNames {
|
|
display: block;
|
|
}
|
|
|
|
#svg_editor div.palette_item {
|
|
height: 16px;
|
|
width: 16px;
|
|
float: left;
|
|
}
|
|
|
|
#svg_editor #logo {
|
|
position: absolute;
|
|
top: 4px;
|
|
left: 4px;
|
|
padding: 0px;
|
|
}
|
|
|
|
#svg_editor #logo a img {
|
|
border: 0;
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
#svg_editor #tools_top {
|
|
position: absolute;
|
|
left: 38px;
|
|
right: 2px;
|
|
top: 2px;
|
|
height: 75px;
|
|
border-bottom: none;
|
|
}
|
|
|
|
#svg_editor #tools_top > div {
|
|
float: left;
|
|
}
|
|
|
|
#svg_editor #tools_left {
|
|
position: absolute;
|
|
border-right: none;
|
|
width: 36px;
|
|
top: 75px;
|
|
left: 2px;
|
|
}
|
|
|
|
/* TODO: fix this */
|
|
div.color_block {
|
|
background-image: url('images/none.png');
|
|
display: inline-block;
|
|
}
|
|
|
|
#svg_editor #selected_panel,
|
|
#svg_editor #multiselected_panel,
|
|
#svg_editor #g_panel,
|
|
#svg_editor #rect_panel,
|
|
#svg_editor #circle_panel,
|
|
#svg_editor #ellipse_panel,
|
|
#svg_editor #line_panel,
|
|
#svg_editor #image_panel,
|
|
#svg_editor #text_panel,
|
|
#svg_editor #path_node_panel {
|
|
display: none;
|
|
}
|
|
|
|
#svg_editor #selected_panel .selected_tool {
|
|
vertical-align: 12px;
|
|
}
|
|
|
|
#svg_editor #multiselected_panel .selected_tool {
|
|
vertical-align: 12px;
|
|
}
|
|
|
|
#svg_editor #tools_top > div, #tools_top {
|
|
float: left;
|
|
line-height: 26px;
|
|
}
|
|
|
|
#tools_top > div > * {
|
|
float: left;
|
|
margin-right: 2px;
|
|
}
|
|
|
|
#tools_top label {
|
|
margin-top: 3px;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
#tools_top input {
|
|
margin-top: 5px;
|
|
height: 15px;
|
|
}
|
|
|
|
#svg_editor .flyout_arrow_horiz {
|
|
float: right;
|
|
position: relative;
|
|
top: -13px;
|
|
left: -5px;
|
|
margin-bottom: -13px;
|
|
}
|
|
|
|
.magic_field > * {
|
|
float: left;
|
|
}
|
|
|
|
span.zoom_tool {
|
|
line-height: 26px;
|
|
padding: 3px;
|
|
}
|
|
|
|
.magic_field input {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.dropdown {
|
|
position: relative;
|
|
}
|
|
|
|
.dropdown button {
|
|
background: transparent 3px 8px url('images/dropdown.gif') no-repeat;
|
|
width: 15px;
|
|
height: 21px;
|
|
margin: 6px 0 0 1px;
|
|
padding: 0;
|
|
border-left: 1px solid #FFFFFF;
|
|
border-top: 1px solid #FFFFFF;
|
|
border-right: 1px solid #808080;
|
|
border-bottom: 1px solid #808080;
|
|
}
|
|
|
|
.dropdown button.down {
|
|
border-left: 1px solid #808080;
|
|
border-top: 1px solid #808080;
|
|
border-right: 1px solid #FFFFFF;
|
|
border-bottom: 1px solid #FFFFFF;
|
|
background-color: #B0B0B0;
|
|
}
|
|
|
|
.dropdown ul {
|
|
list-style: none;
|
|
position: absolute;
|
|
margin: 0;
|
|
padding: 0;
|
|
left: -93px;
|
|
top: 26px;
|
|
display: none;
|
|
}
|
|
|
|
.dropup ul {
|
|
top: auto;
|
|
bottom: 26px;
|
|
}
|
|
|
|
.dropdown li {
|
|
display: block;
|
|
width: 120px;
|
|
padding: 4px;
|
|
background: #E8E8E8;
|
|
border: 1px solid #B0B0B0;
|
|
margin: 0 0 -1px 0;
|
|
line-height: 16px;
|
|
}
|
|
|
|
.dropdown li:hover {
|
|
background-color: #B0B0B0;
|
|
}
|
|
|
|
.dropdown li.special {
|
|
padding: 10px 4px;
|
|
}
|
|
|
|
.dropdown li.special:hover {
|
|
background: #E8E8E8;
|
|
}
|
|
|
|
#opacity_dropdown li {
|
|
width: 140px;
|
|
}
|
|
|
|
#svg_editor .tool_button,
|
|
#svg_editor .push_button,
|
|
#svg_editor .tool_button_current,
|
|
#svg_editor .tool_button_disabled {
|
|
height: 24px;
|
|
width: 24px;
|
|
margin: 2px;
|
|
padding: 2px;
|
|
border-left: 1px solid #FFFFFF;
|
|
border-top: 1px solid #FFFFFF;
|
|
border-right: 1px solid #808080;
|
|
border-bottom: 1px solid #808080;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#svg_editor .tool_button_current,
|
|
#svg_editor .push_button_pressed {
|
|
border-left: 1px solid #808080;
|
|
border-top: 1px solid #808080;
|
|
border-right: 1px solid #FFFFFF;
|
|
border-bottom: 1px solid #FFFFFF;
|
|
background-color: #B0B0B0;
|
|
}
|
|
|
|
#svg_editor .tool_button_disabled {
|
|
opacity: 0.5;
|
|
cursor: default;
|
|
}
|
|
|
|
#svg_editor .tool_sep {
|
|
width: 2px;
|
|
height: 24px;
|
|
margin: 2px;
|
|
margin-right: 0;
|
|
padding: 2px;
|
|
}
|
|
|
|
#svg_editor #color_picker {
|
|
position: absolute;
|
|
display: none;
|
|
background: #E8E8E8;
|
|
height: 350px;
|
|
}
|
|
|
|
#svg_editor .tools_flyout {
|
|
position: absolute;
|
|
display: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#svg_editor .tools_flyout_v {
|
|
position: absolute;
|
|
display: none;
|
|
cursor: pointer;
|
|
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 {
|
|
float: left;
|
|
background-color: #E8E8E8;
|
|
border-left: 1px solid #FFFFFF;
|
|
border-top: 1px solid #FFFFFF;
|
|
border-right: 1px solid #808080;
|
|
border-bottom: 1px solid #808080;
|
|
height: 28px;
|
|
width: 28px;
|
|
}
|
|
|
|
#svg_editor .tool_button:hover,
|
|
#svg_editor .push_button:hover {
|
|
background-color: #FFF;
|
|
}
|
|
|
|
#svg_editor #tools_rect .tool_flyout_button_current, #svg_editor #tools_ellipse .tool_flyout_button_current {
|
|
border-left: 1px solid #808080;
|
|
border-top: 1px solid #808080;
|
|
border-right: 1px solid #FFFFFF;
|
|
border-bottom: 1px solid #FFFFFF;
|
|
background-color: #B0B0B0;
|
|
}
|
|
|
|
#svg_editor #tools_bottom {
|
|
position: absolute;
|
|
left: 40px;
|
|
right: 2px;
|
|
bottom: 2px;
|
|
height: 60px;
|
|
}
|
|
|
|
#svg_editor #tools_bottom_1 {
|
|
width: 115px;
|
|
float: left;
|
|
}
|
|
|
|
#svg_editor #tools_bottom_2 {
|
|
width: 250px;
|
|
float: left;
|
|
}
|
|
|
|
#svg_editor #tools_bottom_3 {
|
|
}
|
|
|
|
#svg_editor #copyright {
|
|
text-align: right;
|
|
}
|
|
|
|
#svg_source_editor {
|
|
display: none;
|
|
}
|
|
|
|
#svg_source_editor #svg_source_overlay {
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 0px;
|
|
left: 0px;
|
|
bottom: 0px;
|
|
background-color: black;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
#svg_source_editor #svg_source_container {
|
|
position: absolute;
|
|
top: 30px;
|
|
left: 30px;
|
|
right: 30px;
|
|
bottom: 30px;
|
|
background-color: #B0B0B0;
|
|
opacity: 1.0;
|
|
text-align: center;
|
|
}
|
|
|
|
/*
|
|
top: 100px;
|
|
left: 80px;
|
|
right: 80px;
|
|
bottom: 100px;
|
|
*/
|
|
|
|
#svg_docprops #svg_docprops_container {
|
|
position: absolute;
|
|
top: 50px;
|
|
padding: 10px;
|
|
background-color: #B0B0B0;
|
|
opacity: 1.0;
|
|
}
|
|
|
|
#svg_docprops_container fieldset {
|
|
padding: 5px;
|
|
margin: 5px;
|
|
}
|
|
|
|
#svg_docprops_container label {
|
|
display: block;
|
|
margin-bottom: .2em;
|
|
}
|
|
|
|
#canvas_title {
|
|
display: block;
|
|
}
|
|
|
|
#svg_source_editor #svg_source_textarea {
|
|
position: relative;
|
|
width: 95%;
|
|
top: 5px;
|
|
height: 250px;
|
|
padding: 5px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
#svg_source_editor #tool_source_back {
|
|
text-align: left;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
#svg_docprops_container #tool_docprops_back div {
|
|
text-align: left;
|
|
padding: 20px;
|
|
}
|
|
|
|
#svg_source_editor button, #svg_docprops button {
|
|
padding: 5px 5px 7px 28px;
|
|
margin: 5px 20px 0 0;
|
|
}
|
|
|
|
#svg_docprops button {
|
|
margin-top: 0;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#svg_docprops {
|
|
display: none;
|
|
}
|
|
|
|
#svg_docprops #svg_docprops_overlay {
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 0px;
|
|
left: 0px;
|
|
bottom: 0px;
|
|
background-color: black;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
#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;
|
|
}
|
|
olor: black;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
#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
|
|
----------------------------------*/
|
|
.ui-slider { position: relative; text-align: left; }
|
|
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
|
|
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; }
|
|
|
|
.ui-slider-horizontal { height: .8em; }
|
|
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
|
|
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
|
|
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
|
|
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
|
|
|
|
.ui-slider-vertical { width: .8em; height: 100px; }
|
|
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
|
|
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
|
|
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
|
|
.ui-slider-vertical .ui-slider-range-max { top: 0; }
|
|
|
|
.ui-slider {
|
|
border: 1px solid #B0B0B0;
|
|
}
|
|
|
|
.ui-slider-handle {
|
|
background: #B0B0B0;
|
|
border: 1px solid #000;
|
|
} |