Fixed wrong palette color for focused search result

This commit is contained in:
squidfunk 2017-04-06 11:33:58 +02:00 committed by Martin Donath
parent 2c429eb739
commit 5b1bbea2a3
4 changed files with 10 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -40,7 +40,7 @@
{% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-e71521a2a2.css">
{% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-66fa0d9bba.palette.css">
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-f78e5cb881.palette.css">
{% endif %}
{% endblock %}
{% block fonts %}

View File

@ -224,10 +224,15 @@ button[data-md-color-accent] {
background-color: $color;
}
// Hovered search result link
.md-search-result__link:hover {
// Search result link
.md-search-result__link {
// Active or hovered link
&[data-md-state="active"],
&:hover {
background-color: transparentize($color, 0.9);
}
}
// Wrapper for scrolling on overflow
.md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover {