Commit f2e0f122 authored by Curtis Adam's avatar Curtis Adam

Update the sass variables for the counters

parent 80a17a4b
...@@ -82,6 +82,10 @@ $themes: ( ...@@ -82,6 +82,10 @@ $themes: (
$button_navbar_collapse_text: map-get($map, "button_navbar_collapse_text"); $button_navbar_collapse_text: map-get($map, "button_navbar_collapse_text");
$lecturer_authorized_background: map-get($map, "lecturer_authorized_background"); $lecturer_authorized_background: map-get($map, "lecturer_authorized_background");
$lecturer_authorized_text: map-get($map, "lecturer_authorized_text"); $lecturer_authorized_text: map-get($map, "lecturer_authorized_text");
$card_counter_background: map-get($map, "card_counter_background");
$card_counter_text: map-get($map, "card_counter_text");
$transcript_counter_background: map-get($map, "transcript_counter_background");
$transcript_counter_text: map-get($map, "transcript_counter_text");
//barfy stars //barfy stars
$barfy_stars_particles_1: map-get($map, "barfy_stars_particles_1"); $barfy_stars_particles_1: map-get($map, "barfy_stars_particles_1");
$barfy_stars_particles_2: map-get($map, "barfy_stars_particles_2"); $barfy_stars_particles_2: map-get($map, "barfy_stars_particles_2");
...@@ -2757,6 +2761,16 @@ $themes: ( ...@@ -2757,6 +2761,16 @@ $themes: (
} }
} }
.label-count-cards {
background-color: $card_counter_background !important;
color: $card_counter_text!important;
}
.label-count-transcripts {
background-color: $transcript_counter_background !important;
color: $transcript_counter_text!important;
}
.moduleRadioButtonLabel { .moduleRadioButtonLabel {
color: $white !important; color: $white !important;
} }
......
...@@ -117,6 +117,10 @@ ...@@ -117,6 +117,10 @@
"button_navbar_collapse_text": white, "button_navbar_collapse_text": white,
"lecturer_authorized_background": $thm_green, "lecturer_authorized_background": $thm_green,
"lecturer_authorized_text": white, "lecturer_authorized_text": white,
"card_counter_background": $btn_inactive,
"card_counter_text": white,
"transcript_counter_background": $thm_orange,
"transcript_counter_text": white,
//barfy stars //barfy stars
"barfy_stars_particles_1": $thm_blue, "barfy_stars_particles_1": $thm_blue,
"barfy_stars_particles_2": $thm_orange, "barfy_stars_particles_2": $thm_orange,
......
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
<span class="label-group"> <span class="label-group">
{{#unless gotTranscriptBonusAndIsNotShuffled this._id}} {{#unless gotTranscriptBonusAndIsNotShuffled this._id}}
{{#unless gotTranscriptBonusAndIsNotShuffled this.cardset_id}} {{#unless gotTranscriptBonusAndIsNotShuffled this.cardset_id}}
<span class="label label-count" title="{{_ "cardset.info.quantity"}}"> <span class="label label-count-cards" title="{{_ "cardset.info.quantity"}}">
{{getCardsetCardCount}} {{getCardsetCardCount}}
</span> </span>
{{/unless}} {{/unless}}
{{/unless}} {{/unless}}
{{#if gotTranscriptBonus this._id}} {{#if gotTranscriptBonus this._id}}
<span class="label label-count cardset-list-badge-transcript" title="{{_ "transcriptForm.info.submissions"}}"> <span class="label label-count-transcripts" title="{{_ "transcriptForm.info.submissions"}}">
{{getTranscriptSubmissions this}} {{getTranscriptSubmissions this}}
</span> </span>
{{/if}} {{/if}}
......
...@@ -876,7 +876,7 @@ kbd { ...@@ -876,7 +876,7 @@ kbd {
} }
} }
.label-count { .label-count-cards, .label-count-transcripts {
display: inline-block; display: inline-block;
padding-top: 4px; padding-top: 4px;
padding-bottom: 4px; padding-bottom: 4px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment