Commit e6e6f63d authored by Curtis Adam's avatar Curtis Adam

Update presentation lecture and hint header colors

parent 86bb34c9
......@@ -212,6 +212,9 @@ $themes: (
$background_lecture: map-get($map, "background_lecture");
$background_hint: map-get($map, "background_hint");
$background_hint_alternative: map-get($map, "background_hint_alternative");
$lecture_presentation_header_lines: map-get($map, "lecture_presentation_header_lines");
$hint_presentation_header_lines: map-get($map, "hint_presentation_header_lines");
$hint_alternative_presentation_header_lines: map-get($map, "hint_alternative_presentation_header_lines");
$hint_text: map-get($map, "hint_text");
$hint_text_alternative: map-get($map, "hint_text_alternative");
$hint_link: map-get($map, "hint_link");
......@@ -1145,6 +1148,14 @@ $themes: (
background: linear-gradient(to top, $background_white_lines 0px, $background_white_lines 4px, $background_white 5px, $background_white 100%) !important;
}
.box-hint-header {
background: linear-gradient(to top, $hint_presentation_header_lines 0px, $hint_presentation_header_lines 4px, $background_hint 5px, $background_hint 100%) !important;
}
.box-hint-alternative-header {
background: linear-gradient(to top, $hint_alternative_presentation_header_lines 0px, $hint_alternative_presentation_header_lines 4px, $background_hint_alternative 5px, $background_hint_alternative 100%) !important;
}
.box-pink-header {
background: linear-gradient(to top, $background_pink_lines 0px, $background_pink_lines 4px, $background_pink 5px, $background_pink 100%) !important;
}
......@@ -1153,6 +1164,10 @@ $themes: (
background: linear-gradient(to top, $background_post_it_lines 0px, $background_post_it_lines 4px, $background_post_it 5px, $background_post_it 100%) !important;
}
.box-lecture-header {
background: linear-gradient(to top, $lecture_presentation_header_lines 0px, $lecture_presentation_header_lines 4px, $background_lecture 5px, $background_lecture 100%) !important;
}
.box-difficultyBlank0-header, .box-difficultyLined0-header {
background: linear-gradient(to top, $background_difficulty0_lines 0px, $background_difficulty0_lines 4px, $background_difficulty0 5px, $background_difficulty0 100%) !important;
}
......
......@@ -227,6 +227,9 @@
"background_lecture": LightGoldenRodYellow,
"background_hint": LightGoldenRodYellow,
"background_hint_alternative": LightGoldenRodYellow,
"lecture_presentation_header_lines": $thm_orange,
"hint_presentation_header_lines": $thm_gray,
"hint_alternative_presentation_header_lines": $thm_red,
"hint_text": $thm_gray,
"hint_text_alternative": $thm_gray,
"hint_link": $thm_orange,
......
......@@ -229,6 +229,9 @@
"background_lecture": LightGoldenRodYellow,
"background_hint": WhiteSmoke,
"background_hint_alternative": LightPink,
"lecture_presentation_header_lines": $thm_orange,
"hint_presentation_header_lines": $thm_gray,
"hint_alternative_presentation_header_lines": $thm_red,
"hint_text": $thm_gray,
"hint_text_alternative": $thm_gray,
"hint_link": $thm_orange,
......
......@@ -364,8 +364,8 @@
<div class="item {{#if cardActive}}active{{/if}}" data-id="{{_id}}">
<div class="box flashcard">
<div class="cardHeader {{#if isHintPreview}}{{#if
gotAlternativeHintStyle}}box-pink{{else}}box-white{{/if}}{{else}}{{#if
isLecturePreview}}box-post-it{{else}}{{getCardBackground difficulty cardType
gotAlternativeHintStyle}}box-hint-alternative{{else}}box-hint{{/if}}{{else}}{{#if
isLecturePreview}}box-lecture{{else}}{{getCardBackground difficulty cardType
backgroundStyle}}{{/if}}{{/if}}-header"
data-cardtype="{{cardType}}">
{{#if canCopyCard this.cardset_id}}
......
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