Skip to content

numanWD/overbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OverBox.js

Overbox.js is a lightweight overlay for images, Videos, Iframes, Inline content...

It is simple, clean and customisable.

Load the js, import our sass and define your style.

You can customise the plugin without touch the library.

Sass variables:

$overbox-default: (
     'breakpoint' : em(640),
     'icons-path' : '../images/overbox/',
     'overlay-background' : #333,
     'mobile-navigation-background' : rgba(0,0,0,0.3),
     'title-color' : #fff,
     'caption-color' : #fff,
     'sequence-info-color' : #fff,
     'title-font-size': 1.3em,
     'caption-font-size': 1em,
     'sequence-info-font-size': 1em,
     'case-background': #fff,
     'icon-size' : 1.4em
);
 

To personalize your plugin you must define your map and load the library.

$overbox-custom: (
    'breakpoint' : em(720),
    'icons-path' : '../img/',
    'overlay-background' : #CCC
);
//Load overbox
@import "../bower_components/overbox/src/sass/overbox";

Installation

bower install overbox -S

About

Overbox.js is a lightweight and customisable overlay.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 68.8%
  • CSS 29.3%
  • HTML 1.9%