forked from EVOgeek/Vmeda.Online
102 lines
2.4 KiB
SCSS
102 lines
2.4 KiB
SCSS
$core-star-color: $core-color !default;
|
|
|
|
ion-app.app-root core-courses-course-progress {
|
|
ion-card.card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-self: stretch;
|
|
|
|
@for $i from 0 to length($core-course-image-background) {
|
|
&[course-color="#{$i}"] {
|
|
.core-course-thumb {
|
|
background: nth($core-course-image-background, $i + 1);
|
|
}
|
|
}
|
|
}
|
|
|
|
.core-course-thumb {
|
|
height: 150px;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
pointer-events: auto;
|
|
position: relative;
|
|
background-position: center;
|
|
background-size: cover;
|
|
|
|
&.core-course-color-img {
|
|
background: white;
|
|
}
|
|
|
|
img {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
margin: auto;
|
|
}
|
|
}
|
|
|
|
.core-course-shortname {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.core-course-link {
|
|
@include padding(8px, 0px, 8px, 16px);
|
|
.item-inner {
|
|
@include padding(null, 0, null, null);
|
|
}
|
|
.label {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
.core-course-title {
|
|
margins: 6px 0;
|
|
flex-grow: 1;
|
|
|
|
h2 ion-icon {
|
|
margin-right: 4px;
|
|
color: $core-star-color;
|
|
}
|
|
}
|
|
|
|
&.core-course-more-than-title {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.core-button-spinner .spinner {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.item-button[icon-only] {
|
|
min-width: 50px;
|
|
}
|
|
}
|
|
.label {
|
|
@include margin(0, 0, 0, null);
|
|
}
|
|
ion-item-divider .label-md {
|
|
@extend .label-md;
|
|
}
|
|
ion-item-divider .label-wp {
|
|
@extend .label-wp;
|
|
}
|
|
ion-item-divider .label-ios {
|
|
@extend .label-ios;
|
|
}
|
|
}
|
|
|
|
button {
|
|
z-index: 1;
|
|
}
|
|
}
|
|
|
|
|
|
ion-app.app-root .core-horizontal-scroll core-courses-course-progress {
|
|
@include horizontal_scroll_item(40%, 150px, 300px);
|
|
}
|
|
|
|
body.version-3-1 .core-course-thumb{
|
|
display: none;
|
|
}
|