not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

896 lines
19 KiB

  1. /* onyx.css - combined CSS file for all released Onyx controls.
  2. converted from single files to get around IE bug that allows
  3. a maximum of 31 style sheets to be loaded before silently failing */
  4. .onyx {
  5. color: #333333;
  6. font-family: 'Helvetica Neue', 'Nimbus Sans L', Arial, sans-serif;
  7. /*font-family: Prelude, Prelude Medium, Segoe UI, Neue Helvetica, Arial, Helvetica, Sans-Serif;**/
  8. font-size: 20px;
  9. cursor: default;
  10. background-color: #EAEAEA;
  11. /* remove automatic tap highlight color */
  12. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  13. }
  14. /* prevent IE from inheriting line-height for these elements */
  15. .onyx button, .onyx label, .onyx input {
  16. line-height: normal;
  17. }
  18. .onyx-selected {
  19. background-color: #C4E3FE;
  20. }
  21. /* Icon.css */
  22. .onyx-icon {
  23. width: 32px;
  24. height: 32px;
  25. background-repeat: no-repeat;
  26. display: inline-block;
  27. vertical-align: middle;
  28. }
  29. .onyx-icon.active, .onyx-icon:active:hover {
  30. background-position: 0 -32px;
  31. }
  32. /* Button.css */
  33. .onyx-button {
  34. outline: 0;
  35. /**/
  36. color: #292929;
  37. font-size: 16px;
  38. text-align: center;
  39. white-space: nowrap;
  40. /**/
  41. margin: 0;
  42. padding: 6px 18px;
  43. overflow: hidden;
  44. /**/
  45. border-radius: 3px;
  46. /* for IE8 */
  47. border: 1px solid #777;
  48. border: 1px solid rgba(15, 15, 15, 0.2);
  49. /*
  50. The border and the gradient interact in a strange way that
  51. causes the bottom-border (top if the gradient is aligned top)
  52. to be lighter than other borders.
  53. We can fix it by using the darker bottom border below, but
  54. then there are a few rogue pixels that end up very dark.
  55. */
  56. /* border-bottom: 1px solid rgba(15, 15, 15, 0.5); */
  57. box-shadow: inset 0px 1px 0px rgba(255,255,255,0.2);
  58. /*
  59. box-shadow: 0px 1px 0px rgba(164,164,164,0.1), inset 0px 1px 1px rgba(164,164,164,0.35);
  60. text-shadow: 0 -1px 1px rgba(0,0,0,0.2);
  61. background-color: #E1E1E1;
  62. */
  63. /**/
  64. background: #E1E1E1 url(../../images/gradient.png) repeat-x bottom;
  65. background-size: contain;
  66. /**/
  67. text-overflow: ellipsis;
  68. /* the following cause arcane problems on IE */
  69. /*
  70. min-width: 14px;
  71. min-height: 20px;
  72. */
  73. }
  74. /*
  75. IE8 can't handle these selectors in tandem:
  76. .onyx-button.active, .onyx-button:active:not([disabled]) {
  77. the effect is as if .onyx-button.active doesn't exist
  78. */
  79. .onyx-button.active {
  80. background-image: url(../../images/gradient-invert.png);
  81. background-position: top;
  82. border-top: 1px solid rgba(15, 15, 15, 0.6);
  83. box-shadow: inset 0px 1px 0px rgba(0,0,0,0.1);
  84. }
  85. .onyx-button:active:hover:not([disabled]) {
  86. background-image: url(../../images/gradient-invert.png);
  87. background-position: top;
  88. border-top: 1px solid rgba(15, 15, 15, 0.6);
  89. box-shadow: inset 0px 1px 0px rgba(0,0,0,0.1);
  90. }
  91. .onyx-button[disabled] {
  92. opacity: 0.4;
  93. }
  94. .onyx-button > img {
  95. padding: 0px 3px;
  96. }
  97. /* optional */
  98. button.onyx-button.onyx-affirmative {
  99. background-color: #91BA07;
  100. color: #F1F1F1;
  101. }
  102. button.onyx-button.onyx-negative {
  103. background-color: #C51616;
  104. color: #F1F1F1;
  105. }
  106. button.onyx-button.onyx-blue {
  107. background-color: #35A8EE;
  108. color: #F1F1F1;
  109. }
  110. /* Checkbox.css */
  111. .onyx-checkbox {
  112. cursor: pointer;
  113. height: 32px;
  114. width: 32px;
  115. background: url(../../images/checkbox.png) no-repeat;
  116. /* reset for ? */
  117. margin: 0px;
  118. /* these entries cause toggle-button and checkbox to line up properly*/
  119. display: inline-block;
  120. vertical-align: middle;
  121. }
  122. .onyx-checkbox[checked] {
  123. background-position: 0px -32px;
  124. }
  125. .onyx-checkbox[disabled] {
  126. opacity: 0.4;
  127. }
  128. /* Grabber.css */
  129. .onyx-grabber {
  130. background: url(../../images/grabbutton.png) no-repeat center;
  131. width: 23px;
  132. height: 27px;
  133. }
  134. /* Popup.css */
  135. .onyx-popup {
  136. font-size: 16px;
  137. box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  138. border: 1px solid rgba(0,0,0,0.2);
  139. border-radius: 8px;
  140. padding: 6px;
  141. color: white;
  142. background: #4C4C4C url(../../images/gradient.png) repeat-x 0 bottom;
  143. }
  144. .onyx-popup-decorator {
  145. position: relative;
  146. }
  147. /* Groupbox.css */
  148. .onyx-groupbox {
  149. }
  150. .onyx-groupbox > * {
  151. display: block;
  152. /*box-shadow: inset 0px 1px 1px rgba(255,255,255,0.5);*/
  153. border-color: #aaaaaa;
  154. border-style: solid;
  155. border-width: 0 1px 1px 1px;
  156. /*padding: 10px;*/
  157. /* reset styles that make 'item' look bad if they happen to be there */
  158. border-radius: 0;
  159. margin: 0;
  160. }
  161. .onyx-groupbox > *:first-child {
  162. border-top-color: #aaaaaa;
  163. border-width: 1px;
  164. border-radius: 4px 4px 0 0;
  165. }
  166. .onyx-groupbox > *:last-child {
  167. border-radius: 0 0 4px 4px;
  168. }
  169. .onyx-groupbox > *:first-child:last-child {
  170. border-radius: 4px;
  171. }
  172. .onyx-groupbox-header {
  173. padding: 2px 10px;
  174. /**/
  175. color: white;
  176. font-family: Segoe UI, Neue Helvetica, Helvectica, Arial, sans-serif;
  177. font-size: 14px;
  178. font-weight: bold;
  179. text-transform: uppercase;
  180. /**/
  181. background-color: #343434;
  182. border: none;
  183. background: #4c4c4c url(../../images/gradient.png) repeat-x 0 10px;
  184. }
  185. .onyx-groupbox .onyx-input-decorator {
  186. display: block;
  187. }
  188. .onyx-groupbox > .onyx-input-decorator {
  189. border-color: #aaaaaa;
  190. border-width: 0 1px 1px 1px;
  191. border-radius: 0;
  192. }
  193. .onyx-groupbox > .onyx-input-decorator:first-child {
  194. border-width: 1px;
  195. border-radius: 4px 4px 0 0;
  196. }
  197. .onyx-groupbox > .onyx-input-decorator:last-child {
  198. border-radius: 0 0 4px 4px;
  199. }
  200. .onyx-groupbox > .onyx-input-decorator:first-child:last-child {
  201. border-radius: 4px;
  202. }
  203. /* Input.css */
  204. .onyx-input-decorator {
  205. padding: 6px 8px 10px 8px;
  206. border-radius: 3px;
  207. border: 1px solid;
  208. border-color: rgba(0,0,0,0.1);
  209. margin: 0;
  210. }
  211. .onyx-input-decorator.onyx-focused {
  212. box-shadow: inset 0px 1px 4px rgba(0,0,0,0.3);
  213. border-color: rgba(0,0,0,0.3);
  214. background-color: white;
  215. }
  216. .onyx-input-decorator.onyx-disabled {
  217. /* FIXME: needed to color a disabled input placeholder. */
  218. /*-webkit-text-fill-color: #888;*/
  219. opacity: 0.4;
  220. }
  221. .onyx-input-decorator > input {
  222. /* reset */
  223. margin: 0;
  224. padding: 0;
  225. border: none;
  226. outline: none;
  227. cursor: pointer;
  228. background-color: transparent;
  229. font-size: 16px;
  230. box-shadow: none;
  231. /* FIXME: hack for styling reset on Android */
  232. /* -webkit-appearance: caret;*/
  233. }
  234. .onyx-input-decorator.onyx-focused > input {
  235. cursor: text;
  236. }
  237. .onyx-input-decorator.onyx-disabled > input {
  238. cursor: default;
  239. }
  240. /* Menu.css */
  241. .onyx-menu, .onyx.onyx-menu {
  242. min-width: 160px;
  243. top: 100%;
  244. left: 0;
  245. margin-top: 2px;
  246. padding: 3px 0;
  247. border-radius: 3px;
  248. }
  249. .onyx-menu.onyx-menu-up {
  250. top: auto;
  251. bottom: 100%;
  252. margin-top: 0;
  253. margin-bottom: 2px;
  254. }
  255. .onyx-toolbar .onyx-menu {
  256. margin-top: 11px;
  257. border-radius: 0 0 3px 3px;
  258. }
  259. .onyx-toolbar .onyx-menu.onyx-menu-up {
  260. margin-top: 0;
  261. margin-bottom: 10px;
  262. border-radius: 3px 3px 0 0;
  263. }
  264. .onyx-menu-item {
  265. display: block;
  266. padding: 10px;
  267. }
  268. .onyx-menu-item:hover {
  269. background: #284152;
  270. }
  271. .onyx-menu-divider, .onyx-menu-divider:hover {
  272. margin: 6px 0;
  273. padding: 0;
  274. border-bottom: 1px solid #aaa;
  275. }
  276. /* customize a toolbar to support menus */
  277. .onyx-menu-toolbar, .onyx-toolbar.onyx-menu-toolbar {
  278. z-index: 10;
  279. overflow: visible;
  280. position: relative;
  281. }
  282. /* Picker.css */
  283. .onyx-picker-decorator .onyx-button {
  284. padding: 10px 18px;
  285. }
  286. .onyx-picker {
  287. top: 0;
  288. margin-top: -3px;
  289. min-width: 0;
  290. width: 100%;
  291. box-sizing: border-box;
  292. -moz-box-sizing: border-box;
  293. color: black;
  294. background: #E1E1E1;
  295. }
  296. .onyx-picker.onyx-menu-up {
  297. top: auto;
  298. bottom: 0;
  299. margin-top: 3px;
  300. margin-bottom: -3px;
  301. }
  302. .onyx-picker .onyx-menu-item {
  303. text-align: center;
  304. }
  305. .onyx-picker .onyx-menu-item:hover {
  306. background-color: transparent;
  307. }
  308. .onyx-picker .onyx-menu-item.selected, .onyx-picker .onyx-menu-item.active, .onyx-picker .onyx-menu-item:active:hover {
  309. border-top: 1px solid rgba(0, 0, 0, 0.1);
  310. background-color: #cde7fe;
  311. box-shadow: inset 0px 0px 3px rgba(0, 0, 0, 0.2);
  312. }
  313. .onyx-picker .onyx-menu-item {
  314. border-top: 1px solid rgba(255,255,255,0.5);
  315. border-bottom: 1px solid rgba(0,0,0,0.2);
  316. }
  317. .onyx-picker:not(.onyx-flyweight-picker) .onyx-menu-item:first-child, .onyx-flyweight-picker :first-child > .onyx-menu-item {
  318. border-top: none;
  319. }
  320. .onyx-picker:not(.onyx-flyweight-picker) .onyx-menu-item:last-child, .onyx-flyweight-picker :last-child > .onyx-menu-item {
  321. border-bottom: none;
  322. }
  323. /* TextArea.css */
  324. .onyx-input-decorator > textarea {
  325. /* reset */
  326. margin: 0;
  327. padding: 0;
  328. border: none;
  329. outline: none;
  330. cursor: pointer;
  331. background-color: transparent;
  332. font-size: 16px;
  333. box-shadow: none;
  334. /* Remove scrollbars and resize handle */
  335. resize: none;
  336. overflow: auto;
  337. /* FIXME: hack for styling reset on Android */
  338. /* -webkit-appearance: caret;*/
  339. }
  340. .onyx-input-decorator.onyx-focused > textarea {
  341. cursor: text;
  342. }
  343. .onyx-input-decorator.onyx-disabled > textarea {
  344. cursor: default;
  345. }
  346. .onyx-textarea {
  347. /* need >=50px for scrollbar to be usable on mac */
  348. min-height: 50px;
  349. }
  350. /* RichText.css */
  351. .onyx-input-decorator > .onyx-richtext {
  352. /* reset */
  353. margin: 0;
  354. padding: 0;
  355. border: none;
  356. outline: none;
  357. cursor: pointer;
  358. background-color: transparent;
  359. font-size: 16px;
  360. min-height: 20px;
  361. min-width: 100px;
  362. box-shadow: none;
  363. /* FIXME: hack for styling reset on Android */
  364. /* -webkit-appearance: caret;*/
  365. }
  366. .onyx-input-decorator.onyx-focused > .onyx-richtext {
  367. cursor: text;
  368. }
  369. .onyx-input-decorator.onyx-disabled > .onyx-richtext {
  370. cursor: default;
  371. }
  372. /* RadioButton.css */
  373. .onyx-radiobutton {
  374. padding: 8px 12px;
  375. margin: 0;
  376. outline: 0;
  377. /**/
  378. font-size: 16px;
  379. text-shadow: 0 1px 1px rgba(0,0,0,0.2);
  380. text-align: center;
  381. /**/
  382. background: #E7E7E7 url(../../images/gradient.png) repeat-x bottom;
  383. /* IE8 */
  384. border: 1px solid #333;
  385. border: 1px solid rgba(15, 15, 15, 0.2);
  386. /* turn off right-border in a way IE8 ignores, because IE8 does not support :last-child */
  387. border-right-color: rgba(0,0,0,0);
  388. box-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.2);
  389. }
  390. .onyx-radiobutton:first-child {
  391. border-radius: 3px 0 0 3px;
  392. }
  393. .onyx-radiobutton:last-child {
  394. border-radius: 0px 3px 3px 0px;
  395. /* IE8 */
  396. border-right: 1px solid #333;
  397. border-right: 1px solid rgba(15, 15, 15, 0.2);
  398. }
  399. .onyx-radiobutton.active {
  400. color: White;
  401. background: #0091F2 url(../../images/gradient-invert.png) repeat-x top;
  402. border-top: 1px solid rgba(15, 15, 15, 0.6);
  403. box-shadow: inset 1px 2px 2px rgba(0, 0, 0, 0.2);
  404. }
  405. /* Scrim.css */
  406. .onyx-scrim {
  407. z-index: 1;
  408. /*
  409. note: by using pointer-events we allow tapping on scrim
  410. while it is fading out; however, this requires any showing classes
  411. to set pointer events to auto or scrim will not function as expected.
  412. */
  413. pointer-events: none;
  414. }
  415. .onyx-scrim.onyx-scrim-translucent{
  416. pointer-events: auto;
  417. background-color: rgb(0,0,0);
  418. opacity: 0.65;
  419. filter: alpha(opacity=65);
  420. }
  421. .onyx-scrim.onyx-scrim-transparent {
  422. pointer-events: auto;
  423. background: transparent;
  424. }
  425. /* TabButton.css */
  426. .onyx-radiobutton.onyx-tabbutton {
  427. padding: 8px 34px;
  428. font-size: 20px;
  429. border-radius: 0px;
  430. }
  431. /* ToggleButton.css */
  432. .onyx-toggle-button {
  433. display: inline-block;
  434. height: 32px;
  435. line-height: 32px;
  436. min-width: 64px;
  437. vertical-align: middle;
  438. text-align: center;
  439. /* */
  440. border-radius: 3px;
  441. box-shadow: inset 0px 1px 3px rgba(0,0,0,0.4);
  442. background: #8BBA3D url(../../images/gradient-invert.png) repeat-x bottom;
  443. background-size: auto 100%;
  444. /* label */
  445. color: white;
  446. font-size: 14px;
  447. font-weight: bold;
  448. text-transform: uppercase;
  449. }
  450. .onyx-toggle-button.off {
  451. background-color: #B1B1B1 !important;
  452. }
  453. .onyx-toggle-button-knob {
  454. display: inline-block;
  455. width: 30px;
  456. height: 30px;
  457. margin: 1px;
  458. border-radius: 3px;
  459. background: #F6F6F6 url(../../images/gradient.png) repeat-x;
  460. background-size: auto 100%;
  461. }
  462. .onyx-toggle-button .onyx-toggle-button-knob {
  463. box-shadow: -1px 0px 4px rgba(0,0,0,0.35), inset 0 -1px 0 rgba(0,0,0,0.4);
  464. float: right;
  465. }
  466. .onyx-toggle-button.off .onyx-toggle-button-knob {
  467. box-shadow: 1px 0px 4px rgba(0,0,0,0.35), inset 0 -1px 0 rgba(0,0,0,0.4);
  468. float: left;
  469. }
  470. .onyx-toggle-button.disabled {
  471. opacity: 0.4;
  472. }
  473. .onyx-toggle-content {
  474. min-width: 32px;
  475. padding: 0 6px;
  476. }
  477. .onyx-toggle-content.empty {
  478. padding: 0;
  479. }
  480. .onyx-toggle-content.off {
  481. float: right;
  482. }
  483. .onyx-toggle-content.on {
  484. float: left;
  485. }
  486. /* Toolbar.css */
  487. .onyx-toolbar {
  488. /*
  489. line-height is unreliable for centering, instead
  490. use vertical-align: middle to align
  491. elements along a common centerline and use
  492. padding to fill out the space.
  493. */
  494. padding: 9px 8px 10px 8px;
  495. /**/
  496. border: 1px solid #3A3A3A;
  497. background: #4C4C4C url(../../images/gradient.png) repeat-x 0 bottom;
  498. color: white;
  499. /**/
  500. white-space: nowrap;
  501. overflow: hidden;
  502. }
  503. .onyx-toolbar-inline > * {
  504. display: inline-block;
  505. vertical-align: middle;
  506. margin: 4px 6px 5px;
  507. box-sizing: border-box;
  508. }
  509. .onyx-toolbar .onyx-icon-button {
  510. margin: 3px 2px 1px;
  511. }
  512. .onyx-toolbar .onyx-button {
  513. color: #F2F2F2;
  514. background-color: #555656;
  515. border-color: rgba(15, 15, 15, 0.5);
  516. margin-top: 0;
  517. margin-bottom: 0;
  518. height: 36px;
  519. }
  520. .onyx-toolbar .onyx-input-decorator {
  521. margin: 1px 3px;
  522. box-shadow: inset 0px 1px 4px rgba(0,0,0,0.1);
  523. background-color: rgba(0, 0, 0, 0.1);
  524. padding: 0px 6px 5px 6px;
  525. }
  526. .onyx-toolbar .onyx-input-decorator.onyx-focused {
  527. box-shadow: inset 0px 1px 4px rgba(0,0,0,0.3);
  528. background-color: white;
  529. }
  530. .onyx-toolbar .onyx-input-decorator .onyx-input {
  531. color: #e5e5e5;
  532. font-size: 14px;
  533. }
  534. .onyx-toolbar .onyx-input-decorator .onyx-input:focus {
  535. color: #000;
  536. }
  537. .onyx-toolbar .onyx-input-decorator .onyx-input:focus::-webkit-input-placeholder {
  538. color: #ddd;
  539. }
  540. /* Tooltip.css */
  541. .onyx-tooltip {
  542. z-index: 20;
  543. left: 0;
  544. padding: 4px 6px;
  545. margin-top: 4px;
  546. margin-left: -6px;
  547. box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  548. border: 1px solid rgba(0,0,0,0.2);
  549. color: white;
  550. background: #216593 url(../../images/gradient.png) repeat-x 0 bottom;
  551. border-radius: 3px;
  552. white-space: nowrap;
  553. }
  554. /*move the tooltip over to the right when displaying the right arrow so it aligns better with the decorator*/
  555. .onyx-tooltip.right-arrow {
  556. left: 30px;
  557. }
  558. /*prep the left & right arrows using before & after - left arrow uses before & right arrow uses after*/
  559. .onyx-tooltip::before {
  560. content: '';
  561. border-left: 6px solid transparent;
  562. border-right: 6px solid transparent;
  563. position: absolute;
  564. top: -6px;
  565. left: 16px;
  566. }
  567. .onyx-tooltip::after {
  568. content: '';
  569. border-left: 6px solid transparent;
  570. border-right: 6px solid transparent;
  571. position: absolute;
  572. top: -6px;
  573. margin-left: -12px;
  574. }
  575. /*The following 3 rules handle the left & right arrows when the tooltip is displayed below the activator*/
  576. .onyx-tooltip.below {
  577. top: 100%;
  578. }
  579. .onyx-tooltip.below.right-arrow::after {
  580. border-bottom: 6px solid #1D587F;
  581. top: -6px;
  582. }
  583. .onyx-tooltip.below.left-arrow::before {
  584. border-bottom: 6px solid #1D587F;
  585. top: -6px;
  586. }
  587. /*The following 3 rules handle the left & right arrows when the tooltip is displayed above the activator*/
  588. .onyx-tooltip.above {
  589. top: -100%;
  590. }
  591. .onyx-tooltip.above.right-arrow::after {
  592. content: '';
  593. border-top: 6px solid #1D587F;
  594. top: 100%;
  595. }
  596. .onyx-tooltip.above.left-arrow::before {
  597. content: '';
  598. border-top: 6px solid #1D587F;
  599. top: 100%;
  600. }
  601. /* ProgressBar.css */
  602. .onyx-progress-bar {
  603. margin: 8px;
  604. height: 8px;
  605. border: 1px solid rgba(15, 15, 15, 0.2);
  606. border-radius: 3px;
  607. background: #B8B8B8 url(../../images/gradient-invert.png) repeat-x;
  608. background-size: auto 100%;
  609. }
  610. .onyx-progress-bar-bar {
  611. height: 100%;
  612. border-radius: 3px;
  613. background: #58ABEF url(../../images/gradient.png) repeat-x;
  614. background-size: auto 100%;
  615. }
  616. .onyx-progress-bar-bar.striped {
  617. background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  618. background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  619. background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  620. background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  621. background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  622. background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  623. background-size: 40px 40px;
  624. }
  625. .onyx-progress-bar-bar.striped.animated {
  626. -webkit-animation: progress-bar-stripes 2s linear infinite;
  627. -moz-animation: progress-bar-stripes 2s linear infinite;
  628. animation: progress-bar-stripes 2s linear infinite;
  629. }
  630. @-webkit-keyframes progress-bar-stripes {
  631. from {
  632. background-position: 0 0;
  633. }
  634. to {
  635. background-position: 40px 0;
  636. }
  637. }
  638. @-moz-keyframes progress-bar-stripes {
  639. from {
  640. background-position: 0 0;
  641. }
  642. to {
  643. background-position: 40px 0;
  644. }
  645. }
  646. @keyframes progress-bar-stripes {
  647. from {
  648. background-position: 0 0;
  649. }
  650. to {
  651. background-position: 40px 0;
  652. }
  653. }
  654. /* optional */
  655. .onyx-dark {
  656. background-color: #626368;
  657. }
  658. .onyx-light {
  659. background-color: #cacaca;
  660. }
  661. /* ProgressButton.css */
  662. .onyx-progress-button {
  663. position: relative;
  664. height: 36px;
  665. line-height: 36px;
  666. color: #F1F1F1;
  667. font-size: 16px;
  668. text-overflow: ellipsis;
  669. }
  670. .onyx-progress-button-bar {
  671. height: 36px;
  672. }
  673. .onyx-progress-button-icon {
  674. display: inline-block;
  675. position: absolute;
  676. top: 2px;
  677. right: 0;
  678. }
  679. .onyx-progress-button-client {
  680. display: inline-block;
  681. position: absolute;
  682. top: 0;
  683. left: 0;
  684. right: 36px;
  685. margin-left: 8px;
  686. }
  687. .onyx-progress-button-client > * {
  688. display: inline-block;
  689. }
  690. /* Slider.css */
  691. .onyx-slider {
  692. position: relative;
  693. margin: 8px 20px;
  694. }
  695. .onyx-slider-taparea {
  696. position: absolute;
  697. top: -11px;
  698. height: 28px;
  699. width: 100%;
  700. }
  701. .onyx-slider-knob {
  702. position: relative;
  703. height: 40px;
  704. width: 40px;
  705. background: url(../../images/slider-handle.png) left top no-repeat;
  706. margin: -23px -20px;
  707. }
  708. .onyx-slider-knob.active, .onyx-slider-knob:active:hover {
  709. background-position: 0 -40px;
  710. }
  711. /* Item.css */
  712. .onyx-item {
  713. padding: 14px;
  714. }
  715. .onyx-highlight, .onyx-highlight.onyx-swipeable-item-content {
  716. background-color: #DEDFDF;
  717. }
  718. .enyo-selected, .enyo-selected.onyx-swipeable-item-content {
  719. background-color: #C4E3FE;
  720. }
  721. .onyx-item.onyx-swipeable-item {
  722. overflow: hidden;
  723. padding: 0;
  724. }
  725. .onyx-swipeable-item-content {
  726. background-color: #EAEAEA;
  727. box-sizing: border-box;
  728. padding: 18px 6px;
  729. min-height: 40px;
  730. }
  731. /* Spinner.css */
  732. .onyx-spinner {
  733. width: 58px;
  734. height: 59px;
  735. display: inline-block;
  736. background: url(../../images/spinner-dark.gif) no-repeat 0 0;
  737. }
  738. .onyx-spinner.onyx-light {
  739. background: url(../../images/spinner-light.gif) no-repeat 0 0;
  740. }
  741. /* MoreToolbar.css */
  742. .onyx-more-toolbar {
  743. overflow: visible;
  744. position: relative;
  745. z-index: 10;
  746. }
  747. .onyx-more-toolbar.active {
  748. z-index:11;
  749. }
  750. .onyx-more-menu {
  751. left: auto;
  752. right: 0px;
  753. min-width: 0;
  754. }
  755. .onyx-more-toolbar .onyx-more-menu > * {
  756. float: right;
  757. clear: both;
  758. margin: 5px;
  759. margin-top: 5px;
  760. margin-bottom: 5px;
  761. }
  762. .onyx-more-button {
  763. background-image: url(../../images/more.png);
  764. margin: 4px 6px 5px;
  765. }