bb6.scss 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. $include-highlights: false;
  2. $include-border-radius: false;
  3. // Let's start with the basics
  4. $base-color: #393F45;
  5. $active-color: #06f;
  6. $base-gradient: 'none';
  7. // Lists
  8. $list_pressed_color: #09f;
  9. $list_bg_color: #111;
  10. $list_color: #eee;
  11. $list_header_bg_color: #aaa;
  12. $basic-slider: true;
  13. @import 'sencha-touch/default/all';
  14. @include sencha-panel;
  15. @include sencha-buttons;
  16. @include sencha-sheet;
  17. @include sencha-picker;
  18. @include sencha-tabs;
  19. @include sencha-toolbar;
  20. @include sencha-toolbar-forms;
  21. @include sencha-carousel;
  22. @include sencha-indexbar;
  23. @include sencha-list;
  24. @include sencha-list-paging;
  25. @include sencha-list-pullrefresh;
  26. @include sencha-layout;
  27. @include sencha-form;
  28. @include sencha-msgbox;
  29. @include sencha-loading-spinner;
  30. @include sencha-draw;
  31. @include sencha-charts;
  32. .x-indexbar-item {
  33. color: #FFF;
  34. }
  35. .x-scrollbar-dark {
  36. background-color: rgba(255, 255, 255, .6);
  37. border: 1px solid rgba(0, 0, 0, 0.2);
  38. }
  39. //fixing back/forward buttons in BB.
  40. $shadow-width: .065em; // Space between tip and its shadow
  41. $overlap-width: .2em; // how far the mask is clipped
  42. $mask-height: $button-height;
  43. $mask-width: $mask-height/2.5;
  44. $mask-offset: $button-radius - $overlap-width - $button-stroke-weight + $shadow-width - .22em;
  45. .x-button-forward, .x-button-back {
  46. &:before, &:after {
  47. @include insertion($mask-width, $mask-height, -$button-stroke-weight, auto);
  48. z-index: 2;
  49. -webkit-mask: $mask-offset 0 theme_image($theme-name, "tip_left.png") no-repeat;
  50. -webkit-mask-size: $mask-width $mask-height;
  51. overflow: hidden;
  52. }
  53. }
  54. .x-button-forward, .x-toolbar .x-button-forward {
  55. &:before, &:after {
  56. -webkit-mask: -$mask-offset 0 theme_image($theme-name, "tip_right.png") no-repeat;
  57. }
  58. }