diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..5509140f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.DS_Store diff --git a/css/style.css b/css/style.css index ce04f1d1..4b6d9d00 100644 --- a/css/style.css +++ b/css/style.css @@ -127,27 +127,39 @@ ul, li { z-index: 1; } +.canvas-overlay { + position: absolute; + top: 0; + left: 0; + z-index: 10; +} + .drawing-canvas-container { float: left; } .tool-paint-bucket .drawing-canvas-container:hover { - cursor: url(../img/tools/paint-bucket.png) 18 17, pointer; + cursor: url(../img/tools/cursors/paint-bucket.png) 18 17, pointer; } .tool-pen .drawing-canvas-container:hover { - cursor: url(../img/tools/pen.png) 7 21, pointer; + cursor: url(../img/tools/cursors/pen.png) 7 21, pointer; } .tool-eraser .drawing-canvas-container:hover { - cursor: url(../img/tools/eraser.png) 5 21, pointer; + cursor: url(../img/tools/cursors/eraser.png) 5 21, pointer; } +.tool-stroke .drawing-canvas-container:hover { + cursor: url(../img/tools/cursors/pen.png) 5 21, pointer; +} + + /** * Tool section: */ -#palette li { +.palette .palette-color { display : inline-block; height : 20px; width : 20px; @@ -185,15 +197,19 @@ ul, li { } .tool-icon.tool-pen { - background: #fff url(../img/tools/pen.png) 3px 3px no-repeat; + background: #fff url(../img/tools/icons/pen.png) 3px 3px no-repeat; } .tool-icon.tool-paint-bucket { - background: #fff url(../img/tools/paint-bucket.png) 3px 3px no-repeat; + background: #fff url(../img/tools/icons/paint-bucket.png) 3px 3px no-repeat; } .tool-icon.tool-eraser { - background: #fff url(../img/tools/eraser.png) 3px 3px no-repeat; + background: #fff url(../img/tools/icons/eraser.png) 3px 3px no-repeat; +} + +.tool-icon.tool-stroke { + background: #fff url(../img/tools/icons/stroke.png) 3px 3px no-repeat; } #preview-fps { diff --git a/img/tools/eraser.png b/img/tools/cursors/eraser.png similarity index 100% rename from img/tools/eraser.png rename to img/tools/cursors/eraser.png diff --git a/img/tools/paint-bucket.png b/img/tools/cursors/paint-bucket.png similarity index 100% rename from img/tools/paint-bucket.png rename to img/tools/cursors/paint-bucket.png diff --git a/img/tools/pen.png b/img/tools/cursors/pen.png similarity index 100% rename from img/tools/pen.png rename to img/tools/cursors/pen.png diff --git a/img/tools/icons/eraser.png b/img/tools/icons/eraser.png new file mode 100644 index 00000000..b9b7522e Binary files /dev/null and b/img/tools/icons/eraser.png differ diff --git a/img/tools/icons/paint-bucket.png b/img/tools/icons/paint-bucket.png new file mode 100644 index 00000000..4d3e6901 Binary files /dev/null and b/img/tools/icons/paint-bucket.png differ diff --git a/img/tools/icons/pen.png b/img/tools/icons/pen.png new file mode 100644 index 00000000..7d01627d Binary files /dev/null and b/img/tools/icons/pen.png differ diff --git a/img/tools/icons/stroke.png b/img/tools/icons/stroke.png new file mode 100644 index 00000000..327b4479 Binary files /dev/null and b/img/tools/icons/stroke.png differ diff --git a/index.html b/index.html index 80c61854..f7fd8f87 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@