From 5909b7c807457c90467daafa3856f5d9d679f753 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Mon, 31 Aug 2020 09:46:03 +1000 Subject: [PATCH] cleanup scss --- stylesheets/_modules.scss | 1 - stylesheets/_session_left_pane.scss | 34 ++++++++++++----------------- 2 files changed, 14 insertions(+), 21 deletions(-) diff --git a/stylesheets/_modules.scss b/stylesheets/_modules.scss index 41800ed43..b2dea00f9 100644 --- a/stylesheets/_modules.scss +++ b/stylesheets/_modules.scss @@ -428,7 +428,6 @@ } .module-conversation__user, .module-message__author { - color: $color-white; font-size: 13px; font-weight: 300; line-height: 18px; diff --git a/stylesheets/_session_left_pane.scss b/stylesheets/_session_left_pane.scss index d8ffe4995..1a42ef838 100644 --- a/stylesheets/_session_left_pane.scss +++ b/stylesheets/_session_left_pane.scss @@ -11,6 +11,19 @@ $session-compose-margin: 20px; } .module-conversation { + // default conversation list item text color + &__user__profile { + &-number, + &-name { + @include fontAccentBold(); + font-size: 15px; + + @include themify($themes) { + color: themed('textColorSubtle'); + } + } + } + &-list-item { transition: $session-transition-duration; @@ -44,7 +57,7 @@ $session-compose-margin: 20px; &__unread-count { @include themify($themes) { color: themed('textColor'); - background-color: themed('clickableHovered'); + background: themed('clickableHovered'); } position: static !important; @@ -71,13 +84,6 @@ $session-compose-margin: 20px; &__header__name { flex-grow: 0 !important; padding-right: 5px !important; - - @at-root .light-theme #{&} { - color: $session-color-black; - } - @at-root .dark-theme #{&} { - color: $session-shade-17; - } } &__header__name--with-unread .module-conversation__user__profile-number, @@ -87,18 +93,6 @@ $session-compose-margin: 20px; } } } - - &__user__profile { - &-number, - &-name { - @include fontAccentBold(); - font-size: 15px; - - @include themify($themes) { - color: subtle(themed('textColorSubtle')); - } - } - } } .module-left-pane {