diff --git a/packages/nc-gui/components/cell/Checkbox.vue b/packages/nc-gui/components/cell/Checkbox.vue index 7ec76c6ace..28c4618429 100644 --- a/packages/nc-gui/components/cell/Checkbox.vue +++ b/packages/nc-gui/components/cell/Checkbox.vue @@ -46,7 +46,7 @@ function onClick() { diff --git a/packages/nc-gui/pages/[projectType]/form/[viewId]/index.vue b/packages/nc-gui/pages/[projectType]/form/[viewId]/index.vue index e0934eae82..a9acad9f97 100644 --- a/packages/nc-gui/pages/[projectType]/form/[viewId]/index.vue +++ b/packages/nc-gui/pages/[projectType]/form/[viewId]/index.vue @@ -68,30 +68,48 @@ p { } .nc-form-view { - .nc-input { - @apply w-full rounded p-2 min-h-[40px] flex items-center border-solid border-1 border-gray-300 dark:border-slate-200; + .nc-cell { + &.nc-cell-checkbox { + @apply color-transition !border-0; - input, - &.nc-virtual-cell, - > div { - @apply bg-white dark:(bg-slate-500 text-white); - - .ant-btn { - @apply dark:(bg-slate-300); + .nc-icon { + @apply !text-2xl; } - .chip { - @apply dark:(bg-slate-700 text-white); + .nc-cell-hover-show { + opacity: 100 !important; + + div { + background-color: transparent !important; + } } } - } -} -.nc-cell { - @apply bg-white dark:bg-slate-500; + &:not(.nc-cell-checkbox) { + @apply bg-white dark:bg-slate-500; + + &.nc-input { + @apply w-full rounded p-2 min-h-[40px] flex items-center border-solid border-1 border-gray-300 dark:border-slate-200; + + input, + &.nc-virtual-cell, + > div { + @apply bg-white dark:(bg-slate-500 text-white); - .nc-attachment-cell > div { - @apply dark:(bg-slate-100); + .ant-btn { + @apply dark:(bg-slate-300); + } + + .chip { + @apply dark:(bg-slate-700 text-white); + } + } + } + + .nc-attachment-cell > div { + @apply dark:(bg-slate-100); + } + } } } diff --git a/packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue b/packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue index 9b6cca67b7..75648f7b65 100644 --- a/packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue +++ b/packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue @@ -20,9 +20,9 @@ function isRequired(_columnObj: Record, required = false) { diff --git a/packages/nc-gui/pages/[projectType]/form/[viewId]/index/survey.vue b/packages/nc-gui/pages/[projectType]/form/[viewId]/index/survey.vue index 562f8a6d48..a2fd83afd4 100644 --- a/packages/nc-gui/pages/[projectType]/form/[viewId]/index/survey.vue +++ b/packages/nc-gui/pages/[projectType]/form/[viewId]/index/survey.vue @@ -195,7 +195,7 @@ onMounted(() => {