mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-30 18:24:35 +01:00
Fixed incorrect color transition for nested pane in mobile navigation
This commit is contained in:
parent
bca99813d1
commit
2ae628ed6d
@ -1,6 +1,8 @@
|
|||||||
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)
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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] {
|
|||||||
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] {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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 @@
|
|||||||
// 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 @@
|
|||||||
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user