From b2327362423b24bae8a1158508c53099575c3d81 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Wed, 14 May 2014 01:05:24 -0700 Subject: [PATCH] new-user styles not consistent --- app/assets/stylesheets/desktop/poster_expansion.scss | 2 +- app/assets/stylesheets/desktop/topic-post.scss | 6 +++++- app/assets/stylesheets/embed.css.scss | 2 +- app/assets/stylesheets/mobile/topic-post.scss | 5 ++--- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/desktop/poster_expansion.scss b/app/assets/stylesheets/desktop/poster_expansion.scss index 5b616c5bac4..a32834eb9d4 100644 --- a/app/assets/stylesheets/desktop/poster_expansion.scss +++ b/app/assets/stylesheets/desktop/poster_expansion.scss @@ -81,7 +81,7 @@ } .new-user a { - color: $primary; + color: scale-color($primary, $lightness: 70%); } &.show-badges { diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index b378359acdc..006da6caf55 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -1046,4 +1046,8 @@ a.attachment:before { span.highlighted { background-color: scale-color($highlight, $lightness: 70%); -} \ No newline at end of file +} + +.username.new-user a { + color: scale-color($primary, $lightness: 70%); +} diff --git a/app/assets/stylesheets/embed.css.scss b/app/assets/stylesheets/embed.css.scss index 9545ffe8fca..ff37851b350 100644 --- a/app/assets/stylesheets/embed.css.scss +++ b/app/assets/stylesheets/embed.css.scss @@ -66,7 +66,7 @@ article.post { } a.new-user { - color: lighten($primary, 35%); + color: scale-color($primary, $lightness: 70%); } span.title { diff --git a/app/assets/stylesheets/mobile/topic-post.scss b/app/assets/stylesheets/mobile/topic-post.scss index 12f6fdff222..73f6ab8bfb7 100644 --- a/app/assets/stylesheets/mobile/topic-post.scss +++ b/app/assets/stylesheets/mobile/topic-post.scss @@ -476,9 +476,8 @@ background-color: scale-color($danger, $lightness: 75%); margin: -4px 0 0 -4px; } -.username a { color: scale-color($primary, $lightness: 30%); } -.new-user a { - color: scale-color($primary, $lightness: 60%); +.username.new-user a { + color: scale-color($primary, $lightness: 70%); } .topic-meta-data {