Fix a stray background: property
We use background-image specifically so it doesn't overwrite background-size
This commit is contained in:
parent
c740342a83
commit
227f72745f
1 changed files with 7 additions and 6 deletions
|
|
@ -1,16 +1,13 @@
|
||||||
.UncapStar {
|
.UncapStar {
|
||||||
$size: 18px;
|
$size: 18px;
|
||||||
|
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: $size;
|
background-size: $size;
|
||||||
display: block;
|
display: block;
|
||||||
height: $size;
|
height: $size;
|
||||||
width: $size;
|
width: $size;
|
||||||
|
|
||||||
@media (min-width: $laptop) {
|
&:hover {
|
||||||
&:hover {
|
transform: scale(1.2);
|
||||||
transform: scale(1.2);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.empty,
|
&.empty,
|
||||||
|
|
@ -45,7 +42,7 @@
|
||||||
background-image: url('/icons/uncap/blue@3x.png');
|
background-image: url('/icons/uncap/blue@3x.png');
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: url('/icons/uncap/blue-hover@3x.png');
|
background-image: url('/icons/uncap/blue-hover@3x.png');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -64,5 +61,9 @@
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
width: 14px;
|
width: 14px;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
transform: scale(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue