diff --git a/move_bottom.svg b/move_bottom.svg new file mode 100644 index 00000000..944e9927 --- /dev/null +++ b/move_bottom.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/editor/components/index.js b/src/editor/components/index.js index 3946dd8c..34fa18b5 100644 --- a/src/editor/components/index.js +++ b/src/editor/components/index.js @@ -1 +1 @@ -import './ToolButton.js'; +import './seButton.js'; diff --git a/src/editor/components/ToolButton.js b/src/editor/components/seButton.js similarity index 97% rename from src/editor/components/ToolButton.js rename to src/editor/components/seButton.js index 52cbcea5..7f73214f 100644 --- a/src/editor/components/ToolButton.js +++ b/src/editor/components/seButton.js @@ -48,7 +48,7 @@ export class ToolButton extends HTMLElement { constructor () { super(); // create the shadowDom and insert the template - this._shadowRoot = this.attachShadow({mode: 'closed'}); + this._shadowRoot = this.attachShadow({mode: 'open'}); this._shadowRoot.appendChild(template.content.cloneNode(true)); // locate the component this.$div = this._shadowRoot.querySelector('div'); @@ -195,4 +195,4 @@ export class ToolButton extends HTMLElement { } // Register -customElements.define('tool-button', ToolButton); +customElements.define('se-button', ToolButton); diff --git a/src/editor/images/align-left.png b/src/editor/images/align-left.png deleted file mode 100644 index 4975a62c..00000000 Binary files a/src/editor/images/align-left.png and /dev/null differ diff --git a/src/editor/images/align-middle.svg b/src/editor/images/align-middle.svg deleted file mode 100644 index d2b42e6a..00000000 --- a/src/editor/images/align-middle.svg +++ /dev/null @@ -1,250 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/editor/images/align.svg b/src/editor/images/align.svg new file mode 100644 index 00000000..7e3eb04c --- /dev/null +++ b/src/editor/images/align.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/editor/images/align_bottom.svg b/src/editor/images/align_bottom.svg new file mode 100644 index 00000000..51f422e0 --- /dev/null +++ b/src/editor/images/align_bottom.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/editor/images/align-center.png b/src/editor/images/align_center.png similarity index 100% rename from src/editor/images/align-center.png rename to src/editor/images/align_center.png diff --git a/src/editor/images/align_center.svg b/src/editor/images/align_center.svg new file mode 100644 index 00000000..463ff2d0 --- /dev/null +++ b/src/editor/images/align_center.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/editor/images/align-left.svg b/src/editor/images/align_left.svg similarity index 100% rename from src/editor/images/align-left.svg rename to src/editor/images/align_left.svg diff --git a/src/editor/images/align_let.svg b/src/editor/images/align_let.svg new file mode 100644 index 00000000..39fb38c0 --- /dev/null +++ b/src/editor/images/align_let.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/editor/images/align_middle.svg b/src/editor/images/align_middle.svg new file mode 100644 index 00000000..6d1531b0 --- /dev/null +++ b/src/editor/images/align_middle.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/editor/images/align_right.svg b/src/editor/images/align_right.svg new file mode 100644 index 00000000..b1e6da1f --- /dev/null +++ b/src/editor/images/align_right.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/editor/images/align_top.svg b/src/editor/images/align_top.svg new file mode 100644 index 00000000..e59497d3 --- /dev/null +++ b/src/editor/images/align_top.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/editor/images/clone.svg b/src/editor/images/clone.svg new file mode 100644 index 00000000..f182bdf8 --- /dev/null +++ b/src/editor/images/clone.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/editor/images/delete.svg b/src/editor/images/delete.svg new file mode 100644 index 00000000..7c3f5f83 --- /dev/null +++ b/src/editor/images/delete.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/editor/images/group_elements.svg b/src/editor/images/group_elements.svg new file mode 100644 index 00000000..feddb543 --- /dev/null +++ b/src/editor/images/group_elements.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/src/editor/images/image.svg b/src/editor/images/image.svg new file mode 100644 index 00000000..d82686ab --- /dev/null +++ b/src/editor/images/image.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/editor/images/linecap_butt.svg b/src/editor/images/linecap_butt.svg new file mode 100644 index 00000000..d1bb93b7 --- /dev/null +++ b/src/editor/images/linecap_butt.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/editor/images/linecap_round.svg b/src/editor/images/linecap_round.svg new file mode 100644 index 00000000..cf469a3a --- /dev/null +++ b/src/editor/images/linecap_round.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/editor/images/linecap_square.svg b/src/editor/images/linecap_square.svg new file mode 100644 index 00000000..e2d4f0e6 --- /dev/null +++ b/src/editor/images/linecap_square.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/editor/images/linejoin_bevel.svg b/src/editor/images/linejoin_bevel.svg new file mode 100644 index 00000000..12b6ce07 --- /dev/null +++ b/src/editor/images/linejoin_bevel.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/editor/images/linejoin_mitter.svg b/src/editor/images/linejoin_mitter.svg new file mode 100644 index 00000000..ba769eeb --- /dev/null +++ b/src/editor/images/linejoin_mitter.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/editor/images/linejoin_round.svg b/src/editor/images/linejoin_round.svg new file mode 100644 index 00000000..28958049 --- /dev/null +++ b/src/editor/images/linejoin_round.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/src/editor/images/move_top.svg b/src/editor/images/move_top.svg new file mode 100644 index 00000000..10df8c70 --- /dev/null +++ b/src/editor/images/move_top.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/src/editor/images/path.svg b/src/editor/images/path.svg new file mode 100644 index 00000000..ba54b864 --- /dev/null +++ b/src/editor/images/path.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/editor/images/pencil.svg b/src/editor/images/pencil.svg new file mode 100644 index 00000000..f186b16f --- /dev/null +++ b/src/editor/images/pencil.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/src/editor/images/reorient.svg b/src/editor/images/reorient.svg new file mode 100644 index 00000000..aba1dea9 --- /dev/null +++ b/src/editor/images/reorient.svg @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/src/editor/images/select.svg b/src/editor/images/select.svg new file mode 100644 index 00000000..f567b8b7 --- /dev/null +++ b/src/editor/images/select.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/editor/images/svg_edit_icons.svg b/src/editor/images/svg_edit_icons.svg index bb8ea45a..ffae5896 100644 --- a/src/editor/images/svg_edit_icons.svg +++ b/src/editor/images/svg_edit_icons.svg @@ -34,13 +34,6 @@ - - - - - - - @@ -139,21 +132,6 @@ - - - - - - - - - - - - - - - @@ -173,28 +151,6 @@ - - - A - - - - - - - - - - - - - - - - - - - @@ -251,44 +207,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -442,35 +360,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -507,61 +396,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -571,42 +405,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -694,182 +492,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/editor/images/svg_edit_icons.svgz b/src/editor/images/svg_edit_icons.svgz deleted file mode 100644 index cb8c80cc..00000000 Binary files a/src/editor/images/svg_edit_icons.svgz and /dev/null differ diff --git a/src/editor/images/text.png b/src/editor/images/text.png deleted file mode 100644 index 11ba7df7..00000000 Binary files a/src/editor/images/text.png and /dev/null differ diff --git a/src/editor/images/text.svg b/src/editor/images/text.svg index 5c28753c..eed9e2ed 100644 --- a/src/editor/images/text.svg +++ b/src/editor/images/text.svg @@ -1,157 +1,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - + + A + + + diff --git a/src/editor/images/to_path.svg b/src/editor/images/to_path.svg new file mode 100644 index 00000000..fb2d4580 --- /dev/null +++ b/src/editor/images/to_path.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/editor/images/zoom.svg b/src/editor/images/zoom.svg new file mode 100644 index 00000000..3b32a082 --- /dev/null +++ b/src/editor/images/zoom.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/src/editor/index.html b/src/editor/index.html index 51506e37..c72d604d 100644 --- a/src/editor/index.html +++ b/src/editor/index.html @@ -120,27 +120,27 @@
- - + +
- - + +
-
-
+ +
-
-
-
-
- + + + + +