Commit 08f59aae authored by Sam Beckham's avatar Sam Beckham

Fixes the award emoji styling

parent f87d85b8
...@@ -122,12 +122,8 @@ ...@@ -122,12 +122,8 @@
} }
} }
.award-control { .gl-button.btn.award-control {
margin: 4px 8px 4px 0; margin: 4px 8px 4px 0;
outline: 0;
position: relative;
display: block;
float: left;
&.disabled { &.disabled {
cursor: default; cursor: default;
...@@ -145,11 +141,6 @@ ...@@ -145,11 +141,6 @@
&:hover, &:hover,
&:active, &:active,
&.is-active { &.is-active {
background-color: $blue-50;
border-color: $blue-200;
box-shadow: none;
outline: 0;
.award-control-icon svg { .award-control-icon svg {
fill: $blue-500; fill: $blue-500;
} }
...@@ -164,6 +155,14 @@ ...@@ -164,6 +155,14 @@
} }
} }
&.active,
&.is-active,
&:active {
background-color: $blue-50;
border-color: $blue-200;
box-shadow: inset 0 0 2px $blue-200;
}
&.is-active { &.is-active {
.award-control-icon-positive { .award-control-icon-positive {
opacity: 0; opacity: 0;
...@@ -192,10 +191,6 @@ ...@@ -192,10 +191,6 @@
&:focus { &:focus {
outline: 0; outline: 0;
} }
.award-control-icon {
margin: 0;
}
} }
&.is-loading { &.is-loading {
...@@ -239,10 +234,8 @@ ...@@ -239,10 +234,8 @@
.award-control-icon-positive, .award-control-icon-positive,
.award-control-icon-super-positive { .award-control-icon-super-positive {
@include transition(opacity, transform); @include transition(opacity, transform);
position: absolute;
left: 10px;
bottom: 6px;
opacity: 0; opacity: 0;
position: absolute;
path { path {
fill: $award-emoji-positive-add-lines; fill: $award-emoji-positive-add-lines;
......
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