This patch makes the previous, up and next arrows look more sophisticated in the Pushbutton template. Includes new arrow images and adjusted positioning in stylesheet patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | arrows_1.zip | 5.11 KB | robert castelo |
| #9 | arrows_0.zip | 4.58 KB | robert castelo |
| #7 | arrows.zip | 3.69 KB | robert castelo |
| pushbutton-prev-up-next.zip | 2.6 KB | robert castelo |
Comments
Comment #1
jonbob commentedNot a bug, and should be set to "patch."
Comment #2
TDobes commentedCould you provide some PNG versions, please? Other than that, I like this style of arrow better, so +1.
Comment #3
Steven commentedApplied pngcrush'ed versions to CVS.
Comment #4
robert castelo commentedMany thanks Steven, one less thing on my to do list!
(My ADSL line cut out after a thunderstorm on Tuesday, so I'm stuck on dial-up. Everything takes forever to do this week....)
Comment #5
robert castelo commentedMany thanks Steven, one less thing on my to do list!
(My ADSL line cut out after a thunderstorm on Tuesday, so I'm stuck on dial-up. Everything takes forever to do this week....)
Comment #6
(not verified) commentedComment #7
robert castelo commentedSomehow Pushbutton slipped back to using the old arrows!
Attached is a patch which restores the new arrows.
It also adds CSS for the 'visited' link state, fixing a bug where the arrow would disapear on visted links.
Visited state arrows are also included, to match the colour of the links.
Comment #8
robert castelo commentedExample here:
http://www.cortexttranslation.com/culture
You will have to move around on the book a bit to see the 'visited' links ;-)
Comment #9
robert castelo commentedThis patch contains code and all necessary images (sorry - forgot to include replacement arrows in preveious post).
Comment #10
robert castelo commentedDoh!
OK, this time with the images as png instead of gif.
This patch contains all neccessary files.
Comment #11
Steven commentedApplied to CVS, after pngcrush'ing them (strip-out gamma information to avoid png gamma browser inconsistencies).
Comment #12
Steven commentedBy the way, you should consider using CSS sprites for these arrows: you put all states in the same file stacked vertically (with some space in between), and use background-position: 0px -20px; or something to switch to another sprite.
This avoids the problem where the alternate state arrows are only loaded when you hover over them (resulting in a short time without arrow). I've used it on several sites already, it works marvelous except for one bug. In Safari/Konqueror the background is sometimes repeated even if no-repeat is set. To avoid problems, just add some extra padding at the bottom (if you stack vertically).
I use this trick for the tabs in bluebeach:
http://www.drupal.org/themes/bluebeach/main-tab1.png
Comment #13
robert castelo commentedThanks.
I saw that on A List Apart, it's a clever solution, which I've been meaning to explore ;-)
Comment #14
(not verified) commented