Enable color customization of details arrow icon

This commit is contained in:
squidfunk 2020-03-21 13:42:57 +01:00
parent b0c2c4390a
commit d4051c9bb5
9 changed files with 10 additions and 75 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,10 @@
{ {
"assets/javascripts/bundle.js": "assets/javascripts/bundle.9ba506a9.min.js", "assets/javascripts/bundle.js": "assets/javascripts/bundle.cecacc24.min.js",
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.9ba506a9.min.js.map", "assets/javascripts/bundle.js.map": "assets/javascripts/bundle.cecacc24.min.js.map",
"assets/javascripts/vendor.js": "assets/javascripts/vendor.0c35f0aa.min.js", "assets/javascripts/vendor.js": "assets/javascripts/vendor.0c35f0aa.min.js",
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.0c35f0aa.min.js.map", "assets/javascripts/vendor.js.map": "assets/javascripts/vendor.0c35f0aa.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.2613054f.min.js", "assets/javascripts/worker/search.js": "assets/javascripts/worker/search.2613054f.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.2613054f.min.js.map", "assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.2613054f.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.02c0bdda.min.css", "assets/stylesheets/main.css": "assets/stylesheets/main.497a61b7.min.css",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.31180ff2.min.css" "assets/stylesheets/palette.css": "assets/stylesheets/palette.31180ff2.min.css"
} }

View File

@ -41,7 +41,7 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.02c0bdda.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/main.497a61b7.min.css' | url }}">
{% if palette.primary or palette.accent %} {% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.31180ff2.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/palette.31180ff2.min.css' | url }}">
{% endif %} {% endif %}
@ -178,7 +178,7 @@
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script src="{{ 'assets/javascripts/vendor.0c35f0aa.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/vendor.0c35f0aa.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.9ba506a9.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/bundle.cecacc24.min.js' | url }}"></script>
{%- set translations = {} -%} {%- set translations = {} -%}
{%- for key in [ {%- for key in [
"clipboard.copy", "clipboard.copy",

View File

@ -152,11 +152,6 @@
color: var(--md-primary-fg-color); color: var(--md-primary-fg-color);
transform: translateX(0); transform: translateX(0);
opacity: 1; opacity: 1;
// Hack: mask-image is not supported in PDFs
&::before {
background: var(--md-footnotes-icon);
}
} }
} }
} }

View File

@ -92,7 +92,8 @@
right: px2rem(8px); right: px2rem(8px);
width: px2rem(20px); width: px2rem(20px);
height: px2rem(20px); height: px2rem(20px);
background-image: var(--md-details-icon); background-color: currentColor;
mask-image: var(--md-details-icon);
transform: rotate(0deg); transform: rotate(0deg);
transition: transform 250ms; transition: transform 250ms;
content: ""; content: "";