#19900: Upgrade admin buttons
-------------------------------------+-------------------------------------
Reporter: Pedro Mourelle | Owner: anonymous
<pedromagnus@…> | Status: assigned
Type: | Version:
Cleanup/optimization | Resolution:
Component: contrib.admin | Triage Stage: Ready for
Severity: Normal | checkin
Keywords: sprints-django-ar | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 1
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Comment (by idangazit):
I'm fine with IE7/8 seeing cosmetic degradations and using CSS for rounded
corners.
Two suggestions for improvement, neither of which need to happen for this
to get checked in:
1. perhaps in lieu of images we could use :after with the rightwards black
arrow (➡, http://codepoints.net/U+27A1) and heavy greek cross (✚,
http://codepoints.net/U+271A). Cursory glance at the affected selectors
doesn't show an easy way to do this without changing markup, though.
2. include SVG images with PNG fallbacks, which is a cheap way to be
retina-friendly.
{{{
.object-tools a.viewsitelink, .object-tools a.golink {
background: #999 url(../img/tooltag-arrowright.png) 95% center no-
repeat;
background: none, #999 url(../img/tooltag-arrowright.svg) 95% center
no-repeat;
}
}}}
Because all browsers that support SVG also support multiple BG images, so
we can safely deliver SVGs using this technique.
--
Ticket URL: <https://code.djangoproject.com/ticket/19900#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.