mirror of
https://github.com/skishore/makemeahanzi.git
synced 2025-11-03 05:48:23 +08:00
Add hover to clarify stroke boundaries
This commit is contained in:
@ -57,7 +57,8 @@
|
|||||||
<path fill="{{base_color}}" stroke="{{base_color}}" d="{{d}}"></path>
|
<path fill="{{base_color}}" stroke="{{base_color}}" d="{{d}}"></path>
|
||||||
{{#if show_strokes}}
|
{{#if show_strokes}}
|
||||||
{{#each strokes}}
|
{{#each strokes}}
|
||||||
<path fill="{{color}}" stroke="black" d="{{stroke}}"></path>
|
<path class="stroke" fill="{{color}}"
|
||||||
|
stroke="black" d="{{stroke}}"></path>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#each bridges}}
|
{{#each bridges}}
|
||||||
|
|||||||
@ -54,6 +54,12 @@
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#glyph svg g path.stroke:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
stroke: red;
|
||||||
|
stroke-width: 8;
|
||||||
|
}
|
||||||
|
|
||||||
#glyph svg g circle:hover, #glyph svg g line:hover {
|
#glyph svg g circle:hover, #glyph svg g line:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
fill: blue;
|
fill: blue;
|
||||||
|
|||||||
Reference in New Issue
Block a user