mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 23:15:36 +00:00
95 lines
1.9 KiB
SCSS
95 lines
1.9 KiB
SCSS
.no-link,
|
|
.no-category {
|
|
display: flex;
|
|
flex: 1;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.links-wrapper {
|
|
height: 100%;
|
|
padding: 10px;
|
|
flex: 1;
|
|
overflow-x: auto;
|
|
|
|
& h2 {
|
|
color: #3f88c5;
|
|
margin-bottom: 15px;
|
|
|
|
& .links-count {
|
|
color: #bbb;
|
|
font-weight: 300;
|
|
font-size: 0.8em;
|
|
}
|
|
}
|
|
|
|
& .links {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
& .links .link {
|
|
user-select: none;
|
|
cursor: pointer;
|
|
animation: fadein 0.3s both;
|
|
|
|
& > a {
|
|
height: fit-content;
|
|
width: 100%;
|
|
color: #3f88c5;
|
|
background-color: #fff;
|
|
text-decoration: none;
|
|
padding: 10px 15px;
|
|
border: 1px solid #dadce0;
|
|
border-bottom: 2px solid #dadce0;
|
|
border-radius: 3px;
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
transition: 0.1s;
|
|
|
|
&:hover {
|
|
border-bottom-color: #3f88c5;
|
|
background: #f0eef6;
|
|
|
|
& .url-pathname {
|
|
opacity: 1 !important;
|
|
}
|
|
}
|
|
|
|
& .link-name .link-category {
|
|
color: #bbb;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
& .link-url {
|
|
width: 100%;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
color: #bbb;
|
|
font-size: 0.8em;
|
|
|
|
& .url-pathname {
|
|
opacity: 0;
|
|
transition: 0.1s;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@keyframes fadein {
|
|
0% {
|
|
transform: translateX(-15px);
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
}
|