detect span.counter and allow to put styles on the number

This commit is contained in:
2022-02-01 13:31:26 +01:00
parent 730199cca4
commit ec29758547
5 changed files with 49 additions and 5 deletions

View File

@@ -82,7 +82,7 @@ div#notification-fold {
// Counter
div.notification-counter {
span {
span.counter {
&:not(:first-child) {
&::before {
content: '/ ';
@@ -90,3 +90,11 @@ div.notification-counter {
}
}
}
span.counter {
& > span {
font-weight: bold;
background-color: $chill-ll-gray;
padding: 0 0.4rem;
border-radius: 50%;
}
}