cuba-platform / documentation

CUBA Platform Documentation
https://www.cuba-platform.com
Creative Commons Attribution 4.0 International
26 stars 45 forks source link

Update Calendar styling snippet #689

Open glebfox opened 4 years ago

glebfox commented 4 years ago

Environment

Description of the bug or enhancement

Current styles example is applicable only for Monthly view all-day events and doesn't correspond to the screenshot

.v-calendar-event.event-green {
  background-color: #c8f4c9;
  color: #00e026;
}

The correct styles are:

.v-calendar-week-wrapper .v-calendar-event-event-green {
  color: #037516;

  .v-calendar-event-content {
    background-color: #c8f4c9;
  }
}

Pay attention that these styles apply only to the Week/Day view events and correspond to the screenshot in the doc.