mobiscroll.frame.android-holo.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. (function ($) {
  2. var themes = $.mobiscroll.themes.frame,
  3. theme = {
  4. dateOrder: 'Mddyy',
  5. //mode: 'mixed',
  6. rows: 5,
  7. minWidth: 76,
  8. height: 36,
  9. showLabel: false,
  10. selectedLineHeight: true,
  11. selectedLineBorder: 2,
  12. useShortLabels: true,
  13. icon: { filled: 'star3', empty: 'star' },
  14. btnPlusClass: 'mbsc-ic mbsc-ic-arrow-down6',
  15. btnMinusClass: 'mbsc-ic mbsc-ic-arrow-up6',
  16. // @deprecated since 2.12.0, backward compatibility code
  17. // ---
  18. onThemeLoad: function (lang, s) {
  19. if (s.theme) {
  20. s.theme = s.theme.replace('android-ics', 'android-holo');
  21. }
  22. },
  23. // ---
  24. onMarkupReady: function (markup) {
  25. markup.addClass('mbsc-android-holo');
  26. }
  27. };
  28. themes['android-holo'] = theme;
  29. themes['android-holo-light'] = theme;
  30. // @deprecated since 2.12.0, backward compatibility code
  31. themes['android-ics'] = theme;
  32. themes['android-ics light'] = theme;
  33. themes['android-holo light'] = theme;
  34. })(jQuery);