Browse Source

chore(gui-v2): update projects page styles

pull/2720/head
braks 2 years ago
parent
commit
ece801d496
  1. 5
      packages/nc-gui-v2/pages/projects/index.vue
  2. 2
      packages/nc-gui-v2/pages/projects/index/list.vue

5
packages/nc-gui-v2/pages/projects/index.vue

@ -46,13 +46,14 @@ const activePage = $ref(navDrawerOptions[0].title)
<v-menu class="select-none">
<template #activator="{ props }">
<div
class="bg-white hover:(!bg-gray-100) dark:(!bg-primary !text-white hover:!bg-primary/75) mr-auto select-none flex items-center gap-2 leading-8 cursor-pointer rounded-full border-1 border-gray-300 px-5 py-2 shadow prose-lg font-semibold"
class="bg-white hover:(!bg-gray-100) dark:(!bg-primary !text-white shadow-gray-600 hover:!bg-primary/75) mr-auto select-none flex items-center gap-2 leading-8 cursor-pointer rounded-full border-1 border-gray-300 px-5 py-2 shadow prose-lg font-semibold"
@click="props.onClick"
>
<MdiPlus class="text-primary dark:(!text-white) text-2xl" />
{{ $t('title.newProj') }}
</div>
</template>
<v-list class="!py-0 flex flex-col bg-white rounded-lg shadow-md border-1 border-gray-300 mt-2 ml-2">
<div
class="grid grid-cols-12 cursor-pointer hover:bg-gray-200 flex items-center p-2"
@ -73,7 +74,7 @@ const activePage = $ref(navDrawerOptions[0].title)
</div>
<div class="advance-menu flex-1">
<v-list class="flex flex-col gap-1" :color="$state.darkMode.value ? 'default' : 'primary'">
<v-list class="flex flex-col gap-1" :color="$state.darkMode.value ? 'secondary' : 'primary'">
<!-- todo: v-list-item-group doesn't seem to work with vuetify 3 yet ... -->
<v-list-item
v-for="item in navDrawerOptions"

2
packages/nc-gui-v2/pages/projects/index/list.vue

@ -17,7 +17,7 @@ const openProject = async (project: ProjectType) => {
</script>
<template>
<div>
<div class="mx-8">
<div class="grid grid-cols-3 gap-2 prose-md p-2 font-semibold">
<div>{{ $t('general.title') }}</div>
<div>Status</div>

Loading…
Cancel
Save