Add i18n-able text to last visit line
This commit is contained in:
parent
3d8e75c6ca
commit
d73bbe8d8c
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue