Skip to content
Snippets Groups Projects
Commit 94acf18d authored by squidfunk's avatar squidfunk Committed by Martin Donath
Browse files

Fixed active page highlight not working with default palette

parent 3c8f12a4
Branches
Tags
No related merge requests found
This diff is collapsed.
This diff is collapsed.
...@@ -48,7 +48,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -146,7 +141,8 @@
} }
// Active link // Active link
&:active { &:active,
&--active {
color: $md-color-primary; color: $md-color-primary;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment