Added clipboard active color to palettes

This commit is contained in:
squidfunk 2017-05-31 16:50:11 +02:00
parent 0253d6e6c8
commit bca2077c1e
7 changed files with 14 additions and 13 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -38,9 +38,9 @@
<script src="{{ base_url }}/assets/javascripts/modernizr-1df76c4e58.js"></script>
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-31785e9297.css">
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-e50196caa3.css">
{% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0a3e9e1c07.palette.css">
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-8817cfa535.palette.css">
{% endif %}
{% endblock %}
{% block fonts %}

View File

@ -103,11 +103,6 @@ button[data-md-color-accent] {
background-color: $color;
}
// Copy to clipboard button overlay.
.codehilite:hover .clip-btn:hover {
background-color: $color;
}
// Current or hovered link
.md-nav__link:active,
.md-nav__item--active > .md-nav__link {
@ -200,11 +195,17 @@ button[data-md-color-accent] {
}
// Hovered scrollbar thumb
pre::-webkit-scrollbar-thumb:hover,
.codehilite::-webkit-scrollbar-thumb:hover {
pre code::-webkit-scrollbar-thumb:hover,
.codehilite pre::-webkit-scrollbar-thumb:hover {
background-color: $color;
}
// Copy to clipboard active icon
.md-clipboard:hover::before,
.md-clipboard:active::before {
color: $color;
}
// Active or targeted back reference
.footnote li:hover .footnote-backref:hover,
.footnote li:target .footnote-backref {

View File

@ -67,8 +67,8 @@
opacity: 0.25;
// Show on container hover
.codehilite:hover &,
.highlight:hover & {
pre:hover &,
.codehilite:hover & {
opacity: 1;
}
}