Skip to content
Snippets Groups Projects
Commit 51709e53 authored by Michael Leuschel's avatar Michael Leuschel
Browse files

use CSS hover for Sudoko cells

parent 022f3bbb
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,9 @@ ...@@ -31,6 +31,9 @@
stroke-width : 0.1; stroke-width : 0.1;
fill : white; fill : white;
} }
.normal:hover, .conflictpos:hover, .samevalue:hover, .selected:hover, .fixed:hover {
fill : mediumorchid;
}
.win { .win {
stroke : lightgray; stroke : lightgray;
stroke-width : 0.1; stroke-width : 0.1;
......
...@@ -61,9 +61,7 @@ ...@@ -61,9 +61,7 @@
"repeat": [1,2,3,4,5,6,7,8,9], "repeat": [1,2,3,4,5,6,7,8,9],
"id": "g_%0_%1", "id": "g_%0_%1",
"event": "SetCurPos", "event": "SetCurPos",
"predicates" : ["x=%0","y=%1"], "predicates" : ["x=%0","y=%1"]
"hovers": [{ "attr":"stroke-width", "enter":"1", "leave":"0.1"}
]
}, },
{ {
"for": {"from":1, "to":9}, "for": {"from":1, "to":9},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment