moka.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486
  1. @import "reset.css";
  2. @import url("http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,latin-ext");
  3. .no-select {
  4. -webkit-touch-callout: none;
  5. -webkit-user-select: none;
  6. -khtml-user-select: none;
  7. -moz-user-select: none;
  8. -ms-user-select: none;
  9. user-select: none;
  10. }
  11. ::-webkit-scrollbar {
  12. width: 8px;
  13. height: 8px;
  14. }
  15. ::-webkit-scrollbar-button {
  16. height: 0;
  17. width: 0;
  18. }
  19. ::-webkit-resizer {
  20. background-color: #eeeeee;
  21. }
  22. ::-webkit-scrollbar-track {
  23. background-color: #eeeeee;
  24. }
  25. ::-webkit-scrollbar-track-piece {
  26. background-color: #eeeeee;
  27. }
  28. ::-webkit-scrollbar-corner {
  29. background-color: #eeeeee;
  30. }
  31. ::-webkit-scrollbar-thumb {
  32. background: #e1e1e1;
  33. background: -webkit-gradient(linear, left top, right top, color-stop(0, #e1e1e1), color-stop(1, #cfcfcf));
  34. background: -ms-linear-gradient(left, #e1e1e1, #cfcfcf);
  35. background: -moz-linear-gradient(right, #e1e1e1 0%, #cfcfcf 100%);
  36. border: 1px solid #959595;
  37. -webkit-border-radius: 8px;
  38. -moz-border-radius: 8px;
  39. border-radius: 8px;
  40. }
  41. ::-webkit-scrollbar-thumb:hover {
  42. background: #c3c3c3;
  43. background: -webkit-gradient(linear, left top, right top, color-stop(0, #c3c3c3), color-stop(1, #aaaaaa));
  44. background: -ms-linear-gradient(left, #c3c3c3, #aaaaaa);
  45. background: -moz-linear-gradient(right, #c3c3c3 0%, #aaaaaa 100%);
  46. border: 1px solid #919191;
  47. }
  48. .mk_default {
  49. font-size: 12px;
  50. font-family: "Open Sans";
  51. line-height: 1.5em;
  52. color: #444444;
  53. text-shadow: 0 1px 0 white;
  54. padding: 0;
  55. margin: 0;
  56. }
  57. .mk_absolute {
  58. position: absolute;
  59. display: block;
  60. overflow: hidden;
  61. }
  62. .mk_overlay {
  63. position: fixed;
  64. top: 0;
  65. left: 0;
  66. right: 0;
  67. bottom: 0;
  68. zindex: 1000;
  69. background: transparent;
  70. }
  71. .moka_view {
  72. position: absolute;
  73. display: block;
  74. overflow: hidden;
  75. }
  76. .moka_view.mk_label {
  77. font-size: 12px;
  78. font-family: "Open Sans";
  79. line-height: 1.5em;
  80. color: #444444;
  81. text-shadow: 0 1px 0 white;
  82. padding: 0;
  83. margin: 0;
  84. color: #333333;
  85. padding: 4px;
  86. }
  87. .moka_view.mk_label.mk_heading {
  88. font-weight: bold;
  89. }
  90. .moka_view.mk_label.mk_heading.level1 {
  91. font-size: 2em;
  92. }
  93. .moka_view.mk_label.mk_heading.level2 {
  94. font-size: 1.8em;
  95. }
  96. .moka_view.mk_label.mk_heading.level3 {
  97. font-size: 1.6em;
  98. }
  99. .moka_view.mk_label.mk_heading.level4 {
  100. font-size: 1.4em;
  101. }
  102. .moka_view.mk_label.mk_heading.level5 {
  103. font-size: 1.2em;
  104. }
  105. .moka_view.mk_pane.mk_panel {
  106. background: #eeeeee;
  107. border-color: #888888;
  108. border-style: solid;
  109. overflow: auto;
  110. }
  111. .moka_view.mk_pane.mk_modal {
  112. z-index: 1001;
  113. background: transparent;
  114. border: 0 none;
  115. }
  116. .moka_view.mk_pane.mk_modal:focus {
  117. outline: 0 none;
  118. }
  119. .moka_view .mk_control,
  120. .moka_view .mk_control:active,
  121. .moka_view .mk_control:focus {
  122. font-size: 12px;
  123. font-family: "Open Sans";
  124. line-height: 1.5em;
  125. color: #444444;
  126. text-shadow: 0 1px 0 white;
  127. padding: 0;
  128. margin: 0;
  129. position: absolute;
  130. display: block;
  131. overflow: hidden;
  132. -webkit-border-radius: 3px;
  133. -moz-border-radius: 3px;
  134. border-radius: 3px;
  135. border: 1px solid #aaaaaa;
  136. -webkit-box-shadow: inset 0 0 3px 0 #c3c3c3;
  137. -moz-box-shadow: inset 0 0 3px 0 #c3c3c3;
  138. box-shadow: inset 0 0 3px 0 #c3c3c3;
  139. background-color: white;
  140. background: -webkit-linear-gradient(top, #eee 0%, white 6px);
  141. background: -moz-linear-gradient(top, #eee 0%, white 6px);
  142. background: -ms-linear-gradient(top, #eee 0%, white 6px);
  143. background: -o-linear-gradient(top, #eee 0%, white 6px);
  144. background: linear-gradient(top, #eee 0%, white 6px);
  145. }
  146. .moka_view .mk_control:focus,
  147. .moka_view .mk_control:active:focus,
  148. .moka_view .mk_control:focus:focus {
  149. outline: 0;
  150. }
  151. .moka_view.mk_button {
  152. font-size: 12px;
  153. font-family: "Open Sans";
  154. line-height: 1.5em;
  155. color: #444444;
  156. text-shadow: 0 1px 0 white;
  157. padding: 0;
  158. margin: 0;
  159. position: absolute;
  160. display: block;
  161. overflow: hidden;
  162. -webkit-border-radius: 3px;
  163. -moz-border-radius: 3px;
  164. border-radius: 3px;
  165. border: 1px solid #aaaaaa;
  166. -webkit-box-shadow: inset 0 0 3px 0 #c3c3c3;
  167. -moz-box-shadow: inset 0 0 3px 0 #c3c3c3;
  168. box-shadow: inset 0 0 3px 0 #c3c3c3;
  169. background-color: white;
  170. background: -webkit-linear-gradient(top, #eee 0%, white 6px);
  171. background: -moz-linear-gradient(top, #eee 0%, white 6px);
  172. background: -ms-linear-gradient(top, #eee 0%, white 6px);
  173. background: -o-linear-gradient(top, #eee 0%, white 6px);
  174. background: linear-gradient(top, #eee 0%, white 6px);
  175. -webkit-touch-callout: none;
  176. -webkit-user-select: none;
  177. -khtml-user-select: none;
  178. -moz-user-select: none;
  179. -ms-user-select: none;
  180. user-select: none;
  181. -webkit-box-shadow: 0 1px 1px 0 #d8d8d8;
  182. -moz-box-shadow: 0 1px 1px 0 #d8d8d8;
  183. box-shadow: 0 1px 1px 0 #d8d8d8;
  184. background: #fafafa;
  185. background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #dedede), color-stop(1, #ffffff));
  186. background: -ms-linear-gradient(bottom, #dedede, #ffffff);
  187. background: -moz-linear-gradient(center bottom, #dedede 0%, #ffffff 100%);
  188. background: -o-linear-gradient(#ffffff, #dedede);
  189. }
  190. .moka_view.mk_button:focus {
  191. outline: 0;
  192. }
  193. .moka_view.mk_button.default {
  194. background: #9ec4eb;
  195. background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #9ec4eb), color-stop(1, #deeaf8));
  196. background: -ms-linear-gradient(bottom, #9ec4eb, #deeaf8);
  197. background: -moz-linear-gradient(center bottom, #9ec4eb 0%, #deeaf8 100%);
  198. background: -o-linear-gradient(#deeaf8, #9ec4eb);
  199. border-color: #9d9d9d;
  200. }
  201. .moka_view.mk_button.default:active {
  202. background: #9ec4eb;
  203. border-color: #4a90d9;
  204. }
  205. .moka_view.mk_button:focus {
  206. border-color: #4a90d9;
  207. }
  208. .moka_view.mk_button:active {
  209. background: #dddddd;
  210. -webkit-box-shadow: inset 0 0 3px 0 #888888;
  211. -moz-box-shadow: inset 0 0 3px 0 #888888;
  212. box-shadow: inset 0 0 3px 0 #888888;
  213. border-color: #947c7c;
  214. }
  215. .moka_view.mk_input,
  216. .moka_view.mk_textarea {
  217. font-size: 12px;
  218. font-family: "Open Sans";
  219. line-height: 1.5em;
  220. color: #444444;
  221. text-shadow: 0 1px 0 white;
  222. padding: 0;
  223. margin: 0;
  224. position: absolute;
  225. display: block;
  226. overflow: hidden;
  227. -webkit-border-radius: 3px;
  228. -moz-border-radius: 3px;
  229. border-radius: 3px;
  230. border: 1px solid #aaaaaa;
  231. -webkit-box-shadow: inset 0 0 3px 0 #c3c3c3;
  232. -moz-box-shadow: inset 0 0 3px 0 #c3c3c3;
  233. box-shadow: inset 0 0 3px 0 #c3c3c3;
  234. background-color: white;
  235. background: -webkit-linear-gradient(top, #eee 0%, white 6px);
  236. background: -moz-linear-gradient(top, #eee 0%, white 6px);
  237. background: -ms-linear-gradient(top, #eee 0%, white 6px);
  238. background: -o-linear-gradient(top, #eee 0%, white 6px);
  239. background: linear-gradient(top, #eee 0%, white 6px);
  240. resize: none;
  241. padding: 0 4px;
  242. text-shadow: 0 0 0;
  243. }
  244. .moka_view.mk_input:focus,
  245. .moka_view.mk_textarea:focus {
  246. outline: 0;
  247. }
  248. .moka_view.mk_input:focus,
  249. .moka_view.mk_textarea:focus {
  250. -webkit-box-shadow: inset 0 0 3px 0 #888888;
  251. -moz-box-shadow: inset 0 0 3px 0 #888888;
  252. box-shadow: inset 0 0 3px 0 #888888;
  253. border-color: #4a90d9;
  254. }
  255. .moka_view.mk_checkbox {
  256. -webkit-touch-callout: none;
  257. -webkit-user-select: none;
  258. -khtml-user-select: none;
  259. -moz-user-select: none;
  260. -ms-user-select: none;
  261. user-select: none;
  262. background: url('../images/moka/check.png') 50% 50% no-repeat;
  263. height: 16px;
  264. width: 16px;
  265. }
  266. .moka_view.mk_checkbox:focus {
  267. outline: 0;
  268. }
  269. .moka_view.mk_checkbox.checked {
  270. background-image: url('../images/moka/check-active.png');
  271. }
  272. .moka_view.mk_switch {
  273. -webkit-touch-callout: none;
  274. -webkit-user-select: none;
  275. -khtml-user-select: none;
  276. -moz-user-select: none;
  277. -ms-user-select: none;
  278. user-select: none;
  279. -webkit-border-radius: 20px;
  280. -moz-border-radius: 20px;
  281. border-radius: 20px;
  282. vertical-align: middle;
  283. display: inline-block;
  284. height: 20px;
  285. width: 39px;
  286. border: 1px solid #888888;
  287. background: url('../images/moka/switch.png') 100% 50% no-repeat;
  288. -webkit-transition: background 0.2s ease-out;
  289. -moz-transition: background 0.2s ease-out;
  290. -o-transition: background 0.2s ease-out;
  291. transition: background 0.2s ease-out;
  292. }
  293. .moka_view.mk_switch:focus {
  294. border-color: #256ab1;
  295. }
  296. .moka_view.mk_switch.checked {
  297. background: url('../images/moka/switch.png') 0% 50% no-repeat;
  298. border-color: #3583d5;
  299. }
  300. .moka_view.mk_list {
  301. cursor: default;
  302. -webkit-touch-callout: none;
  303. -webkit-user-select: none;
  304. -khtml-user-select: none;
  305. -moz-user-select: none;
  306. -ms-user-select: none;
  307. user-select: none;
  308. font-size: 12px;
  309. font-family: "Open Sans";
  310. line-height: 1.5em;
  311. color: #444444;
  312. text-shadow: 0 1px 0 white;
  313. margin: 0;
  314. position: absolute;
  315. display: block;
  316. overflow: hidden;
  317. -webkit-border-radius: 3px;
  318. -moz-border-radius: 3px;
  319. border-radius: 3px;
  320. border: 1px solid #aaaaaa;
  321. -webkit-box-shadow: inset 0 0 3px 0 #c3c3c3;
  322. -moz-box-shadow: inset 0 0 3px 0 #c3c3c3;
  323. box-shadow: inset 0 0 3px 0 #c3c3c3;
  324. background-color: white;
  325. background: -webkit-linear-gradient(top, #eee 0%, white 6px);
  326. background: -moz-linear-gradient(top, #eee 0%, white 6px);
  327. background: -ms-linear-gradient(top, #eee 0%, white 6px);
  328. background: -o-linear-gradient(top, #eee 0%, white 6px);
  329. background: linear-gradient(top, #eee 0%, white 6px);
  330. padding: 0;
  331. overflow: auto;
  332. background: white;
  333. }
  334. .moka_view.mk_list:focus {
  335. outline: 0;
  336. }
  337. .moka_view.mk_list:focus {
  338. outline: 0;
  339. border-color: #4a90d9;
  340. }
  341. .moka_view.mk_list:focus li.selected {
  342. background: #74aae2;
  343. color: white;
  344. }
  345. .moka_view.mk_list li {
  346. line-height: 2em;
  347. padding: 0 4px;
  348. text-shadow: 0 0 0;
  349. }
  350. .moka_view.mk_list li.selected {
  351. background: #dddddd;
  352. }
  353. .moka_view.mk_list.mk_sourcelist {
  354. background: transparent;
  355. border: 0;
  356. -webkit-border-radius: 0;
  357. -moz-border-radius: 0;
  358. border-radius: 0;
  359. -webkit-box-shadow: 0 0 0;
  360. -moz-box-shadow: 0 0 0;
  361. box-shadow: 0 0 0;
  362. }
  363. .moka_view.mk_list.mk_sourcelist li {
  364. border-top: 1px solid transparent;
  365. border-bottom: 1px solid transparent;
  366. padding: 0 14px;
  367. }
  368. .moka_view.mk_list.mk_sourcelist:focus li.selected,
  369. .moka_view.mk_list.mk_sourcelist li.selected {
  370. text-shadow: 0 1px 0 #333333;
  371. background: #74aae2;
  372. background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #74aae2), color-stop(1, #9ec4eb));
  373. background: -ms-linear-gradient(bottom, #74aae2, #9ec4eb);
  374. background: -moz-linear-gradient(center bottom, #74aae2 0%, #9ec4eb 100%);
  375. background: -o-linear-gradient(#9ec4eb, #74aae2);
  376. border-top: 1px solid #4a90d9;
  377. border-bottom: 1px solid #4a90d9;
  378. color: white;
  379. font-weight: bold;
  380. }
  381. .moka_view.mk_dropdown {
  382. font-size: 12px;
  383. font-family: "Open Sans";
  384. line-height: 1.5em;
  385. color: #444444;
  386. text-shadow: 0 1px 0 white;
  387. padding: 0;
  388. margin: 0;
  389. position: absolute;
  390. display: block;
  391. overflow: hidden;
  392. -webkit-border-radius: 3px;
  393. -moz-border-radius: 3px;
  394. border-radius: 3px;
  395. border: 1px solid #aaaaaa;
  396. -webkit-box-shadow: inset 0 0 3px 0 #c3c3c3;
  397. -moz-box-shadow: inset 0 0 3px 0 #c3c3c3;
  398. box-shadow: inset 0 0 3px 0 #c3c3c3;
  399. background-color: white;
  400. background: -webkit-linear-gradient(top, #eee 0%, white 6px);
  401. background: -moz-linear-gradient(top, #eee 0%, white 6px);
  402. background: -ms-linear-gradient(top, #eee 0%, white 6px);
  403. background: -o-linear-gradient(top, #eee 0%, white 6px);
  404. background: linear-gradient(top, #eee 0%, white 6px);
  405. -webkit-touch-callout: none;
  406. -webkit-user-select: none;
  407. -khtml-user-select: none;
  408. -moz-user-select: none;
  409. -ms-user-select: none;
  410. user-select: none;
  411. -webkit-box-shadow: 0 1px 1px 0 #d8d8d8;
  412. -moz-box-shadow: 0 1px 1px 0 #d8d8d8;
  413. box-shadow: 0 1px 1px 0 #d8d8d8;
  414. background: #fafafa;
  415. background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #dedede), color-stop(1, #ffffff));
  416. background: -ms-linear-gradient(bottom, #dedede, #ffffff);
  417. background: -moz-linear-gradient(center bottom, #dedede 0%, #ffffff 100%);
  418. background: -o-linear-gradient(#ffffff, #dedede);
  419. text-align: left;
  420. padding: 0 8px;
  421. }
  422. .moka_view.mk_dropdown:focus {
  423. outline: 0;
  424. }
  425. .moka_view.mk_dropdown.default {
  426. background: #9ec4eb;
  427. background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #9ec4eb), color-stop(1, #deeaf8));
  428. background: -ms-linear-gradient(bottom, #9ec4eb, #deeaf8);
  429. background: -moz-linear-gradient(center bottom, #9ec4eb 0%, #deeaf8 100%);
  430. background: -o-linear-gradient(#deeaf8, #9ec4eb);
  431. border-color: #9d9d9d;
  432. }
  433. .moka_view.mk_dropdown.default:active {
  434. background: #9ec4eb;
  435. border-color: #4a90d9;
  436. }
  437. .moka_view.mk_dropdown:focus {
  438. border-color: #4a90d9;
  439. }
  440. .moka_view.mk_dropdown:active {
  441. background: #dddddd;
  442. -webkit-box-shadow: inset 0 0 3px 0 #888888;
  443. -moz-box-shadow: inset 0 0 3px 0 #888888;
  444. box-shadow: inset 0 0 3px 0 #888888;
  445. border-color: #947c7c;
  446. }
  447. .moka_view.mk_dropdown .mk_dropdown_arrows {
  448. position: absolute;
  449. right: 0;
  450. height: 100%;
  451. width: 24px;
  452. top: 0;
  453. background-image: url(/images/moka/dropdown_arrows.png);
  454. background-position: center;
  455. background-repeat: no-repeat;
  456. border-left: 1px solid #aaaaaa;
  457. }
  458. .moka_view.mk_dropdown_pane {
  459. padding: 6px;
  460. margin-left: -6px;
  461. margin-top: -6px;
  462. }
  463. .moka_view.mk_dropdown_pane .mk_dropdown_list {
  464. position: relative;
  465. display: inline-block;
  466. border: 0;
  467. background: white;
  468. -webkit-box-shadow: 0 0 6px #555555;
  469. -moz-box-shadow: 0 0 6px #555555;
  470. box-shadow: 0 0 6px #555555;
  471. -webkit-border-radius: 0;
  472. -moz-border-radius: 0;
  473. border-radius: 0;
  474. min-width: 120px;
  475. max-height: 400px;
  476. }
  477. .moka_view.mk_dropdown_pane .mk_dropdown_list li {
  478. padding: 0 6px;
  479. }
  480. .moka_view.mk_dropdown_pane .mk_dropdown_list li.selected {
  481. background: #4a90d9;
  482. color: white;
  483. }
  484. .moka_view.mk_dropdown_pane .mk_dropdown_list:focus {
  485. border: 0;
  486. }