stripe updates

This commit is contained in:
Norm Rasmussen
2022-05-03 22:15:10 -04:00
parent 8dcb177a1c
commit f5d6db5ec3
2 changed files with 8 additions and 8 deletions

View File

@ -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%}
{% 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">
Blocks-Layout Test Field
Recent Achievements
</h2>
{% include "training_events_dashboard", card_classes: event_card_classes %}
{% include "widget_achievements", card_classes: event_card_classes %}
</div>
{% endif %}
</div>

View File

@ -2,7 +2,7 @@
For this widget to work you must import Slick CSS and JS
{% 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-container np-dashboard-border">
{% if courses.enrolled.any? %}
@ -14,7 +14,7 @@
<div class="np-card-content-title col-12">
{{ course.name }}
</div>
<div class="col-12 ">
<div class="col-12">
<img class="np-achievement-icon" src="{{ course.properties.course_badge }}" />
</div>
</div>
@ -79,7 +79,7 @@
}
.np-view-all-achievements {
color:#2BB24C;
color:#635bff;
font-size:0.75rem;
text-transform:uppercase;
text-align:center;
@ -88,14 +88,14 @@
}
.np-card-content-achievements {
flex: 1;
justify-content: center;
display: flex;
flex-direction: column;
padding: 2rem 2rem .5rem;
}
.achievements-total-points-display {
color:#2BB24C;
color:#635bff;
font-size:0.812rem;
text-transform:uppercase;
text-align:center;