From 7c64900f495cf9e987de68c4e383335ee4bdde32 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Sun, 21 Jul 2019 23:46:38 -0400 Subject: [PATCH] Updated theming for group background colors --- .../styles/gabsocial/components/group-card.scss | 5 ++++- .../styles/gabsocial/components/group-detail.scss | 9 +++++++++ .../styles/gabsocial/components/group-form.scss | 5 ++++- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/app/javascript/styles/gabsocial/components/group-card.scss b/app/javascript/styles/gabsocial/components/group-card.scss index 58c80ab9..754a4950 100644 --- a/app/javascript/styles/gabsocial/components/group-card.scss +++ b/app/javascript/styles/gabsocial/components/group-card.scss @@ -38,7 +38,10 @@ img { pointer-events: none; width: 100%; - background: $gab-background-container;; + background: $gab-background-container; + body.theme-gabsocial-light & { + background: $gab-background-container-light; + } } } diff --git a/app/javascript/styles/gabsocial/components/group-detail.scss b/app/javascript/styles/gabsocial/components/group-detail.scss index 05e115a4..5641add3 100644 --- a/app/javascript/styles/gabsocial/components/group-detail.scss +++ b/app/javascript/styles/gabsocial/components/group-detail.scss @@ -10,6 +10,9 @@ width: 100%; max-width: 1150px; background: $gab-background-container; + body.theme-gabsocial-light & { + background: $gab-background-container-light; + } border-radius: 10px; overflow: hidden; margin: 20px 0; @@ -70,6 +73,9 @@ margin-bottom: 10px; border-radius: 4px; background: $gab-background-container; + body.theme-gabsocial-light & { + background: $gab-background-container-light; + } font-size: 13px; padding: 4px 8px; } @@ -77,6 +83,9 @@ .group__feed { background: $gab-background-container; + body.theme-gabsocial-light & { + background: $gab-background-container-light; + } border-top-left-radius: 10px; border-top-right-radius: 10px; overflow: hidden; diff --git a/app/javascript/styles/gabsocial/components/group-form.scss b/app/javascript/styles/gabsocial/components/group-form.scss index 4acab18d..79f82c56 100644 --- a/app/javascript/styles/gabsocial/components/group-form.scss +++ b/app/javascript/styles/gabsocial/components/group-form.scss @@ -1,5 +1,8 @@ .group-form { background: $gab-background-container; + body.theme-gabsocial-light & { + background: $gab-background-container-light; + } padding: 15px; border-radius: 10px; @@ -50,4 +53,4 @@ pointer-events: none; } button {float: right;} -} \ No newline at end of file +}