refactor: minor ui improvements

This commit is contained in:
liyasthomas
2021-12-14 22:41:07 +05:30
parent 70555cd4a6
commit a2757a0335
58 changed files with 289 additions and 110 deletions

View File

@@ -16,7 +16,7 @@
>
<SmartIcon
class="svg-icons"
:class="{ 'text-green-500': isSelected }"
:class="{ 'text-accent': isSelected }"
:name="getCollectionIcon"
/>
</span>
@@ -24,7 +24,9 @@
class="cursor-pointer flex flex-1 min-w-0 py-2 pr-2 transition group-hover:text-secondaryDark"
@click="toggleShowChildren()"
>
<span class="truncate"> {{ collection.name }} </span>
<span class="truncate" :class="{ 'text-accent': isSelected }">
{{ collection.name }}
</span>
</span>
<div class="flex">
<ButtonSecondary

View File

@@ -16,7 +16,7 @@
>
<SmartIcon
class="svg-icons"
:class="{ 'text-green-500': isSelected }"
:class="{ 'text-accent': isSelected }"
:name="getCollectionIcon"
/>
</span>
@@ -24,7 +24,7 @@
class="cursor-pointer flex flex-1 min-w-0 py-2 pr-2 transition group-hover:text-secondaryDark"
@click="toggleShowChildren()"
>
<span class="truncate">
<span class="truncate" :class="{ 'text-accent': isSelected }">
{{ folder.name ? folder.name : folder.title }}
</span>
</span>

View File

@@ -15,7 +15,7 @@
>
<SmartIcon
class="svg-icons"
:class="{ 'text-green-500': isSelected }"
:class="{ 'text-accent': isSelected }"
:name="isSelected ? 'check-circle' : 'file'"
/>
</span>
@@ -23,7 +23,9 @@
class="cursor-pointer flex flex-1 min-w-0 py-2 pr-2 transition group-hover:text-secondaryDark"
@click="!doc ? selectRequest() : {}"
>
<span class="truncate"> {{ request.name }} </span>
<span class="truncate" :class="{ 'text-accent': isSelected }">
{{ request.name }}
</span>
</span>
<div class="flex">
<ButtonSecondary

View File

@@ -84,7 +84,7 @@
class="flex flex-col text-secondaryLight p-4 items-center justify-center"
>
<i class="opacity-75 pb-2 material-icons">manage_search</i>
<span class="text-center">
<span class="text-center my-2">
{{ $t("state.nothing_found") }} "{{ filterText }}"
</span>
</div>