diff --git a/components/KeyManager.tsx b/components/KeyManager.tsx index bd4861e4d..e2c4ca751 100755 --- a/components/KeyManager.tsx +++ b/components/KeyManager.tsx @@ -172,14 +172,13 @@ const KeyManager: React.FC = ({ keys, onSave, onDelete }) => { )} -
+
{filteredKeys.map((key) => ( openPanelForKey(key)} > diff --git a/components/KeychainManager.tsx b/components/KeychainManager.tsx index 8bfd08f68..474d535b9 100644 --- a/components/KeychainManager.tsx +++ b/components/KeychainManager.tsx @@ -1034,7 +1034,7 @@ echo $3 >> "$FILE"`);
) : (
{filteredKeys.map((key) => ( @@ -1044,7 +1044,7 @@ echo $3 >> "$FILE"`); className={cn( "group cursor-pointer", viewMode === 'grid' - ? "bg-secondary/60 border border-border/60 shadow-sm hover:shadow-[0_0_0_2px_var(--ring)] rounded-lg h-[72px] px-3 py-2" + ? "soft-card elevate rounded-xl h-[68px] px-3 py-2" : "h-14 px-3 py-2 hover:bg-secondary/60 rounded-lg transition-colors", (panel.type === 'view' && panel.key.id === key.id) && "ring-2 ring-primary", (panel.type === 'export' && panel.key.id === key.id) && "ring-2 ring-primary" @@ -1125,7 +1125,7 @@ echo $3 >> "$FILE"`); {filteredIdentities.length} items
{filteredIdentities.map((identity) => ( @@ -1134,7 +1134,7 @@ echo $3 >> "$FILE"`); className={cn( "group cursor-pointer", viewMode === 'grid' - ? "bg-secondary/60 border border-border/60 shadow-sm hover:shadow-[0_0_0_2px_var(--ring)] rounded-lg h-[72px] px-3 py-2" + ? "soft-card elevate rounded-xl h-[68px] px-3 py-2" : "h-14 px-3 py-2 hover:bg-secondary/60 rounded-lg transition-colors", panel.type === 'identity' && panel.identity?.id === identity.id && "ring-2 ring-primary" )} diff --git a/components/KnownHostsManager.tsx b/components/KnownHostsManager.tsx index a53949d39..98004463b 100644 --- a/components/KnownHostsManager.tsx +++ b/components/KnownHostsManager.tsx @@ -125,7 +125,7 @@ const HostItem = React.memo(({ knownHost, converted, viewMode, on return (
@@ -148,29 +148,26 @@ const HostItem = React.memo(({ knownHost, converted, viewMode, on
-
- -
-
-
- - {knownHost.hostname} - - {knownHost.port !== 22 && ( - - :{knownHost.port} - - )} +
+
+
-
- - - {knownHost.keyType} - - - - {formatDateFn(knownHost.discoveredAt)} - +
+
+ + {knownHost.hostname} + + {knownHost.port !== 22 && ( + + :{knownHost.port} + + )} +
+
+ + {knownHost.keyType} + +
diff --git a/components/PortForwardingNew.tsx b/components/PortForwardingNew.tsx index 1478f8742..f7076e0f6 100644 --- a/components/PortForwardingNew.tsx +++ b/components/PortForwardingNew.tsx @@ -502,18 +502,20 @@ const PortForwarding: React.FC = ({ hosts, keys, customGrou return ( - { setSelectedRuleId(rule.id); startEditRule(rule); }} > - +
= ({ hosts, keys, customGrou ) : null}
- - +
+
startEditRule(rule)}> diff --git a/components/SnippetsManager.tsx b/components/SnippetsManager.tsx index 443de47cf..945024279 100644 --- a/components/SnippetsManager.tsx +++ b/components/SnippetsManager.tsx @@ -477,9 +477,9 @@ const SnippetsManager: React.FC = ({ }; return ( -
-
-
+
+
+
{/* Search box */}
@@ -545,7 +545,7 @@ const SnippetsManager: React.FC = ({ />
-
+
{breadcrumb.map((b) => ( @@ -556,7 +556,7 @@ const SnippetsManager: React.FC = ({
{!snippets.length && displayedPackages.length === 0 && ( -
+
@@ -567,7 +567,7 @@ const SnippetsManager: React.FC = ({
)} -
+
{displayedPackages.length > 0 && ( <>
@@ -575,7 +575,7 @@ const SnippetsManager: React.FC = ({
{displayedPackages.map((pkg) => ( @@ -583,10 +583,10 @@ const SnippetsManager: React.FC = ({
{ @@ -639,7 +639,7 @@ const SnippetsManager: React.FC = ({ className={cn( "group cursor-pointer", viewMode === 'grid' - ? "bg-secondary/70 border border-border/70 hover:border-primary/60 transition-colors h-[72px] px-3 py-2 rounded-lg" + ? "soft-card elevate rounded-xl h-[68px] px-3 py-2" : "h-14 px-3 py-2 hover:bg-secondary/60 rounded-lg transition-colors" )} draggable diff --git a/components/VaultView.tsx b/components/VaultView.tsx index e65bf6dcf..dafee5719 100644 --- a/components/VaultView.tsx +++ b/components/VaultView.tsx @@ -609,9 +609,9 @@ const VaultViewInner: React.FC = ({
= ({ className={cn( "group cursor-pointer", viewMode === 'grid' - ? "soft-card elevate rounded-xl h-[72px] px-3 py-2" + ? "soft-card elevate rounded-xl h-[68px] px-3 py-2" : "h-14 px-3 py-2 hover:bg-secondary/60 rounded-lg transition-colors" )} draggable diff --git a/components/ui/tag-filter-dropdown.tsx b/components/ui/tag-filter-dropdown.tsx index b039c25aa..49416d509 100644 --- a/components/ui/tag-filter-dropdown.tsx +++ b/components/ui/tag-filter-dropdown.tsx @@ -199,7 +199,7 @@ export const TagFilterDropdown: React.FC = ({ key={tag} className={cn( "flex items-center gap-2 h-8 px-2 rounded-md cursor-pointer group", - isSelected ? "bg-secondary" : "hover:bg-accent" + isSelected ? "bg-secondary" : "hover:bg-muted/60" )} onClick={() => toggleTag(tag)} > diff --git a/index.css b/index.css index 793b9126f..d4113c5ed 100644 --- a/index.css +++ b/index.css @@ -58,7 +58,7 @@ body { .soft-card { background: hsl(var(--card)); border: 1px solid hsl(var(--border) / 0.8); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 12px 36px rgba(0, 0, 0, 0.22); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 4px 12px rgba(0, 0, 0, 0.08); } .card-highlight { @@ -80,12 +80,11 @@ body { } .elevate { - transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease; + transition: transform 140ms ease, border-color 140ms ease; } .elevate:hover { transform: translateY(-2px); - box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28); } ::selection {