- 권한 행 패딩/마진, 아이콘/체크마크 간격, 제목/설명 타이포를 컴팩트하게 재정렬\n- 요약 카드 제목/본문 폰트 및 여백을 축소해 기본 화면에서 핵심 모드 가시성을 강화\n- claw-code 스타일의 빠른 스캔 밀도에 맞춰 권한 팝업 가독성/선택 동선을 보강\n- 문서 동기화: README.md, docs/DEVELOPMENT.md에 2026-04-04 16:58(KST) 이력 반영\n- 검증: dotnet build 경고0/오류0, dotnet test 필터 65 passed
This commit is contained in:
@@ -1664,7 +1664,7 @@ public partial class ChatWindow : Window
|
||||
{
|
||||
Background = Brushes.Transparent,
|
||||
CornerRadius = new CornerRadius(6),
|
||||
Padding = new Thickness(7, 4, 7, 4),
|
||||
Padding = new Thickness(8, 5, 8, 5),
|
||||
Cursor = Cursors.Hand,
|
||||
Focusable = true,
|
||||
Child = headerGrid,
|
||||
@@ -1722,8 +1722,8 @@ public partial class ChatWindow : Window
|
||||
: BrushFromHex("#C7D2FE"),
|
||||
BorderThickness = new Thickness(1),
|
||||
CornerRadius = new CornerRadius(8),
|
||||
Padding = new Thickness(9, 7, 9, 7),
|
||||
Margin = new Thickness(0, 0, 0, 5),
|
||||
Padding = new Thickness(8, 6, 8, 6),
|
||||
Margin = new Thickness(0, 0, 0, 4),
|
||||
Child = new StackPanel
|
||||
{
|
||||
Children =
|
||||
@@ -1731,7 +1731,7 @@ public partial class ChatWindow : Window
|
||||
new TextBlock
|
||||
{
|
||||
Text = $"현재 권한 모드 · {PermissionModeCatalog.ToDisplayLabel(summary.EffectiveMode)}",
|
||||
FontSize = 11.5,
|
||||
FontSize = 11,
|
||||
FontWeight = FontWeights.SemiBold,
|
||||
Foreground = string.Equals(summary.RiskLevel, "high", StringComparison.OrdinalIgnoreCase)
|
||||
? BrushFromHex("#C2410C")
|
||||
@@ -1742,8 +1742,8 @@ public partial class ChatWindow : Window
|
||||
new TextBlock
|
||||
{
|
||||
Text = $"{summary.Description} 기본값 {PermissionModeCatalog.ToDisplayLabel(summary.DefaultMode)} · 예외 {summary.OverrideCount}개",
|
||||
FontSize = 9.5,
|
||||
Margin = new Thickness(0, 3, 0, 0),
|
||||
FontSize = 9,
|
||||
Margin = new Thickness(0, 2, 0, 0),
|
||||
Foreground = TryFindResource("SecondaryText") as Brush ?? Brushes.Gray,
|
||||
TextTrimming = TextTrimming.CharacterEllipsis,
|
||||
MaxWidth = 260,
|
||||
@@ -1935,8 +1935,8 @@ public partial class ChatWindow : Window
|
||||
BorderBrush = isActive ? BrushFromHex("#C7D2FE") : Brushes.Transparent,
|
||||
BorderThickness = new Thickness(1),
|
||||
CornerRadius = new CornerRadius(8),
|
||||
Padding = new Thickness(9, 5, 9, 5),
|
||||
Margin = new Thickness(0, 1.5, 0, 1.5),
|
||||
Padding = new Thickness(8, 4, 8, 4),
|
||||
Margin = new Thickness(0, 1, 0, 1),
|
||||
Cursor = Cursors.Hand,
|
||||
Focusable = true,
|
||||
};
|
||||
@@ -1951,9 +1951,9 @@ public partial class ChatWindow : Window
|
||||
{
|
||||
Text = item.Icon,
|
||||
FontFamily = new FontFamily("Segoe MDL2 Assets"),
|
||||
FontSize = 13,
|
||||
FontSize = 12,
|
||||
Foreground = BrushFromHex(item.ColorHex),
|
||||
Margin = new Thickness(2, 0, 9, 0),
|
||||
Margin = new Thickness(1, 0, 8, 0),
|
||||
VerticalAlignment = VerticalAlignment.Center,
|
||||
});
|
||||
|
||||
@@ -1961,18 +1961,18 @@ public partial class ChatWindow : Window
|
||||
textStack.Children.Add(new TextBlock
|
||||
{
|
||||
Text = item.Title,
|
||||
FontSize = 11,
|
||||
FontSize = 10.5,
|
||||
FontWeight = FontWeights.SemiBold,
|
||||
Foreground = TryFindResource("PrimaryText") as Brush ?? Brushes.White,
|
||||
});
|
||||
textStack.Children.Add(new TextBlock
|
||||
{
|
||||
Text = item.Description,
|
||||
FontSize = 9.5,
|
||||
Margin = new Thickness(0, 1.5, 0, 0),
|
||||
FontSize = 9,
|
||||
Margin = new Thickness(0, 1, 0, 0),
|
||||
Foreground = TryFindResource("SecondaryText") as Brush ?? Brushes.Gray,
|
||||
TextWrapping = TextWrapping.Wrap,
|
||||
LineHeight = 13.5,
|
||||
LineHeight = 13,
|
||||
MaxWidth = 230,
|
||||
});
|
||||
Grid.SetColumn(textStack, 1);
|
||||
@@ -1982,11 +1982,11 @@ public partial class ChatWindow : Window
|
||||
{
|
||||
Text = isActive ? "\uE73E" : "",
|
||||
FontFamily = new FontFamily("Segoe MDL2 Assets"),
|
||||
FontSize = 11.5,
|
||||
FontSize = 11,
|
||||
FontWeight = FontWeights.Bold,
|
||||
Foreground = BrushFromHex("#2563EB"),
|
||||
VerticalAlignment = VerticalAlignment.Center,
|
||||
Margin = new Thickness(10, 0, 1, 0),
|
||||
Margin = new Thickness(8, 0, 1, 0),
|
||||
};
|
||||
Grid.SetColumn(check, 2);
|
||||
row.Children.Add(check);
|
||||
|
||||
Reference in New Issue
Block a user