Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

fix(ui): polish control styling, combobox animations, and button contrast

gtxPrime5bedc58e21db
diff --git a/src/Filee.App/Styles/Soft.axaml b/src/Filee.App/Styles/Soft.axaml
index d70cebf2..792e3588 100644
--- a/src/Filee.App/Styles/Soft.axaml
+++ b/src/Filee.App/Styles/Soft.axaml
@@ -126,7 +126,7 @@
</Style>
<!-- ───────── Buttons: soft corners and a springy press ───────── -->
- <Style Selector="Button, ToggleButton, RepeatButton">
+ <Style Selector="Button, ToggleButton">
<Setter Property="CornerRadius" Value="{DynamicResource SoftRadiusSmall}" />
<Setter Property="Padding" Value="14,7" />
<Setter Property="Transitions">
@@ -155,14 +155,106 @@
<Setter Property="BorderThickness" Value="0" />
</Style>
+ <!-- Choice Cards (Theme Style, Format cards) -->
+ <Style Selector="Button.choice-card">
+ <Setter Property="CornerRadius" Value="16" />
+ <Setter Property="Padding" Value="16,14" />
+ <Setter Property="MinHeight" Value="115" />
+ <Setter Property="Background" Value="{DynamicResource CardBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" />
+ <Setter Property="BorderThickness" Value="1.5" />
+ <Setter Property="HorizontalAlignment" Value="Stretch" />
+ <Setter Property="VerticalAlignment" Value="Stretch" />
+ <Setter Property="HorizontalContentAlignment" Value="Stretch" />
+ <Setter Property="VerticalContentAlignment" Value="Stretch" />
+ <Setter Property="Transitions">
+ <Transitions>
+ <TransformOperationsTransition Property="RenderTransform" Duration="0:0:0.18" Easing="{StaticResource SoftEase}" />
+ <BrushTransition Property="Background" Duration="0:0:0.18" />
+ <BrushTransition Property="BorderBrush" Duration="0:0:0.18" />
+ </Transitions>
+ </Setter>
+ </Style>
+ <Style Selector="Button.choice-card:pointerover">
+ <Setter Property="Background" Value="{DynamicResource SurfaceAltBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentSoftBrush}" />
+ </Style>
+ <Style Selector="Button.choice-card.selected">
+ <Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="BorderThickness" Value="1.5" />
+ </Style>
+ <Style Selector="Button.choice-card TextBlock.choice-title">
+ <Setter Property="FontSize" Value="13" />
+ <Setter Property="FontWeight" Value="SemiBold" />
+ <Setter Property="Foreground" Value="{DynamicResource TextPrimaryBrush}" />
+ </Style>
+ <Style Selector="Button.choice-card.selected TextBlock.choice-title">
+ <Setter Property="Foreground" Value="{DynamicResource AccentStrongBrush}" />
+ <Setter Property="FontWeight" Value="Bold" />
+ </Style>
+ <Style Selector="Button.choice-card TextBlock.choice-desc">
+ <Setter Property="FontSize" Value="12" />
+ <Setter Property="Foreground" Value="{DynamicResource TextSecondaryBrush}" />
+ <Setter Property="LineHeight" Value="17" />
+ </Style>
+ <Style Selector="Button.choice-card.selected TextBlock.choice-desc">
+ <Setter Property="Foreground" Value="{DynamicResource TextPrimaryBrush}" />
+ </Style>
+
+ <!-- ───────── Progress bars / Loaders ───────── -->
+ <Style Selector="ProgressBar">
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="MinHeight" Value="6" />
+ <Setter Property="Height" Value="6" />
+ <Setter Property="Foreground" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="Background" Value="{DynamicResource SurfaceAltBrush}" />
+ </Style>
<Style Selector="ProgressBar.soft">
<Setter Property="CornerRadius" Value="999" />
<Setter Property="MinHeight" Value="6" />
<Setter Property="Height" Value="6" />
</Style>
+ <!-- ───────── Seekbars / Sliders ───────── -->
+ <Style Selector="Slider">
+ <Setter Property="Foreground" Value="{DynamicResource AccentBrush}" />
+ </Style>
+ <Style Selector="Slider:horizontal">
+ <Setter Property="MinHeight" Value="36" />
+ </Style>
+ <Style Selector="Slider:horizontal /template/ Border#TrackBackground">
+ <Setter Property="Height" Value="8" />
+ <Setter Property="CornerRadius" Value="999" />
+ </Style>
+ <Style Selector="Slider:horizontal /template/ RepeatButton#PART_DecreaseButton /template/ Border">
+ <Setter Property="Height" Value="8" />
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="Background" Value="{DynamicResource AccentBrush}" />
+ </Style>
+ <Style Selector="Slider:horizontal /template/ RepeatButton#PART_IncreaseButton /template/ Border">
+ <Setter Property="Height" Value="8" />
+ <Setter Property="CornerRadius" Value="999" />
+ </Style>
+ <Style Selector="Slider:horizontal /template/ Thumb#PART_Thumb">
+ <Setter Property="Width" Value="20" />
+ <Setter Property="Height" Value="20" />
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="Background" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource SurfaceBrush}" />
+ <Setter Property="BorderThickness" Value="2" />
+ <Setter Property="Transitions">
+ <Transitions>
+ <TransformOperationsTransition Property="RenderTransform" Duration="0:0:0.18" Easing="{StaticResource SoftEase}" />
+ </Transitions>
+ </Setter>
+ </Style>
+ <Style Selector="Slider:horizontal /template/ Thumb#PART_Thumb:pointerover">
+ <Setter Property="RenderTransform" Value="scale(1.18)" />
+ </Style>
+
<Style Selector="TextBox, ComboBox, NumericUpDown">
- <Setter Property="CornerRadius" Value="{DynamicResource SoftRadiusSmall}" />
+ <Setter Property="CornerRadius" Value="12" />
</Style>
<!-- ───────── Navigation list ───────── -->
@@ -197,9 +289,9 @@
<Setter Property="Background" Value="Transparent" />
</Style>
<Style Selector="ListBox.soft ListBoxItem">
- <Setter Property="CornerRadius" Value="{DynamicResource SoftRadiusSmall}" />
- <Setter Property="Padding" Value="10,7" />
- <Setter Property="Margin" Value="0,1" />
+ <Setter Property="CornerRadius" Value="12" />
+ <Setter Property="Padding" Value="12,8" />
+ <Setter Property="Margin" Value="2,1,6,1" />
</Style>
<Style Selector="ListBox.soft ListBoxItem:selected /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
@@ -219,6 +311,683 @@
<Setter Property="SuccessBrush" Value="{DynamicResource SuccessBrush}" />
</Style>
+ <!-- ───────── Material You (M3) design system ───────── -->
+
+ <!-- Typography & Headings -->
+ <Style Selector="Window.material-you TextBlock.h1">
+ <Setter Property="FontSize" Value="26" />
+ <Setter Property="FontWeight" Value="SemiBold" />
+ <Setter Property="Margin" Value="0,0,0,4" />
+ </Style>
+ <Style Selector="Window.material-you TextBlock.h2">
+ <Setter Property="FontSize" Value="18" />
+ <Setter Property="FontWeight" Value="SemiBold" />
+ </Style>
+ <Style Selector="Window.material-you TextBlock.label">
+ <Setter Property="FontSize" Value="13" />
+ <Setter Property="FontWeight" Value="Medium" />
+ <Setter Property="Margin" Value="0,0,0,6" />
+ </Style>
+
+ <!-- Cards: M3 elevated tonal surface, 20px corners, non-clipping -->
+ <Style Selector="Window.material-you Border.card">
+ <Setter Property="CornerRadius" Value="20" />
+ <Setter Property="Padding" Value="20,16" />
+ <Setter Property="Background" Value="{DynamicResource SurfaceContainerBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" />
+ <Setter Property="BorderThickness" Value="1" />
+ <Setter Property="BoxShadow" Value="{DynamicResource CardShadow}" />
+ <Setter Property="ClipToBounds" Value="False" />
+ </Style>
+
+ <!-- Navigation items -->
+ <Style Selector="Window.material-you ListBox.nav ListBoxItem">
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="Padding" Value="16,10" />
+ <Setter Property="Margin" Value="0,2" />
+ <Setter Property="Transitions">
+ <Transitions>
+ <TransformOperationsTransition Property="RenderTransform" Duration="0:0:0.25" Easing="{StaticResource SoftEase}" />
+ <BrushTransition Property="Background" Duration="0:0:0.18" />
+ </Transitions>
+ </Setter>
+ </Style>
+ <Style Selector="Window.material-you ListBox.nav ListBoxItem:pointerover">
+ <Setter Property="RenderTransform" Value="scale(1.02)" />
+ </Style>
+ <Style Selector="Window.material-you ListBox.nav ListBoxItem:selected /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
+ <Setter Property="Foreground" Value="{DynamicResource AccentStrongBrush}" />
+ <Setter Property="FontWeight" Value="SemiBold" />
+ </Style>
+ <Style Selector="Window.material-you ListBox.nav ListBoxItem:selected:pointerover /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
+ </Style>
+
+ <!-- List tiles (Presets, Profiles, Suggestions) -->
+ <Style Selector="Window.material-you ListBox.soft ListBoxItem">
+ <Setter Property="CornerRadius" Value="14" />
+ <Setter Property="Padding" Value="14,10" />
+ <Setter Property="Margin" Value="2,2,6,2" />
+ <Setter Property="Transitions">
+ <Transitions>
+ <TransformOperationsTransition Property="RenderTransform" Duration="0:0:0.22" Easing="{StaticResource SoftEase}" />
+ <BrushTransition Property="Background" Duration="0:0:0.18" />
+ </Transitions>
+ </Setter>
+ </Style>
+ <Style Selector="Window.material-you ListBox.soft ListBoxItem:pointerover">
+ <Setter Property="RenderTransform" Value="translateX(2px)" />
+ </Style>
+ <Style Selector="Window.material-you ListBox.soft ListBoxItem:selected /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
+ <Setter Property="Foreground" Value="{DynamicResource AccentStrongBrush}" />
+ <Setter Property="FontWeight" Value="SemiBold" />
+ </Style>
+ <Style Selector="Window.material-you ListBox.soft ListBoxItem:selected:pointerover /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
+ </Style>
+
+ <!-- DropZone tile: dark tonal surface with subtle border -->
+ <Style Selector="Window.material-you Border#DropZone">
+ <Setter Property="CornerRadius" Value="24" />
+ <Setter Property="Padding" Value="28,24" />
+ <Setter Property="Background" Value="{DynamicResource SurfaceContainerLowBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" />
+ <Setter Property="BoxShadow" Value="{DynamicResource CardShadow}" />
+ </Style>
+ <Style Selector="Window.material-you Border#DropZone.over">
+ <Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="RenderTransform" Value="scale(1.02)" />
+ </Style>
+
+ <!-- Buttons: M3 full pill with spring press (excluding multi-line choice cards) -->
+ <Style Selector="Window.material-you Button:not(.choice-card), Window.material-you ToggleButton">
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="Padding" Value="18,8" />
+ <Setter Property="FontWeight" Value="Medium" />
+ <Setter Property="Transitions">
+ <Transitions>
+ <TransformOperationsTransition Property="RenderTransform" Duration="0:0:0.20" Easing="{StaticResource SoftEase}" />
+ <BrushTransition Property="Background" Duration="0:0:0.18" />
+ </Transitions>
+ </Setter>
+ </Style>
+ <Style Selector="Window.material-you Button:not(.choice-card):pointerover, Window.material-you ToggleButton:pointerover">
+ <Setter Property="RenderTransform" Value="scale(1.02)" />
+ </Style>
+ <Style Selector="Window.material-you Button:not(.choice-card):pressed, Window.material-you ToggleButton:pressed">
+ <Setter Property="RenderTransform" Value="scale(0.94)" />
+ </Style>
+
+ <!-- Multi-line Choice Cards in Material You -->
+ <Style Selector="Window.material-you Button.choice-card">
+ <Setter Property="CornerRadius" Value="16" />
+ <Setter Property="Padding" Value="16,14" />
+ <Setter Property="MinHeight" Value="115" />
+ <Setter Property="VerticalAlignment" Value="Stretch" />
+ <Setter Property="VerticalContentAlignment" Value="Stretch" />
+ <Setter Property="Background" Value="{DynamicResource CardBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" />
+ <Setter Property="BorderThickness" Value="1.5" />
+ <Setter Property="RenderTransform" Value="none" />
+ </Style>
+ <Style Selector="Window.material-you Button.choice-card:pointerover">
+ <Setter Property="Background" Value="{DynamicResource SurfaceAltBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentSoftBrush}" />
+ <Setter Property="RenderTransform" Value="none" />
+ </Style>
+ <Style Selector="Window.material-you Button.choice-card.selected">
+ <Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="BorderThickness" Value="1.5" />
+ <Setter Property="CornerRadius" Value="16" />
+ <Setter Property="RenderTransform" Value="none" />
+ </Style>
+ <Style Selector="Window.material-you Button.choice-card.selected:pointerover">
+ <Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentStrongBrush}" />
+ <Setter Property="RenderTransform" Value="none" />
+ </Style>
+
+ <!-- Standard action buttons in Material You (Clear history, Export, Import, Reset, etc.) -->
+ <Style Selector="Window.material-you Button:not(.accent):not(.ghost):not(.icon):not(.navlink):not(.swatch):not(.preset-pill):not(.tonal):not(.choice-card)">
+ <Setter Property="Background" Value="{DynamicResource SurfaceAltBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" />
+ <Setter Property="BorderThickness" Value="1" />
+ <Setter Property="Foreground" Value="{DynamicResource TextPrimaryBrush}" />
+ </Style>
+ <Style Selector="Window.material-you Button:not(.accent):not(.ghost):not(.icon):not(.navlink):not(.swatch):not(.preset-pill):not(.tonal):not(.choice-card):pointerover">
+ <Setter Property="Background" Value="{DynamicResource SurfaceContainerHighestBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="RenderTransform" Value="scale(1.02)" />
+ </Style>
+
+ <!-- Swatch buttons for theme selection -->
+ <Style Selector="Button.swatch">
+ <Setter Property="Width" Value="32" />
+ <Setter Property="Height" Value="32" />
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="Padding" Value="0" />
+ <Setter Property="BorderThickness" Value="2" />
+ <Setter Property="BorderBrush" Value="Transparent" />
+ <Setter Property="RenderTransform" Value="none" />
+ <Setter Property="Transitions">
+ <Transitions>
+ <TransformOperationsTransition Property="RenderTransform" Duration="0:0:0.18" Easing="{StaticResource SoftEase}" />
+ <BrushTransition Property="BorderBrush" Duration="0:0:0.18" />
+ </Transitions>
+ </Setter>
+ </Style>
+ <Style Selector="Button.swatch:pointerover">
+ <Setter Property="RenderTransform" Value="scale(1.22)" />
+ <Setter Property="BorderBrush" Value="{DynamicResource TextPrimaryBrush}" />
+ </Style>
+ <Style Selector="Button.swatch:pointerover /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="{TemplateBinding Background}" />
+ </Style>
+ <Style Selector="Button.swatch:pressed /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="{TemplateBinding Background}" />
+ <Setter Property="Opacity" Value="0.82" />
+ </Style>
+
+ <!-- Preset pill buttons in Theme Page -->
+ <Style Selector="Button.preset-pill">
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="Padding" Value="10,6" />
+ <Setter Property="Background" Value="{DynamicResource SurfaceBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" />
+ <Setter Property="BorderThickness" Value="1" />
+ <Setter Property="Transitions">
+ <Transitions>
+ <TransformOperationsTransition Property="RenderTransform" Duration="0:0:0.18" Easing="{StaticResource SoftEase}" />
+ <BrushTransition Property="Background" Duration="0:0:0.18" />
+ <BrushTransition Property="BorderBrush" Duration="0:0:0.18" />
+ </Transitions>
+ </Setter>
+ </Style>
+ <Style Selector="Button.preset-pill:pointerover">
+ <Setter Property="RenderTransform" Value="scale(1.03)" />
+ <Setter Property="Background" Value="{DynamicResource SurfaceAltBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentBrush}" />
+ </Style>
+ <Style Selector="Button.preset-pill:pressed">
+ <Setter Property="RenderTransform" Value="scale(0.96)" />
+ </Style>
+ <Style Selector="Button.preset-pill:pointerover /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource SurfaceAltBrush}" />
+ </Style>
+
+ <!-- Filled Accent Button -->
+ <Style Selector="Button.accent, Window.material-you Button.accent">
+ <Setter Property="Background" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="Foreground" Value="{DynamicResource OnAccentBrush}" />
+ <Setter Property="BorderThickness" Value="0" />
+ <Setter Property="FontWeight" Value="SemiBold" />
+ </Style>
+ <Style Selector="Button.accent /template/ ContentPresenter#PART_ContentPresenter, Window.material-you Button.accent /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="Foreground" Value="{DynamicResource OnAccentBrush}" />
+ <Setter Property="BorderThickness" Value="0" />
+ </Style>
+ <Style Selector="Button.accent:pointerover /template/ ContentPresenter#PART_ContentPresenter, Window.material-you Button.accent:pointerover /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource AccentButtonBackgroundPointerOver}" />
+ <Setter Property="Foreground" Value="{DynamicResource OnAccentBrush}" />
+ <Setter Property="BorderThickness" Value="0" />
+ </Style>
+ <Style Selector="Button.accent:pressed /template/ ContentPresenter#PART_ContentPresenter, Window.material-you Button.accent:pressed /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource AccentFaintBrush}" />
+ <Setter Property="Foreground" Value="{DynamicResource OnAccentBrush}" />
+ <Setter Property="BorderThickness" Value="0" />
+ </Style>
+ <Style Selector="Button.accent PathIcon, Window.material-you Button.accent PathIcon,
+ Button.accent:pointerover PathIcon, Window.material-you Button.accent:pointerover PathIcon,
+ Button.accent:pressed PathIcon, Window.material-you Button.accent:pressed PathIcon">
+ <Setter Property="Foreground" Value="{DynamicResource OnAccentBrush}" />
+ </Style>
+ <Style Selector="Button.accent TextBlock, Window.material-you Button.accent TextBlock,
+ Button.accent:pointerover TextBlock, Window.material-you Button.accent:pointerover TextBlock,
+ Button.accent:pressed TextBlock, Window.material-you Button.accent:pressed TextBlock">
+ <Setter Property="Foreground" Value="{DynamicResource OnAccentBrush}" />
+ <Setter Property="FontWeight" Value="SemiBold" />
+ </Style>
+ <Style Selector="Button.accent:pointerover, Window.material-you Button.accent:pointerover">
+ <Setter Property="RenderTransform" Value="scale(1.02)" />
+ </Style>
+
+ <!-- Filled Tonal Button -->
+ <Style Selector="Window.material-you Button.tonal">
+ <Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
+ <Setter Property="Foreground" Value="{DynamicResource AccentStrongBrush}" />
+ <Setter Property="BorderThickness" Value="0" />
+ </Style>
+
+ <!-- Ghost / Text Button -->
+ <Style Selector="Window.material-you Button.ghost">
+ <Setter Property="Background" Value="Transparent" />
+ <Setter Property="BorderThickness" Value="0" />
+ <Setter Property="Foreground" Value="{DynamicResource AccentBrush}" />
+ </Style>
+ <Style Selector="Window.material-you Button.ghost:pointerover">
+ <Setter Property="Background" Value="{DynamicResource AccentFaintBrush}" />
+ </Style>
+
+ <!-- Navlink Button -->
+ <Style Selector="Window.material-you Button.navlink">
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="Padding" Value="12,7" />
+ <Setter Property="Background" Value="{DynamicResource SurfaceAltBrush}" />
+ <Setter Property="BorderThickness" Value="0" />
+ </Style>
+ <Style Selector="Window.material-you Button.navlink:pointerover">
+ <Setter Property="Background" Value="{DynamicResource AccentFaintBrush}" />
+ </Style>
+
+ <!-- Icon Button -->
+ <Style Selector="Window.material-you Button.icon">
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="Padding" Value="8" />
+ <Setter Property="Background" Value="Transparent" />
+ <Setter Property="BorderThickness" Value="0" />
+ </Style>
+ <Style Selector="Window.material-you Button.icon:pointerover">
+ <Setter Property="Background" Value="{DynamicResource AccentFaintBrush}" />
+ </Style>
+
+ <!-- Chips & Badges -->
+ <Style Selector="Window.material-you Border.chip">
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="Padding" Value="14,6" />
+ <Setter Property="Margin" Value="3" />
+ <Setter Property="Background" Value="{DynamicResource SurfaceBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" />
+ <Setter Property="BorderThickness" Value="1" />
+ </Style>
+ <Style Selector="Window.material-you Border.chip:pointerover">
+ <Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="RenderTransform" Value="scale(1.04)" />
+ </Style>
+
+ <Style Selector="Window.material-you Border.badge">
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="Padding" Value="10,3" />
+ <Setter Property="Background" Value="{DynamicResource SurfaceAltBrush}" />
+ </Style>
+ <Style Selector="Window.material-you Border.badge TextBlock">
+ <Setter Property="FontWeight" Value="Medium" />
+ </Style>
+ <Style Selector="Window.material-you Border.badge.ok">
+ <Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
+ </Style>
+
+ <Style Selector="Window.material-you Border.tagchip">
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="Padding" Value="12,2,4,2" />
+ <Setter Property="Background" Value="{DynamicResource SurfaceAltBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" />
+ <Setter Property="BorderThickness" Value="1" />
+ </Style>
+ <Style Selector="Window.material-you Border.tagchip:focus">
+ <Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentBrush}" />
+ </Style>
+
+ <Style Selector="Window.material-you ToggleButton.extchip">
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="Padding" Value="14,5" />
+ <Setter Property="Margin" Value="3" />
+ <Setter Property="FontWeight" Value="Medium" />
+ </Style>
+ <Style Selector="Window.material-you ToggleButton.extchip:checked /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="Foreground" Value="{DynamicResource OnAccentBrush}" />
+ </Style>
+
+ <!-- Loaders / ProgressBars -->
+ <Style Selector="Window.material-you ProgressBar, Window.material-you ProgressBar.soft">
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="Height" Value="8" />
+ <Setter Property="MinHeight" Value="8" />
+ <Setter Property="Foreground" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="Background" Value="{DynamicResource AccentFaintBrush}" />
+ <Setter Property="BorderThickness" Value="0" />
+ </Style>
+
+ <!-- Seekbars / Sliders: Authentic Material 3 rounded pill track & M3 capsule thumb -->
+ <Style Selector="Window.material-you Slider:horizontal">
+ <Setter Property="MinHeight" Value="42" />
+ <Setter Property="Height" Value="42" />
+ <Setter Property="Foreground" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="VerticalAlignment" Value="Center" />
+ </Style>
+ <Style Selector="Window.material-you Slider:horizontal /template/ Border#TrackBackground">
+ <Setter Property="Height" Value="16" />
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="Background" Value="{DynamicResource SurfaceContainerHighestBrush}" />
+ </Style>
+ <Style Selector="Window.material-you Slider:horizontal /template/ RepeatButton#PART_DecreaseButton">
+ <Setter Property="Background" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="Height" Value="16" />
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="VerticalAlignment" Value="Center" />
+ </Style>
+ <Style Selector="Window.material-you Slider:horizontal /template/ RepeatButton#PART_DecreaseButton /template/ Border">
+ <Setter Property="Background" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="Height" Value="16" />
+ <Setter Property="CornerRadius" Value="999" />
+ </Style>
+ <Style Selector="Window.material-you Slider:horizontal /template/ RepeatButton#PART_IncreaseButton">
+ <Setter Property="Background" Value="{DynamicResource SurfaceContainerHighestBrush}" />
+ <Setter Property="Height" Value="16" />
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="VerticalAlignment" Value="Center" />
+ </Style>
+ <Style Selector="Window.material-you Slider:horizontal /template/ RepeatButton#PART_IncreaseButton /template/ Border">
+ <Setter Property="Background" Value="{DynamicResource SurfaceContainerHighestBrush}" />
+ <Setter Property="Height" Value="16" />
+ <Setter Property="CornerRadius" Value="999" />
+ </Style>
+ <Style Selector="Window.material-you Slider:horizontal /template/ Thumb#PART_Thumb">
+ <Setter Property="Width" Value="8" />
+ <Setter Property="Height" Value="28" />
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="Background" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource SurfaceBrush}" />
+ <Setter Property="BorderThickness" Value="1.5" />
+ <Setter Property="VerticalAlignment" Value="Center" />
+ <Setter Property="Transitions">
+ <Transitions>
+ <TransformOperationsTransition Property="RenderTransform" Duration="0:0:0.18" Easing="{StaticResource SoftEase}" />
+ </Transitions>
+ </Setter>
+ </Style>
+ <Style Selector="Window.material-you Slider:horizontal /template/ Thumb#PART_Thumb:pointerover">
+ <Setter Property="RenderTransform" Value="scale(1.25, 1.08)" />
+ </Style>
+ <Style Selector="Window.material-you Slider:horizontal /template/ Thumb#PART_Thumb:pressed">
+ <Setter Property="RenderTransform" Value="scale(1.4, 1.15)" />
+ </Style>
+
+ <!-- ToggleButtons (Filter chips / Modifiers) -->
+ <Style Selector="Window.material-you ToggleButton">
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="Padding" Value="16,6" />
+ <Setter Property="FontWeight" Value="Medium" />
+ <Setter Property="Background" Value="{DynamicResource SurfaceAltBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" />
+ <Setter Property="BorderThickness" Value="1" />
+ </Style>
+ <Style Selector="Window.material-you ToggleButton:checked /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="Foreground" Value="{DynamicResource AccentStrongBrush}" />
+ <Setter Property="FontWeight" Value="SemiBold" />
+ </Style>
+ <Style Selector="Window.material-you ToggleButton:checked">
+ <Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="Foreground" Value="{DynamicResource AccentStrongBrush}" />
+ <Setter Property="FontWeight" Value="SemiBold" />
+ </Style>
+
+ <!-- Dropdowns (ComboBox): Material 3 container & popups -->
+ <Style Selector="Window.material-you ComboBox">
+ <Setter Property="MinHeight" Value="38" />
+ <Setter Property="CornerRadius" Value="14" />
+ <Setter Property="Background" Value="{DynamicResource SurfaceAltBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" />
+ <Setter Property="BorderThickness" Value="1" />
+ <Setter Property="Padding" Value="14,7" />
+ </Style>
+ <Style Selector="Window.material-you ComboBox:pointerover">
+ <Setter Property="Background" Value="{DynamicResource SurfaceContainerHighestBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentBrush}" />
+ </Style>
+ <Style Selector="Window.material-you ComboBox /template/ Border#PopupBorder">
+ <Setter Property="CornerRadius" Value="16" />
+ <Setter Property="Background" Value="{DynamicResource SurfaceContainerHighBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" />
+ <Setter Property="BorderThickness" Value="1" />
+ <Setter Property="Padding" Value="6" />
+ <Setter Property="BoxShadow" Value="{DynamicResource CardShadow}" />
+ </Style>
+ <!-- Dropdown opening: smooth, flicker-free opacity fade without layout margin shifts that cause popup window resize/flicker -->
+ <Style Selector="Window.material-you ComboBox[IsDropDownOpen=True] /template/ Border#PopupBorder, ComboBox[IsDropDownOpen=True] /template/ Border#PopupBorder">
+ <Style.Animations>
+ <Animation Duration="0:0:0.16" Easing="CubicEaseOut" FillMode="Forward">
+ <KeyFrame Cue="0%">
+ <Setter Property="Opacity" Value="0" />
+ </KeyFrame>
+ <KeyFrame Cue="100%">
+ <Setter Property="Opacity" Value="1" />
+ </KeyFrame>
+ </Animation>
+ </Style.Animations>
+ </Style>
+ <Style Selector="Window.material-you ComboBoxItem">
+ <Setter Property="CornerRadius" Value="10" />
+ <Setter Property="Padding" Value="12,8" />
+ <Setter Property="Margin" Value="0,1" />
+ </Style>
+ <Style Selector="Window.material-you ComboBoxItem:selected /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
+ <Setter Property="Foreground" Value="{DynamicResource AccentStrongBrush}" />
+ <Setter Property="FontWeight" Value="SemiBold" />
+ </Style>
+
+ <!-- ToggleSwitch: M3 track, knob and hover color -->
+ <Style Selector="Window.material-you ToggleSwitch">
+ <Setter Property="Transitions">
+ <Transitions>
+ <TransformOperationsTransition Property="RenderTransform" Duration="0:0:0.18" Easing="{StaticResource SoftEase}" />
+ </Transitions>
+ </Setter>
+ </Style>
+ <Style Selector="Window.material-you ToggleSwitch:pointerover">
+ <Setter Property="RenderTransform" Value="scale(1.02)" />
+ </Style>
+ <Style Selector="Window.material-you ToggleSwitch /template/ Border#SwitchKnobBounds">
+ <Setter Property="Transitions">
+ <Transitions>
+ <BrushTransition Property="Background" Duration="0:0:0.18" />
+ <BrushTransition Property="BorderBrush" Duration="0:0:0.18" />
+ </Transitions>
+ </Setter>
+ </Style>
+ <Style Selector="Window.material-you ToggleSwitch:pointerover /template/ Border#SwitchKnobBounds">
+ <Setter Property="Background" Value="{DynamicResource SurfaceContainerHighestBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentBrush}" />
+ </Style>
+ <Style Selector="Window.material-you ToggleSwitch:checked /template/ Border#SwitchKnobBounds">
+ <Setter Property="Background" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentBrush}" />
+ </Style>
+ <Style Selector="Window.material-you ToggleSwitch:checked:pointerover /template/ Border#SwitchKnobBounds">
+ <Setter Property="Background" Value="{DynamicResource AccentStrongBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentStrongBrush}" />
+ </Style>
+ <Style Selector="Window.material-you ToggleSwitch:checked /template/ Ellipse#SwitchKnob">
+ <Setter Property="Fill" Value="{DynamicResource OnAccentBrush}" />
+ </Style>
+
+ <!-- Text inputs & NumericUpDown -->
+ <Style Selector="Window.material-you TextBox">
+ <Setter Property="MinHeight" Value="38" />
+ <Setter Property="CornerRadius" Value="14" />
+ <Setter Property="Background" Value="{DynamicResource SurfaceAltBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" />
+ <Setter Property="BorderThickness" Value="1" />
+ <Setter Property="Padding" Value="14,7" />
+ </Style>
+ <!-- Seamless NumericUpDown & ButtonSpinner (no inner boxes, seamless background, sleek chevrons) -->
+ <Style Selector="NumericUpDown">
+ <Style.Resources>
+ <SolidColorBrush x:Key="TextControlBackground" Color="Transparent" />
+ <SolidColorBrush x:Key="TextControlBackgroundPointerOver" Color="Transparent" />
+ <SolidColorBrush x:Key="TextControlBackgroundFocused" Color="Transparent" />
+ <SolidColorBrush x:Key="TextControlBorderBrush" Color="Transparent" />
+ <SolidColorBrush x:Key="TextControlBorderBrushPointerOver" Color="Transparent" />
+ <SolidColorBrush x:Key="TextControlBorderBrushFocused" Color="Transparent" />
+ <Thickness x:Key="TextControlBorderThemeThickness">0</Thickness>
+ <Thickness x:Key="TextControlBorderThemeThicknessFocused">0</Thickness>
+ <CornerRadius x:Key="ControlCornerRadius">0</CornerRadius>
+ </Style.Resources>
+ <Setter Property="CornerRadius" Value="12" />
+ <Setter Property="ClipToBounds" Value="True" />
+ <Setter Property="Background" Value="{DynamicResource SurfaceAltBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" />
+ <Setter Property="BorderThickness" Value="1" />
+ <Setter Property="Padding" Value="0" />
+ <Setter Property="MinHeight" Value="38" />
+ </Style>
+ <Style Selector="NumericUpDown:pointerover">
+ <Setter Property="Background" Value="{DynamicResource SurfaceContainerHighestBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentBrush}" />
+ </Style>
+
+ <!-- Inner TextBox inside NumericUpDown: completely transparent, seamless, NO inner borders or pill -->
+ <Style Selector="NumericUpDown /template/ TextBox#PART_TextBox, Window.material-you NumericUpDown /template/ TextBox#PART_TextBox, NumericUpDown /template/ TextBox, ButtonSpinner TextBox">
+ <Setter Property="Background" Value="Transparent" />
+ <Setter Property="BorderThickness" Value="0" />
+ <Setter Property="BorderBrush" Value="Transparent" />
+ <Setter Property="CornerRadius" Value="0" />
+ <Setter Property="Padding" Value="14,0,4,0" />
+ <Setter Property="MinHeight" Value="0" />
+ <Setter Property="VerticalAlignment" Value="Stretch" />
+ <Setter Property="VerticalContentAlignment" Value="Center" />
+ </Style>
+ <Style Selector="NumericUpDown /template/ TextBox#PART_TextBox:pointerover, Window.material-you NumericUpDown /template/ TextBox#PART_TextBox:pointerover">
+ <Setter Property="Background" Value="Transparent" />
+ <Setter Property="BorderBrush" Value="Transparent" />
+ </Style>
+ <Style Selector="NumericUpDown /template/ TextBox#PART_TextBox:focus, Window.material-you NumericUpDown /template/ TextBox#PART_TextBox:focus">
+ <Setter Property="Background" Value="Transparent" />
+ <Setter Property="BorderBrush" Value="Transparent" />
+ </Style>
+
+ <Style Selector="NumericUpDown:pointerover /template/ TextBox#PART_TextBox, Window.material-you NumericUpDown:pointerover /template/ TextBox#PART_TextBox, NumericUpDown /template/ TextBox#PART_TextBox:pointerover, Window.material-you NumericUpDown /template/ TextBox#PART_TextBox:pointerover">
+ <Setter Property="Background" Value="Transparent" />
+ <Setter Property="BorderBrush" Value="Transparent" />
+ <Setter Property="BorderThickness" Value="0" />
+ <Setter Property="CornerRadius" Value="0" />
+ </Style>
+
+ <!-- ButtonSpinner root & repeat buttons: remove vertical divider lines and floating circles in all states -->
+ <Style Selector="ButtonSpinner">
+ <Setter Property="Background" Value="Transparent" />
+ <Setter Property="BorderThickness" Value="0" />
+ <Setter Property="BorderBrush" Value="Transparent" />
+ <Setter Property="CornerRadius" Value="0" />
+ <Setter Property="Padding" Value="0,0,6,0" />
+ </Style>
+ <Style Selector="ButtonSpinner /template/ Border#PART_RootBorder">
+ <Setter Property="Background" Value="Transparent" />
+ <Setter Property="BorderThickness" Value="0" />
+ <Setter Property="BorderBrush" Value="Transparent" />
+ </Style>
+ <Style Selector="ButtonSpinner /template/ RepeatButton,
+ ButtonSpinner:right /template/ RepeatButton,
+ ButtonSpinner:right /template/ RepeatButton#PART_IncreaseButton,
+ ButtonSpinner:right /template/ RepeatButton#PART_DecreaseButton,
+ ButtonSpinner /template/ RepeatButton#PART_IncreaseButton,
+ ButtonSpinner /template/ RepeatButton#PART_DecreaseButton,
+ Window.material-you ButtonSpinner /template/ RepeatButton">
+ <Setter Property="Background" Value="Transparent" />
+ <Setter Property="BorderThickness" Value="0" />
+ <Setter Property="BorderBrush" Value="Transparent" />
+ <Setter Property="CornerRadius" Value="8" />
+ <Setter Property="Width" Value="24" />
+ <Setter Property="Height" Value="24" />
+ <Setter Property="MinWidth" Value="24" />
+ <Setter Property="MinHeight" Value="24" />
+ <Setter Property="Margin" Value="1,0" />
+ <Setter Property="Padding" Value="0" />
+ <Setter Property="VerticalAlignment" Value="Center" />
+ <Setter Property="HorizontalContentAlignment" Value="Center" />
+ <Setter Property="VerticalContentAlignment" Value="Center" />
+ <Setter Property="RenderTransform" Value="none" />
+ <Setter Property="Transitions" Value="{x:Null}" />
+ <Setter Property="Foreground" Value="{DynamicResource TextSecondaryBrush}" />
+ </Style>
+ <Style Selector="ButtonSpinner /template/ RepeatButton /template/ ContentPresenter#PART_ContentPresenter,
+ ButtonSpinner:right /template/ RepeatButton /template/ ContentPresenter#PART_ContentPresenter,
+ ButtonSpinner:right /template/ RepeatButton#PART_IncreaseButton /template/ ContentPresenter#PART_ContentPresenter,
+ ButtonSpinner:right /template/ RepeatButton#PART_DecreaseButton /template/ ContentPresenter#PART_ContentPresenter,
+ ButtonSpinner /template/ RepeatButton#PART_IncreaseButton /template/ ContentPresenter#PART_ContentPresenter,
+ ButtonSpinner /template/ RepeatButton#PART_DecreaseButton /template/ ContentPresenter#PART_ContentPresenter,
+ Window.material-you ButtonSpinner /template/ RepeatButton /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="Transparent" />
+ <Setter Property="BorderThickness" Value="0" />
+ <Setter Property="BorderBrush" Value="Transparent" />
+ <Setter Property="CornerRadius" Value="8" />
+ </Style>
+ <Style Selector="ButtonSpinner /template/ RepeatButton:pointerover /template/ ContentPresenter#PART_ContentPresenter,
+ ButtonSpinner:right /template/ RepeatButton:pointerover /template/ ContentPresenter#PART_ContentPresenter,
+ ButtonSpinner:right /template/ RepeatButton#PART_IncreaseButton:pointerover /template/ ContentPresenter#PART_ContentPresenter,
+ ButtonSpinner:right /template/ RepeatButton#PART_DecreaseButton:pointerover /template/ ContentPresenter#PART_ContentPresenter,
+ ButtonSpinner /template/ RepeatButton#PART_IncreaseButton:pointerover /template/ ContentPresenter#PART_ContentPresenter,
+ ButtonSpinner /template/ RepeatButton#PART_DecreaseButton:pointerover /template/ ContentPresenter#PART_ContentPresenter,
+ Window.material-you ButtonSpinner /template/ RepeatButton:pointerover /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" />
+ <Setter Property="BorderThickness" Value="0" />
+ <Setter Property="BorderBrush" Value="Transparent" />
+ </Style>
+ <Style Selector="ButtonSpinner /template/ RepeatButton:pointerover,
+ ButtonSpinner:right /template/ RepeatButton:pointerover,
+ ButtonSpinner:right /template/ RepeatButton#PART_IncreaseButton:pointerover,
+ ButtonSpinner:right /template/ RepeatButton#PART_DecreaseButton:pointerover,
+ ButtonSpinner /template/ RepeatButton#PART_IncreaseButton:pointerover,
+ ButtonSpinner /template/ RepeatButton#PART_DecreaseButton:pointerover,
+ Window.material-you ButtonSpinner /template/ RepeatButton:pointerover">
+ <Setter Property="BorderThickness" Value="0" />
+ <Setter Property="BorderBrush" Value="Transparent" />
+ <Setter Property="Foreground" Value="{DynamicResource AccentStrongBrush}" />
+ </Style>
+ <Style Selector="ButtonSpinner /template/ RepeatButton:pressed /template/ ContentPresenter#PART_ContentPresenter,
+ ButtonSpinner:right /template/ RepeatButton:pressed /template/ ContentPresenter#PART_ContentPresenter,
+ ButtonSpinner:right /template/ RepeatButton#PART_IncreaseButton:pressed /template/ ContentPresenter#PART_ContentPresenter,
+ ButtonSpinner:right /template/ RepeatButton#PART_DecreaseButton:pressed /template/ ContentPresenter#PART_ContentPresenter,
+ ButtonSpinner /template/ RepeatButton#PART_IncreaseButton:pressed /template/ ContentPresenter#PART_ContentPresenter,
+ ButtonSpinner /template/ RepeatButton#PART_DecreaseButton:pressed /template/ ContentPresenter#PART_ContentPresenter,
+ Window.material-you ButtonSpinner /template/ RepeatButton:pressed /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource SurfaceContainerHighestBrush}" />
+ <Setter Property="BorderThickness" Value="0" />
+ <Setter Property="BorderBrush" Value="Transparent" />
+ </Style>
+ <Style Selector="Window.material-you NumericUpDown">
+ <Style.Resources>
+ <SolidColorBrush x:Key="TextControlBackground" Color="Transparent" />
+ <SolidColorBrush x:Key="TextControlBackgroundPointerOver" Color="Transparent" />
+ <SolidColorBrush x:Key="TextControlBackgroundFocused" Color="Transparent" />
+ <SolidColorBrush x:Key="TextControlBorderBrush" Color="Transparent" />
+ <SolidColorBrush x:Key="TextControlBorderBrushPointerOver" Color="Transparent" />
+ <SolidColorBrush x:Key="TextControlBorderBrushFocused" Color="Transparent" />
+ <Thickness x:Key="TextControlBorderThemeThickness">0</Thickness>
+ <Thickness x:Key="TextControlBorderThemeThicknessFocused">0</Thickness>
+ <CornerRadius x:Key="ControlCornerRadius">0</CornerRadius>
+ </Style.Resources>
+ <Setter Property="MinHeight" Value="38" />
+ <Setter Property="CornerRadius" Value="14" />
+ <Setter Property="ClipToBounds" Value="True" />
+ <Setter Property="Background" Value="{DynamicResource SurfaceAltBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" />
+ <Setter Property="BorderThickness" Value="1" />
+ <Setter Property="Padding" Value="0" />
+ <Setter Property="MinWidth" Value="160" />
+ </Style>
+ <Style Selector="Window.material-you NumericUpDown:pointerover">
+ <Setter Property="Background" Value="{DynamicResource SurfaceContainerHighestBrush}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentBrush}" />
+ </Style>
+
+ <!-- Donut Menu Control -->
+ <Style Selector="Window.material-you c|DonutMenu, c|DonutMenu.material-you">
+ <Setter Property="IsMaterialYou" Value="True" />
+ </Style>
+
<!-- ───────── Page content fade-in (keyframes can't animate RenderTransform, so Margin slides) ───────── -->
<Style Selector="ContentControl.page > :is(Control)">
<Style.Animations>
@@ -235,18 +1004,35 @@
</Style.Animations>
</Style>
+ <!-- ───────── History Card fade & slide animation for search filtering ───────── -->
+ <Style Selector="Border.history-card">
+ <Style.Animations>
+ <Animation Duration="0:0:0.22" Easing="CubicEaseOut" FillMode="Forward">
+ <KeyFrame Cue="0%">
+ <Setter Property="Opacity" Value="0" />
+ <Setter Property="Margin" Value="0,8,0,-8" />
+ </KeyFrame>
+ <KeyFrame Cue="100%">
+ <Setter Property="Opacity" Value="1" />
+ <Setter Property="Margin" Value="0" />
+ </KeyFrame>
+ </Animation>
+ </Style.Animations>
+ </Style>
+
<!-- ───────── Reduced motion: remove every transition and animation above ───────── -->
- <Style Selector="Window.reduced-motion :is(Button), Window.reduced-motion :is(ToggleButton), Window.reduced-motion Border.chip, Window.reduced-motion ListBoxItem">
+ <Style Selector="Window.reduced-motion :is(Button), Window.reduced-motion :is(ToggleButton), Window.reduced-motion Border.chip, Window.reduced-motion ListBoxItem, Window.reduced-motion Slider /template/ Thumb#PART_Thumb">
<Setter Property="Transitions" Value="{x:Null}" />
</Style>
- <Style Selector="Window.reduced-motion Button:pressed, Window.reduced-motion ToggleButton:pressed, Window.reduced-motion Border.chip:pointerover, Window.reduced-motion ListBox.nav ListBoxItem:pointerover">
+ <Style Selector="Window.reduced-motion Button:pressed, Window.reduced-motion ToggleButton:pressed, Window.reduced-motion Border.chip:pointerover, Window.reduced-motion ListBox.nav ListBoxItem:pointerover, Window.reduced-motion Slider /template/ Thumb#PART_Thumb:pointerover">
<Setter Property="RenderTransform" Value="none" />
</Style>
- <Style Selector="Window.reduced-motion ContentControl.page > :is(Control)">
+ <Style Selector="Window.reduced-motion ContentControl.page > :is(Control), Window.reduced-motion Border.history-card">
<Style.Animations>
<Animation Duration="0:0:0.001" FillMode="Forward">
<KeyFrame Cue="100%">
<Setter Property="Opacity" Value="1" />
+ <Setter Property="Margin" Value="0" />
</KeyFrame>
</Animation>
</Style.Animations>
diff --git a/src/Filee.App/Views/Pages/PresetsPage.axaml b/src/Filee.App/Views/Pages/PresetsPage.axaml
index 3da5b6da..88829fb9 100644
--- a/src/Filee.App/Views/Pages/PresetsPage.axaml
+++ b/src/Filee.App/Views/Pages/PresetsPage.axaml
@@ -28,7 +28,7 @@
<PathIcon Width="14" Height="14" Margin="10,0,0,0" Data="{StaticResource Icon.Search}" Foreground="{DynamicResource TextSecondaryBrush}" />
</TextBox.InnerLeftContent>
</TextBox>
- <ListBox Classes="soft" ItemsSource="{Binding VisiblePresets}" SelectedItem="{Binding SelectedPreset}">
+ <ListBox Classes="soft" ItemsSource="{Binding VisiblePresets}" SelectedItem="{Binding SelectedPreset}" Margin="0,0,8,0">
<ListBox.ItemTemplate>
<DataTemplate x:DataType="vm:PresetListItem">
<StackPanel>
diff --git a/src/Filee.App/Views/Pages/ToolbarPage.axaml b/src/Filee.App/Views/Pages/ToolbarPage.axaml
index 62e7ddb4..d2581e3b 100644
--- a/src/Filee.App/Views/Pages/ToolbarPage.axaml
+++ b/src/Filee.App/Views/Pages/ToolbarPage.axaml
@@ -266,7 +266,7 @@
</Grid>
<Grid ColumnDefinitions="90,*">
<TextBlock Classes="label" VerticalAlignment="Center" Text="{DynamicResource toolbar.opacity}" />
- <Slider Grid.Column="1" Minimum="50" Maximum="100" Value="{Binding SliceOpacity}" />
+ <Slider Grid.Column="1" Minimum="10" Maximum="100" Value="{Binding SliceOpacity}" />
</Grid>
</StackPanel>
</Border>
diff --git a/src/Filee.App/Views/PresetEditorView.axaml b/src/Filee.App/Views/PresetEditorView.axaml
index be17c37f..e2cb7e3a 100644
--- a/src/Filee.App/Views/PresetEditorView.axaml
+++ b/src/Filee.App/Views/PresetEditorView.axaml
@@ -78,8 +78,9 @@
</StackPanel>
</Grid>
<Grid ColumnDefinitions="Auto,12,*">
- <CheckBox Content="{DynamicResource presets.dpi}" IsChecked="{Binding SetDpi}" />
- <NumericUpDown Grid.Column="2" Value="{Binding Dpi}" Minimum="36" Maximum="2400" Increment="50" FormatString="0" IsEnabled="{Binding SetDpi}" />
+ <CheckBox Content="{DynamicResource presets.dpi}" IsChecked="{Binding SetDpi}" VerticalAlignment="Center" />
+ <NumericUpDown Grid.Column="2" Value="{Binding Dpi}" Minimum="36" Maximum="2400" Increment="50" FormatString="0"
+ IsEnabled="{Binding SetDpi}" HorizontalAlignment="Left" Width="160" />
</Grid>
<WrapPanel>
<CheckBox Content="{DynamicResource presets.keep_metadata}" IsChecked="{Binding KeepMetadata}" Margin="0,0,18,0" />
diff --git a/src/Filee.App/Views/ToastWindow.axaml b/src/Filee.App/Views/ToastWindow.axaml
index 9d8498c9..8e3b6a1c 100644
--- a/src/Filee.App/Views/ToastWindow.axaml
+++ b/src/Filee.App/Views/ToastWindow.axaml
@@ -44,6 +44,13 @@
<Setter Property="MinHeight" Value="6" />
<Setter Property="Height" Value="6" />
</Style>
+ <Style Selector="Window.material-you ProgressBar">
+ <Setter Property="CornerRadius" Value="999" />
+ <Setter Property="MinHeight" Value="8" />
+ <Setter Property="Height" Value="8" />
+ <Setter Property="Foreground" Value="{DynamicResource AccentBrush}" />
+ <Setter Property="Background" Value="{DynamicResource AccentFaintBrush}" />
+ </Style>
</Window.Styles>
<ItemsControl x:Name="Jobs" ItemsSource="{Binding ToastJobs}" Margin="12">