Let link have the cursor: pointer by default, and specify only for current

This commit is contained in:
Jean-Baptiste Bellet
2023-08-17 08:53:17 +02:00
parent 2405dfdaa3
commit e7d36ed772

View File

@@ -20,7 +20,12 @@
border-radius: 4px;
color: $color-8;
font-weight: 600;
cursor: default;
&.current,
&.disabled,
&.gap {
cursor: default;
}
&.current {
background-color: $color-5;
@@ -41,10 +46,6 @@
}
}
&:not(.disabled):not(.current) {
cursor: pointer;
}
&:hover:not(.disabled):not(.gap) {
background-color: $color-5;
color: $white;