Add i18n-able text to last visit line

This commit is contained in:
Rafael dos Santos Silva 2016-08-30 12:26:28 -03:00 committed by GitHub
parent 3d8e75c6ca
commit d73bbe8d8c
1 changed files with 9 additions and 0 deletions

View File

@ -34,6 +34,15 @@ html.anon .topic-list a.title:visited:not(.badge-notification) {color: dark-ligh
&.last-visit {
border-bottom: 1px solid scale-color($danger, $lightness: 60%);
&::after {
content: attr(data-last-visit-text, 'New');
color: scale-color($danger, $lightness: 50%);
position: absolute;
left: 50%;
margin-top: 40px;
padding: 0 10px;
background: $secondary;
}
}
}