style(ui): Material Design icons for the detail pane
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
aef41f0594
commit
20b5ff8f3e
@@ -34,11 +34,7 @@
|
||||
resolve and IsVisible would fall back to its default (true). -->
|
||||
<StackPanel Orientation="Horizontal" Spacing="4" Margin="0,4,0,0"
|
||||
IsVisible="{Binding Task.HasBranch, FallbackValue=False}">
|
||||
<!-- Icon.GitBranch is line-art: stroke-rendered, PathIcon would fill the lines away -->
|
||||
<Viewbox Width="10" Height="10">
|
||||
<Path Classes="icon-stroke" Data="{StaticResource Icon.GitBranch}"
|
||||
StrokeThickness="2.4"/>
|
||||
</Viewbox>
|
||||
<PathIcon Width="10" Height="10" Data="{Binding Source='mdi:SourceBranch', Converter={StaticResource IconKey}}"/>
|
||||
<TextBlock Classes="meta" Text="{Binding Task.Branch}"/>
|
||||
</StackPanel>
|
||||
|
||||
@@ -59,7 +55,7 @@
|
||||
IsVisible="{Binding !IsRunning}"
|
||||
VerticalAlignment="Top"
|
||||
Margin="6,0,0,0">
|
||||
<PathIcon Classes="danger" Data="{StaticResource Icon.Trash}" Width="14" Height="14"/>
|
||||
<PathIcon Classes="danger" Data="{Binding Source='mdi:TrashCanOutline', Converter={StaticResource IconKey}}" Width="14" Height="14"/>
|
||||
</Button>
|
||||
|
||||
<!-- Column 1: skull button (running) -->
|
||||
@@ -69,7 +65,7 @@
|
||||
IsVisible="{Binding IsRunning}"
|
||||
VerticalAlignment="Top"
|
||||
Margin="6,0,0,0">
|
||||
<PathIcon Classes="danger" Data="{StaticResource Icon.Skull}" Width="14" Height="14"/>
|
||||
<PathIcon Classes="danger" Data="{Binding Source='mdi:SkullOutline', Converter={StaticResource IconKey}}" Width="14" Height="14"/>
|
||||
</Button>
|
||||
|
||||
<!-- Column 2: gear button with agent settings flyout -->
|
||||
@@ -78,7 +74,7 @@
|
||||
IsEnabled="{Binding AgentSettings.IsEnabled}"
|
||||
VerticalAlignment="Top"
|
||||
Margin="6,0,0,0">
|
||||
<PathIcon Data="{StaticResource Icon.Settings}" Width="15" Height="15"/>
|
||||
<PathIcon Data="{Binding Source='mdi:Cog', Converter={StaticResource IconKey}}" Width="15" Height="15"/>
|
||||
<Button.Flyout>
|
||||
<Flyout Placement="BottomEdgeAlignedRight" ShowMode="Standard">
|
||||
<StackPanel Width="340" Spacing="10" Margin="4">
|
||||
|
||||
Reference in New Issue
Block a user