Commit 285009c7 authored by Cole Bemis's avatar Cole Bemis

Add hover state to icons

parent d802ec14
...@@ -172,8 +172,10 @@ a { ...@@ -172,8 +172,10 @@ a {
margin: 0.25rem; margin: 0.25rem;
padding: 0.75rem; padding: 0.75rem;
stroke-width: 2px; stroke-width: 2px;
border-radius: $border-radius;
outline: none; outline: none;
cursor: pointer; cursor: pointer;
transition: background-color $transition-duration;
@include for-tablet-portrait-up { @include for-tablet-portrait-up {
margin: 0.5rem; margin: 0.5rem;
...@@ -185,6 +187,10 @@ a { ...@@ -185,6 +187,10 @@ a {
stroke: currentColor; stroke: currentColor;
stroke-width: inherit; stroke-width: inherit;
} }
&:hover {
background: $color-border;
}
} }
.tooltip { .tooltip {
...@@ -204,10 +210,8 @@ a { ...@@ -204,10 +210,8 @@ a {
visibility: hidden; visibility: hidden;
z-index: 10; z-index: 10;
cursor: default; cursor: default;
transition: transition-property: transform, opacity, visibility;
transform $transition-duration, transition-duration: $transition-duration;
opacity $transition-duration,
visibility $transition-duration;
@include for-tablet-portrait-up { @include for-tablet-portrait-up {
min-width: 12rem; min-width: 12rem;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment