Simplify styles for SSB icons

By using the same selector used by the social-share-button gem, we can
remove all the !important rules.
This commit is contained in:
Javi Martín
2021-02-04 19:08:04 +01:00
parent 68260360ef
commit abc81b30be
2 changed files with 6 additions and 10 deletions

View File

@@ -1569,18 +1569,15 @@ table {
}
}
.ssb-facebook,
.ssb-telegram,
.ssb-twitter,
.ssb-whatsapp_app {
background-image: none !important;
.social-share-button .ssb-icon {
background-image: none;
color: #fff;
height: $icon-width !important;
height: $icon-width;
position: relative;
width: $icon-width !important;
width: $icon-width;
&::before {
font-family: "icons" !important;
font-family: "icons";
font-size: rem-calc(24);
left: 50%;
line-height: $line-height * 2;

View File

@@ -1118,8 +1118,7 @@
.ssb-facebook {
background: none;
color: $text;
height: rem-calc(33) !important;
height: rem-calc(33);
&::before {
font-size: rem-calc(18);