_fullcalendar.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. //
  2. // FullCalendar
  3. //
  4. // Overwrite/Extend styles
  5. // --------------------------------------------------
  6. .fc-event {
  7. padding-left: 4px;
  8. padding-right: 2px;
  9. font-weight: 600;
  10. line-height: 1.4;
  11. color: $body-color-dark;
  12. border: 1px solid $brand-info-light;
  13. border-radius: 0;
  14. @include hover {
  15. color: $body-color;
  16. }
  17. }
  18. .fc-event,
  19. .fc-event-dot {
  20. background-color: $brand-info-light;
  21. }
  22. .fc button {
  23. height: $pbf-height;
  24. line-height: $pbf-height;
  25. font-weight: 600;
  26. cursor: default;
  27. }
  28. .fc-state-default.fc-corner-left {
  29. border-top-left-radius: 3px;
  30. border-bottom-left-radius: 3px;
  31. }
  32. .fc-state-default.fc-corner-right {
  33. border-top-right-radius: 3px;
  34. border-bottom-right-radius: 3px;
  35. }
  36. .fc-state-default {
  37. color: $body-color-dark;
  38. background-color: $body-bg;
  39. background-image: none;
  40. border: 1px solid darken($body-bg-dark, 5%);
  41. text-shadow: none;
  42. box-shadow: none;
  43. }
  44. .fc-state-hover,
  45. .fc-state-down,
  46. .fc-state-active,
  47. .fc-state-disabled {
  48. color: $gray-darker;
  49. background-color: darken($body-bg, 12%);
  50. border-color: darken($body-bg-dark, 18%);
  51. }
  52. .fc-state-hover {
  53. color: $body-color-dark;
  54. transition: all .15s ease-out;
  55. }
  56. .fc-state-down,
  57. .fc-state-active {
  58. background-color: darken($body-bg, 12%);
  59. border-color: darken($body-bg-dark, 18%);
  60. box-shadow: none;
  61. }
  62. .fc-state-disabled {
  63. opacity: .35;
  64. }
  65. .fc-toolbar {
  66. margin-bottom: 29px;
  67. @include media-breakpoint-down(sm) {
  68. > div {
  69. display: block !important;
  70. float: none !important;
  71. margin-bottom: 12px !important;
  72. @include clearfix();
  73. }
  74. }
  75. }
  76. .fc thead th.fc-widget-header {
  77. padding-top: 6px;
  78. padding-bottom: 6px;
  79. font-size: 16px;
  80. font-weight: 600;
  81. text-transform: uppercase;
  82. background-color: $body-bg-light;
  83. }
  84. .fc-unthemed .fc-content,
  85. .fc-unthemed .fc-divider,
  86. .fc-unthemed .fc-list-heading td,
  87. .fc-unthemed .fc-list-view,
  88. .fc-unthemed .fc-popover,
  89. .fc-unthemed .fc-row,
  90. .fc-unthemed tbody,
  91. .fc-unthemed td,
  92. .fc-unthemed th,
  93. .fc-unthemed thead {
  94. border-color: $body-bg-dark;
  95. }
  96. .fc-unthemed .fc-divider,
  97. .fc-unthemed .fc-list-heading td,
  98. .fc-unthemed .fc-popover .fc-header {
  99. background: $body-bg;
  100. }
  101. .fc-unthemed .fc-today {
  102. background: $body-bg-light;
  103. }
  104. @include media-breakpoint-down(xs) {
  105. .fc-header-toolbar .fc-button {
  106. margin-top: 5px;
  107. margin-bottom: 5px;
  108. }
  109. }