mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-24 07:30:12 +01:00
Added clipboard active color to palettes
This commit is contained in:
parent
0253d6e6c8
commit
bca2077c1e
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
1
material/assets/stylesheets/application-e50196caa3.css
Normal file
1
material/assets/stylesheets/application-e50196caa3.css
Normal file
File diff suppressed because one or more lines are too long
@ -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 %}
|
||||
|
@ -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 {
|
||||
|
@ -67,8 +67,8 @@
|
||||
opacity: 0.25;
|
||||
|
||||
// Show on container hover
|
||||
.codehilite:hover &,
|
||||
.highlight:hover & {
|
||||
pre:hover &,
|
||||
.codehilite:hover & {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user