b831c76c252223a693a9e529d1b1079fdf10484a
[platform/framework/web/web-ui-fw.git] / libs / js / jquery-mobile-1.0.1pre / css / structure / jquery.mobile.forms.select.css
1 .ui-select { display: block; position: relative; }
2 .ui-select select { position: absolute; left: -9999px; top: -9999px; }
3 .ui-select .ui-btn { overflow: hidden; }
4
5
6 .ui-select .ui-btn { opacity: 1; }
7
8 /* 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. */
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
11 .ui-select .ui-disabled { opacity: .3; }
12
13 @-moz-document url-prefix() {.ui-select .ui-btn select { opacity: 0.0001; }}
14 .ui-select .ui-btn select.ui-select-nativeonly { opacity: 1; text-indent: 0; }
15
16 .ui-select .ui-btn-icon-right .ui-btn-inner { padding-right: 45px; } 
17 .ui-select .ui-btn-icon-right .ui-icon { right: 15px;  }
18
19 /* labels */
20 label.ui-select { font-size: 16px; line-height: 1.4;  font-weight: normal; margin: 0 0 .3em; display: block; }
21
22 /*listbox*/
23 .ui-select .ui-btn-text, .ui-selectmenu .ui-btn-text { display: block; min-height: 1em; overflow: hidden; }
24 .ui-select .ui-btn-text { text-overflow: ellipsis; }
25
26 .ui-selectmenu { position: absolute; padding: 0; z-index: 1100 !important; width: 80%; max-width: 350px; padding: 6px; }
27 .ui-selectmenu .ui-listview { margin: 0; }
28 .ui-selectmenu .ui-btn.ui-li-divider { cursor: default; }
29 .ui-selectmenu-hidden { top: -9999px; left: -9999px; }
30 .ui-selectmenu-screen { position: absolute; top: 0; left: 0; width: 100%; height: 100%;  z-index: 99; }
31 .ui-screen-hidden, .ui-selectmenu-list .ui-li .ui-icon { display: none; }
32 .ui-selectmenu-list .ui-li .ui-icon { display: block; }
33 .ui-li.ui-selectmenu-placeholder { display: none; }
34 .ui-selectmenu .ui-header .ui-title { margin: 0.6em 46px 0.8em; }
35
36 @media all and (min-width: 450px){      
37         .ui-field-contain label.ui-select { vertical-align: top;  display: inline-block;  width: 20%;  margin: 0 2% 0 0; }
38         .ui-field-contain .ui-select { width: 60%; display: inline-block; }
39 }       
40
41 /* 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 */
42 .ui-selectmenu .ui-header h1:after { content: '.'; visibility: hidden; }