π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix(nc-gui): sidebar related style update
Ramesh Manee2cc53a2adb6
diff --git a/packages/nc-gui/assets/style.scss b/packages/nc-gui/assets/style.scssindex 09bf0ab6f6..2662065ca4 100644--- a/packages/nc-gui/assets/style.scss+++ b/packages/nc-gui/assets/style.scss@@ -135,11 +135,11 @@ main {.nc-input-shadow {&.ant-input {&:not(:hover):not(:focus):not(:disabled) {- @apply shadow-default border-gray-200;+ @apply shadow-default border-nc-border-gray-medium;}&:hover:not(:focus):not(:disabled) {- @apply border-gray-200 shadow-hover;+ @apply border-nc-border-gray-medium shadow-hover;}&:not(.nc-ai-input):focus {@apply shadow-selected ring-0;@@ -151,11 +151,11 @@ main {&.ant-input-affix-wrapper {&:not(:hover):not(.ant-input-affix-wrapper-focused):not(.ant-input-affix-wrapper-disabled) {- @apply shadow-default border-gray-200;+ @apply shadow-default border-nc-border-gray-medium;}&:hover:not(.ant-input-affix-wrapper-focused):not(.ant-input-affix-wrapper-disabled) {- @apply border-gray-200 shadow-hover;+ @apply border-nc-border-gray-medium shadow-hover;}&:not(.nc-ai-input):focus {@apply shadow-selected ring-0;@@ -179,7 +179,7 @@ main {}.ant-input::placeholder {- @apply text-gray-500;+ @apply text-nc-content-gray-muted;}}diff --git a/packages/nc-gui/components/dashboard/Sidebar/Header.vue b/packages/nc-gui/components/dashboard/Sidebar/Header.vueindex 73c970fb9a..1f37e668d8 100644--- a/packages/nc-gui/components/dashboard/Sidebar/Header.vue+++ b/packages/nc-gui/components/dashboard/Sidebar/Header.vue@@ -42,7 +42,7 @@ const showSidebarBtn = computed(() => !(isMobileMode.value && !activeViewTitleOrv-e="['c:leftSidebar:hideToggle']":type="isMobileMode ? 'secondary' : 'text'":size="isMobileMode ? 'medium' : 'small'"- class="nc-sidebar-left-toggle-icon !text-gray-700 !hover:text-gray-800 !xs:(h-10.5 max-h-10.5 max-w-10.5) !md:(hover:bg-gray-200)"+ class="nc-sidebar-left-toggle-icon !text-nc-content-gray-subtle !hover:text-nc-content-gray !xs:(h-10.5 max-h-10.5 max-w-10.5) !md:(hover:bg-nc-bg-gray-medium)"@click="isLeftSidebarOpen = !isLeftSidebarOpen"><div class="flex items-center text-inherit">@@ -50,7 +50,7 @@ const showSidebarBtn = computed(() => !(isMobileMode.value && !activeViewTitleOr<GeneralIconv-elseicon="doubleLeftArrow"- class="duration-150 transition-all !text-lg -mt-0.5 !text-gray-500/75"+ class="duration-150 transition-all !text-lg -mt-0.5 !text-nc-content-gray-muted bg-opacity-50":class="{'transform rotate-180': !isLeftSidebarOpen,}"diff --git a/packages/nc-gui/components/dashboard/Sidebar/HeaderWrapper.vue b/packages/nc-gui/components/dashboard/Sidebar/HeaderWrapper.vueindex 2aebc522e7..29221b1f04 100644--- a/packages/nc-gui/components/dashboard/Sidebar/HeaderWrapper.vue+++ b/packages/nc-gui/components/dashboard/Sidebar/HeaderWrapper.vue@@ -51,7 +51,7 @@ const showSidebarBtn = computed(() => !(isMobileMode.value && !activeViewTitleOrv-e="['c:leftSidebar:hideToggle']":type="isMobileMode ? 'secondary' : 'text'":size="isMobileMode ? 'medium' : 'small'"- class="nc-sidebar-left-toggle-icon !text-gray-700 !hover:text-gray-800 !xs:(h-10.5 max-h-10.5 max-w-10.5) !md:(hover:bg-gray-200) !rounded-md"+ class="nc-sidebar-left-toggle-icon !text-nc-content-gray-subtle !hover:text-nc-content-gray !xs:(h-10.5 max-h-10.5 max-w-10.5) !md:(hover:bg-nc-bg-gray-medium) !rounded-md"@click="isLeftSidebarOpen = !isLeftSidebarOpen"><div class="flex items-center text-inherit">@@ -59,7 +59,7 @@ const showSidebarBtn = computed(() => !(isMobileMode.value && !activeViewTitleOr<GeneralIconv-elseicon="doubleLeftArrow"- class="duration-150 transition-all !text-lg -mt-0.5 !text-gray-500/75"+ class="duration-150 transition-all !text-lg -mt-0.5 !text-nc-content-gray-muted bg-opacity-50":class="{'transform rotate-180': !isLeftSidebarOpen,}"diff --git a/packages/nc-gui/components/dashboard/TreeView/Project/Home/SearchInput.vue b/packages/nc-gui/components/dashboard/TreeView/Project/Home/SearchInput.vueindex 7bd2af22bf..51be483000 100644--- a/packages/nc-gui/components/dashboard/TreeView/Project/Home/SearchInput.vue+++ b/packages/nc-gui/components/dashboard/TreeView/Project/Home/SearchInput.vue@@ -35,7 +35,7 @@ const handleClick = () => {@keydown.stop><template #prefix>- <GeneralIcon icon="search" class="mr-1 h-4 w-4 text-gray-500 group-hover:text-black" />+ <GeneralIcon icon="search" class="mr-1 h-4 w-4 text-nc-content-gray-muted group-hover:text-nc-content-gray-extreme" /></template><template #suffix><div class="px-1 text-bodySmBold text-nc-content-gray-subtle bg-nc-bg-gray-medium rounded">diff --git a/packages/nc-gui/components/dashboard/View.vue b/packages/nc-gui/components/dashboard/View.vueindex 122f5a9d6c..dda8f4d46f 100644--- a/packages/nc-gui/components/dashboard/View.vue+++ b/packages/nc-gui/components/dashboard/View.vue@@ -294,7 +294,7 @@ const isMiniSidebarVisible = computed(() => {<style lang="scss">.nc-sidebar-wrapper.minimized-height {& > * {- @apply h-4/5 pb-2 !(rounded-r-lg border-1 border-gray-200 shadow-lg);+ @apply h-4/5 pb-2 !(rounded-r-lg border-1 border-nc-border-gray-medium shadow-lg);width: calc(100% + 4px);}@@ -369,4 +369,4 @@ const isMiniSidebarVisible = computed(() => {transition: none !important;}}-</style>+</style>\ No newline at end of filediff --git a/packages/nc-gui/components/general/OpenLeftSidebarBtn.vue b/packages/nc-gui/components/general/OpenLeftSidebarBtn.vueindex eafeac8ceb..9008ded2db 100644--- a/packages/nc-gui/components/general/OpenLeftSidebarBtn.vue+++ b/packages/nc-gui/components/general/OpenLeftSidebarBtn.vue@@ -27,12 +27,16 @@ const onClick = () => {<NcButton:type="isMobileMode ? 'secondary' : 'text'":size="isMobileMode ? 'medium' : 'small'"- class="nc-sidebar-left-toggle-icon !text-gray-600 !hover:text-gray-800 w-8"+ class="nc-sidebar-left-toggle-icon !text-nc-content-gray-subtle2 !hover:text-nc-content-gray w-8"@click="onClick"><div class="flex items-center text-inherit"><GeneralIcon v-if="isMobileMode" icon="menu" class="text-lg -mt-0.25" />- <GeneralIcon v-else icon="doubleRightArrow" class="duration-150 transition-all !text-lg -mt-0.25 !text-gray-500/75" />+ <GeneralIcon+ v-else+ icon="doubleRightArrow"+ class="duration-150 transition-all !text-lg -mt-0.25 !text-nc-content-gray-subtle2 bg-opacity-50"+ /></div></NcButton></NcTooltip>