mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2025-01-18 17:04:09 +01:00
Fixed wrong z-index order of header, overlay and drawer
This commit is contained in:
parent
5305e3920a
commit
95d014032f
File diff suppressed because one or more lines are too long
@ -38,7 +38,7 @@
|
|||||||
<script src="{{ base_url }}/assets/javascripts/modernizr-1df76c4e58.js"></script>
|
<script src="{{ base_url }}/assets/javascripts/modernizr-1df76c4e58.js"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-c147e0d28f.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-78278d826e.css">
|
||||||
{% if config.extra.palette %}
|
{% if config.extra.palette %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-8817cfa535.palette.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-8817cfa535.palette.css">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -142,7 +142,7 @@ hr {
|
|||||||
opacity 0.25s;
|
opacity 0.25s;
|
||||||
background-color: $md-color-black--light;
|
background-color: $md-color-black--light;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
z-index: 2;
|
z-index: 3;
|
||||||
|
|
||||||
// [tablet -]: Trigger overlay
|
// [tablet -]: Trigger overlay
|
||||||
@include break-to-device(tablet) {
|
@include break-to-device(tablet) {
|
||||||
|
@ -65,7 +65,7 @@ $md-toggle__drawer--checked:
|
|||||||
transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
|
transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
|
||||||
box-shadow 0.25s;
|
box-shadow 0.25s;
|
||||||
background-color: $md-color-white;
|
background-color: $md-color-white;
|
||||||
z-index: 2;
|
z-index: 3;
|
||||||
|
|
||||||
// Just hide drawer, if browser doesn't support 3D transforms
|
// Just hide drawer, if browser doesn't support 3D transforms
|
||||||
.no-csstransforms3d & {
|
.no-csstransforms3d & {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user