From e59b154d356e3c8b23706e714af3357cb4673e35 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Tue, 12 Mar 2024 06:44:58 +0000 Subject: [PATCH] fix(nc-gui): move the base icon color input to right side and add border if custom color is active color --- .../general/BaseIconColorPicker.vue | 44 +++++++++++-------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/packages/nc-gui/components/general/BaseIconColorPicker.vue b/packages/nc-gui/components/general/BaseIconColorPicker.vue index 0af88e27ac..c67931d18c 100644 --- a/packages/nc-gui/components/general/BaseIconColorPicker.vue +++ b/packages/nc-gui/components/general/BaseIconColorPicker.vue @@ -133,28 +133,42 @@ watch(
-
+
{{ $t('labels.customColour') }}
+ - -
@@ -186,9 +190,10 @@ watch( .nc-base-icon-color-picker-dropdown { box-shadow: 0px 8px 8px -4px #0000000a, 0px 20px 24px -4px #0000001a; } -.nc-pre-defined-hue-item, -.nc-custom-hue-picker-item { - .selected { +.nc-pre-defined-hue-item-wrapper { + .nc-pre-defined-hue-item:focus, + .nc-pre-defined-hue-item.selected { + @apply outline-none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3069fe; } } @@ -197,7 +202,8 @@ watch( @apply outline-none text-sm rounded-lg border-gray-200 py-1 px-3 w-14 text-center; -moz-appearance: textfield; - &:focus { + &:focus, + &.selected { @apply ring-transparent border-brand-500; }