From f3bd96c91c8eb83da37760635fe1f2034906725f Mon Sep 17 00:00:00 2001 From: Trevor Wolf Date: Mon, 24 Jul 2023 21:48:09 +1000 Subject: [PATCH] [Glitch] change poll form element colors to fit with the rest of the ui Port 80809ef33efcb80e18ff2193eb6ec30b3bb0fdf7 to glitch-soc Signed-off-by: Claire --- .../flavours/glitch/styles/polls.scss | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/app/javascript/flavours/glitch/styles/polls.scss b/app/javascript/flavours/glitch/styles/polls.scss index 6f1cf0589e..c0f1383471 100644 --- a/app/javascript/flavours/glitch/styles/polls.scss +++ b/app/javascript/flavours/glitch/styles/polls.scss @@ -111,7 +111,7 @@ &__input { display: inline-block; position: relative; - border: 1px solid $ui-primary-color; + border: 1px solid $ui-button-background-color; box-sizing: border-box; width: 18px; height: 18px; @@ -127,15 +127,10 @@ border-radius: 4px; } - &.active { - border-color: $valid-value-color; - background: $valid-value-color; - } - &:active, &:focus, &:hover { - border-color: lighten($valid-value-color, 15%); + border-color: $ui-button-focus-background-color; border-width: 4px; } @@ -249,6 +244,14 @@ color: $action-button-color; border-color: $action-button-color; margin-inline-end: 5px; + + &:hover, + &:focus, + &.active { + border-color: $action-button-color; + background-color: $action-button-color; + color: $ui-button-color; + } } li {