Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can define a class to style your events in any way you want. If you don't assign a custom class or if the expression returns empty, the default class will be added to the event wrapper: event-type--default. When an event is creating (when drag creating for instance) class event-type--creating-new is added.

Code Block
.event-type--my-custom-event.b-cal-event-wrap {
    // wrapper styles (only style when really needed)
    > .b-cal-event {
      // contains background color, etc.
      > .b-cal-event-body {
        // wrapper for your event content
      }
    }
}

...