Skip to content

Commit 155d44e

Browse files
committed
Effect in active state
1 parent 47529c6 commit 155d44e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

frontend/src/common/components/Router/TabNavigation.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,16 @@
6868
/* Add slight transition for hover effects */
6969
transition:
7070
transform 0.2s ease,
71-
box-shadow 0.2s ease;
71+
box-shadow 0.2s ease,
72+
background-image 0.2s ease,
73+
border 0.2s ease;
7274

75+
/* Active state styling to match the image */
7376
&:active {
7477
transform: translateX(-50%) scale(0.95);
78+
background-image: linear-gradient(135deg, #3a52d0 0%, #4f47c7 50%, #7e44c2 100%);
7579
box-shadow: 0 0.25rem 0.5rem rgb(100 87 250 / 30%);
80+
border: 2px solid white;
7681
}
7782

7883
.ls-tab-navigation__bar-button-icon {

0 commit comments

Comments
 (0)