Commit eb3cebe6 authored by Curtis Adam's avatar Curtis Adam Committed by Tom Käsler

Update the search result colors based on the access level

parent f09449f9
......@@ -816,9 +816,24 @@ $themes: (
border-bottom-color: $search_results_separator !important;
}
.search-subject {
background-color: $search_results_subject_background !important;
color: $search_results_subject_text !important;
.search-subject-personal {
background-color: $private_background !important;
color: $private_text !important;
}
.search-subject-edu {
background-color: $edu_background !important;
color: $edu_text !important;
}
.search-subject-pro {
background-color: $pro_background !important;
color: $pro_text !important;
}
.search-subject-free {
background-color: $free_background !important;
color: $free_text !important;
}
.search-content {
......
......@@ -396,8 +396,6 @@
//notification colors
"notification_text_smartphones": white,
//search colors
"search_results_subject_background": $thm_green,
"search_results_subject_text": white,
"search_results_content_background": LightGoldenRodYellow,
"search_results_content_text": $thm_gray,
"search_results_author_background": $thm_gray,
......
......@@ -398,8 +398,6 @@
//notification colors
"notification_text_smartphones": white,
//search colors
"search_results_subject_background": $thm_green,
"search_results_subject_text": white,
"search_results_content_background": LightGoldenRodYellow,
"search_results_content_text": $thm_gray,
"search_results_author_background": $thm_gray,
......
......@@ -35,7 +35,7 @@
data-toggle="collapse" data-target="#thm-top-navigation">
{{#each searchCategories}}
<a href="/cardset/{{_id}}" class="list-group-item clearfix">
<h4 class="list-group-item-heading search-subject">{{name}}</h4>
<h4 class="list-group-item-heading search-subject search-subject-{{kind}}">{{name}}</h4>
<p class="list-group-item-text search-content">{{#mathjax}}{{description}}{{/mathjax}}</p>
{{#with getAuthor this.owner}}
<p class="list-group-item-text search-author">{{_
......
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