123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419 |
- body {
- background: #D0D0D0;
- }
- html, body, div{
- -webkit-user-select: text;
- -khtml-user-select: text;
- -moz-user-select: text;
- -o-user-select: text;
- user-select: text;
- /* this will work for QtWebKit in future */
- -webkit-user-drag: text;
- }
- #browser-not-supported {
- font-size: 0.8em;
- font-family: Verdana, Helvetica, Arial;
- color: #000000;
- }
- #svg_editor * {
- transform-origin: 0 0;
- -moz-transform-origin: 0 0;
- -o-transform-origin: 0 0;
- -webkit-transform-origin: 0 0;
- }
- #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;
- -webkit-user-select: none;
- position: absolute;
- top: 0;
- left: 0;
- }
- #svg_editor #svgcanvas {
- line-height: normal;
- display: inline-block;
- background-color: #A0A0A0;
- 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;
- /*
- A subtle gradient effect in the canvas.
- Just experimenting - not sure if this is worth it.
- */
- background: -moz-radial-gradient(45deg,#bbb,#222);
- background: -webkit-gradient(radial, center center, 3, center center, 1000, from(#bbb), to(#222));
- }
- #rulers > div {
- position: absolute;
- background: #DDD;
- z-index: 1;
- overflow: hidden;
- }
- #ruler_corner {
- top: 76px;
- left: 41px;
- width: 15px;
- height: 15px;
- }
- #ruler_x {
- height: 15px;
- top: 76px;
- left: 56px;
- right: 30px;
- border-bottom: 1px solid;
- border-left: 1px solid #777;
- }
- #rulers.moved #ruler_corner,
- #rulers.moved #ruler_x {
- top: 101px;
- }
- #ruler_y {
- width: 15px;
- top: 91px;
- left: 41px;
- bottom: 78px;
- border-right: 1px solid;
- border-top: 1px solid #777;
- }
- #rulers.moved #ruler_y {
- top: 116px;
- }
- #ruler_x canvas:first-child {
- margin-left: -16px;
- }
- #ruler_x canvas {
- float: left;
- }
- #ruler_y canvas {
- margin-top: -16px;
- }
- #ruler_x > div,
- #ruler_y > div {
- overflow: hidden;
- }
- #svg_editor div#palette_holder {
- overflow-x: scroll;
- overflow-y: hidden;
- height: 31px;
- border: 1px solid #808080;
- border-top: none;
- margin-top: 2px;
- margin-left: 4px;
- position: relative;
- z-index: 2;
- }
- #svg_editor #stroke_bg,
- #svg_editor #fill_bg {
- height: 16px;
- width: 16px;
- margin: 1px;
- }
- #svg_editor #fill_color, #svg_editor #stroke_color {
- height: 16px;
- width: 16px;
- border: 1px solid #808080;
- cursor: pointer;
- margin-top: -18px;
- margin-left: 1px;
- }
- #tool_stroke select {
- margin-top: 0;
- }
- #svg_editor #color_tools .icon_label {
- padding: 3px 19%;
- width: 28px;
- height: 100%;
- cursor: pointer;
-
- }
- #svg_editor #group_opacityLabel,
- #svg_editor #zoomLabel {
- cursor: pointer;
- margin-right: 5px;
- padding-top: 4px
- }
- #svg_editor #linkLabel > svg {
- height: 20px;
- padding-top: 4px;
- }
- #color_tools .icon_label > * {
- position: relative;
- top: 1px;
- }
- #svg_editor div#palette {
- float: left;
- width: 672px;
- height: 16px;
- }
- #svg_editor div#workarea {
- display: inline-table-cell;
- position:absolute;
- top: 75px;
- left: 40px;
- bottom: 62px;
- right: 14px;
- background-color: #A0A0A0;
- border: 1px solid #808080;
- overflow: auto;
- text-align: center;
- }
- #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;
- position:absolute;
- top: 1px;
- bottom: 0px;
- right: 0px;
- width: 0px;
- overflow: auto;
- margin: 0px;
- -moz-user-select: none;
- -webkit-user-select: none;
- }
- /*
- border-style: solid;
- border-color: #666;
- border-width: 0px 0px 0px 1px;
- */
- #svg_editor #sidepanel_handle {
- display: inline-block;
- position: absolute;
- background-color: #D0D0D0;
- font-weight: bold;
- 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;
- -webkit-user-select: none;
- }
- #svg_editor #sidepanel_handle:hover {
- font-weight: bold;
- }
- #svg_editor #sidepanel_handle * {
- cursor: pointer;
- -moz-user-select: none;
- -webkit-user-select: none;
- }
- #svg_editor #layerbuttons {
- margin: 0px;
- padding: 0px;
- padding-left: 2px;
- padding-right: 2px;
- width: 125px;
- height: 20px;
- border-right: 1px solid #FFFFFF;
- border-bottom: 1px solid #FFFFFF;
- border-left: 1px solid #808080;
- border-top: 1px solid #808080;
- overflow: hidden;
- }
- #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;
- float: left;
- margin-right: 3px;
- }
- #svg_editor .layer_button:last-child {
- margin-right: 0;
- }
- #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: 127px;
- 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 {
- width: 22px;
- cursor:pointer;
- }
- #svg_editor #layerlist td.layerinvis {
- background-image: none;
- cursor:pointer;
- }
- #svg_editor #layerlist td.layervis * {
- display: block;
- }
- #svg_editor #layerlist td.layerinvis * {
- display: none;
- }
- #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 #main_button {
- position: absolute;
- top: 4px;
- left: 4px;
- z-index: 5;
- }
- #svg_editor #main_icon {
- background: #E8E8E8;
- position: relative;
- top: -2px;
- left: -2px;
- padding: 1px 0 2px 1px;
- width: 44px;
- height: 30px;
- border-left: 1px solid #FFF;
- border-top: 1px solid #FFF;
- border-right: 1px solid #808080;
- border-bottom: 1px solid #808080;
- border-radius: 8px;
- -moz-border-radius: 8px;
- -webkit-border-radius: 8px;
- }
- #svg_editor .tool_button:hover,
- #svg_editor .push_button:hover,
- #svg_editor .buttonup:hover,
- #svg_editor .buttondown,
- #svg_editor .tool_button_current,
- #svg_editor .push_button_pressed
- {
- border-left: 1px #fcd9ba solid !important;
- border-top: 1px #fcd9ba solid !important;
- border-right: 1px #e0a874 solid !important;
- border-bottom: 1px #e0a874 solid !important;
- background-color: #FFC !important;
- }
- #svg_editor .tool_button_current,
- #svg_editor .push_button_pressed,
- #svg_editor .buttondown {
- background-color: #f4e284 !important;
- border-top: 1px solid #630 !important;
- border-left: 1px solid #630 !important;
- }
- #svg_editor #main_icon span {
- position: absolute;
- width: 100%;
- height: 100%;
- display: block;
- z-index: 2;
- }
- #svg_editor #main_menu {
- z-index: 12;
- background: #E8E8E8;
- position: relative;
- width: 230px;
- padding: 5px;
- -moz-box-shadow: #555 1px 1px 4px;
- -webkit-box-shadow: #555 1px 1px 4px;
- font-size: 1.1em;
- display: none;
- overflow: hidden;
- border: 1px outset gray;
- clear: both;
- }
- #svg_editor #main_menu ul,
- #svg_editor #main_menu li {
- list-style: none;
- margin: 0;
- padding: 0;
- }
- #svg_editor #main_menu li {
- /* height: 35px;*/
- line-height: 22px;
- padding-top: 7px;
- padding-left: 7px;
- margin: -5px;
- overflow: auto;
- cursor: default;
- }
- #svg_editor #main_menu li:hover {
- background: #FFC;
- }
- #svg_editor #main_menu li > div {
- float: left;
- padding-right: 5px;
- }
- #svg_editor #main_menu p {
- margin-top: 5px;
- }
- #svg_editor #logo img {
- border: 0;
- width: 32px;
- height: 32px;
- }
- #main_icon > div {
- float: left;
- }
- #svg_editor #main_button .dropdown {
- padding-top: 28%;
- margin-left: -1px;
- }
- #svg_editor #tools_top {
- position: absolute;
- left: 50px;
- right: 2px;
- top: 2px;
- height: 72px;
- border-bottom: none;
- overflow: auto;
- }
- #svg_editor #tools_left {
- position: absolute;
- border-right: none;
- width: 32px;
- top: 75px;
- left: 0;
- padding-left: 2px;
- background: #D0D0D0; /* Needed so flyout icons don't appear on the left */
- z-index: 4;
- }
- #workarea.wireframe #svgcontent * {
- fill: none;
- stroke: #000;
- stroke-width: 1px;
- stroke-opacity: 1.0;
- stroke-dasharray: 0;
- opacity: 1;
- pointer-events: stroke;
- vector-effect: non-scaling-stroke;
- filter: none;
- }
- #workarea.wireframe #svgcontent text {
- fill: #000;
- stroke: none;
- }
- #workarea.wireframe #canvasBackground > rect {
- fill: #FFF !important;
- }
- #tools_top div[id$="_panel"]:not(#editor_panel):not(#history_panel) {
- display: none;
- }
- #svg_editor #multiselected_panel .selected_tool {
- vertical-align: 12px;
- }
- #cur_context_panel {
- position: absolute;
- top: 77px;
- left: 40px;
- right: 0;
- line-height: 22px;
- overflow: auto;
- border: 1px solid #777;
- border-bottom: none;
- border-right: none;
- padding-left: 5px;
- font-size: 12px;
- }
- #svg_editor #cur_context_panel a {
- float: none;
- text-decoration: none;
- }
- #svg_editor #cur_context_panel a:hover {
- text-decoration: underline;
- }
- #svg_editor #tools_top > div, #tools_top {
- line-height: 26px;
- }
- #svg_editor div.toolset,
- #svg_editor div.toolset > * {
- float: left;
- }
- #svg_editor div.toolset {
- height: 34px;
- }
- #svg_editor div.toolset label span {
- /* outline: 1px solid red;*/
- padding-top: 3px;
- display: inline-block;
- }
- #tools_top > div > * {
- float: left;
- margin-right: 2px;
- }
- #tools_top label {
- margin-top: 0;
- margin-left: 5px;
- }
- #tools_top input {
- margin-top: 5px;
- height: 15px;
- }
- #svg_editor #tools_left .tool_button,
- #svg_editor #tools_left .tool_button_current {
- position: relative;
- z-index: 11;
- }
- #svg_editor .flyout_arrow_horiz {
- position: absolute;
- bottom: -1px;
- right: 0;
- z-index: 10;
- }
- span.zoom_tool {
- line-height: 26px;
- padding: 3px;
- }
- #zoom_panel {
- margin-top: 5px;
- }
- .dropdown {
- position: relative;
- }
- #svg_editor .dropdown button {
- 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;
- background-color: #E8E8E8;
- }
- .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: -80px;
- top: 26px;
- z-index: 4;
- 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: #FFC;
- }
- .dropdown li.special {
- padding: 10px 4px;
- }
- .dropdown li.special:hover {
- background: #FFC;
- }
- #font_family_dropdown-list li {
- font-size: 1.4em;
- }
- #font_family {
- margin-left: 5px;
- margin-right: 0;
- }
- #svg_editor .tool_button,
- #svg_editor .push_button,
- #svg_editor .tool_button_current,
- #svg_editor .push_button_pressed
- {
- height: 24px;
- width: 24px;
- margin: 2px;
- padding: 2px;
- border-left: 1px solid #FFF;
- border-top: 1px solid #FFF;
- border-right: 1px solid #808080;
- border-bottom: 1px solid #808080;
- background-color: #E8E8E8;
- cursor: pointer;
- border-radius: 5px;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- }
- #svg_editor #main_menu li#tool_open, #svg_editor #main_menu li#tool_import {
- position: relative;
- overflow: hidden;
- }
- #tool_image {
- overflow: hidden;
- }
- #tool_open input,
- #tool_import input,
- #tool_image input {
- position: absolute;
- opacity: 0;
- font-size: 10em;
- top: -5px;
- right: -5px;
- margin: 0;
- cursor: pointer; /* Sadly doesn't appear to have an effect */
- }
- #svg_editor .disabled {
- opacity: 0.5;
- cursor: default;
- }
- #svg_editor .tool_sep {
- width: 1px;
- background: #888;
- border-left: 1px outset #EEE;
- margin: 2px 3px;
- padding: 0;
- height: 24px;
- }
- #svg_editor .icon_label {
- float: left;
- padding-top: 3px;
- padding-right: 3px;
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- height: 0;
- }
- #svg_editor .width_label {
- padding-right: 5px;
- }
- #tool_bold, #tool_italic {
- font: bold 2.1em/1.1em serif;
- text-align: center;
- padding-left: 2px;
- position: relative;
- }
- #text {
- position: absolute;
- left: -9999px;
- }
- #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;
- }
- #url_notice {
- padding-top: 4px;
- display: none;
- }
- #svg_editor #color_picker {
- position: absolute;
- display: none;
- background: #E8E8E8;
- height: 350px;
- z-index: 5;
- }
- #svg_editor .tools_flyout {
- position: absolute;
- display: none;
- cursor: pointer;
- width: 400px;
- z-index: 1;
- }
- #svg_editor .tools_flyout_v {
- position: absolute;
- display: none;
- cursor: pointer;
- width: 30px;
- }
- #svg_editor .tools_flyout .tool_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 #tools_bottom {
- position: absolute;
- left: 40px;
- right: 0;
- bottom: 0;
- height: 64px;
- overflow: visible;
- }
- #svg_editor #tools_bottom_1 {
- width: 115px;
- float: left;
- }
- #svg_editor #tools_bottom_2 {
- width: 165px;
- position: relative;
- float: left;
- }
- #tools_bottom input[type=text] {
- width: 2.2em;
- }
- #svg_editor #color_tools {
- display: table;
- margin-top: 1px;
- border-spacing: 0 3px;
- clip: rect(0,0,10px,0);
- }
- .color_tool {
- display: table-row;
- overflow: hidden;
- height: 26px;
- padding: 0 4px;
- }
- .color_tool > * {
- display: table-cell;
- background: #f0f0f0;
- padding: 0 5px 0 0;
- vertical-align: middle;
- /* height: 25px;*/
- }
- #toggle_stroke_tools {
- letter-spacing: -.2em;
- padding-right: 8px;
- }
- #toggle_stroke_tools:hover {
- cursor: pointer;
- background: #FFC;
- }
- .stroke_tool {
- display: none;
- white-space: nowrap;
- }
- #svg_editor .stroke_tool button {
- margin-top: 3px;
- background: #F0F0F0;
- }
- #svg_editor .stroke_tool div div {
- -moz-user-select: none;
- -webkit-user-select: none;
- width: 20px;
- height: 20px;
- margin: 1px 0;
- padding: 1px;
- border: 1px solid #DDD;
- }
- #svg_editor .stroke_tool:hover div > * {
- background-color: #FFC;
- }
- #svg_editor .stroke_tool.down div div,
- #svg_editor .stroke_tool.down button,
- #tools_top .dropdown.down > * {
- border: 1px inset gray;
- background: #F4E284;
- }
- .stroke_tool > div {
- width: 42px;
- }
- .stroke_tool > div > * {
- float: left;
- }
- #tools_top .dropdown .icon_label {
- border: 1px solid transparent;
- /* margin-top: 3px;*/
- height: auto;
- }
- #option_lists ul {
- display: none;
- position: absolute;
- height: auto;
- z-index: 3;
- margin: 0;
- list-style: none;
- padding-left: 0;
- }
- #option_lists .optcols2 {
- width: 70px;
- margin-left: -15px;
- }
- #option_lists .optcols3 {
- width: 90px;
- margin-left: -31px;
- }
- #option_lists .optcols4 {
- width: 130px;
- margin-left: -44px;
- }
- #option_lists ul[class^=optcols] li {
- float: left;
- }
- #svg_editor ul li.current {
- background-color: #F4E284;
- }
- #svg_editor #option_lists ul li {
- margin: 0;
- border-radius: 0;
- -moz-border-radius: 0;
- -webkit-border-radius: 0;
- }
- .color_tool > *:first-child {
- -moz-border-radius-topleft: 4px;
- -moz-border-radius-bottomleft: 4px;
- -webkit-border-top-left-radius: 4px;
- -webkit-border-bottom-left-radius: 4px;
- padding-right: 0;
- }
- .color_tool > *:last-child {
- -moz-border-radius-topright: 4px;
- -moz-border-radius-bottomright: 4px;
- -webkit-border-top-right-radius: 4px;
- -webkit-border-bottom-right-radius: 4px;
- }
- #svg_editor #tool_opacity {
- position: absolute;
- top: 4px;
- right: 2px;
- background: #f0f0f0;
- height: 26px;
- border-radius: 4px;
- -moz-border-radius: 4px;
- -webkit-border-radius: 4px;
- padding: 0 3px;
- }
- #tools_bottom .dropdown button {
- margin-top: 2px;
- }
- #opacity_dropdown li {
- width: 140px;
- }
- #svg_editor #copyright {
- text-align: right;
- padding-right: .3em;
- }
- #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;
- z-index: 5;
- }
- #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;
- border: 1px outset #777;
- z-index: 6;
- }
- #save_output_btns {
- display: none;
- text-align: left;
- }
- #save_output_btns p {
- margin: .5em 1.5em;
- display: inline-block;
- }
- #bg_blocks {
- overflow: auto;
- margin-left: 30px;
- }
- #svg_docprops #svg_docprops_container,
- #svg_prefs #svg_prefs_container {
- position: absolute;
- top: 50px;
- padding: 10px;
- background-color: #B0B0B0;
- border: 1px outset #777;
- opacity: 1.0;
- /* width: 450px;*/
- font-family: Verdana, Helvetica, sans-serif;
- font-size: .8em;
- z-index: 20001;
- }
- #svg_docprops .error {
- border: 1px solid red;
- padding: 3px;
- }
- #svg_docprops #resolution {
- max-width: 14em;
- }
- #tool_docprops_back,
- #tool_prefs_back {
- margin-left: 1em;
- overflow: auto;
- }
- #svg_docprops_container #svg_docprops_docprops,
- #svg_prefs #svg_docprops_prefs {
- float: left;
- width: 221px;
- margin: 5px .7em;
- overflow: hidden;
- }
- #svg_prefs_container fieldset + fieldset {
- float: right;
- }
- #svg_docprops legend,
- #svg_prefs legend {
- max-width: 195px;
- }
- #svg_docprops_docprops > legend,
- #svg_prefs_container > fieldset > legend {
- font-weight: bold;
- font-size: 1.1em;
- }
- #svg_docprops_container fieldset,
- #svg_prefs fieldset {
- padding: 5px;
- margin: 5px;
- border: 1px solid #DDD;
- }
- #svg_docprops_container label,
- #svg_prefs_container label {
- display: block;
- margin: .5em;
- }
- #svginfo_bg_note {
- font-size: .9em;
- font-style: italic;
- color: #444;
- }
- #canvas_title, #canvas_bg_url {
- display: block;
- width: 96%;
- }
- #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_prefs_container div.color_block {
- float: left;
- margin: 2px;
- padding: 20px;
- }
- #change_background div.cur_background {
- border: 2px solid blue;
- padding: 18px;
- }
- #background_img {
- position: absolute;
- top: 0;
- left: 0;
- text-align: left;
- }
- #svg_docprops button,
- #svg_prefs button {
- margin-top: 0;
- margin-bottom: 5px;
- }
- #svg_docprops,
- #svg_prefs {
- display: none;
- }
- #image_save_opts label {
- font-size: .9em;
- }
- #image_save_opts input {
- 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;
- }
- .toolbar_button button {
- border:1px solid #dedede;
- line-height:130%;
- float: left;
- background: #E8E8E8 none;
- padding:5px 10px 5px 7px; /* Firefox */
- line-height:17px; /* Safari */
- margin: 5px 20px 0 0;
-
- border: 1px #808080 solid;
- border-top-color: #FFF;
- border-left-color: #FFF;
- border-radius: 5px;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- }
- .toolbar_button button:hover {
- border: 1px #e0a874 solid;
- border-top-color: #fcd9ba;
- border-left-color: #fcd9ba;
- background-color: #FFC;
- }
- .toolbar_button button:active {
- background-color: #F4E284;
- border-left: 1px solid #663300;
- border-top: 1px solid #663300;
- }
- .toolbar_button button .svg_icon {
- margin:0 3px -3px 0 !important;
- padding:0;
- border:none;
- width:16px;
- height:16px;
- }
- #dialog_box {
- 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;
- background: #DDD;
- overflow: auto;
- text-align: left;
- border: 1px solid #B0B0B0;
- }
- #dialog_content.prompt {
- height: 75px;
- }
- #dialog_content p {
- margin: 10px;
- line-height: 1.3em;
- }
- #dialog_container {
- position: absolute;
- font-family: Verdana;
- text-align: center;
- left: 50%;
- top: 50%;
- width: 300px;
- margin-left: -150px;
- height: 150px;
- margin-top: -80px;
- position:fixed;
- z-index:50001;
- background: #CCC;
- border: 1px outset #777;
- font-family:Verdana,Helvetica,sans-serif;
- font-size:0.8em;
- }
- #dialog_container, #dialog_content {
- border-radius: 5px;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- }
- #dialog_buttons input[type=text] {
- width: 90%;
- display: block;
- margin: 0 0 5px 11px;
- }
- #dialog_buttons input[type=button] {
- margin: 0 1em;
- }
- /* 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;
- }
- /* Necessary to keep the flyouts sized properly */
- #svg_editor .tools_flyout .tool_button,
- #svg_editor .tools_flyout .tool_flyout {
- padding: 2px;
- width: 24px;
- height: 24px;
- margin: 0;
- border-radius: 0px;
- -moz-border-radius: 0px;
- -webkit-border-radius: 0px;
- }
- /* Generic context menu styles */
- .contextMenu {
- position: absolute;
- z-index: 99999;
- border: solid 1px rgba(0,0,0,.33);
- background: rgba(255,255,255,.95);
- padding: 5px 0;
- margin: 0px;
- display: none;
- font: 12px/15px Lucida Sans, Helvetica, Verdana, sans-serif;
- border-radius: 5px;
- -moz-border-radius: 5px;
- -moz-box-shadow: 2px 5px 10px rgba(0,0,0,.3);
- -webkit-box-shadow: 2px 5px 10px rgba(0,0,0,.3);
- box-shadow: 2px 5px 10px rgba(0,0,0,.3);
- }
- .contextMenu LI {
- list-style: none;
- padding: 0px;
- margin: 0px;
- }
- .contextMenu .shortcut {
- width: 115px;
- text-align:right;
- float:right;
- }
- .contextMenu A {
- -moz-user-select: none;
- -webkit-user-select: none;
- color: #222;
- text-decoration: none;
- display: block;
- line-height: 20px;
- height: 20px;
- background-position: 6px center;
- background-repeat: no-repeat;
- outline: none;
- padding: 0px 15px 1px 20px;
- }
- .contextMenu LI.hover A {
- background-color: #2e5dea;
- color: white;
- cursor: default;
- }
- .contextMenu LI.disabled A {
- color: #999;
- }
- .contextMenu LI.hover.disabled A {
- background-color: transparent;
- }
- .contextMenu LI.separator {
- border-top: solid 1px #E3E3E3;
- padding-top: 5px;
- margin-top: 5px;
- }
- /*
- Adding Icons
-
- You can add icons to the context menu by adding
- classes to the respective LI element(s)
- */
- /*
- .contextMenu LI.edit A { background-image: url(images/page_white_edit.png); }
- .contextMenu LI.cut A { background-image: url(images/cut.png); }
- .contextMenu LI.copy A { background-image: url(images/page_white_copy.png); }
- .contextMenu LI.paste A { background-image: url(images/page_white_paste.png); }
- .contextMenu LI.delete A { background-image: url(images/page_white_delete.png); }
- .contextMenu LI.quit A { background-image: url(images/door.png); }
- */
|