FEATURE: fix a:visited for anon in topic list

This commit is contained in:
Sam 2015-07-23 17:16:29 +10:00
parent 786cf6e61f
commit df8d47bdb6
2 changed files with 5 additions and 1 deletions

View File

@ -16,10 +16,14 @@
}
}
html.anon .topic-list a.title:visited:not(.badge-notification) {color: scale-color($primary, $lightness: 35%);}
.topic-list {
width: 100%;
border-collapse: collapse;
> tbody > tr {
&.has-excerpt .star {
vertical-align: top;

View File

@ -56,7 +56,7 @@ module ApplicationHelper
end
def html_classes
"#{mobile_view? ? 'mobile-view' : 'desktop-view'} #{mobile_device? ? 'mobile-device' : 'not-mobile-device'} #{rtl_class}"
"#{mobile_view? ? 'mobile-view' : 'desktop-view'} #{mobile_device? ? 'mobile-device' : 'not-mobile-device'} #{rtl_class} #{current_user ? '' : 'anon'}"
end
def rtl_class