Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the plain widget, there are 4 images. Performance practice says that we should use sprite, and this case is particularly right. All of them are used as CSS background image for fixed-size span, thus not so hard for CSS sprite ;)
Comment | File | Size | Author |
---|---|---|---|
#7 | 0001-feature-request-785344-by-jcisio-Added-CSS-sprites-f.patch | 8.24 KB | marvil07 |
#4 | widgets.zip | 4.26 KB | droplet |
Comments
Comment #1
marvil07 CreditAttribution: marvil07 commentedgood idea, this applies also to alternate widget :-)
Comment #2
marvil07 CreditAttribution: marvil07 commentedComment #3
marvil07 CreditAttribution: marvil07 commentedComment #4
droplet CreditAttribution: droplet commentedhere's the patched files.
i don't know how to add/remove files with CVS, so simply zip them all.
Comment #5
droplet CreditAttribution: droplet commentedComment #6
marvil07 CreditAttribution: marvil07 commentedGreat!
I have just committed your changes(see this patch for details) to 3.x and backported it to 2.x.
Thanks for the sprites.
Comment #7
marvil07 CreditAttribution: marvil07 commentedUpps, forgot the patch