2 * jQuery Mobile Framework
3 * Copyright (c) jQuery Project
4 * Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
6 .ui-select { display: block; position: relative; }
7 .ui-select select { position: absolute; left: -9999px; top: -9999px; }
8 .ui-select .ui-btn { overflow: hidden; }
9 .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; }
10 @-moz-document url-prefix() {.ui-select .ui-btn select { opacity: 0.0001; }}
11 .ui-select .ui-btn select.ui-select-nativeonly { opacity: 1; text-indent: 0; }
13 .ui-select .ui-btn-icon-right .ui-btn-inner { padding-right: 45px; }
14 .ui-select .ui-btn-icon-right .ui-icon { right: 15px; }
17 label.ui-select { font-size: 16px; line-height: 1.4; font-weight: normal; margin: 0 0 .3em; display: block; }
20 .ui-select .ui-btn-text, .ui-selectmenu .ui-btn-text { display: block; min-height: 1em; }
21 .ui-select .ui-btn-text { text-overflow: ellipsis; overflow: hidden;}
23 .ui-selectmenu { position: absolute; padding: 0; z-index: 100 !important; width: 80%; max-width: 350px; padding: 6px; }
24 .ui-selectmenu .ui-listview { margin: 0; }
25 .ui-selectmenu .ui-btn.ui-li-divider { cursor: default; }
26 .ui-selectmenu-hidden { top: -9999px; left: -9999px; }
27 .ui-selectmenu-screen { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 99; }
28 .ui-screen-hidden, .ui-selectmenu-list .ui-li .ui-icon { display: none; }
29 .ui-selectmenu-list .ui-li .ui-icon { display: block; }
30 .ui-li.ui-selectmenu-placeholder { display: none; }
31 .ui-selectmenu .ui-header .ui-title { margin: 0.6em 46px 0.8em; }
33 @media all and (min-width: 450px){
34 label.ui-select { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0; }
35 .ui-select { width: 60%; display: inline-block; }
38 /* when no placeholder is defined in a multiple select, the header height doesn't even extend past the close button. this shim's content in there */
39 .ui-selectmenu .ui-header h1:after { content: '.'; visibility: hidden; }