From df8d47bdb67ee66f339a2c87e10657b1fb30a924 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 23 Jul 2015 17:16:29 +1000 Subject: [PATCH] FEATURE: fix a:visited for anon in topic list --- app/assets/stylesheets/common/base/_topic-list.scss | 4 ++++ app/helpers/application_helper.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss index ebd2d26860c..609d0e1574e 100644 --- a/app/assets/stylesheets/common/base/_topic-list.scss +++ b/app/assets/stylesheets/common/base/_topic-list.scss @@ -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; diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 678a1dd33e6..2dadd8db443 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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