Skip to content

Commit 2d9609f

Browse files
refine cursor styles for cell and hole tools in maze builder for clarity
1 parent 784635d commit 2d9609f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/source/maze_builder.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,12 @@ Use the controls below to build your maze, then save it as a file to use in your
150150
cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cline x1='4' y1='4' x2='16' y2='16' stroke='%23dc3545' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='16' y1='4' x2='4' y2='16' stroke='%23dc3545' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 10 10, crosshair;
151151
}
152152
153-
/* Cell tool: red cross on cells (will add hole/remove cell), pointer on holes (will remove hole/add cell) */
153+
/* Cell/Hole tool: pointer on cells (will add hole), red cross on holes (will remove hole) */
154154
.maze-grid.tool-cell .maze-cell:not(.hole) {
155-
cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cline x1='4' y1='4' x2='16' y2='16' stroke='%23dc3545' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='16' y1='4' x2='4' y2='16' stroke='%23dc3545' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 10 10, crosshair;
155+
cursor: pointer;
156156
}
157157
.maze-grid.tool-cell .maze-cell.hole {
158-
cursor: pointer;
158+
cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cline x1='4' y1='4' x2='16' y2='16' stroke='%23dc3545' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='16' y1='4' x2='4' y2='16' stroke='%23dc3545' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 10 10, crosshair;
159159
}
160160
161161
/* Cheese tool: pointer on cells without cheese (add), red cross on cells with cheese (remove), not-allowed on holes */

0 commit comments

Comments
 (0)