feat(DiaryParticipantsPanel): enhance gallery button styling and functionality
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 37s

- Updated the gallery button to include icons for improved visual feedback during loading states.
- Refined button styles with a new gradient background and hover effects for better user interaction.
- Adjusted button layout to ensure consistent alignment and spacing of elements.
This commit is contained in:
Torsten Schulz (local)
2026-04-17 11:58:37 +02:00
parent 9c738e8063
commit 894c84b94a

View File

@@ -9,7 +9,8 @@
:disabled="galleryLoading"
@click="$emit('open-gallery')"
>
{{ galleryLoading ? $t('diary.galleryCreating') : $t('diary.gallery') }}
<span class="participant-gallery-button-icon" aria-hidden="true">{{ galleryLoading ? '⏳' : '🖼️' }}</span>
<span>{{ galleryLoading ? $t('diary.galleryCreating') : $t('diary.gallery') }}</span>
</button>
</div>
<input
@@ -166,17 +167,33 @@ export default {
.participant-gallery-button {
padding: 0.45rem 0.75rem;
border: 1px solid var(--border-color);
border: 1px solid var(--primary-soft);
border-radius: 10px;
background: var(--surface-muted);
color: var(--text-color);
background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
color: var(--text-on-primary);
font-weight: 600;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 0.4rem;
box-shadow: 0 2px 8px rgba(47, 122, 95, 0.18);
}
.participant-gallery-button:hover:not(:disabled) {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(47, 122, 95, 0.26);
}
.participant-gallery-button-icon {
font-size: 1rem;
line-height: 1;
}
.participant-gallery-button:disabled {
opacity: 0.6;
cursor: default;
transform: none;
box-shadow: none;
}
.participant-search-input {