mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-22 13:53:43 -04:00
Added clipboard active color to palettes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user