MOBILE-3068 calendar: Fix delete restore icons

main
Pau Ferrer Ocaña 2019-08-30 08:35:16 +02:00
parent 08bd6114ce
commit f5426eba9e
1 changed files with 30 additions and 28 deletions

View File

@ -12,38 +12,40 @@ ion-app.app-root page-addon-calendar-list,
ion-app.app-root page-addon-calendar-day, ion-app.app-root page-addon-calendar-day,
ion-app.app-root addon-calendar-upcoming-events { ion-app.app-root addon-calendar-upcoming-events {
.item.addon-calendar-event .icon { .item.addon-calendar-event {
color: white; > .icon {
border-radius: 50%; color: white;
width: 36px; border-radius: 50%;
height: 36px; width: 36px;
line-height: 36px; height: 36px;
line-height: 36px;
&.fa { &.fa {
font-size: 20px; font-size: 20px;
&::before { &::before {
width: 1.9em; width: 1.9em;
}
} }
} }
} > .core-module-icon {
.item.addon-calendar-event .core-module-icon { margin: 9px 8px 9px 8px;
margin: 9px 8px 9px 8px; }
}
.item.addon-calendar-eventtype-category .icon { &.addon-calendar-eventtype-category > .icon {
background-color: $calendar-event-category-color; background-color: $calendar-event-category-color;
} }
.item.addon-calendar-eventtype-course .icon { &.addon-calendar-eventtype-course > .icon {
background-color: $calendar-event-course-color; background-color: $calendar-event-course-color;
} }
.item.addon-calendar-eventtype-group .icon { &.addon-calendar-eventtype-group > .icon {
background-color: $calendar-event-group-color; background-color: $calendar-event-group-color;
} }
.item.addon-calendar-eventtype-user .icon { &.addon-calendar-eventtype-user > .icon {
background-color: $calendar-event-user-color; background-color: $calendar-event-user-color;
} }
.item.addon-calendar-eventtype-site .icon { &.addon-calendar-eventtype-site > .icon {
background-color: $calendar-event-site-color; background-color: $calendar-event-site-color;
}
} }
} }