Permalink
Browse files

Removes default fade animation from popup overlays.

  • Loading branch information...
Wilto committed Aug 28, 2012
1 parent 32b1b45 commit d9803a20be5784f13f1feff46d9c1283ce372f4c
Showing with 3 additions and 27 deletions.
  1. +2 −26 css/structure/jquery.mobile.popup.css
  2. +1 −1 js/widgets/popup.js
@@ -10,38 +10,14 @@
z-index: 1099;
}
@-webkit-keyframes popup-fadein {
from { opacity: 0; }
to { opacity: 0.5; }
}
@-moz-keyframes popup-fadein {
from { opacity: 0; }
to { opacity: 0.5; }
}
@-webkit-keyframes popup-fadeout {
from { opacity: 0.5; }
to { opacity: 0; }
}
@-moz-keyframes popup-fadeout {
from { opacity: 0.5; }
to { opacity: 0; }
}
.ui-popup-screen.fade.in {
.ui-popup-screen.in {
opacity: 0.5;
filter: Alpha(Opacity=50);
-webkit-animation-name: popup-fadein;
-moz-animation-name: popup-fadein;
}
.ui-popup-screen.fade.out {
.ui-popup-screen.out {
opacity: 0;
filter: Alpha(Opacity=0);
-webkit-animation-name: popup-fadeout;
-moz-animation-name: popup-fadeout;
}
.ui-popup-container {
View
@@ -129,7 +129,7 @@ define( [ "jquery",
_create: function() {
var ui = {
screen: $( "<div class='ui-screen-hidden ui-popup-screen fade'></div>" ),
screen: $( "<div class='ui-screen-hidden ui-popup-screen'></div>" ),
placeholder: $( "<div style='display: none;'><!-- placeholder --></div>" ),
container: $( "<div class='ui-popup-container ui-selectmenu-hidden'></div>" )
},

0 comments on commit d9803a2

Please sign in to comment.