common.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. /* Global Event Styles
  2. ------------------------------------------------------------------------*/
  3. .fc-event,
  4. .fc-agenda .fc-event-time,
  5. .fc-event a {
  6. border-style: solid;
  7. border-color: #36c; /* default BORDER color (probably the same as background-color) */
  8. background-color: #36c; /* default BACKGROUND color */
  9. color: #fff; /* default TEXT color */
  10. }
  11. /* Use the 'className' CalEvent property and the following
  12. * example CSS to change event color on a per-event basis:
  13. *
  14. * .myclass,
  15. * .fc-agenda .myclass .fc-event-time,
  16. * .myclass a {
  17. * background-color: black;
  18. * border-color: black;
  19. * color: red;
  20. * }
  21. */
  22. .fc-event {
  23. text-align: left;
  24. }
  25. .fc-event a {
  26. overflow: hidden;
  27. font-size: .85em;
  28. text-decoration: none;
  29. cursor: pointer;
  30. }
  31. .fc-event-editable {
  32. cursor: pointer;
  33. }
  34. .fc-event-time,
  35. .fc-event-title {
  36. padding: 0 1px;
  37. }
  38. /* for fake rounded corners */
  39. .fc-event a {
  40. display: block;
  41. position: relative;
  42. width: 100%;
  43. height: 100%;
  44. }
  45. /* right-to-left */
  46. .fc-rtl .fc-event a {
  47. text-align: right;
  48. }
  49. /* resizable */
  50. .fc .ui-resizable-handle {
  51. display: block;
  52. position: absolute;
  53. z-index: 99999;
  54. border: 0 !important; /* important overrides pre jquery ui 1.7 styles */
  55. background: url(data:image/gif;base64,AAAA) !important; /* hover fix for IE */
  56. }
  57. /* Horizontal Events
  58. ------------------------------------------------------------------------*/
  59. .fc-event-hori {
  60. border-width: 1px 0;
  61. margin-bottom: 1px;
  62. }
  63. .fc-event-hori a {
  64. border-width: 0;
  65. }
  66. /* for fake rounded corners */
  67. .fc-content .fc-corner-left {
  68. margin-left: 1px;
  69. }
  70. .fc-content .fc-corner-left a {
  71. margin-left: -1px;
  72. border-left-width: 1px;
  73. }
  74. .fc-content .fc-corner-right {
  75. margin-right: 1px;
  76. }
  77. .fc-content .fc-corner-right a {
  78. margin-right: -1px;
  79. border-right-width: 1px;
  80. }
  81. /* resizable */
  82. .fc-event-hori .ui-resizable-e {
  83. top: 0 !important; /* importants override pre jquery ui 1.7 styles */
  84. right: -3px !important;
  85. width: 7px !important;
  86. height: 100% !important;
  87. cursor: e-resize;
  88. }
  89. .fc-event-hori .ui-resizable-w {
  90. top: 0 !important;
  91. left: -3px !important;
  92. width: 7px !important;
  93. height: 100% !important;
  94. cursor: w-resize;
  95. }
  96. .fc-event-hori .ui-resizable-handle {
  97. _padding-bottom: 14px; /* IE6 had 0 height */
  98. }