1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

Making photos pop on hover.

Also making themes default. #587
This commit is contained in:
Patrik J. Braun 2023-08-05 20:32:15 +02:00
parent 7b5e187477
commit 08a6fcbddc
3 changed files with 8 additions and 4 deletions

View File

@ -811,12 +811,11 @@ export class ThemesConfig {
@ConfigProperty({
tags: {
name: $localize`Enable`,
experimental: true,
githubIssue: 642
} as TAGS,
description: $localize`Enable themes and color modes. Experimental until bootstrap v5.3 is only alpha.`
description: $localize`Enable themes and color modes.`
})
enabled: boolean = false;
enabled: boolean = true;
@ConfigProperty({
type: ThemeModes,
@ -826,7 +825,7 @@ export class ThemesConfig {
} as TAGS,
description: $localize`Sets the default theme mode that is used for the application.`
})
defaultMode: ThemeModes = ThemeModes.light;
defaultMode: ThemeModes = ThemeModes.auto;
@ConfigProperty({
type: 'string',

View File

@ -1,6 +1,10 @@
:host {
position: relative;
overflow: hidden;
transition: scale .3s ease-out;
}
:host:hover {
scale: 98%;
}
img {

View File

@ -15,6 +15,7 @@
.form-switch .form-check-input:checked {
background-color: var(--bs-success);
border-color: var(--bs-success);
}
.form-switch .form-check-input:focus {