Skip to content

Commit

Permalink
Add a hover color to the asset list
Browse files Browse the repository at this point in the history
Since the tooltip no longer fills the element with the metadata display, which makes it less obvious which asset is being displayed. This adds a hover outline similar to the active asset color to make those states more distinct.
  • Loading branch information
acdha committed May 24, 2019
1 parent 7e9955f commit b41a09e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion concordia/static/scss/action-app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,13 @@ main {
transition-property: height, width;
transition-duration: 0.1s;

&:hover {
outline: 2px solid $blue;
outline-offset: -2px;
}

&.asset-active {
outline: 2px auto $orange;
outline: 2px solid $orange;
outline-offset: -2px;
}

Expand Down

0 comments on commit b41a09e

Please sign in to comment.