Skip to content
Snippets Groups Projects
Commit 582c39e4 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Differentiate hover state from active state for sprite selector

parent 58569e05
No related branches found
No related tags found
No related merge requests found
......@@ -21,12 +21,15 @@
transition: 0.25s ease-out;
}
.sprite-selector-item:hover, .sprite-selector-item.is-selected {
border-width: 2px;
border-color: $motion-primary;
.sprite-selector-item.is-selected {
border: 2px solid $motion-primary;
box-shadow: 0px 0px 0px 3px $motion-transparent;
}
.sprite-selector-item:hover {
border: 2px solid $motion-primary;
}
.sprite-image {
margin: auto;
user-select: none;
......
......@@ -22,11 +22,15 @@ $header-height: calc($stage-menu-height - 2px);
transition: border-color 0.25s ease-out, box-shadow 0.25s ease-out;
}
.stage-selector:hover, .stage-selector.is-selected {
.stage-selector.is-selected {
border-color: $motion-primary;
box-shadow: 0px 0px 0px 3px $motion-transparent;
}
.stage-selector:hover {
border-color: $motion-primary;
}
.header {
display: flex;
flex-direction: column;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment