https://bugzilla.wikimedia.org/show_bug.cgi?id=69200

Matthew Flaschen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |om

--- Comment #10 from Matthew Flaschen <[email protected]> ---
(In reply to Jared Zimmerman (WMF) from comment #8)
> Can we use wikifont characters for this rather than svgs?

I don't know, but the initial implementation is already in core using
background-image-svg
(https://git.wikimedia.org/blob/mediawiki%2Fcore.git/287e641483e62c0e3070d3f35601f5c62f41eaf7/resources%2Fsrc%2Fmediawiki.ui%2Fcomponents%2Fcheckbox.less#L66).

So if you want to switch to WikiFont, that will require re-implementing it,
whereas adding a focus distinction looks like a relatively straightforward
enhancement.  See the bottom of this comment (I did a quick test with a fake
image, and this works in Firefox):

> the check mark already exists in the wikifont

This is a different shape from the green one we currently have, though.  The
green one has all hard edges.  The WikiFont one has a curve.  If that's
understood, someone could make a 24x24 version of the WikiFont checkmark, which
could easily be colored the appropriate shades of gray and green.

---
&:focus {
    + label {
        &::before {
            .background-image-svg('images/checked_focus.svg',
'images/checked_focus.png');
        }
    }
}
---

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to