From 51bef29acec57ecec287bc0dc751b2bfade521b5 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 3 May 2020 17:28:19 +0200 Subject: [PATCH] More style adjustments to default and core elements --- app/assets/stylesheets/_variables.scss | 2 +- app/assets/stylesheets/elements/_body.scss | 1 + app/assets/stylesheets/overrides/_list-group.scss | 10 +++++++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/_variables.scss b/app/assets/stylesheets/_variables.scss index 9ee03557..58001523 100644 --- a/app/assets/stylesheets/_variables.scss +++ b/app/assets/stylesheets/_variables.scss @@ -83,8 +83,8 @@ $avatar-sizes: ( --info-text: 255, 255, 255; --success-text: 255, 255, 255; + --body-text: 0, 0, 0; --muted-text: 108, 117, 125; - --input-text: 0, 0, 0; } diff --git a/app/assets/stylesheets/elements/_body.scss b/app/assets/stylesheets/elements/_body.scss index f2cec521..92aa0578 100644 --- a/app/assets/stylesheets/elements/_body.scss +++ b/app/assets/stylesheets/elements/_body.scss @@ -1,6 +1,7 @@ body { overflow-y: scroll; word-wrap: break-word; + color: RGB(var(--body-text)); background-color: var(--background); padding-top: $navbar-height; } \ No newline at end of file diff --git a/app/assets/stylesheets/overrides/_list-group.scss b/app/assets/stylesheets/overrides/_list-group.scss index a10a8df5..dfe82813 100644 --- a/app/assets/stylesheets/overrides/_list-group.scss +++ b/app/assets/stylesheets/overrides/_list-group.scss @@ -1,4 +1,8 @@ -.list-group-item.active { - background-color: var(--primary); - border-color: var(--primary); +.list-group-item { + background-color: transparent; + + &.active { + background-color: var(--primary); + border-color: var(--primary); + } } \ No newline at end of file