From 9bb2d4d8288886092f42d98ebe52cd736a016570 Mon Sep 17 00:00:00 2001 From: Arnaud_Cayrol Date: Sun, 15 Feb 2026 19:30:17 +0100 Subject: [PATCH] Better looking left border for the settings UI --- .../src/lib/components/SettingsPanel.svelte | 360 +++++++++--------- 1 file changed, 188 insertions(+), 172 deletions(-) diff --git a/frontend/src/lib/components/SettingsPanel.svelte b/frontend/src/lib/components/SettingsPanel.svelte index 30c7807..3de3af1 100644 --- a/frontend/src/lib/components/SettingsPanel.svelte +++ b/frontend/src/lib/components/SettingsPanel.svelte @@ -188,21 +188,23 @@ {#if config.processing.face_resolution.enabled} -
- -
- - {config.processing.face_resolution.min_size}px +
+
+ +
+ + {config.processing.face_resolution.min_size}px +
{/if} @@ -220,25 +222,27 @@
Padding happens when a face is at the border of a photo. It is required to move the subject to the center of the frame.
{#if config.processing.crop.enabled} -
- -
- - {config.processing.crop.max_padding_percent}% +
+
+ +
+ + {config.processing.crop.max_padding_percent}% +
+
+
+
-
-
-
{/if}
@@ -254,7 +258,7 @@
{#if config.processing.brightness.enabled} -
+
Discard photos if the face is under/over exposed
@@ -279,21 +283,23 @@
{#if config.processing.blur.enabled} -
- -
- - {Number(config.processing.blur.min_sharpness).toFixed(0)} +
+
+ +
+ + {Number(config.processing.blur.min_sharpness).toFixed(0)} +
{/if} @@ -310,42 +316,43 @@
{#if config.processing.head_pose.enabled} -
- -
- - {config.processing.head_pose.max_yaw.toFixed(0)}° +
+
+ +
+ + {config.processing.head_pose.max_yaw.toFixed(0)}° +
+
+ +
+ +
+ + {config.processing.head_pose.max_pitch.toFixed(0)}° +
- -
- -
- - {config.processing.head_pose.max_pitch.toFixed(0)}° -
-
- {/if}
@@ -360,23 +367,25 @@
{#if config.processing.eye_filter.enabled} -
- -
- - {config.processing.eye_filter.min_ear.toFixed(2)} -
- +
+
+ +
+ + {config.processing.eye_filter.min_ear.toFixed(2)} +
+ +
@@ -451,27 +460,29 @@
{#if config.processing.time_interval.enabled} -
- Keep at most -
- - photos per -
- {#each [['day', 'day'], ['week', 'week'], ['month', 'month']] as [value, label]} - - {/each} +
+
+ Keep at most +
+ + photos per +
+ {#each [['day', 'day'], ['week', 'week'], ['month', 'month']] as [value, label]} + + {/each} +
@@ -489,40 +500,42 @@
{#if config.processing.timestamp.enabled} -
- - -
+
+
+ + +
-
- Date Components -
- - - +
+ Date Components +
+ + + +
{/if} @@ -533,23 +546,25 @@
Final Image Composition
-
- -
- - {(config.processing.alignment.eye_distance * 100).toFixed(0)}% -
- +
+
+ +
+ + {(config.processing.alignment.eye_distance * 100).toFixed(0)}% +
+ +
@@ -847,7 +862,7 @@ cursor: pointer; } - .sub-setting { + .sub-settings-group { padding-left: 1.5rem; border-left: 2px solid #333; margin-left: 0.75rem; @@ -936,6 +951,7 @@ font-size: 0.875rem; text-align: center; -moz-appearance: textfield; + appearance: textfield; } .inline-number::-webkit-inner-spin-button,