From ad44a64c5b46d1f5fb32fa4abcc3fa22ae65e061 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Tue, 2 Aug 2016 09:48:06 +0800 Subject: [PATCH] UX: Fixes for poll option bars on dark theme. --- plugins/poll/assets/stylesheets/common/poll.scss | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/plugins/poll/assets/stylesheets/common/poll.scss b/plugins/poll/assets/stylesheets/common/poll.scss index 352dd4c9942..86c8785c67d 100644 --- a/plugins/poll/assets/stylesheets/common/poll.scss +++ b/plugins/poll/assets/stylesheets/common/poll.scss @@ -1,10 +1,7 @@ $border-color: rgb(219,219,219); $text-color: #9E9E9E; -$option-foreground: dark-light-diff($primary, $secondary, 0%, -100%); $option-background: dark-light-diff($primary, $secondary, 90%, -65%); -$option-background-selected: #dbffdb; -$option-shadow: dark-light-diff($option-background, $primary, 10%, -10%); div.poll { margin: 10px 0px; @@ -105,12 +102,12 @@ div.poll { } .bar-back { - background: $border-color; + background: $option-background; } .bar { height: 10px; - background: $option-foreground; + background: $primary; } }