Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removes default fade animation from popup overlays.

  • Loading branch information...
commit d9803a20be5784f13f1feff46d9c1283ce372f4c 1 parent 32b1b45
Mat Marquis Wilto authored
Showing with 3 additions and 27 deletions.
  1. +2 −26 css/structure/jquery.mobile.popup.css
  2. +1 −1  js/widgets/popup.js
28 css/structure/jquery.mobile.popup.css
View
@@ -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 {
2  js/widgets/popup.js
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>" )
},
Please sign in to comment.
Something went wrong with that request. Please try again.