You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
707 B
SCSS
48 lines
707 B
SCSS
2 years ago
|
.clipboard-button {
|
||
|
position: absolute;
|
||
|
display: flex;
|
||
|
float: right;
|
||
|
right: 0;
|
||
|
padding: 0.69em;
|
||
|
margin: 0.5em;
|
||
|
color: var(--outlinegray);
|
||
|
border-color: var(--dark);
|
||
|
background-color: var(--lightgray);
|
||
|
filter: contrast(1.1);
|
||
|
border: 2px solid;
|
||
|
border-radius: 6px;
|
||
|
font-size: 0.8em;
|
||
|
z-index: 1;
|
||
|
opacity: 0;
|
||
|
transition: 0.12s;
|
||
|
|
||
|
& > svg {
|
||
|
fill: var(--light);
|
||
|
filter: contrast(0.3);
|
||
|
}
|
||
|
|
||
|
&:hover {
|
||
|
cursor: pointer;
|
||
|
border-color: var(--primary);
|
||
|
|
||
|
& > svg {
|
||
|
fill: var(--primary);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&:focus {
|
||
|
outline: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.highlight {
|
||
|
position: relative;
|
||
|
|
||
|
&:hover > .clipboard-button {
|
||
|
opacity: 1;
|
||
|
transition: 0.2s;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|