mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
Update assets/styles/clipboard.scss
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
This commit is contained in:
parent
b5df8a8c96
commit
37bd86d036
@ -15,26 +15,33 @@
|
|||||||
z-index: 1;
|
z-index: 1;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: 0.12s;
|
transition: 0.12s;
|
||||||
}
|
|
||||||
.clipboard-button > svg {
|
& > svg {
|
||||||
fill: var(--light);
|
fill: var(--light);
|
||||||
filter: contrast(0.3);
|
filter: contrast(0.3);
|
||||||
}
|
}
|
||||||
.clipboard-button:hover {
|
|
||||||
cursor: pointer;
|
&:hover {
|
||||||
border-color: var(--primary);
|
cursor: pointer;
|
||||||
}
|
border-color: var(--primary);
|
||||||
.clipboard-button:hover > svg {
|
|
||||||
fill: var(--primary);
|
& > svg {
|
||||||
}
|
fill: var(--primary);
|
||||||
.clipboard-button:focus {
|
}
|
||||||
outline: 0;
|
}
|
||||||
}
|
|
||||||
.highlight {
|
&:focus {
|
||||||
position: relative;
|
outline: 0;
|
||||||
}
|
}
|
||||||
.highlight:hover > .clipboard-button {
|
|
||||||
opacity: 1;
|
|
||||||
transition: 0.2s;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.highlight {
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
&:hover > .clipboard-button {
|
||||||
|
opacity: 1;
|
||||||
|
transition: 0.2s;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user