mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed functional link colors in TOC for active palette
This commit is contained in:
parent
ad9388ab42
commit
cb8900d973
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/application-769c285a91.css
Normal file
1
material/assets/stylesheets/application-769c285a91.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -38,9 +38,9 @@
|
|||||||
<script src="{{ base_url }}/assets/javascripts/modernizr-1df76c4e58.js"></script>
|
<script src="{{ base_url }}/assets/javascripts/modernizr-1df76c4e58.js"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% 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 %}
|
{% 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 %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block fonts %}
|
{% block fonts %}
|
||||||
|
@ -103,9 +103,9 @@ button[data-md-color-accent] {
|
|||||||
background-color: $color;
|
background-color: $color;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Current or hovered link
|
// Current or active link
|
||||||
.md-nav__link:active,
|
.md-nav__link:active,
|
||||||
.md-nav__item--active > .md-nav__link {
|
.md-nav__link--active {
|
||||||
color: $color;
|
color: $color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -141,8 +141,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Active link
|
// Active link
|
||||||
&:active,
|
&:active {
|
||||||
.md-nav__item--active > & {
|
|
||||||
color: $md-color-primary;
|
color: $md-color-primary;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user