From ab8bade9c66673cad9c54568d06c1c946f679537 Mon Sep 17 00:00:00 2001 From: Kris Aubuchon Date: Fri, 25 Jul 2014 13:33:38 -0400 Subject: [PATCH] fixing PM notification badge --- app/assets/stylesheets/common/base/discourse.scss | 7 +++++++ app/assets/stylesheets/desktop/header.scss | 8 -------- app/assets/stylesheets/mobile/header.scss | 5 ----- 3 files changed, 7 insertions(+), 13 deletions(-) diff --git a/app/assets/stylesheets/common/base/discourse.scss b/app/assets/stylesheets/common/base/discourse.scss index 0d256fba6c4..4e0ce4195a1 100644 --- a/app/assets/stylesheets/common/base/discourse.scss +++ b/app/assets/stylesheets/common/base/discourse.scss @@ -178,3 +178,10 @@ body { } + +.unread-private-messages { + border-color: $success; + color: $success; + background: $secondary; + &.badge-notification[href] {color: $success;} +} diff --git a/app/assets/stylesheets/desktop/header.scss b/app/assets/stylesheets/desktop/header.scss index c9be7237d94..807c879e6ec 100644 --- a/app/assets/stylesheets/desktop/header.scss +++ b/app/assets/stylesheets/desktop/header.scss @@ -19,14 +19,6 @@ } } -/* needs to be global, used in user-drop down and user page too */ -.unread-private-messages { - border-color: $success; - color: $success; - background: $secondary; - &.badge-notification[href] {color: $success;} -} - #main { position: relative; } diff --git a/app/assets/stylesheets/mobile/header.scss b/app/assets/stylesheets/mobile/header.scss index f93643e3006..0952a679c9b 100644 --- a/app/assets/stylesheets/mobile/header.scss +++ b/app/assets/stylesheets/mobile/header.scss @@ -34,11 +34,6 @@ padding-top: 60px; } -.unread-private-messages { - background-color: $success; -} - - // Dropdowns // --------------------------------------------------