style(ui): render review actions as bracketed terminal text
Replace the chromed btn/accent buttons in the review prompt with borderless bracketed text actions ([Retry] [Reset]) so they read as terminal commands. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -23,6 +23,31 @@
|
|||||||
<Setter Property="Background" Value="{StaticResource Surface3Brush}" />
|
<Setter Property="Background" Value="{StaticResource Surface3Brush}" />
|
||||||
<Setter Property="TextElement.Foreground" Value="{StaticResource AccentBrush}" />
|
<Setter Property="TextElement.Foreground" Value="{StaticResource AccentBrush}" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
|
<!-- Terminal prompt action: bracketed text, no button chrome -->
|
||||||
|
<Style Selector="Button.prompt-action">
|
||||||
|
<Setter Property="Background" Value="Transparent" />
|
||||||
|
<Setter Property="BorderThickness" Value="0" />
|
||||||
|
<Setter Property="Padding" Value="2,0" />
|
||||||
|
<Setter Property="CornerRadius" Value="0" />
|
||||||
|
<Setter Property="Cursor" Value="Hand" />
|
||||||
|
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
|
||||||
|
<Setter Property="FontSize" Value="{StaticResource FontSizeMono}" />
|
||||||
|
<Setter Property="Foreground" Value="{StaticResource TextMuteBrush}" />
|
||||||
|
</Style>
|
||||||
|
<Style Selector="Button.prompt-action /template/ ContentPresenter">
|
||||||
|
<Setter Property="Background" Value="Transparent" />
|
||||||
|
</Style>
|
||||||
|
<Style Selector="Button.prompt-action:pointerover /template/ ContentPresenter">
|
||||||
|
<Setter Property="Background" Value="Transparent" />
|
||||||
|
<Setter Property="TextElement.Foreground" Value="{StaticResource TextBrush}" />
|
||||||
|
</Style>
|
||||||
|
<Style Selector="Button.prompt-action.accent">
|
||||||
|
<Setter Property="Foreground" Value="{StaticResource AccentBrush}" />
|
||||||
|
</Style>
|
||||||
|
<Style Selector="Button.prompt-action.accent:pointerover /template/ ContentPresenter">
|
||||||
|
<Setter Property="TextElement.Foreground" Value="{StaticResource MossBrightBrush}" />
|
||||||
|
</Style>
|
||||||
</UserControl.Styles>
|
</UserControl.Styles>
|
||||||
|
|
||||||
<!-- Outer terminal card — Padding="0" so header/strip span edge-to-edge;
|
<!-- Outer terminal card — Padding="0" so header/strip span edge-to-edge;
|
||||||
@@ -171,11 +196,11 @@
|
|||||||
VerticalContentAlignment="Center"
|
VerticalContentAlignment="Center"
|
||||||
FontFamily="{StaticResource MonoFont}"
|
FontFamily="{StaticResource MonoFont}"
|
||||||
FontSize="{StaticResource FontSizeMono}" />
|
FontSize="{StaticResource FontSizeMono}" />
|
||||||
<StackPanel Grid.Column="2" Orientation="Horizontal" Spacing="8"
|
<StackPanel Grid.Column="2" Orientation="Horizontal" Spacing="10"
|
||||||
VerticalAlignment="Top" Margin="10,0,0,0">
|
VerticalAlignment="Top" Margin="12,2,0,0">
|
||||||
<Button Classes="btn accent" Content="Retry"
|
<Button Classes="prompt-action accent" Content="[Retry]"
|
||||||
Command="{Binding RejectReviewCommand}" />
|
Command="{Binding RejectReviewCommand}" />
|
||||||
<Button Classes="btn" Content="Reset"
|
<Button Classes="prompt-action" Content="[Reset]"
|
||||||
Command="{Binding ParkReviewCommand}" />
|
Command="{Binding ParkReviewCommand}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
Reference in New Issue
Block a user