Skip to content
This repository
Browse code

Removes default fade animation from popup overlays.

  • Loading branch information...
commit d9803a20be5784f13f1feff46d9c1283ce372f4c 1 parent 32b1b45
Mat Marquis authored August 28, 2012
28  css/structure/jquery.mobile.popup.css
@@ -10,38 +10,14 @@
10 10
 	z-index: 1099;
11 11
 }
12 12
 
13  
-@-webkit-keyframes popup-fadein {
14  
-    from { opacity: 0; }
15  
-    to { opacity: 0.5; }
16  
-}
17  
-
18  
-@-moz-keyframes popup-fadein {
19  
-    from { opacity: 0; }
20  
-    to { opacity: 0.5; }
21  
-}
22  
-
23  
-@-webkit-keyframes popup-fadeout {
24  
-    from { opacity: 0.5; }
25  
-    to { opacity: 0; }
26  
-}
27  
-
28  
-@-moz-keyframes popup-fadeout {
29  
-    from { opacity: 0.5; }
30  
-    to { opacity: 0; }
31  
-}
32  
-
33  
-.ui-popup-screen.fade.in {
  13
+.ui-popup-screen.in {
34 14
 	opacity: 0.5;
35 15
 	filter: Alpha(Opacity=50);
36  
-	-webkit-animation-name: popup-fadein;
37  
-	-moz-animation-name: popup-fadein;
38 16
 }
39 17
 
40  
-.ui-popup-screen.fade.out {
  18
+.ui-popup-screen.out {
41 19
 	opacity: 0;
42 20
 	filter: Alpha(Opacity=0);
43  
-	-webkit-animation-name: popup-fadeout;
44  
-	-moz-animation-name: popup-fadeout;
45 21
 }
46 22
 
47 23
 .ui-popup-container {
2  js/widgets/popup.js
@@ -129,7 +129,7 @@ define( [ "jquery",
129 129
 
130 130
 		_create: function() {
131 131
 			var ui = {
132  
-					screen: $( "<div class='ui-screen-hidden ui-popup-screen fade'></div>" ),
  132
+					screen: $( "<div class='ui-screen-hidden ui-popup-screen'></div>" ),
133 133
 					placeholder: $( "<div style='display: none;'><!-- placeholder --></div>" ),
134 134
 					container: $( "<div class='ui-popup-container ui-selectmenu-hidden'></div>" )
135 135
 				},

0 notes on commit d9803a2

Please sign in to comment.
Something went wrong with that request. Please try again.