Fixed incorrect color transition for nested pane in mobile navigation

This commit is contained in:
squidfunk 2017-08-30 17:27:22 +07:00 committed by Martin Donath
parent bca99813d1
commit 2ae628ed6d
8 changed files with 11 additions and 14 deletions

View File

@ -1,6 +1,8 @@
mkdocs-material-1.9.1 (2017-XX-XX)
* 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)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -39,9 +39,9 @@
<script src="{{ base_url }}/assets/javascripts/modernizr-e826f8942a.js"></script>
{% endblock %}
{% 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 %}
<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 %}
{% endblock %}
{% block fonts %}

View File

@ -212,7 +212,7 @@ button[data-md-color-accent] {
color: $color;
}
// Active or targeted permalink
// Active, targeted or focused permalink
[id]:hover .headerlink:hover,
[id]:target .headerlink,
[id] .headerlink:focus {
@ -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 {
color: $color;
}

View File

@ -30,7 +30,7 @@
// Deletions, additions and comments
del.critic,
ins.critic,
.comment.critic {
.critic.comment {
margin: 0 0.25em;
padding: 0.0625em 0;
border-radius: 0.2rem;

View File

@ -302,14 +302,8 @@
top: 50%;
right: 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;
font-size: 2.4rem;
}
}