mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed back-to-top button overlaying active search bar
This commit is contained in:
parent
f151f71eea
commit
b740dbc975
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -39,7 +39,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.fe914879.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.1118c9be.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.ba0d045b.min.css' | url }}">
|
||||
|
@ -32,7 +32,7 @@
|
||||
right: px2rem(16px);
|
||||
bottom: px2rem(16px);
|
||||
left: initial;
|
||||
z-index: 2;
|
||||
z-index: 3;
|
||||
min-width: px2rem(222px);
|
||||
padding: px2rem(8px) px2rem(12px);
|
||||
background-color: var(--md-default-fg-color);
|
||||
|
@ -31,7 +31,7 @@
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
z-index: 3;
|
||||
color: var(--md-primary-bg-color);
|
||||
background-color: var(--md-primary-fg-color);
|
||||
// Hack: reduce jitter by adding a transparent box shadow of the same size
|
||||
|
@ -46,7 +46,7 @@
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: px2rem(-242px);
|
||||
z-index: 3;
|
||||
z-index: 4;
|
||||
display: block;
|
||||
width: px2rem(242px);
|
||||
height: 100%;
|
||||
@ -167,7 +167,7 @@
|
||||
.md-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 3;
|
||||
z-index: 4;
|
||||
width: 0;
|
||||
height: 0;
|
||||
background-color: hsla(0, 0%, 0%, 0.54);
|
||||
|
Loading…
Reference in New Issue
Block a user