-
Notifications
You must be signed in to change notification settings - Fork 11
fix: changing card hover behaviour #875
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,8 @@ | |
border-radius: 8px; | ||
border: 1px solid $gray-2; | ||
margin-bottom: 8px; | ||
@include card-hover; | ||
|
||
@include card-hover(); | ||
|
||
&.selected-card { | ||
background: $blue-1; | ||
|
@@ -33,21 +34,13 @@ | |
} | ||
|
||
&:hover { | ||
background: $blue-2; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We don't want to show a darker blue when user hover on selected card? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need to remove these on hover on card
To maintain consistency on hover elements, selected and un-selected cards should follow the same behavior. |
||
border: 1px solid $blue-5; | ||
|
||
&.grouped-style { | ||
margin-bottom: 8px; | ||
@include grouped-style($blue-2); | ||
} | ||
} | ||
} | ||
|
||
&:hover { | ||
background: $gray-1; | ||
border: 1px solid $gray-2; | ||
} | ||
|
||
&.grouped-style { | ||
margin-bottom: 8px; | ||
@include grouped-style($gray-1); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: why the 2 separate mixins defined the same?