Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update import UI and enpass SVG

Leendert de Borsteaa1cc377a65
diff --git a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceCard.razor b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceCard.razor
index 3eba76ec0..229e18c79 100644
--- a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceCard.razor
+++ b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceCard.razor
@@ -13,18 +13,16 @@
@using AliasClientDb
@using AliasClientDb.Models
-<div @onclick="OpenImportModal" class="flex flex-col p-4 bg-white border border-gray-200 rounded-lg shadow-sm dark:border-gray-700 dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-700 cursor-pointer">
+<div @onclick="OpenImportModal" class="flex flex-col p-4 bg-white border border-gray-200 rounded-lg shadow-sm dark:border-gray-700 dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-700 cursor-pointer transition-colors duration-200">
<div class="flex items-center">
- <div class="w-12 h-12 mr-3 flex-shrink-0">
+ <div class="w-12 h-12 mr-3 flex-shrink-0 rounded-md flex items-center justify-center">
@if (!string.IsNullOrEmpty(LogoUrl))
{
<img src="@LogoUrl" alt="@ServiceName logo" class="w-full h-full object-contain" />
}
else
{
- <div class="w-full h-full bg-gray-200 dark:bg-gray-700 rounded-md flex items-center justify-center">
- <span class="text-gray-500 dark:text-gray-400 text-xs">@Localizer["NoLogoText"]</span>
- </div>
+ <span class="text-gray-500 dark:text-gray-400 text-xs">@Localizer["NoLogoText"]</span>
}
</div>
<div>
diff --git a/apps/server/AliasVault.Client/wwwroot/img/importers/enpass.svg b/apps/server/AliasVault.Client/wwwroot/img/importers/enpass.svg
index 6850c5094..fb4de57ce 100644
--- a/apps/server/AliasVault.Client/wwwroot/img/importers/enpass.svg
+++ b/apps/server/AliasVault.Client/wwwroot/img/importers/enpass.svg
@@ -1,12 +1,28 @@
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 114.29 100"
- fill="none"
>
+ <!-- Shield -->
<path
+ fill="#0D47A1"
fill-rule="evenodd"
clip-rule="evenodd"
- d="M17.5549 0H96.7276C107.568 0 115.817 9.41092 114.045 19.7522L104.047 77.8593C101.849 90.6338 95.0271 100 81.6327 100H32.6531C19.2587 100 12.4331 90.6338 10.2354 77.8593L0.241674 19.7522C-1.53499 9.41092 6.70985 0 17.5549 0ZM66.6667 77.081V56.2687C73.5791 52.6994 79.0766 45.6546 79.0719 37.5498C79.0719 25.8398 69.254 16.3439 57.1366 16.3439C45.0238 16.3439 35.2013 25.8353 35.2013 37.5498C35.2013 45.5338 40.8779 52.4802 47.6191 56.0988V77.081C47.6191 80.1896 49.1046 81.8182 52.3202 81.8182H61.6384C64.854 81.8182 66.6667 80.1896 66.6667 77.081Z"
- fill="#0D47A1"
+ d="M17.5549 0H96.7276C107.568 0 115.817 9.41092 114.045 19.7522L104.047 77.8593C101.849 90.6338 95.0271 100 81.6327 100H32.6531C19.2587 100 12.4331 90.6338 10.2354 77.8593L0.241674 19.7522C-1.53499 9.41092 6.70985 0 17.5549 0Z"
+ />
+
+ <!-- Keyhole -->
+ <path
+ fill="#FFFFFF"
+ d="M57.1366 16.3439
+ C45.0238 16.3439 35.2013 25.8353 35.2013 37.5498
+ C35.2013 45.5338 40.8779 52.4802 47.6191 56.0988
+ V77.081
+ C47.6191 80.1896 49.1046 81.8182 52.3202 81.8182
+ H61.6384
+ C64.854 81.8182 66.6667 80.1896 66.6667 77.081
+ V56.2687
+ C73.5791 52.6994 79.0766 45.6546 79.0719 37.5498
+ C79.0719 25.8398 69.254 16.3439 57.1366 16.3439
+ Z"
/>
</svg>