Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aelmanaa committed Dec 11, 2024
1 parent a2b6ddf commit badea6a
Showing 1 changed file with 24 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
height: 24px;
border-radius: 50%;
flex-shrink: 0;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.arrow {
Expand Down Expand Up @@ -102,12 +103,11 @@

.option:hover,
.option.focused {
background: var(--color-background-secondary);
transform: translateX(4px);
box-shadow: 0 0 0 1px rgba(var(--color-accent-rgb), 0.1);
border-radius: 6px;
margin: 0 4px;
width: calc(100% - 8px);
background: rgba(var(--color-accent-rgb), 0.12);
color: var(--color-accent);
transform: scale(1.01);
font-weight: 500;
box-shadow: 0 2px 8px rgba(var(--color-accent-rgb), 0.15);
}

.option.selected {
Expand All @@ -116,6 +116,24 @@
font-weight: 500;
}

/* Add highlight effect */
.option:hover::after,
.option.focused::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(to right, rgba(var(--color-accent-rgb), 0.05), rgba(var(--color-accent-rgb), 0.1));
pointer-events: none;
border-radius: inherit;
}

/* Enhance the chain logo on hover */
.option:hover .chainLogo,
.option.focused .chainLogo {
transform: scale(1.1);
box-shadow: 0 2px 8px rgba(var(--color-accent-rgb), 0.2);
}

.option:last-child {
border-bottom: none;
}
Expand Down

0 comments on commit badea6a

Please sign in to comment.