Skip to content

Commit

Permalink
Merge pull request #1497 from memphisdev/RND-216-ui-new-sidebar-menu
Browse files Browse the repository at this point in the history
UI - New sidebar menu highlight animation for arrow added
  • Loading branch information
otabek-memphis authored Dec 9, 2023
2 parents 0e14574 + 4dc8ed5 commit 559f0c6
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion ui_src/src/components/sideBar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,31 @@
justify-content: space-between;
z-index: 1;

@keyframes pulse {
0% {
transform: scale(1);
}
30% {
transform: scale(1.2);
}
50% {
transform: scale(1);
}
70% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}

&:hover {
.upper-icons-toggle {
animation: pulse 1.2s infinite;
animation-iteration-count: 1;
}
}

.sidebar-user-info {
cursor: pointer;
&-img {
Expand Down Expand Up @@ -342,8 +367,9 @@
cursor: pointer;
padding: 5px;
z-index: 2;
transition: 0.2s linear;
transition: transform 0.2s ease-in-out;
&.open {
animation: initial;
transform: scale(-1, -1);
}
svg {
Expand Down

0 comments on commit 559f0c6

Please sign in to comment.