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> <script src="{{ base_url }}/assets/javascripts/modernizr-1df76c4e58.js"></script>
{% endblock %} {% endblock %}
{% block styles %} {% 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 %} {% 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 %} {% endif %}
{% endblock %} {% endblock %}
{% block fonts %} {% block fonts %}

View File

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

View File

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