Active
Project:
Gallerix
Version:
6.x-1.5-beta2
Component:
User interface
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2011 at 08:29 UTC
Updated:
4 Sep 2011 at 20:02 UTC
Could it be easy to implement that when you are viewing a single image with thumbnails (above and/or below), the thumbnail of the currently being viewed image is emphasized with a bigger border, for example?
Thanks!
Comments
Comment #1
AlexisWilke commentedThe main problem with adding a wider border is the positioning which gets all messed up (since all of a sudden you're 1 or 2 pixels off...)
This being said, it could be done with CSS and in that case it would be relatively easy to add a padding or margin to move the other images so they all look "centered".
I think that the current thumbnail image already has a specific class added when it represents the current image. If not, then that would be easy to add.
Thank you.
Alexis Wilke
Comment #2
jayperkor commentedYes, you're right. I found the class and tweaked the CSS standard.css a little bit:
img.gallerix-thumbnail.current {
}
to:
img.gallerix-thumbnail.current {
border: 4px solid black;
}
and it does the job of highlighting the currently viewed photo.
Thanks!
Comment #3
AlexisWilke commentedAnd you should be able to add a shadow with the box-shadow
http://www.w3.org/TR/2011/CR-css3-background-20110215/#the-box-shadow
If need be. 8-)
This is CSS3 so it won't work on old browsers.
Thank you for giving us your working solution!
Alexis Wilke