74 lines
1.7 KiB
Plaintext
74 lines
1.7 KiB
Plaintext
<div class="recommended-wrapper">
|
|
<div class="heading lang-en">
|
|
On-demand library
|
|
</div>
|
|
<div class="heading lang-de">
|
|
On-Demand-Bibliothek
|
|
</div>
|
|
|
|
<div class="webinars-cards-wrapper on-demand-cards-wrapper">
|
|
{% for course in courses.enrolled %}
|
|
{% if course.properties.on_demand %}
|
|
{% if course.properties.language == userLanguage %}
|
|
{% include "on_demand_cards" %}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<style>
|
|
.your-course-carousel {
|
|
position: relative;
|
|
}
|
|
.slick-arrow {
|
|
position: absolute;
|
|
top: -30px;
|
|
z-index: 111;
|
|
cursor: pointer;
|
|
}
|
|
.right-arrow {
|
|
margin-left: 30px;
|
|
}
|
|
.slick-dots button {
|
|
display: block;
|
|
width: 10px;
|
|
height: 10px;
|
|
padding: 0;
|
|
border: none;
|
|
border-radius: 1px;
|
|
background: #8878FF;
|
|
text-indent: -9999px;
|
|
}
|
|
.slick-dots {
|
|
list-style-type: none;
|
|
}
|
|
.slick-dots {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin: 0;
|
|
padding-top: 3rem;
|
|
list-style-type: none;
|
|
gap: 10px;
|
|
}
|
|
.slick-dots li {
|
|
margin: 0 0.25rem;
|
|
}
|
|
.slick-dots li.slick-active button {
|
|
background: #6CF1C9;
|
|
|
|
}
|
|
@media only screen and (max-width: 1170px) {
|
|
.on-demand-cards-wrapper {
|
|
grid-template-columns: repeat(2,1fr) !important;
|
|
}
|
|
}
|
|
@media only screen and (max-width: 768px) {
|
|
.on-demand-cards-wrapper {
|
|
grid-template-columns: repeat(1,1fr) !important;
|
|
}
|
|
}
|
|
</style>
|
|
|