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

Fixed incorrect color transition for nested pane in mobile navigation

parent bca99813
No related branches found
No related tags found
No related merge requests found
mkdocs-material-1.9.1 (2017-XX-XX) mkdocs-material-1.9.1 (2017-XX-XX)
* Fixed uninitialized overflow scrolling on main pane for iOS * Fixed uninitialized overflow scrolling on main pane for iOS
* Fixed error in mobile navigation in case JavaScript is not available
* Fixed incorrect color transition for nested pane in mobile navigation
mkdocs-material-1.9.0 (2017-08-29) mkdocs-material-1.9.0 (2017-08-29)
......
This diff is collapsed.
This diff is collapsed.
...@@ -39,9 +39,9 @@ ...@@ -39,9 +39,9 @@
<script src="{{ base_url }}/assets/javascripts/modernizr-e826f8942a.js"></script> <script src="{{ base_url }}/assets/javascripts/modernizr-e826f8942a.js"></script>
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-1ef2616bd8.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-eaef0aa2fc.css">
{% if config.extra.palette %} {% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-02c2a4388f.palette.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-23f75ab9c7.palette.css">
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block fonts %} {% block fonts %}
......
...@@ -212,7 +212,7 @@ button[data-md-color-accent] { ...@@ -212,7 +212,7 @@ button[data-md-color-accent] {
color: $color; color: $color;
} }
// Active or targeted permalink // Active, targeted or focused permalink
[id]:hover .headerlink:hover, [id]:hover .headerlink:hover,
[id]:target .headerlink, [id]:target .headerlink,
[id] .headerlink:focus { [id] .headerlink:focus {
...@@ -220,7 +220,8 @@ button[data-md-color-accent] { ...@@ -220,7 +220,8 @@ button[data-md-color-accent] {
} }
} }
// Current or hovered link // Focused or hovered link
.md-nav__link:focus,
.md-nav__link:hover { .md-nav__link:hover {
color: $color; color: $color;
} }
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
// Deletions, additions and comments // Deletions, additions and comments
del.critic, del.critic,
ins.critic, ins.critic,
.comment.critic { .critic.comment {
margin: 0 0.25em; margin: 0 0.25em;
padding: 0.0625em 0; padding: 0.0625em 0;
border-radius: 0.2rem; border-radius: 0.2rem;
......
...@@ -302,14 +302,8 @@ ...@@ -302,14 +302,8 @@
top: 50%; top: 50%;
right: 1.2rem; right: 1.2rem;
margin-top: -1.2rem; margin-top: -1.2rem;
color: $md-color-black--light;
font-size: 2.4rem;
}
// Color of icon should inherit link color on focus or hover
&:focus::after,
&:hover::after {
color: inherit; color: inherit;
font-size: 2.4rem;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment