mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
rework sidemenu + fix no categories / links
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
.no-link,
|
||||
.no-category {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.links-wrapper {
|
||||
height: 100%;
|
||||
padding: 10px;
|
||||
@@ -24,6 +33,7 @@
|
||||
& .links .link {
|
||||
user-select: none;
|
||||
cursor: pointer;
|
||||
animation: fadein 0.3s both;
|
||||
|
||||
& > a {
|
||||
height: fit-content;
|
||||
@@ -70,3 +80,15 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadein {
|
||||
0% {
|
||||
transform: translateX(-15px);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user