Skip to content

Commit

Permalink
Apply some changes for modularizing
Browse files Browse the repository at this point in the history
Closes #58. Thanks to @fabien-d.
Closes #66.
Closes #73.
  • Loading branch information
drublic committed Oct 7, 2013
1 parent 4d85379 commit 63d45e3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,7 @@

## HEAD

* Modularize config, core and theme into separate files (#73)
* Update background transparency image (#67)
* Bugfix: Prevent body jump in Chrome Canary
* Add better function documentation in JavaScript
Expand Down
7 changes: 2 additions & 5 deletions _modalConfig.scss → _modal-config.scss
Expand Up @@ -10,17 +10,14 @@
$modal-max-width: 650px !default;
$modal-border-radius: 2px !default;


// Modal Plain Screen Styles
$modal-plain-screen-overlay: #FFF !default;

$modal-plain-screen-overlay: #fff !default;

// Set high z-index to appear above all other content
$modal-layer: 999 !default;


// Color configuration
$modal-border-color: #ddd !default;
$modal-inner-background: #fff !default;
$modal-color: #222 !default;
$modal-mobile-header: #27aae2 !default;
$modal-mobile-header: #27aae2 !default;
File renamed without changes.
File renamed without changes.
12 changes: 9 additions & 3 deletions modal.scss
Expand Up @@ -6,6 +6,12 @@
* @version 1.1.0alpha
*/

@import "modalConfig"; // variables
@import "modalCore"; // core operations
@import "modalTheme"; // theme styles

// Configuration variables
@import 'modal-config';

// Core operations
@import 'modal-core';

// Theme styles
@import 'modal-theme';

0 comments on commit 63d45e3

Please sign in to comment.