Skip to content
This repository
Browse code

Merge pull request #4359 from uGoMobi/issue_#3423

Fixes issue #3423 - Input buttons of type=image not rendering properly
  • Loading branch information...
commit 893c20d7f95fd17ecb6d09f4a845df93a869684c 2 parents 34bb3be + 4c486ae
authored May 15, 2012
2  css/structure/jquery.mobile.button.css
@@ -67,4 +67,4 @@
67 67
 .ui-mini .ui-btn-icon-bottom .ui-icon { bottom: 5px; }
68 68
 
69 69
 /*hiding native button,inputs */
70  
-.ui-btn-hidden { position: absolute; top: 0; left: 0; width: 100%; height: 100%; -webkit-appearance: button; opacity: .1; cursor: pointer; background: #fff; background: rgba(255,255,255,0); filter: Alpha(Opacity=.0001); font-size: 1px; border: none; text-indent: -9999px; }
  70
+.ui-btn-hidden { position: absolute; top: 0; left: 0; width: 100%; height: 100%; -webkit-appearance: none; opacity: .1; cursor: pointer; background: #fff; background: rgba(255,255,255,0); filter: Alpha(Opacity=.0001); font-size: 1px; border: none; text-indent: -9999px; }
2  css/structure/jquery.mobile.forms.select.css
@@ -2,7 +2,7 @@
2 2
 .ui-select select { position: absolute; left: -9999px; top: -9999px; }
3 3
 .ui-select .ui-btn { overflow: hidden; opacity: 1; margin: 0; }
4 4
 /* Fixes #2588 — When Windows Phone 7.5 (Mango) tries to calculate a numeric opacity for a select—including “inherit”—without explicitly specifying an opacity on the parent to give it context, a bug appears where clicking elsewhere on the page after opening the select will open the select again. */
5  
-.ui-select .ui-btn select { cursor: pointer; -webkit-appearance: button; left: 0; top:0; width: 100%;  min-height: 1.5em; min-height: 100%; height: 3em; max-height: 100%; opacity: 0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); z-index: 2; }
  5
+.ui-select .ui-btn select { cursor: pointer; -webkit-appearance: none; left: 0; top:0; width: 100%;  min-height: 1.5em; min-height: 100%; height: 3em; max-height: 100%; opacity: 0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); z-index: 2; }
6 6
 
7 7
 .ui-select .ui-disabled { opacity: .3; }
8 8
 
3  docs/buttons/buttons-types.html
@@ -85,9 +85,6 @@
85 85
 		<p><strong>Input type="reset"</strong> based button:</p>
86 86
 		<input type="reset" value="resetBtn" />
87 87
 		
88  
-		<p><strong>Input type="image"</strong> based button:</p>
89  
-		<input type="image" value="imageBtn" />
90  
-		
91 88
 	</div><!--/content-primary -->		
92 89
 	
93 90
 	<div class="content-secondary">

0 notes on commit 893c20d

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