dooray.js 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. 'use strict';
  2. var THEME_DOORAY = {
  3. 'common.border': '1px solid #ddd',
  4. 'common.backgroundColor': 'white',
  5. 'common.holiday.color': '#f54f3d',
  6. 'common.saturday.color': '#333',
  7. 'common.dayname.color': '#333',
  8. 'common.today.color': '#135de6',
  9. // creation guide style
  10. 'common.creationGuide.backgroundColor': 'rgba(19, 93, 230, 0.1)',
  11. 'common.creationGuide.border': '1px solid #135de6',
  12. // month header 'dayname'
  13. 'month.dayname.height': '42px',
  14. 'month.dayname.borderLeft': 'none',
  15. 'month.dayname.paddingLeft': '8px',
  16. 'month.dayname.paddingRight': '0',
  17. 'month.dayname.fontSize': '13px',
  18. 'month.dayname.backgroundColor': 'inherit',
  19. 'month.dayname.fontWeight': 'normal',
  20. 'month.dayname.textAlign': 'left',
  21. // month day grid cell 'day'
  22. 'month.holidayExceptThisMonth.color': '#f3acac',
  23. 'month.dayExceptThisMonth.color': '#bbb',
  24. 'month.weekend.backgroundColor': '#fafafa',
  25. 'month.day.fontSize': '16px',
  26. // month schedule style
  27. 'month.schedule.height': '18px',
  28. 'month.schedule.marginTop': '2px',
  29. 'month.schedule.marginLeft': '10px',
  30. 'month.schedule.marginRight': '10px',
  31. // month more view
  32. 'month.moreView.boxShadow': 'none',
  33. 'month.moreView.paddingBottom': '0',
  34. 'month.moreViewTitle.height': '28px',
  35. 'month.moreViewTitle.marginBottom': '0',
  36. 'month.moreViewTitle.backgroundColor': '#f4f4f4',
  37. 'month.moreViewTitle.borderBottom': '1px solid #ddd',
  38. 'month.moreViewTitle.padding': '0 10px',
  39. 'month.moreViewList.padding': '10px',
  40. // week header 'dayname'
  41. 'week.dayname.height': '41px',
  42. 'week.dayname.borderTop': '1px solid #ddd',
  43. 'week.dayname.borderBottom': '1px solid #ddd',
  44. 'week.dayname.borderLeft': '1px solid #ddd',
  45. 'week.dayname.paddingLeft': '5px',
  46. 'week.dayname.backgroundColor': 'inherit',
  47. 'week.dayname.textAlign': 'left',
  48. 'week.today.color': '#135de6',
  49. 'week.pastDay.color': '#999',
  50. // week vertical panel 'vpanel'
  51. 'week.vpanelSplitter.border': '1px solid #ddd',
  52. 'week.vpanelSplitter.height': '3px',
  53. // week daygrid 'daygrid'
  54. 'week.daygrid.borderRight': '1px solid #ddd',
  55. 'week.daygridLeft.width': '77px',
  56. 'week.daygridLeft.backgroundColor': '',
  57. 'week.daygridLeft.paddingRight': '5px',
  58. 'week.daygridLeft.borderRight': '1px solid #ddd',
  59. 'week.today.backgroundColor': 'inherit',
  60. 'week.weekend.backgroundColor': 'inherit',
  61. // week timegrid 'timegrid'
  62. 'week.timegridLeft.width': '77px',
  63. 'week.timegridLeft.backgroundColor': '#fafafa',
  64. 'week.timegridLeft.borderRight': '1px solid #ddd',
  65. 'week.timegridLeft.fontSize': '12px',
  66. 'week.timegridLeftTimezoneLabel.height': '51px',
  67. 'week.timegridLeftAdditionalTimezone.backgroundColor': '#fdfdfd',
  68. 'week.timegridOneHour.height': '48px',
  69. 'week.timegridHalfHour.height': '24px',
  70. 'week.timegridHalfHour.borderBottom': '1px dotted #f9f9f9',
  71. 'week.timegridHorizontalLine.borderBottom': '1px solid #eee',
  72. 'week.timegrid.paddingRight': '10px',
  73. 'week.timegrid.borderRight': '1px solid #ddd',
  74. 'week.timegridSchedule.borderRadius': '0',
  75. 'week.timegridSchedule.paddingLeft': '0',
  76. 'week.currentTime.color': '#135de6',
  77. 'week.currentTime.fontSize': '12px',
  78. 'week.currentTime.fontWeight': 'bold',
  79. 'week.pastTime.color': '#999',
  80. 'week.pastTime.fontWeight': 'normal',
  81. 'week.futureTime.color': '#333',
  82. 'week.futureTime.fontWeight': 'normal',
  83. 'week.currentTimeLinePast.border': '1px solid rgba(19, 93, 230, 0.3)',
  84. 'week.currentTimeLineBullet.backgroundColor': '#135de6',
  85. 'week.currentTimeLineToday.border': '1px solid #135de6',
  86. 'week.currentTimeLineFuture.border': '1px solid #135de6',
  87. // week creation guide style
  88. 'week.creationGuide.color': '#135de6',
  89. 'week.creationGuide.fontSize': '12px',
  90. 'week.creationGuide.fontWeight': 'bold',
  91. // week daygrid schedule style
  92. 'week.dayGridSchedule.borderRadius': '0',
  93. 'week.dayGridSchedule.height': '18px',
  94. 'week.dayGridSchedule.marginTop': '2px',
  95. 'week.dayGridSchedule.marginLeft': '10px',
  96. 'week.dayGridSchedule.marginRight': '10px'
  97. };