You are here

README.txt in NG Lightbox 8

Same filename and directory in other branches
  1. 7 README.txt
  2. 2.x README.txt
## Setup

Go to example.com/admin/config/media/ng-lightbox and configure the paths you would
like to be auto-lightboxed.

Anything that runs through theme_link() and mentioned on the admin page is lightboxed, if you
want to manually apply the lightbox to a link, simply add the "ng-lightbox" class to the anchor.

## Rebuilding SASS

If you're contributing to ng_lightbox you can re-generate the css with the
following command from within the ng_lightbox folder.

    compass compile --no-sourcemap --no-debug-info --force -e production sass/lightbox.scss

If you're simply using the ng_lightbox module and want to have your own theme you can copy the
sass file into your theme and begin customising from there.

File

README.txt
View source
  1. ## Setup
  2. Go to example.com/admin/config/media/ng-lightbox and configure the paths you would
  3. like to be auto-lightboxed.
  4. Anything that runs through theme_link() and mentioned on the admin page is lightboxed, if you
  5. want to manually apply the lightbox to a link, simply add the "ng-lightbox" class to the anchor.
  6. ## Rebuilding SASS
  7. If you're contributing to ng_lightbox you can re-generate the css with the
  8. following command from within the ng_lightbox folder.
  9. compass compile --no-sourcemap --no-debug-info --force -e production sass/lightbox.scss
  10. If you're simply using the ng_lightbox module and want to have your own theme you can copy the
  11. sass file into your theme and begin customising from there.