mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed wrong palette color for focused search result
This commit is contained in:
parent
2c429eb739
commit
5b1bbea2a3
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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 %}
|
||||
|
@ -224,9 +224,14 @@ button[data-md-color-accent] {
|
||||
background-color: $color;
|
||||
}
|
||||
|
||||
// Hovered search result link
|
||||
.md-search-result__link:hover {
|
||||
background-color: transparentize($color, 0.9);
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user