mirror of
https://github.com/skishore/makemeahanzi.git
synced 2025-11-02 21:41:28 +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>
|
||||
{{#if show_strokes}}
|
||||
{{#each strokes}}
|
||||
<path fill="{{color}}" stroke="black" d="{{stroke}}"></path>
|
||||
<path class="stroke" fill="{{color}}"
|
||||
stroke="black" d="{{stroke}}"></path>
|
||||
{{/each}}
|
||||
{{else}}
|
||||
{{#each bridges}}
|
||||
|
||||
@ -54,6 +54,12 @@
|
||||
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 {
|
||||
cursor: pointer;
|
||||
fill: blue;
|
||||
|
||||
Reference in New Issue
Block a user