:first-child {
@apply !text-md pl-2 xs:(pl-0 -ml-0.5);
}
+.nc-expanded-cell-header:not(.nc-cell-expanded-form-header) > :first-child {
+ @apply pl-0;
+}
.nc-drawer-expanded-form .nc-modal {
@apply !p-0;
@@ -1022,12 +1028,31 @@ export default {
.nc-data-cell {
@apply !rounded-lg;
transition: all 0.3s;
- &:hover {
- @apply !border-1 !border-brand-400;
+
+ &:not(.nc-readonly-div-data-cell):not(.nc-system-field) {
+ box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
+ }
+ &:not(:focus-within):hover:not(.nc-readonly-div-data-cell):not(.nc-system-field) {
+ @apply !border-1;
+ box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.24);
+ }
+
+ &.nc-readonly-div-data-cell,
+ &.nc-system-field {
+ @apply !border-gray-200;
+
+ .nc-cell,
+ .nc-virtual-cell {
+ @apply text-gray-400;
+ }
+ }
+ &.nc-readonly-div-data-cell:focus-within,
+ &.nc-system-field:focus-within {
+ @apply !border-gray-200;
}
- &:focus-within {
- box-shadow: 0px 0px 0px 2px rgba(51, 102, 255, 0.24) !important;
+ &:focus-within:not(.nc-readonly-div-data-cell):not(.nc-system-field) {
+ @apply !shadow-selected;
}
}
.nc-data-cell:focus-within {
diff --git a/packages/nc-gui/components/smartsheet/grid/Table.vue b/packages/nc-gui/components/smartsheet/grid/Table.vue
index 23264e6e42..3906635c0d 100644
--- a/packages/nc-gui/components/smartsheet/grid/Table.vue
+++ b/packages/nc-gui/components/smartsheet/grid/Table.vue
@@ -2476,7 +2476,18 @@ onKeyStroke('ArrowDown', onDown)
overflow: hidden;
@apply flex h-auto;
}
-
+ &.active-cell {
+ :deep(.nc-cell) {
+ a.nc-cell-field-link {
+ @apply !text-brand-500;
+
+ &:hover,
+ .nc-cell-field {
+ @apply !text-brand-500;
+ }
+ }
+ }
+ }
:deep(.nc-cell),
:deep(.nc-virtual-cell) {
@apply !text-small;
@@ -2506,6 +2517,13 @@ onKeyStroke('ArrowDown', onDown)
@apply !p-0 m-0;
}
+ a.nc-cell-field-link {
+ @apply !text-current;
+ &:hover {
+ @apply !text-current;
+ }
+ }
+
&.nc-cell-longtext {
@apply leading-[18px];
diff --git a/packages/nc-gui/components/smartsheet/header/Cell.vue b/packages/nc-gui/components/smartsheet/header/Cell.vue
index f583bff7c7..96aed95fb2 100644
--- a/packages/nc-gui/components/smartsheet/header/Cell.vue
+++ b/packages/nc-gui/components/smartsheet/header/Cell.vue
@@ -102,7 +102,7 @@ const onClick = (e: Event) => {
'h-full': column,
'!text-gray-400': isKanban,
'flex-col !items-start justify-center pt-0.5': isExpandedForm && !isMobileMode && !isExpandedBulkUpdateForm,
- 'cursor-pointer hover:bg-gray-100':
+ 'nc-cell-expanded-form-header cursor-pointer hover:bg-gray-100':
isExpandedForm && !isMobileMode && isUIAllowed('fieldEdit') && !isExpandedBulkUpdateForm,
'bg-gray-100': isExpandedForm && !isExpandedBulkUpdateForm ? editColumnDropdown || isDropDownOpen : false,
}"
diff --git a/packages/nc-gui/components/smartsheet/header/VirtualCell.vue b/packages/nc-gui/components/smartsheet/header/VirtualCell.vue
index 28c91bc22c..8392ba4d67 100644
--- a/packages/nc-gui/components/smartsheet/header/VirtualCell.vue
+++ b/packages/nc-gui/components/smartsheet/header/VirtualCell.vue
@@ -183,7 +183,7 @@ const onClick = (e: Event) => {
:class="{
'flex-col !items-start justify-center pt-0.5': isExpandedForm && !isMobileMode && !isExpandedBulkUpdateForm,
'bg-gray-100': isExpandedForm && !isExpandedBulkUpdateForm ? editColumnDropdown || isDropDownOpen : false,
- 'cursor-pointer hover:bg-gray-100':
+ 'nc-cell-expanded-form-header cursor-pointer hover:bg-gray-100':
isExpandedForm && !isMobileMode && isUIAllowed('fieldEdit') && !isExpandedBulkUpdateForm,
}"
@dblclick="openHeaderMenu"
diff --git a/packages/nc-gui/components/smartsheet/toolbar/Export.vue b/packages/nc-gui/components/smartsheet/toolbar/Export.vue
index 9e598c7df3..54c7bbd95f 100644
--- a/packages/nc-gui/components/smartsheet/toolbar/Export.vue
+++ b/packages/nc-gui/components/smartsheet/toolbar/Export.vue
@@ -1,19 +1,47 @@
-
+
-
-