| Age | Commit message (Collapse) | Author |
|
|
|
|
|
blank area to be "clickable", which can be very confusing. Though
`.libra-overlay` is clickable, it's already intuitive to click blank area to
dismiss lightbox, hence pointer is not needed. - `.libra-shaodw` is not
technically clickable thus should not have this attribute.
|
|
Since we are constantly adjusting shadow's positions and fetching original positions, encapsulate them into functions.
|
|
|
|
|
|
|
|
|
|
|
|
libra.css
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add 'px' unit after top, left, width, height values. Providing a number value might cause some occasional problems.
|
|
|
|
|
|
- lightbox module no longer handles original image visibility
- lightbox module no longer handles shadow placement
- lightbox module now only fetch and use shadow object
|
|
|
|
- remove block style and max width restraint
- images no longer need to be wrapped in a link
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this reduce time complexity from O(n) to O(1)
|
|
|
|
|
|
delay destruction after animation is played
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Replaces the async SHA-256 based unique ID generation with a synchronous hashCode method in Utility. Refactors LightBox to manage Shadow instances in a local cache instead of querying the DOM, and removes the static find method from Shadow. Also extracts image link wrapping logic into a helper method for clarity.
|