Fixed functional link colors in TOC for active palette

This commit is contained in:
squidfunk 2017-06-14 14:51:31 +02:00 committed by Martin Donath
parent ad9388ab42
commit cb8900d973
7 changed files with 7 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -38,9 +38,9 @@
<script src="{{ base_url }}/assets/javascripts/modernizr-1df76c4e58.js"></script>
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-147c19b0e9.css">
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-769c285a91.css">
{% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-8817cfa535.palette.css">
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-02c2a4388f.palette.css">
{% endif %}
{% endblock %}
{% block fonts %}

View File

@ -103,9 +103,9 @@ button[data-md-color-accent] {
background-color: $color;
}
// Current or hovered link
// Current or active link
.md-nav__link:active,
.md-nav__item--active > .md-nav__link {
.md-nav__link--active {
color: $color;
}

View File

@ -141,8 +141,7 @@
}
// Active link
&:active,
.md-nav__item--active > & {
&:active {
color: $md-color-primary;
}