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 addon-calendar-upcoming-events {
.item.addon-calendar-event .icon {
color: white;
border-radius: 50%;
width: 36px;
height: 36px;
line-height: 36px;
.item.addon-calendar-event {
> .icon {
color: white;
border-radius: 50%;
width: 36px;
height: 36px;
line-height: 36px;
&.fa {
font-size: 20px;
&::before {
width: 1.9em;
&.fa {
font-size: 20px;
&::before {
width: 1.9em;
}
}
}
}
.item.addon-calendar-event .core-module-icon {
margin: 9px 8px 9px 8px;
}
> .core-module-icon {
margin: 9px 8px 9px 8px;
}
.item.addon-calendar-eventtype-category .icon {
background-color: $calendar-event-category-color;
}
.item.addon-calendar-eventtype-course .icon {
background-color: $calendar-event-course-color;
}
.item.addon-calendar-eventtype-group .icon {
background-color: $calendar-event-group-color;
}
.item.addon-calendar-eventtype-user .icon {
background-color: $calendar-event-user-color;
}
.item.addon-calendar-eventtype-site .icon {
background-color: $calendar-event-site-color;
&.addon-calendar-eventtype-category > .icon {
background-color: $calendar-event-category-color;
}
&.addon-calendar-eventtype-course > .icon {
background-color: $calendar-event-course-color;
}
&.addon-calendar-eventtype-group > .icon {
background-color: $calendar-event-group-color;
}
&.addon-calendar-eventtype-user > .icon {
background-color: $calendar-event-user-color;
}
&.addon-calendar-eventtype-site > .icon {
background-color: $calendar-event-site-color;
}
}
}