mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed wrong palette color for inactive code annotations
This commit is contained in:
parent
2201e2389f
commit
bda6e156ed
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.4e7c321a.min.css.map
Normal file
1
material/assets/stylesheets/main.4e7c321a.min.css.map
Normal file
File diff suppressed because one or more lines are too long
@ -34,7 +34,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.450eaa28.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.4e7c321a.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.9204c3b2.min.css' | url }}">
|
||||
|
@ -156,12 +156,13 @@
|
||||
display: inline-block;
|
||||
min-width: 1.4em;
|
||||
padding: 0 px2em(6px);
|
||||
color: var(--md-accent-bg-color);
|
||||
color: var(--md-default-bg-color);
|
||||
text-align: center;
|
||||
background-color: var(--md-default-fg-color--lighter);
|
||||
border-radius: px2em(20px);
|
||||
cursor: pointer;
|
||||
transition:
|
||||
color 250ms,
|
||||
background-color 250ms,
|
||||
z-index 250ms;
|
||||
animation: pulse 2000ms infinite;
|
||||
@ -176,6 +177,7 @@
|
||||
// Annotation index on focus
|
||||
:focus-within > & {
|
||||
transition:
|
||||
color 250ms,
|
||||
background-color 250ms,
|
||||
z-index 0ms;
|
||||
animation: none;
|
||||
@ -189,6 +191,7 @@
|
||||
// Annotation index on focus/hover
|
||||
:focus-within > &,
|
||||
:hover > & {
|
||||
color: var(--md-accent-bg-color);
|
||||
background-color: var(--md-accent-fg-color);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user