From f1c258636d1b89a921069e5ae9c653c73badc832 Mon Sep 17 00:00:00 2001 From: Aleksandar Djordjevic Date: Tue, 8 Jun 2021 17:06:33 +0200 Subject: [PATCH] DDW-659 - Review and fix incorrect global instances in css files - dot fix --- .../app/components/widgets/NewsFeedIcon.scss | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/source/renderer/app/components/widgets/NewsFeedIcon.scss b/source/renderer/app/components/widgets/NewsFeedIcon.scss index ea9a20e385..37444434b8 100644 --- a/source/renderer/app/components/widgets/NewsFeedIcon.scss +++ b/source/renderer/app/components/widgets/NewsFeedIcon.scss @@ -3,30 +3,15 @@ right: 29px; top: 20px; - .dot { - &:after { - background: var(--theme-news-feed-icon-green-dot-background-color); - border-radius: 12.5px; - content: ''; - display: block; - height: 8px; - pointer-events: none; - position: absolute; - right: 7px; - top: 7px; - width: 8px; - } - } - - .notificationDot { + &.notificationDot { @extend .dot; &:after { - background: var(--theme-news-feed-icon-red-dot-background-color); + background: var(--theme-news-feed-icon-red-dot-background-color) !important; } } - .updateDot { + &.updateDot { @extend .dot; } @@ -57,3 +42,18 @@ } } } + +.dot { + &:after { + background: var(--theme-news-feed-icon-green-dot-background-color); + border-radius: 12.5px; + content: ''; + display: block; + height: 8px; + pointer-events: none; + position: absolute; + right: 7px; + top: 7px; + width: 8px; + } +}