mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 22:53:25 +00:00
51 lines
814 B
CSS
51 lines
814 B
CSS
.linkWrapper {
|
|
user-select: none;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
background-color: light-dark(var(--mantine-color-gray-1), rgb(50, 58, 71));
|
|
padding: 0.75em 1em;
|
|
border-radius: var(--border-radius);
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.linkWrapper:hover {
|
|
border: 1px solid var(--mantine-color-blue-4);
|
|
}
|
|
|
|
.linkHeader {
|
|
display: flex;
|
|
gap: 1em;
|
|
align-items: center;
|
|
}
|
|
|
|
.linkName {
|
|
width: 100%;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.linkDescription {
|
|
margin-top: 0.5em;
|
|
font-size: 0.8em;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.linkUrl {
|
|
width: 100%;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
font-size: 0.8em;
|
|
transition: opacity 0.3s;
|
|
}
|
|
|
|
.linkWrapper:hover .linkUrlPathname {
|
|
opacity: 1;
|
|
}
|
|
|
|
.linkUrlPathname {
|
|
opacity: 0;
|
|
transition: opacity 0.3s;
|
|
}
|