Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Select: This makes sure that a disabled select button gets a disabled…

… look on IE/WP.
  • Loading branch information...
commit 7668b2d5b1ed70dd2583e246983454d1b486c7c6 1 parent f7993b5
@jaspermdegroot jaspermdegroot authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 css/structure/jquery.mobile.forms.select.css
View
4 css/structure/jquery.mobile.forms.select.css
@@ -6,10 +6,12 @@
.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; }
.ui-select .ui-disabled { opacity: .3; }
+/* Display none because of issues with IE/WP's filter alpha opacity */
+.ui-select .ui-disabled select { display: none; }
@-moz-document url-prefix() {.ui-select .ui-btn select { opacity: 0.0001; }}
.ui-select .ui-btn.ui-select-nativeonly { border-radius: 0; }
-.ui-select .ui-btn.ui-select-nativeonly select { opacity: 1; text-indent: 0; }
+.ui-select .ui-btn.ui-select-nativeonly select { opacity: 1; text-indent: 0; display: block; }
.ui-select .ui-btn-icon-right .ui-btn-inner, .ui-select .ui-li-has-count .ui-btn-inner { padding-right: 45px; }
.ui-select .ui-mini.ui-btn-icon-right .ui-btn-inner { padding-right: 32px; }

1 comment on commit 7668b2d

@jaspermdegroot
Collaborator

cherry-pick 1.1.2.

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