Skip to content

Commit

Permalink
Release v1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
vodkabears committed Aug 25, 2015
1 parent deab1da commit b0a5f08
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 16 deletions.
14 changes: 9 additions & 5 deletions dist/remodal-default-theme.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Remodal - v1.0.2
* Remodal - v1.0.3
* Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
* http://vodkabears.github.io/remodal/
*
Expand Down Expand Up @@ -112,7 +112,8 @@
background: transparent;
}

.remodal-close:hover {
.remodal-close:hover,
.remodal-close:focus {
color: #2b2e38;
}

Expand Down Expand Up @@ -162,7 +163,8 @@
background: #81c784;
}

.remodal-confirm:hover {
.remodal-confirm:hover,
.remodal-confirm:focus {
background: #66bb6a;
}

Expand All @@ -171,14 +173,16 @@
background: #e57373;
}

.remodal-cancel:hover {
.remodal-cancel:hover,
.remodal-cancel:focus {
background: #ef5350;
}

/* Remove inner padding and border in Firefox 4+ for the button tag. */

.remodal-confirm::-moz-focus-inner,
.remodal-cancel::-moz-focus-inner {
.remodal-cancel::-moz-focus-inner,
.remodal-close::-moz-focus-inner {
padding: 0;

border: 0;
Expand Down
4 changes: 3 additions & 1 deletion dist/remodal.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Remodal - v1.0.2
* Remodal - v1.0.3
* Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
* http://vodkabears.github.io/remodal/
*
Expand Down Expand Up @@ -77,6 +77,8 @@ html.remodal-is-locked {
.remodal {
position: relative;

outline: none;

-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
Expand Down
17 changes: 10 additions & 7 deletions dist/remodal.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Remodal - v1.0.2
* Remodal - v1.0.3
* Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
* http://vodkabears.github.io/remodal/
*
Expand Down Expand Up @@ -505,12 +505,14 @@
}

remodal.$bg = $('.' + namespacify('bg')).addClass(namespacify('is', STATES.CLOSED));
remodal.$modal = $modal;
remodal.$modal.addClass(
NAMESPACE + ' ' +
namespacify('is-initialized') + ' ' +
remodal.settings.modifier + ' ' +
namespacify('is', STATES.CLOSED));

remodal.$modal = $modal
.addClass(
NAMESPACE + ' ' +
namespacify('is-initialized') + ' ' +
remodal.settings.modifier + ' ' +
namespacify('is', STATES.CLOSED))
.attr('tabindex', '-1');

remodal.$wrapper = $('<div>')
.addClass(
Expand Down Expand Up @@ -593,6 +595,7 @@
remodal.$bg.addClass(remodal.settings.modifier);
remodal.$overlay.addClass(remodal.settings.modifier).show();
remodal.$wrapper.show().scrollTop(0);
remodal.$modal.focus();

syncWithAnimation(
function() {
Expand Down
4 changes: 2 additions & 2 deletions dist/remodal.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "remodal",
"version": "1.0.2",
"version": "1.0.3",
"description": "Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.",
"keywords": [
"jquery-plugin",
Expand Down

0 comments on commit b0a5f08

Please sign in to comment.