...
|
...
|
@@ -88,6 +88,10 @@ |
|
|
height: auto;
|
|
|
overflow: hidden;
|
|
|
margin-top: pxToRem(20px);
|
|
|
|
|
|
a {
|
|
|
display: block;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.fav-img-box {
|
...
|
...
|
@@ -171,17 +175,28 @@ |
|
|
}
|
|
|
|
|
|
&.del-fav {
|
|
|
$width: pxToRem(image_width(sprite-file($fav, fav-del)));
|
|
|
$height: pxToRem(image_height(sprite-file($fav, fav-del)));
|
|
|
|
|
|
@include rem-sprite($fav, fav-del);
|
|
|
width: $width;
|
|
|
height: $height;
|
|
|
|
|
|
width: 2rem;
|
|
|
height: 1.5rem;
|
|
|
position: absolute;
|
|
|
top: 50%;
|
|
|
right: pxToRem(30px);
|
|
|
margin-top: -$height / 2;
|
|
|
margin-top: -0.75rem;
|
|
|
right: 0;
|
|
|
|
|
|
&:after {
|
|
|
content: '';
|
|
|
display: block;
|
|
|
$width: pxToRem(image_width(sprite-file($fav, fav-del)));
|
|
|
$height: pxToRem(image_height(sprite-file($fav, fav-del)));
|
|
|
|
|
|
@include rem-sprite($fav, fav-del);
|
|
|
width: $width;
|
|
|
height: $height;
|
|
|
|
|
|
position: absolute;
|
|
|
top: 50%;
|
|
|
right: pxToRem(30px);
|
|
|
margin-top: -$height / 2;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
|