mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 04:39:58 +00:00
web/SectionHeading: make the link button always visible
scaling and 40 letter german words will be the death of me
This commit is contained in:
parent
128a1ff696
commit
1473f220cb
1 changed files with 6 additions and 10 deletions
|
@ -51,13 +51,17 @@
|
|||
padding: 2px;
|
||||
box-shadow: none;
|
||||
border-radius: 5px;
|
||||
transition: opacity 0.1s;
|
||||
transition: opacity 0.2s;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.link-copy:focus-visible {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.link-copy :global(.copy-animation) {
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.link-copy :global(.copy-animation *) {
|
||||
|
@ -65,10 +69,6 @@
|
|||
height: 17px;
|
||||
}
|
||||
|
||||
.link-copy :global(.copy-animation):hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.beta-label {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
@ -84,10 +84,6 @@
|
|||
}
|
||||
|
||||
@media (hover: hover) {
|
||||
.link-copy:not(:focus-visible) {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.heading-container:hover .link-copy {
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue