-
-
Save anwppro/a068548a41a793765b5493c4b7052a57 to your computer and use it in GitHub Desktop.
Custom Non-numeric scores
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Match Scoreboard */ | |
.match.match__inner.match-5748 .match-scoreboard__score-number:nth-child(1), | |
.match.match__inner.match-5748 .match-scoreboard__score-number:nth-child(3) { | |
visibility: hidden; | |
position: relative; | |
} | |
.match.match__inner.match-5748 .match-scoreboard__score-number:nth-child(1):after { | |
content: '-'; | |
visibility: visible; | |
position: absolute; | |
top: -8px; | |
right: 0; | |
} | |
.match.match__inner.match-5748 .match-scoreboard__score-number:nth-child(3):after { | |
content: '-'; | |
visibility: visible; | |
position: absolute; | |
top: -8px; | |
left: 0; | |
} | |
/* Match List */ | |
.list-group-item.match-list__item[data-anwp-match="5748"] .match-list__scores-number.match-list__scores--home, | |
.list-group-item.match-list__item[data-anwp-match="5748"] .match-list__scores-number.match-list__scores--away { | |
visibility: hidden; | |
position: relative !important; | |
} | |
.list-group-item.match-list__item[data-anwp-match="5748"] .match-list__scores-number.match-list__scores--home:after { | |
content: '-'; | |
visibility: visible !important; | |
position: absolute; | |
background-color: #343a40; | |
top: 0; | |
left: 0; | |
right: 0; | |
bottom: 0; | |
} | |
.list-group-item.match-list__item[data-anwp-match="5748"] .match-list__scores-number.match-list__scores--away:after { | |
content: '-'; | |
visibility: visible !important; | |
position: absolute; | |
background-color: #343a40; | |
top: 0; | |
left: 0; | |
right: 0; | |
bottom: 0; | |
} | |
/* Match Header */ | |
.match.match__inner.match-5748 .match__scores-number:nth-child(1), | |
.match.match__inner.match-5748 .match__scores-number:nth-child(3) { | |
visibility: hidden; | |
position: relative; | |
} | |
.match.match__inner.match-5748 .match__scores-number:nth-child(1):after { | |
content: '-'; | |
visibility: visible; | |
position: absolute; | |
right: 2px; | |
} | |
.match.match__inner.match-5748 .match__scores-number:nth-child(3):after { | |
content: '-'; | |
visibility: visible; | |
position: absolute; | |
left: 2px; | |
} | |
/* Match List - Widget */ | |
.list-group-item.match--simple.match-list__item[data-anwp-match="1868"] .match-list__scores-number, | |
.list-group-item.match--simple.match-list__item[data-anwp-match="1868"] .match-list__scores-number { | |
visibility: hidden; | |
position: relative !important; | |
} | |
.list-group-item.match--simple.match-list__item[data-anwp-match="1868"] .match-list__scores-number:last-child:after { | |
content: '-'; | |
visibility: visible !important; | |
position: absolute; | |
background-color: #343a40; | |
top: 0; | |
left: 0; | |
right: 0; | |
bottom: 0; | |
} | |
.list-group-item.match--simple.match-list__item[data-anwp-match="1868"] .match-list__scores-number:first-child:after { | |
content: '-'; | |
visibility: visible !important; | |
position: absolute; | |
background-color: #343a40; | |
top: 0; | |
left: 0; | |
right: 0; | |
bottom: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment