mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed active page highlight not working with default palette
This commit is contained in:
parent
3c8f12a41a
commit
94acf18d5d
2
material/assets/stylesheets/application.a315b664.css
Normal file
2
material/assets/stylesheets/application.a315b664.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
@ -48,7 +48,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.aa3de92b.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.a315b664.css">
|
||||||
{% if palette.primary or palette.accent %}
|
{% if palette.primary or palette.accent %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-palette.792431c1.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-palette.792431c1.css">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -168,7 +168,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{ base_url }}/assets/javascripts/application.62cfdabc.js"></script>
|
<script src="{{ base_url }}/assets/javascripts/application.f5cd6d8a.js"></script>
|
||||||
{% if lang.t("search.language") != "en" %}
|
{% if lang.t("search.language") != "en" %}
|
||||||
{% set languages = lang.t("search.language").split(",") %}
|
{% set languages = lang.t("search.language").split(",") %}
|
||||||
{% if languages | length and languages[0] != "" %}
|
{% if languages | length and languages[0] != "" %}
|
||||||
|
@ -29,11 +29,6 @@
|
|||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
|
|
||||||
// Highlight active links (used for page-related meta navigation)
|
|
||||||
&--secondary .md-nav__link--active {
|
|
||||||
color: $md-color-primary;
|
|
||||||
}
|
|
||||||
|
|
||||||
// List title
|
// List title
|
||||||
&__title {
|
&__title {
|
||||||
display: block;
|
display: block;
|
||||||
@ -146,7 +141,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Active link
|
// Active link
|
||||||
&:active {
|
&:active,
|
||||||
|
&--active {
|
||||||
color: $md-color-primary;
|
color: $md-color-primary;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user