From bffee1d538aa7b51b78d646a0d372b352c073cd8 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 10 Jun 2022 10:18:44 +0200 Subject: Fix classic select and ng select css inconsistency --- client/src/sass/include/_mixins.scss | 15 +++++++-------- client/src/sass/include/_variables.scss | 1 + 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'client/src/sass/include') diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index a0bdfb3dc..3c5aa6cdf 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -91,7 +91,7 @@ width: $width; color: pvar(--inputForegroundColor); background-color: pvar(--inputBackgroundColor); - border: 1px solid #C6C6C6; + border: 1px solid $input-border-color; border-radius: 3px; font-size: 15px; @@ -150,7 +150,7 @@ &.disabled { cursor: default; color: #fff; - background-color: #C6C6C6; + background-color: $input-border-color; } my-global-icon { @@ -180,7 +180,7 @@ &.disabled { cursor: default; color: pvar(--mainColor); - background-color: #C6C6C6; + background-color: $input-border-color; } my-global-icon { @@ -396,10 +396,9 @@ select { padding: 0 35px 0 12px; position: relative; - border: 1px solid #C6C6C6; + border: 1px solid $input-border-color; background: transparent none; appearance: none; - cursor: pointer; height: $button-height; text-overflow: ellipsis; color: pvar(--mainForegroundColor); @@ -460,7 +459,7 @@ top: 0; width: 18px; height: 18px; - border: 1px solid #C6C6C6; + border: 1px solid $input-border-color; border-radius: 100%; background: #fff; } @@ -507,7 +506,7 @@ width: 18px; min-width: 18px; height: 18px; - border: $border-width solid #C6C6C6; + border: $border-width solid $input-border-color; border-radius: 3px; vertical-align: middle; cursor: pointer; @@ -670,7 +669,7 @@ margin-bottom: 20px; @if $separator { - border-bottom: 1px solid #C6C6C6; + border-bottom: 1px solid $input-border-color; } @media screen and (max-width: $small-view) { diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index fd1b137dc..e46b96d8a 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss @@ -84,6 +84,7 @@ $theater-bottom-space: 115px; $input-foreground-color: $fg-color; $input-background-color: $bg-color; $input-placeholder-color: #898989; +$input-border-color: #C6C6C6; $textarea-foreground-color: $fg-color; $textarea-background-color: $bg-color; -- cgit v1.2.3