/static/jqtouch/jqtouch.css

https://bitbucket.org/ialbert/galaxy-genetrack · CSS · 436 lines · 362 code · 56 blank · 18 comment · 0 complexity · 8aea1a1c61be214fa79f8af0d5cd23a1 MD5 · raw file

  1. body {
  2. margin: 0;
  3. font-family: Helvetica;
  4. overflow-x: hidden;
  5. -webkit-user-select: none;
  6. -webkit-touch-callout: none;
  7. -webkit-text-size-adjust: none;
  8. background-color: #000;
  9. }
  10. *, a {
  11. /*-webkit-tap-highlight-color: rbga(23,126,191,.5) !important;*/
  12. -webkit-tap-highlight-color:rgba(0, 0, 0, 0);
  13. }
  14. .edgetoedge a, .panel a {
  15. /*-webkit-tap-highlight-color: rbga(23,126,191,.5) !important;*/
  16. -webkit-tap-highlight-color:rgba(23, 126, 191, .4);
  17. }
  18. body > * {
  19. display: none;
  20. position: absolute;
  21. margin: 0;
  22. padding: 0;
  23. left: 0;
  24. width: 100%;
  25. min-height: 480px;
  26. -webkit-transform: translate(0px,0px);
  27. background-color: #fff;
  28. }
  29. body[orient="landscape"] > * {
  30. min-height: 320px;
  31. }
  32. body > *[selected="true"], body > *[selected="selected"] {
  33. display: block;
  34. }
  35. .edgetoedge a[selected=true], .edgetoedge a:active, .panel a[selected=true], .panel a:active {
  36. background-color: rgb(170,170,238) !important;
  37. }
  38. a[selected="progress"] {
  39. background-color: rgb(170,170,238) !important;
  40. background-image: url(img/loading.gif) !important;
  41. background-repeat: no-repeat !important;
  42. background-position: right center !important;
  43. }
  44. /* @group Toolbar */
  45. .toolbar {
  46. -webkit-box-sizing: border-box;
  47. padding: 10px;
  48. /* height: 60px; */
  49. /* padding-top: 28px; */
  50. /* background: #000 url(img/toolbar.gif) bottom left repeat-x; */
  51. height: 42px;
  52. background: rgb(44,49,67);
  53. position: relative;
  54. }
  55. .toolbar > h1 {
  56. position: absolute;
  57. overflow: hidden;
  58. left: 50%;
  59. margin: 1px 0 0 -75px;
  60. height: 45px;
  61. font-size: 20px;
  62. width: 150px;
  63. font-weight: bold;
  64. /*text-shadow: rgba(0, 0, 0, .75) -1px -1px 0;*/
  65. text-align: center;
  66. text-overflow: ellipsis;
  67. white-space: nowrap;
  68. color: #f6f6f6;
  69. }
  70. body[orient="landscape"] .toolbar > h1 {
  71. margin-left: -125px;
  72. width: 250px;
  73. }
  74. /* @end */
  75. .button {
  76. position: absolute;
  77. overflow: hidden;
  78. bottom: 5px;
  79. right: 6px;
  80. margin: 0;
  81. border-width: 0 5px;
  82. padding: 0 3px;
  83. width: auto;
  84. height: 30px;
  85. line-height: 30px;
  86. font-family: inherit;
  87. font-size: 12px;
  88. font-weight: bold;
  89. color: #FFFFFF;
  90. text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
  91. text-overflow: ellipsis;
  92. text-decoration: none;
  93. white-space: nowrap;
  94. background: none;
  95. -webkit-border-image: url(img/button.png) 0 5 0 5;
  96. }
  97. .button:active {
  98. -webkit-border-image: url(img/button_clicked.png) 0 5 0 5;
  99. }
  100. .blueButton {
  101. -webkit-border-image: url(img/blueButton.png) 0 5 0 5;
  102. border-width: 0 5px;
  103. }
  104. .leftButton {
  105. left: 6px;
  106. right: auto;
  107. }
  108. .toolbar .back {
  109. left: 6px;
  110. right: auto;
  111. padding: 0;
  112. max-width: 55px;
  113. border-width: 0 8px 0 15px;
  114. -webkit-border-image: url(img/back_button.png) 0 8 0 15;
  115. }
  116. .toolbar .back:active {
  117. -webkit-border-image: url(img/back_button_clicked.png) !important;
  118. }
  119. .whiteButton,
  120. .grayButton {
  121. display: block;
  122. border-width: 0 12px;
  123. padding: 10px;
  124. text-align: center;
  125. font-size: 20px;
  126. font-weight: bold;
  127. text-decoration: inherit;
  128. color: inherit;
  129. }
  130. .whiteButton {
  131. -webkit-border-image: url(img/whiteButton.png) 0 12 0 12;
  132. text-shadow: rgba(255, 255, 255, 0.7) 0 1px 0;
  133. }
  134. .grayButton {
  135. -webkit-border-image: url(img/grayButton.png) 0 12 0 12;
  136. color: #FFFFFF;
  137. }
  138. /* @group Edge to edge */
  139. .edgetoedge {
  140. margin: 0;
  141. padding: 0;
  142. background-color: #fff;
  143. }
  144. .edgetoedge > li {
  145. position: relative;
  146. margin: 0;
  147. border-bottom: 1px solid #E0E0E0;
  148. padding: 8px 0 8px 10px;
  149. font-size: 20px;
  150. font-weight: bold;
  151. list-style: none;
  152. /* background: url(../img/bg_row.gif) 0 2px repeat-x; */
  153. color: #999;
  154. }
  155. .edgetoedge > li.group {
  156. position: relative;
  157. top: -1px;
  158. margin-bottom: -2px;
  159. border-top: 1px solid #7d7d7d;
  160. border-bottom: 1px solid #999999;
  161. padding: 1px 10px;
  162. background: url(img/listGroup.png) repeat-x;
  163. font-size: 17px;
  164. font-weight: bold;
  165. text-shadow: rgba(0, 0, 0, 0.4) 0 1px 0;
  166. color: #FFFFFF;
  167. }
  168. .edgetoedge > li.group:first-child, .inset > li.group:first-child {
  169. top: 0;
  170. border-top: none;
  171. }
  172. .edgetoedge a, .inset a {
  173. display: block;
  174. margin: -8px 0 -8px -10px;
  175. padding: 8px 32px 8px 10px;
  176. text-decoration: none;
  177. color: #000;
  178. /*
  179. background-image: url(img/bg_row.gif), url(img/chevron.png);
  180. background-repeat: repeat-x, no-repeat;
  181. background-position: 0 1px, right center;
  182. */
  183. background-image: url(img/chevron.png);
  184. background-repeat: no-repeat;
  185. background-position: right center;
  186. }
  187. /* @end */
  188. a[target="_replace"] {
  189. box-sizing: border-box;
  190. -webkit-box-sizing: border-box;
  191. padding-top: 25px;
  192. padding-bottom: 25px;
  193. font-size: 18px;
  194. color: cornflowerblue;
  195. background-color: #FFFFFF;
  196. background-image: none;
  197. }
  198. body > .dialog {
  199. top: 0;
  200. width: 100%;
  201. min-height: 417px;
  202. z-index: 2;
  203. background: rgba(0, 0, 0, 0.8);
  204. padding: 0;
  205. text-align: right;
  206. }
  207. .dialog > fieldset {
  208. box-sizing: border-box;
  209. -webkit-box-sizing: border-box;
  210. width: 100%;
  211. margin: 0;
  212. border: none;
  213. border-top: 1px solid #6d84a2;
  214. padding: 10px 6px;
  215. background: url(img/toolbar.png) #7388a5 repeat-x;
  216. }
  217. .dialog > fieldset > h1 {
  218. margin: 0 10px 0 10px;
  219. padding: 0;
  220. font-size: 20px;
  221. font-weight: bold;
  222. color: #FFFFFF;
  223. text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
  224. text-align: center;
  225. }
  226. .dialog > fieldset > label {
  227. position: absolute;
  228. margin: 16px 0 0 6px;
  229. font-size: 14px;
  230. color: #999999;
  231. }
  232. input {
  233. box-sizing: border-box;
  234. -webkit-box-sizing: border-box;
  235. width: 100%;
  236. margin: 8px 0 0 0;
  237. padding: 6px 6px 6px 44px;
  238. font-size: 16px;
  239. font-weight: normal;
  240. }
  241. .panel {
  242. box-sizing: border-box;
  243. -webkit-box-sizing: border-box;
  244. background: #c8c8c8 url(img/pinstripes.png);
  245. overflow: auto;
  246. }
  247. .pad {
  248. padding: 15px;
  249. }
  250. .panel fieldset {
  251. position: relative;
  252. margin: 0 0 20px 0;
  253. padding: 0;
  254. background: #FFFFFF;
  255. -webkit-border-radius: 10px;
  256. border: 1px solid #999999;
  257. /* text-align: right; */
  258. font-size: 16px;
  259. }
  260. .row {
  261. position: relative;
  262. min-height: 42px;
  263. border-bottom: 1px solid #999999;
  264. -webkit-border-radius: 0;
  265. /* text-align: right; */
  266. }
  267. fieldset .row:last-child {
  268. border-bottom: none !important;
  269. }
  270. .row > input {
  271. box-sizing: border-box;
  272. -webkit-box-sizing: border-box;
  273. margin: 0;
  274. border: none;
  275. padding: 12px 10px 0 110px;
  276. min-height: 42px;
  277. background: none;
  278. }
  279. .row > span {
  280. display: block;
  281. text-align: left;
  282. box-sizing: border-box;
  283. -webkit-box-sizing: border-box;
  284. margin: 0;
  285. border: none;
  286. padding: 12px 10px 10px 110px;
  287. min-height: 42px;
  288. background: none;
  289. }
  290. .row > a {
  291. display: block;
  292. height: 42px;
  293. text-decoration: none;
  294. padding: 0 0 0 14px;
  295. line-height: 42px;
  296. font-weight: bold;
  297. color: #000;
  298. background-image: url(img/chevron.png);
  299. background-repeat: no-repeat;
  300. background-position: right center;
  301. }
  302. .row > label {
  303. position: absolute;
  304. margin: 0 0 0 14px;
  305. line-height: 42px;
  306. font-weight: bold;
  307. }
  308. .row > .toggle {
  309. position: absolute;
  310. top: 6px;
  311. right: 6px;
  312. width: 100px;
  313. height: 28px;
  314. }
  315. .toggle {
  316. border: 1px solid #888888;
  317. -webkit-border-radius: 6px;
  318. background: #FFFFFF url(img/toggle.png) repeat-x;
  319. font-size: 19px;
  320. font-weight: bold;
  321. line-height: 30px;
  322. }
  323. .toggle[toggled="true"] {
  324. border: 1px solid #143fae;
  325. background: #194fdb url(img/toggleOn.png) repeat-x;
  326. }
  327. .toggleOn {
  328. display: none;
  329. position: absolute;
  330. width: 60px;
  331. text-align: center;
  332. left: 0;
  333. top: 0;
  334. color: #FFFFFF;
  335. text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
  336. }
  337. .toggleOff {
  338. position: absolute;
  339. width: 60px;
  340. text-align: center;
  341. right: 0;
  342. top: 0;
  343. color: #666666;
  344. }
  345. .toggle[toggled="true"] > .toggleOn {
  346. display: block;
  347. }
  348. .toggle[toggled="true"] > .toggleOff {
  349. display: none;
  350. }
  351. .thumb {
  352. position: absolute;
  353. top: -1px;
  354. left: -1px;
  355. width: 40px;
  356. height: 28px;
  357. border: 1px solid #888888;
  358. -webkit-border-radius: 6px;
  359. background: #ffffff url(img/thumb.png) repeat-x;
  360. }
  361. .toggle[toggled="true"] > .thumb {
  362. left: auto;
  363. right: -1px;
  364. }
  365. .panel h2 {
  366. margin: 0 0 8px 14px;
  367. font-size: inherit;
  368. font-weight: bold;
  369. color: rgb(17, 20, 23, .5);
  370. text-shadow: rgba(255, 255, 255, 0.75) 1px 1px 0;
  371. }
  372. .panel p a {
  373. color: #4195ca;
  374. }
  375. #about {
  376. background: rgb(17, 20, 23);
  377. color: #ddd;
  378. text-shadow: rgba(255, 255, 255, 0.3) 0px -1px 0;
  379. font-size: 20px;
  380. }