iui.css 8.3 KB

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