attr fallback is not yet supported =(

This commit is contained in:
Rafael dos Santos Silva 2016-08-30 12:37:05 -03:00 committed by GitHub
parent d73bbe8d8c
commit a307783644

View File

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