Fixed wrong z-index order of header, overlay and drawer

This commit is contained in:
squidfunk 2017-06-01 22:24:48 +02:00 committed by Martin Donath
parent 5305e3920a
commit 95d014032f
4 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@
<script src="{{ base_url }}/assets/javascripts/modernizr-1df76c4e58.js"></script>
{% endblock %}
{% 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 %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-8817cfa535.palette.css">
{% endif %}

View File

@ -142,7 +142,7 @@ hr {
opacity 0.25s;
background-color: $md-color-black--light;
opacity: 0;
z-index: 2;
z-index: 3;
// [tablet -]: Trigger overlay
@include break-to-device(tablet) {

View File

@ -65,7 +65,7 @@ $md-toggle__drawer--checked:
transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
box-shadow 0.25s;
background-color: $md-color-white;
z-index: 2;
z-index: 3;
// Just hide drawer, if browser doesn't support 3D transforms
.no-csstransforms3d & {