Dashboard: Add more feedback for selected background

Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan C. Borchardt 2020-08-19 00:29:14 +02:00 committed by Julius Härtl
parent 9a7f7ea5e7
commit d1a2482dda
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF
2 changed files with 10 additions and 3 deletions

View file

@ -59,9 +59,6 @@
<h3>{{ t('dashboard', 'Change background image') }}</h3>
<BackgroundSettings :background="background" @updateBackground="updateBackground" />
<h3>{{ t('dashboard', 'Credits') }}</h3>
<p>{{ t('dashboard', 'Photos') }}: <a href="https://www.flickr.com/photos/paszczak000/8715851521/" target="_blank" rel="noopener">Clouds (Kamil Porembiński)</a>, <a href="https://www.flickr.com/photos/148302424@N05/36591009215/" target="_blank" rel="noopener">Un beau soir dété (Tanguy Domenge)</a>.</p>
</div>
</Modal>
</div>

View file

@ -177,6 +177,16 @@ export default {
&:focus {
border: 2px solid var(--color-primary);
}
&.active:after {
background-image: var(--icon-checkmark-fff);
background-repeat: no-repeat;
background-position: center;
background-size: 44px;
content: '';
display: block;
height: 100%;
}
}
}