MOBILE-2543 courses: Thumb course image with white background
parent
e6c5607463
commit
a0445bb757
|
@ -18,6 +18,7 @@ core-course-format {
|
|||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
position: relative;
|
||||
background: white;
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<ion-card>
|
||||
<div (click)="openCourse(course)" class="core-course-thumb core-course-color-{{course.id % 10}}">
|
||||
<div (click)="openCourse(course)" class="core-course-thumb core-course-color-{{course.id % 10}}" [class.core-course-color-img]="course.imageThumb">
|
||||
<img *ngIf="course.imageThumb" [src]="course.imageThumb" core-external-content alt=""/>
|
||||
</div>
|
||||
<ion-item tappable text-wrap detail-none (click)="openCourse(course)" [title]="course.fullname" class="core-course-link">
|
||||
|
|
|
@ -17,6 +17,10 @@ core-courses-course-progress {
|
|||
}
|
||||
}
|
||||
|
||||
&.core-course-color-img {
|
||||
background: white;
|
||||
}
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
|
Loading…
Reference in New Issue