From d73bbe8d8cebaa555c6409a136347ee84d7e582d Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Tue, 30 Aug 2016 12:26:28 -0300 Subject: [PATCH] Add i18n-able text to last visit line --- app/assets/stylesheets/common/base/_topic-list.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss index ca918e9708..d2f32e4f49 100644 --- a/app/assets/stylesheets/common/base/_topic-list.scss +++ b/app/assets/stylesheets/common/base/_topic-list.scss @@ -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; + } } }