stripe updates
This commit is contained in:
@ -66,11 +66,11 @@
|
|||||||
|
|
||||||
{%comment%} This is a test section for understanding blocks-layout and the formatting required to render an additional 'achievements' section {%endcomment%}
|
{%comment%} This is a test section for understanding blocks-layout and the formatting required to render an additional 'achievements' section {%endcomment%}
|
||||||
{% if show_events_section %}
|
{% if show_events_section %}
|
||||||
<div class="{{ event_section_classes }}" style="background-color: pink">
|
<div class="{{ event_section_classes }}">
|
||||||
<h2 class="np-dashboard-resources-title" style="width: 265px">
|
<h2 class="np-dashboard-resources-title" style="width: 265px">
|
||||||
Blocks-Layout Test Field
|
Recent Achievements
|
||||||
</h2>
|
</h2>
|
||||||
{% include "training_events_dashboard", card_classes: event_card_classes %}
|
{% include "widget_achievements", card_classes: event_card_classes %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
For this widget to work you must import Slick CSS and JS
|
For this widget to work you must import Slick CSS and JS
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
|
||||||
<div class="np-card card--training-event col-x-sm-6 col-sm-6 col-md-12 col-lg-6">
|
<div class="np-card card--training-event col-x-sm-12 col-sm-12 col-md-12 col-lg-12">
|
||||||
<div class="np-card">
|
<div class="np-card">
|
||||||
<div class="np-card-container np-dashboard-border">
|
<div class="np-card-container np-dashboard-border">
|
||||||
{% if courses.enrolled.any? %}
|
{% if courses.enrolled.any? %}
|
||||||
@ -14,7 +14,7 @@
|
|||||||
<div class="np-card-content-title col-12">
|
<div class="np-card-content-title col-12">
|
||||||
{{ course.name }}
|
{{ course.name }}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 ">
|
<div class="col-12">
|
||||||
<img class="np-achievement-icon" src="{{ course.properties.course_badge }}" />
|
<img class="np-achievement-icon" src="{{ course.properties.course_badge }}" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -79,7 +79,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.np-view-all-achievements {
|
.np-view-all-achievements {
|
||||||
color:#2BB24C;
|
color:#635bff;
|
||||||
font-size:0.75rem;
|
font-size:0.75rem;
|
||||||
text-transform:uppercase;
|
text-transform:uppercase;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
@ -88,14 +88,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.np-card-content-achievements {
|
.np-card-content-achievements {
|
||||||
flex: 1;
|
justify-content: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 2rem 2rem .5rem;
|
padding: 2rem 2rem .5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.achievements-total-points-display {
|
.achievements-total-points-display {
|
||||||
color:#2BB24C;
|
color:#635bff;
|
||||||
font-size:0.812rem;
|
font-size:0.812rem;
|
||||||
text-transform:uppercase;
|
text-transform:uppercase;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
|
|||||||
Reference in New Issue
Block a user