jquery.mobile.structure-1.0.1.css 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737
  1. /*
  2. * jQuery Mobile Framework 1.0.1
  3. * http://jquerymobile.com
  4. *
  5. * Copyright 2011-2012 (c) jQuery Project
  6. * Dual licensed under the MIT or GPL Version 2 licenses.
  7. * http://jquery.org/license
  8. *
  9. */
  10. /* some unsets - more probably needed */
  11. .ui-mobile, .ui-mobile body { height: 100%; }
  12. .ui-mobile fieldset, .ui-page { padding: 0; margin: 0; }
  13. .ui-mobile a img, .ui-mobile fieldset { border-width: 0; }
  14. /* responsive page widths */
  15. .ui-mobile-viewport { margin: 0; overflow-x: visible; -webkit-text-size-adjust: none; -ms-text-size-adjust:none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
  16. /* Issue #2066 */
  17. body.ui-mobile-viewport,
  18. div.ui-mobile-viewport { overflow-x: hidden; }
  19. /* "page" containers - full-screen views, one should always be in view post-pageload */
  20. .ui-mobile [data-role=page], .ui-mobile [data-role=dialog], .ui-page { top: 0; left: 0; width: 100%; min-height: 100%; position: absolute; display: none; border: 0; }
  21. .ui-mobile .ui-page-active { display: block; overflow: visible; }
  22. /* on ios4, setting focus on the page element causes flashing during transitions when there is an outline, so we turn off outlines */
  23. .ui-page { outline: none; }
  24. /*orientations from js are available */
  25. @media screen and (orientation: portrait){
  26. .ui-mobile, .ui-mobile .ui-page { min-height: 420px; }
  27. }
  28. @media screen and (orientation: landscape){
  29. .ui-mobile, .ui-mobile .ui-page { min-height: 300px; }
  30. }
  31. /* native overflow scrolling */
  32. .ui-page.ui-mobile-touch-overflow,
  33. .ui-mobile-touch-overflow.ui-native-fixed .ui-content {
  34. overflow: auto;
  35. height: 100%;
  36. left: 0;
  37. right: 0;
  38. -webkit-overflow-scrolling: touch;
  39. -moz-overflow-scrolling: touch;
  40. -o-overflow-scrolling: touch;
  41. -ms-overflow-scrolling: touch;
  42. overflow-scrolling: touch;
  43. }
  44. .ui-page.ui-mobile-touch-overflow,
  45. .ui-page.ui-mobile-touch-overflow * {
  46. /* some level of transform keeps elements from blinking out of visibility on iOS */
  47. -webkit-transform: rotateY(0);
  48. }
  49. .ui-page.ui-mobile-pre-transition {
  50. display: block;
  51. }
  52. .ui-mobile-touch-overflow.ui-native-fixed .ui-content .ui-listview {
  53. margin-top: 0;
  54. }
  55. .ui-mobile-touch-overflow.ui-native-fixed .ui-content .ui-listview-inset {
  56. margin-top: 1em;
  57. }
  58. .ui-mobile-touch-overflow.ui-native-fixed .ui-content .ui-listview-filter {
  59. margin-top: .2em;
  60. margin-bottom: 0;
  61. }
  62. .ui-mobile-touch-overflow.ui-native-fixed .ui-content .ui-listview-filter-inset {
  63. margin-bottom: -.9em;
  64. }
  65. .ui-mobile-touch-overflow.ui-native-fixed .ui-header .ui-btn {
  66. z-index: 10;
  67. }
  68. /* loading screen */
  69. .ui-loading .ui-mobile-viewport { overflow: hidden !important; }
  70. .ui-loading .ui-loader { display: block; }
  71. .ui-loading .ui-page { overflow: hidden; }
  72. .ui-loader { display: none; position: absolute; opacity: .85; z-index: 100; left: 50%; width: 200px; margin-left: -130px; margin-top: -35px; padding: 10px 30px; }
  73. .ui-loader h1 { font-size: 15px; text-align: center; }
  74. .ui-loader .ui-icon { position: static; display: block; opacity: .9; margin: 0 auto; width: 35px; height: 35px; background-color: transparent; }
  75. /*fouc*/
  76. .ui-mobile-rendering > * { visibility: hidden; }
  77. /*headers, content panels*/
  78. .ui-bar, .ui-body { position: relative; padding: .4em 15px; overflow: hidden; display: block; clear:both; }
  79. .ui-bar { font-size: 16px; margin: 0; }
  80. .ui-bar h1, .ui-bar h2, .ui-bar h3, .ui-bar h4, .ui-bar h5, .ui-bar h6 { margin: 0; padding: 0; font-size: 16px; display: inline-block; }
  81. .ui-header, .ui-footer { display: block; }
  82. .ui-page .ui-header, .ui-page .ui-footer { position: relative; }
  83. .ui-header .ui-btn-left { position: absolute; left: 10px; top: .4em; }
  84. .ui-header .ui-btn-right { position: absolute; right: 10px; top: .4em; }
  85. .ui-header .ui-title, .ui-footer .ui-title { min-height: 1.1em; text-align: center; font-size: 16px; display: block; margin: .6em 90px .8em; padding: 0; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; outline: 0 !important; }
  86. .ui-footer .ui-title { margin: .6em 15px .8em; }
  87. /*content area*/
  88. .ui-content { border-width: 0; overflow: visible; overflow-x: hidden; padding: 15px; }
  89. .ui-page-fullscreen .ui-content { padding:0; }
  90. /* native fixed headers and footers */
  91. .ui-mobile-touch-overflow.ui-page.ui-native-fixed,
  92. .ui-mobile-touch-overflow.ui-page.ui-native-fullscreen {
  93. overflow: visible;
  94. }
  95. .ui-mobile-touch-overflow.ui-native-fixed .ui-header,
  96. .ui-mobile-touch-overflow.ui-native-fixed .ui-footer {
  97. position: fixed;
  98. left: 0;
  99. right: 0;
  100. top: 0;
  101. z-index: 200;
  102. }
  103. .ui-mobile-touch-overflow.ui-page.ui-native-fixed .ui-footer {
  104. top: auto;
  105. bottom: 0;
  106. }
  107. .ui-mobile-touch-overflow.ui-native-fixed .ui-content {
  108. padding-top: 2.5em;
  109. padding-bottom: 3em;
  110. top: 0;
  111. bottom: 0;
  112. height: auto;
  113. position: absolute;
  114. }
  115. .ui-mobile-touch-overflow.ui-native-fullscreen .ui-content {
  116. padding-top: 0;
  117. padding-bottom: 0;
  118. }
  119. .ui-mobile-touch-overflow.ui-native-fullscreen .ui-header,
  120. .ui-mobile-touch-overflow.ui-native-fullscreen .ui-footer {
  121. opacity: .9;
  122. }
  123. .ui-native-bars-hidden {
  124. display: none;
  125. }
  126. /* icons sizing */
  127. .ui-icon { width: 18px; height: 18px; }
  128. /* fullscreen class on ui-content div */
  129. .ui-fullscreen { }
  130. .ui-fullscreen img { max-width: 100%; }
  131. /* non-js content hiding */
  132. .ui-nojs { position: absolute; left: -9999px; }
  133. /* accessible content hiding */
  134. .ui-hide-label label,
  135. .ui-hidden-accessible { position: absolute !important; left: -9999px; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
  136. .spin {
  137. -webkit-transform: rotate(360deg);
  138. -webkit-animation-name: spin;
  139. -webkit-animation-duration: 1s;
  140. -webkit-animation-iteration-count: infinite;
  141. -webkit-animation-timing-function: linear;
  142. }
  143. @-webkit-keyframes spin {
  144. from {-webkit-transform: rotate(0deg);}
  145. to {-webkit-transform: rotate(360deg);}
  146. }
  147. /* Transitions from jQtouch (with small modifications): http://www.jqtouch.com/
  148. Built by David Kaneda and maintained by Jonathan Stark.
  149. */
  150. .in, .out {
  151. -webkit-animation-timing-function: ease-in-out;
  152. -webkit-animation-duration: 350ms;
  153. }
  154. .slide.out {
  155. -webkit-transform: translateX(-100%);
  156. -webkit-animation-name: slideouttoleft;
  157. }
  158. .slide.in {
  159. -webkit-transform: translateX(0);
  160. -webkit-animation-name: slideinfromright;
  161. }
  162. .slide.out.reverse {
  163. -webkit-transform: translateX(100%);
  164. -webkit-animation-name: slideouttoright;
  165. }
  166. .slide.in.reverse {
  167. -webkit-transform: translateX(0);
  168. -webkit-animation-name: slideinfromleft;
  169. }
  170. .slideup.out {
  171. -webkit-animation-name: dontmove;
  172. z-index: 0;
  173. }
  174. .slideup.in {
  175. -webkit-transform: translateY(0);
  176. -webkit-animation-name: slideinfrombottom;
  177. z-index: 10;
  178. }
  179. .slideup.in.reverse {
  180. z-index: 0;
  181. -webkit-animation-name: dontmove;
  182. }
  183. .slideup.out.reverse {
  184. -webkit-transform: translateY(100%);
  185. z-index: 10;
  186. -webkit-animation-name: slideouttobottom;
  187. }
  188. .slidedown.out {
  189. -webkit-animation-name: dontmove;
  190. z-index: 0;
  191. }
  192. .slidedown.in {
  193. -webkit-transform: translateY(0);
  194. -webkit-animation-name: slideinfromtop;
  195. z-index: 10;
  196. }
  197. .slidedown.in.reverse {
  198. z-index: 0;
  199. -webkit-animation-name: dontmove;
  200. }
  201. .slidedown.out.reverse {
  202. -webkit-transform: translateY(-100%);
  203. z-index: 10;
  204. -webkit-animation-name: slideouttotop;
  205. }
  206. @-webkit-keyframes slideinfromright {
  207. from { -webkit-transform: translateX(100%); }
  208. to { -webkit-transform: translateX(0); }
  209. }
  210. @-webkit-keyframes slideinfromleft {
  211. from { -webkit-transform: translateX(-100%); }
  212. to { -webkit-transform: translateX(0); }
  213. }
  214. @-webkit-keyframes slideouttoleft {
  215. from { -webkit-transform: translateX(0); }
  216. to { -webkit-transform: translateX(-100%); }
  217. }
  218. @-webkit-keyframes slideouttoright {
  219. from { -webkit-transform: translateX(0); }
  220. to { -webkit-transform: translateX(100%); }
  221. }
  222. @-webkit-keyframes slideinfromtop {
  223. from { -webkit-transform: translateY(-100%); }
  224. to { -webkit-transform: translateY(0); }
  225. }
  226. @-webkit-keyframes slideinfrombottom {
  227. from { -webkit-transform: translateY(100%); }
  228. to { -webkit-transform: translateY(0); }
  229. }
  230. @-webkit-keyframes slideouttobottom {
  231. from { -webkit-transform: translateY(0); }
  232. to { -webkit-transform: translateY(100%); }
  233. }
  234. @-webkit-keyframes slideouttotop {
  235. from { -webkit-transform: translateY(0); }
  236. to { -webkit-transform: translateY(-100%); }
  237. }
  238. @-webkit-keyframes fadein {
  239. from { opacity: 0; }
  240. to { opacity: 1; }
  241. }
  242. @-webkit-keyframes fadeout {
  243. from { opacity: 1; }
  244. to { opacity: 0; }
  245. }
  246. .fade.out {
  247. z-index: 0;
  248. -webkit-animation-name: fadeout;
  249. }
  250. .fade.in {
  251. opacity: 1;
  252. z-index: 10;
  253. -webkit-animation-name: fadein;
  254. }
  255. /* The properties in this rule are only necessary for the 'flip' transition.
  256. * We need specify the perspective to create a projection matrix. This will add
  257. * some depth as the element flips. The depth number represents the distance of
  258. * the viewer from the z-plane. According to the CSS3 spec, 1000 is a moderate
  259. * value.
  260. */
  261. .viewport-flip {
  262. -webkit-perspective: 1000;
  263. position: absolute;
  264. }
  265. .ui-mobile-viewport-transitioning,
  266. .ui-mobile-viewport-transitioning .ui-page {
  267. width: 100%;
  268. height: 100%;
  269. overflow: hidden;
  270. }
  271. .flip {
  272. -webkit-animation-duration: .65s;
  273. -webkit-backface-visibility:hidden;
  274. -webkit-transform:translateX(0); /* Needed to work around an iOS 3.1 bug that causes listview thumbs to disappear when -webkit-visibility:hidden is used. */
  275. }
  276. .flip.out {
  277. -webkit-transform: rotateY(-180deg) scale(.8);
  278. -webkit-animation-name: flipouttoleft;
  279. }
  280. .flip.in {
  281. -webkit-transform: rotateY(0) scale(1);
  282. -webkit-animation-name: flipinfromleft;
  283. }
  284. /* Shake it all about */
  285. .flip.out.reverse {
  286. -webkit-transform: rotateY(180deg) scale(.8);
  287. -webkit-animation-name: flipouttoright;
  288. }
  289. .flip.in.reverse {
  290. -webkit-transform: rotateY(0) scale(1);
  291. -webkit-animation-name: flipinfromright;
  292. }
  293. @-webkit-keyframes flipinfromright {
  294. from { -webkit-transform: rotateY(-180deg) scale(.8); }
  295. to { -webkit-transform: rotateY(0) scale(1); }
  296. }
  297. @-webkit-keyframes flipinfromleft {
  298. from { -webkit-transform: rotateY(180deg) scale(.8); }
  299. to { -webkit-transform: rotateY(0) scale(1); }
  300. }
  301. @-webkit-keyframes flipouttoleft {
  302. from { -webkit-transform: rotateY(0) scale(1); }
  303. to { -webkit-transform: rotateY(-180deg) scale(.8); }
  304. }
  305. @-webkit-keyframes flipouttoright {
  306. from { -webkit-transform: rotateY(0) scale(1); }
  307. to { -webkit-transform: rotateY(180deg) scale(.8); }
  308. }
  309. /* Hackish, but reliable. */
  310. @-webkit-keyframes dontmove {
  311. from { opacity: 1; }
  312. to { opacity: 1; }
  313. }
  314. .pop {
  315. -webkit-transform-origin: 50% 50%;
  316. }
  317. .pop.in {
  318. -webkit-transform: scale(1);
  319. opacity: 1;
  320. -webkit-animation-name: popin;
  321. z-index: 10;
  322. }
  323. .pop.in.reverse {
  324. z-index: 0;
  325. -webkit-animation-name: dontmove;
  326. }
  327. .pop.out.reverse {
  328. -webkit-transform: scale(.2);
  329. opacity: 0;
  330. -webkit-animation-name: popout;
  331. z-index: 10;
  332. }
  333. @-webkit-keyframes popin {
  334. from {
  335. -webkit-transform: scale(.2);
  336. opacity: 0;
  337. }
  338. to {
  339. -webkit-transform: scale(1);
  340. opacity: 1;
  341. }
  342. }
  343. @-webkit-keyframes popout {
  344. from {
  345. -webkit-transform: scale(1);
  346. opacity: 1;
  347. }
  348. to {
  349. -webkit-transform: scale(.2);
  350. opacity: 0;
  351. }
  352. }/* content configurations. */
  353. .ui-grid-a, .ui-grid-b, .ui-grid-c, .ui-grid-d { overflow: hidden; }
  354. .ui-block-a, .ui-block-b, .ui-block-c, .ui-block-d, .ui-block-e { margin: 0; padding: 0; border: 0; float: left; min-height:1px;}
  355. /* grid solo: 100 - single item fallback */
  356. .ui-grid-solo .ui-block-a { width: 100%; float: none; }
  357. /* grid a: 50/50 */
  358. .ui-grid-a .ui-block-a, .ui-grid-a .ui-block-b { width: 50%; }
  359. .ui-grid-a .ui-block-a { clear: left; }
  360. /* grid b: 33/33/33 */
  361. .ui-grid-b .ui-block-a, .ui-grid-b .ui-block-b, .ui-grid-b .ui-block-c { width: 33.333%; }
  362. .ui-grid-b .ui-block-a { clear: left; }
  363. /* grid c: 25/25/25/25 */
  364. .ui-grid-c .ui-block-a, .ui-grid-c .ui-block-b, .ui-grid-c .ui-block-c, .ui-grid-c .ui-block-d { width: 25%; }
  365. .ui-grid-c .ui-block-a { clear: left; }
  366. /* grid d: 20/20/20/20/20 */
  367. .ui-grid-d .ui-block-a, .ui-grid-d .ui-block-b, .ui-grid-d .ui-block-c, .ui-grid-d .ui-block-d, .ui-grid-d .ui-block-e { width: 20%; }
  368. .ui-grid-d .ui-block-a { clear: left; }
  369. /* fixed page header & footer configuration */
  370. .ui-header, .ui-footer, .ui-page-fullscreen .ui-header, .ui-page-fullscreen .ui-footer { position: absolute; overflow: hidden; width: 100%; border-left-width: 0; border-right-width: 0; }
  371. .ui-header-fixed, .ui-footer-fixed {
  372. z-index: 1000;
  373. -webkit-transform: translateZ(0); /* Force header/footer rendering to go through the same rendering pipeline as native page scrolling. */
  374. }
  375. .ui-footer-duplicate, .ui-page-fullscreen .ui-fixed-inline { display: none; }
  376. .ui-page-fullscreen .ui-header, .ui-page-fullscreen .ui-footer { opacity: .9; }
  377. .ui-navbar { overflow: hidden; }
  378. .ui-navbar ul, .ui-navbar-expanded ul { list-style:none; padding: 0; margin: 0; position: relative; display: block; border: 0;}
  379. .ui-navbar-collapsed ul { float: left; width: 75%; margin-right: -2px; }
  380. .ui-navbar-collapsed .ui-navbar-toggle { float: left; width: 25%; }
  381. .ui-navbar li.ui-navbar-truncate { position: absolute; left: -9999px; top: -9999px; }
  382. .ui-navbar li .ui-btn, .ui-navbar .ui-navbar-toggle .ui-btn { display: block; font-size: 12px; text-align: center; margin: 0; border-right-width: 0; max-width: 100%; }
  383. .ui-navbar li .ui-btn { margin-right: -1px; }
  384. .ui-navbar li .ui-btn:last-child { margin-right: 0; }
  385. .ui-header .ui-navbar li .ui-btn, .ui-header .ui-navbar .ui-navbar-toggle .ui-btn,
  386. .ui-footer .ui-navbar li .ui-btn, .ui-footer .ui-navbar .ui-navbar-toggle .ui-btn { border-top-width: 0; border-bottom-width: 0; }
  387. .ui-navbar .ui-btn-inner { padding-left: 2px; padding-right: 2px; }
  388. .ui-navbar-noicons li .ui-btn .ui-btn-inner, .ui-navbar-noicons .ui-navbar-toggle .ui-btn-inner { padding-top: .8em; padding-bottom: .9em; }
  389. /*expanded page styles*/
  390. .ui-navbar-expanded .ui-btn { margin: 0; font-size: 14px; }
  391. .ui-navbar-expanded .ui-btn-inner { padding-left: 5px; padding-right: 5px; }
  392. .ui-navbar-expanded .ui-btn-icon-top .ui-btn-inner { padding: 45px 5px 15px; text-align: center; }
  393. .ui-navbar-expanded .ui-btn-icon-top .ui-icon { top: 15px; }
  394. .ui-navbar-expanded .ui-btn-icon-bottom .ui-btn-inner { padding: 15px 5px 45px; text-align: center; }
  395. .ui-navbar-expanded .ui-btn-icon-bottom .ui-icon { bottom: 15px; }
  396. .ui-navbar-expanded li .ui-btn .ui-btn-inner { min-height: 2.5em; }
  397. .ui-navbar-expanded .ui-navbar-noicons .ui-btn .ui-btn-inner { padding-top: 1.8em; padding-bottom: 1.9em; }
  398. .ui-btn { display: block; text-align: center; cursor:pointer; position: relative; margin: .5em 5px; padding: 0; }
  399. .ui-header .ui-btn, .ui-footer .ui-btn, .ui-bar .ui-btn { display: inline-block; font-size: 13px; margin: 0; }
  400. .ui-btn-inline { display: inline-block; }
  401. .ui-btn-inner { padding: .6em 25px; display: block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; position: relative; zoom: 1; }
  402. .ui-btn input, .ui-btn button { z-index: 2; }
  403. .ui-header .ui-btn-inner, .ui-footer .ui-btn-inner, .ui-bar .ui-btn-inner { padding: .4em 8px .5em; }
  404. .ui-btn-icon-notext { width: 24px; height: 24px; }
  405. .ui-btn-icon-notext .ui-btn-inner { padding: 2px 1px 2px 3px; }
  406. .ui-btn-text { position: relative; z-index: 1; }
  407. .ui-btn-icon-notext .ui-btn-text { position: absolute; left: -9999px; }
  408. .ui-btn-icon-left .ui-btn-inner { padding-left: 33px; }
  409. .ui-header .ui-btn-icon-left .ui-btn-inner,
  410. .ui-footer .ui-btn-icon-left .ui-btn-inner,
  411. .ui-bar .ui-btn-icon-left .ui-btn-inner { padding-left: 27px; }
  412. .ui-btn-icon-right .ui-btn-inner { padding-right: 33px; }
  413. .ui-header .ui-btn-icon-right .ui-btn-inner,
  414. .ui-footer .ui-btn-icon-right .ui-btn-inner,
  415. .ui-bar .ui-btn-icon-right .ui-btn-inner { padding-right: 27px; }
  416. .ui-btn-icon-top .ui-btn-inner { padding-top: 33px; }
  417. .ui-header .ui-btn-icon-top .ui-btn-inner,
  418. .ui-footer .ui-btn-icon-top .ui-btn-inner,
  419. .ui-bar .ui-btn-icon-top .ui-btn-inner { padding-top: 27px; }
  420. .ui-btn-icon-bottom .ui-btn-inner { padding-bottom: 33px; }
  421. .ui-header .ui-btn-icon-bottom .ui-btn-inner,
  422. .ui-footer .ui-btn-icon-bottom .ui-btn-inner,
  423. .ui-bar .ui-btn-icon-bottom .ui-btn-inner { padding-bottom: 27px; }
  424. /*btn icon positioning*/
  425. .ui-btn-icon-notext .ui-icon { display: block; z-index: 0;}
  426. .ui-btn-icon-left .ui-icon, .ui-btn-icon-right .ui-icon { position: absolute; top: 50%; margin-top: -9px; }
  427. .ui-btn-icon-top .ui-icon, .ui-btn-icon-bottom .ui-icon { position: absolute; left: 50%; margin-left: -9px; }
  428. .ui-btn-icon-left .ui-icon { left: 10px; }
  429. .ui-btn-icon-right .ui-icon { right: 10px; }
  430. .ui-btn-icon-top .ui-icon { top: 10px; }
  431. .ui-btn-icon-bottom .ui-icon { bottom: 10px; }
  432. .ui-header .ui-btn-icon-left .ui-icon,
  433. .ui-footer .ui-btn-icon-left .ui-icon,
  434. .ui-bar .ui-btn-icon-left .ui-icon { left: 4px; }
  435. .ui-header .ui-btn-icon-right .ui-icon,
  436. .ui-footer .ui-btn-icon-right .ui-icon,
  437. .ui-bar .ui-btn-icon-right .ui-icon { right: 4px; }
  438. .ui-header .ui-btn-icon-top .ui-icon,
  439. .ui-footer .ui-btn-icon-top .ui-icon,
  440. .ui-bar .ui-btn-icon-top .ui-icon { top: 4px; }
  441. .ui-header .ui-btn-icon-bottom .ui-icon,
  442. .ui-footer .ui-btn-icon-bottom .ui-icon,
  443. .ui-bar .ui-btn-icon-bottom .ui-icon { bottom: 4px; }
  444. /*hiding native button,inputs */
  445. .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; line-height: 999px; }
  446. .ui-collapsible { margin: .5em 0; }
  447. .ui-collapsible-heading { font-size: 16px; display: block; margin: 0 -8px; padding: 0; border-width: 0 0 1px 0; position: relative; }
  448. .ui-collapsible-heading a { text-align: left; margin: 0; }
  449. .ui-collapsible-heading a .ui-btn-inner { padding-left: 40px; }
  450. .ui-collapsible-heading a span.ui-btn { position: absolute; left: 6px; top: 50%; margin: -12px 0 0 0; width: 20px; height: 20px; padding: 1px 0px 1px 2px; text-indent: -9999px; }
  451. .ui-collapsible-heading a span.ui-btn .ui-btn-inner { padding: 10px 0; }
  452. .ui-collapsible-heading a span.ui-btn .ui-icon { left: 0; margin-top: -10px; }
  453. .ui-collapsible-heading-status { position: absolute; top: -9999px; left:0px; }
  454. .ui-collapsible-content {
  455. display: block;
  456. margin: 0 -8px;
  457. padding: 10px 16px;
  458. border-top: none; /* Overrides ui-btn-up-* */
  459. background-image: none; /* Overrides ui-btn-up-* */
  460. font-weight: normal; /* Overrides ui-btn-up-* */
  461. }
  462. .ui-collapsible-content-collapsed { display: none; }
  463. .ui-collapsible-set { margin: .5em 0; }
  464. .ui-collapsible-set .ui-collapsible { margin: -1px 0 0; }
  465. .ui-controlgroup, fieldset.ui-controlgroup { padding: 0; margin: .5em 0 1em; }
  466. .ui-bar .ui-controlgroup { margin: 0 .3em; }
  467. .ui-controlgroup-label { font-size: 16px; line-height: 1.4; font-weight: normal; margin: 0 0 .3em; }
  468. .ui-controlgroup-controls { display: block; width: 100%;}
  469. .ui-controlgroup li { list-style: none; }
  470. .ui-controlgroup-vertical .ui-btn,
  471. .ui-controlgroup-vertical .ui-checkbox, .ui-controlgroup-vertical .ui-radio { margin: 0; border-bottom-width: 0; }
  472. .ui-controlgroup-controls label.ui-select { position: absolute; left: -9999px; }
  473. .ui-controlgroup-vertical .ui-controlgroup-last { border-bottom-width: 1px; }
  474. .ui-controlgroup-horizontal { padding: 0; }
  475. .ui-controlgroup-horizontal .ui-btn, .ui-controlgroup-horizontal .ui-select { display: inline-block; margin: 0 -5px 0 0; }
  476. .ui-controlgroup-horizontal .ui-checkbox, .ui-controlgroup-horizontal .ui-radio { float: left; margin: 0 -1px 0 0; }
  477. .ui-controlgroup-horizontal .ui-checkbox .ui-btn, .ui-controlgroup-horizontal .ui-radio .ui-btn,
  478. .ui-controlgroup-horizontal .ui-checkbox:last-child, .ui-controlgroup-horizontal .ui-radio:last-child { margin-right: 0; }
  479. .ui-controlgroup-horizontal .ui-controlgroup-last { margin-right: 0; }
  480. .ui-controlgroup .ui-checkbox label, .ui-controlgroup .ui-radio label { font-size: 16px; }
  481. /* conflicts with listview..
  482. .ui-controlgroup .ui-btn-icon-notext { width: 30px; height: 30px; text-indent: -9999px; }
  483. .ui-controlgroup .ui-btn-icon-notext .ui-btn-inner { padding: 5px 6px 5px 5px; }
  484. */
  485. @media all and (min-width: 450px){
  486. .ui-field-contain .ui-controlgroup-label { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0; }
  487. .ui-field-contain .ui-controlgroup-controls { width: 60%; display: inline-block; }
  488. .ui-field-contain .ui-controlgroup .ui-select { width: 100%; }
  489. .ui-field-contain .ui-controlgroup-horizontal .ui-select { width: auto; }
  490. } .ui-dialog { min-height: 480px; }
  491. .ui-dialog .ui-header,
  492. .ui-dialog .ui-content,
  493. .ui-dialog .ui-footer {
  494. max-width: 500px;
  495. margin: 10% auto 15px auto;
  496. width: 85%;
  497. position: relative;
  498. }
  499. .ui-dialog .ui-header,
  500. .ui-dialog .ui-footer {
  501. padding: 0 15px;
  502. z-index: 10;
  503. }
  504. .ui-dialog .ui-content {
  505. padding: 15px;
  506. }
  507. .ui-dialog .ui-content,
  508. .ui-dialog .ui-footer {
  509. margin-top: -15px;
  510. }
  511. .ui-checkbox, .ui-radio { position:relative; margin: .2em 0 .5em; z-index: 1; }
  512. .ui-checkbox .ui-btn, .ui-radio .ui-btn { margin: 0; text-align: left; z-index: 2; }
  513. .ui-checkbox .ui-btn-inner, .ui-radio .ui-btn-inner { white-space: normal; }
  514. .ui-checkbox .ui-btn-icon-left .ui-btn-inner,.ui-radio .ui-btn-icon-left .ui-btn-inner { padding-left: 45px; }
  515. .ui-checkbox .ui-btn-icon-right .ui-btn-inner, .ui-radio .ui-btn-icon-right .ui-btn-inner { padding-right: 45px; }
  516. .ui-checkbox .ui-icon, .ui-radio .ui-icon { top: 1.1em; }
  517. .ui-checkbox .ui-btn-icon-left .ui-icon, .ui-radio .ui-btn-icon-left .ui-icon {left: 15px; }
  518. .ui-checkbox .ui-btn-icon-right .ui-icon, .ui-radio .ui-btn-icon-right .ui-icon {right: 15px; }
  519. /* input, label positioning */
  520. .ui-checkbox input,.ui-radio input { position:absolute; left:20px; top:50%; width: 10px; height: 10px; margin:-5px 0 0 0; outline: 0 !important; z-index: 1; }.ui-field-contain, fieldset.ui-field-contain { padding: 1.5em 0; margin: 0; border-width: 0 0 1px 0; overflow: visible; }
  521. .ui-field-contain:first-child { border-top-width: 0; }
  522. @media all and (min-width: 450px){
  523. .ui-field-contain, .ui-mobile fieldset.ui-field-contain { border-width: 0; padding: 0; margin: 1em 0; }
  524. } .ui-select { display: block; position: relative; }
  525. .ui-select select { position: absolute; left: -9999px; top: -9999px; }
  526. .ui-select .ui-btn { overflow: hidden; }
  527. .ui-select .ui-btn { opacity: 1; }
  528. /* 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. */
  529. .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; }
  530. .ui-select .ui-disabled { opacity: .3; }
  531. @-moz-document url-prefix() {.ui-select .ui-btn select { opacity: 0.0001; }}
  532. .ui-select .ui-btn select.ui-select-nativeonly { opacity: 1; text-indent: 0; }
  533. .ui-select .ui-btn-icon-right .ui-btn-inner { padding-right: 45px; }
  534. .ui-select .ui-btn-icon-right .ui-icon { right: 15px; }
  535. /* labels */
  536. label.ui-select { font-size: 16px; line-height: 1.4; font-weight: normal; margin: 0 0 .3em; display: block; }
  537. /*listbox*/
  538. .ui-select .ui-btn-text, .ui-selectmenu .ui-btn-text { display: block; min-height: 1em; overflow: hidden; }
  539. .ui-select .ui-btn-text { text-overflow: ellipsis; }
  540. .ui-selectmenu { position: absolute; padding: 0; z-index: 1100 !important; width: 80%; max-width: 350px; padding: 6px; }
  541. .ui-selectmenu .ui-listview { margin: 0; }
  542. .ui-selectmenu .ui-btn.ui-li-divider { cursor: default; }
  543. .ui-selectmenu-hidden { top: -9999px; left: -9999px; }
  544. .ui-selectmenu-screen { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 99; }
  545. .ui-screen-hidden, .ui-selectmenu-list .ui-li .ui-icon { display: none; }
  546. .ui-selectmenu-list .ui-li .ui-icon { display: block; }
  547. .ui-li.ui-selectmenu-placeholder { display: none; }
  548. .ui-selectmenu .ui-header .ui-title { margin: 0.6em 46px 0.8em; }
  549. @media all and (min-width: 450px){
  550. .ui-field-contain label.ui-select { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0; }
  551. .ui-field-contain .ui-select { width: 60%; display: inline-block; }
  552. }
  553. /* 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 */
  554. .ui-selectmenu .ui-header h1:after { content: '.'; visibility: hidden; }
  555. /* TODO when the custom select css us moved out to it's own file this should be included */
  556. .ui-li-static .ui-select .ui-li-count { right: 38px; }
  557. label.ui-input-text { font-size: 16px; line-height: 1.4; display: block; font-weight: normal; margin: 0 0 .3em; }
  558. input.ui-input-text, textarea.ui-input-text { background-image: none; padding: .4em; line-height: 1.4; font-size: 16px; display: block; width: 97%; }
  559. input.ui-input-text { -webkit-appearance: none; }
  560. textarea.ui-input-text { height: 50px; -webkit-transition: height 200ms linear; -moz-transition: height 200ms linear; -o-transition: height 200ms linear; transition: height 200ms linear; }
  561. .ui-input-search { padding: 0 30px; background-image: none; position: relative; }
  562. .ui-icon-searchfield:after { position: absolute; left: 7px; top: 50%; margin-top: -9px; content: ""; width: 18px; height: 18px; opacity: .5; }
  563. .ui-input-search input.ui-input-text { border: none; width: 98%; padding: .4em 0; margin: 0; display: block; background: transparent none; outline: 0 !important; }
  564. .ui-input-search .ui-input-clear { position: absolute; right: 0; top: 50%; margin-top: -13px; }
  565. .ui-input-search .ui-input-clear-hidden { display: none; }
  566. /* orientation adjustments - incomplete!*/
  567. @media all and (min-width: 450px){
  568. .ui-field-contain label.ui-input-text { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0 }
  569. .ui-field-contain input.ui-input-text,
  570. .ui-field-contain textarea.ui-input-text,
  571. .ui-field-contain .ui-input-search { width: 60%; display: inline-block; }
  572. .ui-field-contain .ui-input-search { width: 50%; }
  573. .ui-hide-label input.ui-input-text,
  574. .ui-hide-label textarea.ui-input-text,
  575. .ui-hide-label .ui-input-search { padding: .4em; width: 97%; }
  576. .ui-input-search input.ui-input-text { width: 98%; /*echos rule from above*/ }
  577. }.ui-listview { margin: 0; counter-reset: listnumbering; }
  578. .ui-content .ui-listview { margin: -15px; }
  579. .ui-content .ui-listview-inset { margin: 1em 0; }
  580. .ui-listview, .ui-li { list-style:none; padding:0; }
  581. .ui-li, .ui-li.ui-field-contain { display: block; margin:0; position: relative; overflow: visible; text-align: left; border-width: 0; border-top-width: 1px; }
  582. .ui-li .ui-btn-text a.ui-link-inherit { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
  583. .ui-li-divider, .ui-li-static { padding: .5em 15px; font-size: 14px; font-weight: bold; }
  584. .ui-li-divider { counter-reset: listnumbering; }
  585. ol.ui-listview .ui-link-inherit:before, ol.ui-listview .ui-li-static:before, .ui-li-dec { font-size: .8em; display: inline-block; padding-right: .3em; font-weight: normal;counter-increment: listnumbering; content: counter(listnumbering) ". "; }
  586. ol.ui-listview .ui-li-jsnumbering:before { content: "" !important; } /* to avoid chance of duplication */
  587. .ui-listview-inset .ui-li { border-right-width: 1px; border-left-width: 1px; }
  588. .ui-li:last-child, .ui-li.ui-field-contain:last-child { border-bottom-width: 1px; }
  589. .ui-li>.ui-btn-inner { display: block; position: relative; padding: 0; }
  590. .ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li { padding: .7em 15px .7em 15px; display: block; }
  591. .ui-li-has-thumb .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-thumb { min-height: 60px; padding-left: 100px; }
  592. .ui-li-has-icon .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-icon { min-height: 20px; padding-left: 40px; }
  593. .ui-li-has-count .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-count { padding-right: 45px; }
  594. .ui-li-has-arrow .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-arrow { padding-right: 30px; }
  595. .ui-li-has-arrow.ui-li-has-count .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-arrow.ui-li-has-count { padding-right: 75px; }
  596. .ui-li-has-count .ui-btn-text { padding-right: 15px; }
  597. .ui-li-heading { font-size: 16px; font-weight: bold; display: block; margin: .6em 0; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
  598. .ui-li-desc { font-size: 12px; font-weight: normal; display: block; margin: -.5em 0 .6em; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
  599. .ui-li-thumb, .ui-listview .ui-li-icon { position: absolute; left: 1px; top: 0; max-height: 80px; max-width: 80px; }
  600. .ui-listview .ui-li-icon { max-height: 40px; max-width: 40px; left: 10px; top: .9em; }
  601. .ui-li-thumb, .ui-listview .ui-li-icon, .ui-li-content { float: left; margin-right: 10px; }
  602. .ui-li-aside { float: right; width: 50%; text-align: right; margin: .3em 0; }
  603. @media all and (min-width: 480px){
  604. .ui-li-aside { width: 45%; }
  605. }
  606. .ui-li-divider { cursor: default; }
  607. .ui-li-has-alt .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-alt { padding-right: 95px; }
  608. .ui-li-has-count .ui-li-count { position: absolute; font-size: 11px; font-weight: bold; padding: .2em .5em; top: 50%; margin-top: -.9em; right: 38px; }
  609. .ui-li-divider .ui-li-count, .ui-li-static .ui-li-count { right: 10px; }
  610. .ui-li-has-alt .ui-li-count { right: 55px; }
  611. .ui-li-link-alt { position: absolute; width: 40px; height: 100%; border-width: 0; border-left-width: 1px; top: 0; right: 0; margin: 0; padding: 0; z-index: 2; }
  612. .ui-li-link-alt .ui-btn { overflow: hidden; position: absolute; right: 8px; top: 50%; margin: -11px 0 0 0; border-bottom-width: 1px; z-index: -1;}
  613. .ui-li-link-alt .ui-btn-inner { padding: 0; height: 100%; position: absolute; width: 100%; top: 0; left: 0;}
  614. .ui-li-link-alt .ui-btn .ui-icon { right: 50%; margin-right: -9px; }
  615. .ui-listview * .ui-btn-inner > .ui-btn > .ui-btn-inner { border-top: 0px; }
  616. .ui-listview-filter { border-width: 0; overflow: hidden; margin: -15px -15px 15px -15px }
  617. .ui-listview-filter .ui-input-search { margin: 5px; width: auto; display: block; }
  618. .ui-listview-filter-inset { margin: -15px -5px -15px -5px; background: transparent; }
  619. .ui-li.ui-screen-hidden{display:none;}
  620. /* Odd iPad positioning issue. */
  621. @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  622. .ui-li .ui-btn-text { overflow: visible; }
  623. }label.ui-slider { font-size: 16px; line-height: 1.4; font-weight: normal; margin: 0 0 .3em; display: block; }
  624. input.ui-slider-input,
  625. .ui-field-contain input.ui-slider-input { display: inline-block; width: 50px; }
  626. select.ui-slider-switch { display: none; }
  627. div.ui-slider { position: relative; display: inline-block; overflow: visible; height: 15px; padding: 0; margin: 0 2% 0 20px; top: 4px; width: 60%; }
  628. div.ui-slider-switch { width: 99.8%; }
  629. a.ui-slider-handle { position: absolute; z-index: 10; top: 50%; width: 28px; height: 28px; margin-top: -15px; margin-left: -15px; }
  630. a.ui-slider-handle .ui-btn-inner { padding-left: 0; padding-right: 0; }
  631. @media all and (min-width: 480px){
  632. .ui-field-contain label.ui-slider { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0; }
  633. .ui-field-contain div.ui-slider { width: 43%; }
  634. }
  635. div.ui-slider-switch { height: 32px; overflow: hidden; margin-left: 0; }
  636. div.ui-slider-inneroffset { margin-left: 50%; position: absolute; top: 1px; height: 100%; width: 50%; }
  637. a.ui-slider-handle-snapping { -webkit-transition: left 70ms linear; -moz-transition: left 70ms linear; }
  638. div.ui-slider-labelbg { position: absolute; top:0; margin: 0; border-width: 0; }
  639. div.ui-slider-switch div.ui-slider-labelbg-a { width: 60%; height: 100%; left: 0; }
  640. div.ui-slider-switch div.ui-slider-labelbg-b { width: 60%; height: 100%; right: 0; }
  641. .ui-slider-switch-a div.ui-slider-labelbg-a, .ui-slider-switch-b div.ui-slider-labelbg-b { z-index: -1; }
  642. .ui-slider-switch-a div.ui-slider-labelbg-b, .ui-slider-switch-b div.ui-slider-labelbg-a { z-index: 0; }
  643. div.ui-slider-switch a.ui-slider-handle { z-index: 20; width: 101%; height: 32px; margin-top: -18px; margin-left: -101%; }
  644. span.ui-slider-label { width: 100%; position: absolute;height: 32px; font-size: 16px; text-align: center; line-height: 2; background: none; border-color: transparent; }
  645. span.ui-slider-label-a { left: -100%; margin-right: -1px }
  646. span.ui-slider-label-b { right: -100%; margin-left: -1px }