diff --git a/src/lib/components/ui/DetailItem.svelte b/src/lib/components/ui/DetailItem.svelte index 6ee41cd7..8d9366ea 100644 --- a/src/lib/components/ui/DetailItem.svelte +++ b/src/lib/components/ui/DetailItem.svelte @@ -110,11 +110,29 @@ justify-content: space-between; align-items: center; padding: spacing.$unit 0; - background: colors.$grey-90; border-radius: layout.$item-corner; font-size: typography.$font-regular; min-height: calc(spacing.$unit * 5); + &:not(.editable) { + padding: spacing.$unit; + margin: 0 calc(spacing.$unit * -1); + } + + &:hover:not(.editable):not(.hasChildren) { + background: colors.$grey-90; + } + + &.editable:focus-within, + &.hasChildren:focus-within { + background: var(--input-bg-hover); + } + + &.editable, + &.hasChildren { + background: var(--input-bg); + } + .label-container { display: flex; flex-direction: column; diff --git a/src/lib/features/database/characters/sections/CharacterImagesSection.svelte b/src/lib/features/database/characters/sections/CharacterImagesSection.svelte index 366f1ec2..1b02e568 100644 --- a/src/lib/features/database/characters/sections/CharacterImagesSection.svelte +++ b/src/lib/features/database/characters/sections/CharacterImagesSection.svelte @@ -89,9 +89,7 @@ {#if canEdit}
-

- Download character images from the game server to your storage. -

+

Download character images from the game server to your storage.