a502322188
손상된 .git 히스토리(missing tree)로 재초기화 후 작업트리 전체 커밋. .claude/ 만 제외(로컬 에이전트 설정). 구 저장소 백업(.git_corrupt_backup/) 포함. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
107 lines
5.2 KiB
XML
107 lines
5.2 KiB
XML
<Application x:Class="ErvDashboard.App"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
StartupUri="MainWindow.xaml">
|
|
<Application.Resources>
|
|
<!-- ===== Flat Light 팔레트 ===== -->
|
|
<SolidColorBrush x:Key="AppBg" Color="#F4F6FB"/>
|
|
<SolidColorBrush x:Key="CardBg" Color="#FFFFFF"/>
|
|
<SolidColorBrush x:Key="CardBorder" Color="#E3E7EF"/>
|
|
<SolidColorBrush x:Key="TextPrimary" Color="#1F2733"/>
|
|
<SolidColorBrush x:Key="TextSecondary" Color="#8A93A6"/>
|
|
<SolidColorBrush x:Key="Accent" Color="#3B82F6"/>
|
|
<SolidColorBrush x:Key="AccentSoft" Color="#E7F0FF"/>
|
|
<SolidColorBrush x:Key="Good" Color="#22C55E"/>
|
|
<SolidColorBrush x:Key="Warn" Color="#F59E0B"/>
|
|
<SolidColorBrush x:Key="Bad" Color="#EF4444"/>
|
|
<SolidColorBrush x:Key="Track" Color="#EDEFF4"/>
|
|
|
|
<!-- 공통 폰트 -->
|
|
<Style TargetType="{x:Type FrameworkElement}">
|
|
<Setter Property="TextOptions.TextFormattingMode" Value="Display"/>
|
|
</Style>
|
|
|
|
<!-- 카드 컨테이너 -->
|
|
<Style x:Key="Card" TargetType="Border">
|
|
<Setter Property="Background" Value="{StaticResource CardBg}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource CardBorder}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="CornerRadius" Value="12"/>
|
|
<Setter Property="Padding" Value="16"/>
|
|
<Setter Property="Margin" Value="6"/>
|
|
</Style>
|
|
|
|
<!-- 카드 제목 -->
|
|
<Style x:Key="CardTitle" TargetType="TextBlock">
|
|
<Setter Property="FontSize" Value="13"/>
|
|
<Setter Property="FontWeight" Value="SemiBold"/>
|
|
<Setter Property="Foreground" Value="{StaticResource TextSecondary}"/>
|
|
<Setter Property="Margin" Value="0,0,0,10"/>
|
|
</Style>
|
|
|
|
<!-- 라벨 -->
|
|
<Style x:Key="FieldLabel" TargetType="TextBlock">
|
|
<Setter Property="FontSize" Value="12"/>
|
|
<Setter Property="Foreground" Value="{StaticResource TextSecondary}"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<!-- 값 (숫자) -->
|
|
<Style x:Key="FieldValue" TargetType="TextBlock">
|
|
<Setter Property="FontSize" Value="15"/>
|
|
<Setter Property="FontWeight" Value="SemiBold"/>
|
|
<Setter Property="Foreground" Value="{StaticResource TextPrimary}"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<!-- 읽기전용 뱃지 -->
|
|
<Style x:Key="ReadOnlyBadge" TargetType="Border">
|
|
<Setter Property="Background" Value="{StaticResource Track}"/>
|
|
<Setter Property="CornerRadius" Value="4"/>
|
|
<Setter Property="Padding" Value="5,1"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<!-- 일반 버튼 (Flat) -->
|
|
<Style x:Key="FlatButton" TargetType="Button">
|
|
<Setter Property="Background" Value="{StaticResource CardBg}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource TextPrimary}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource CardBorder}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="Padding" Value="14,7"/>
|
|
<Setter Property="Margin" Value="3"/>
|
|
<Setter Property="FontSize" Value="13"/>
|
|
<Setter Property="Cursor" Value="Hand"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="Button">
|
|
<Border x:Name="bd" Background="{TemplateBinding Background}"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
CornerRadius="8">
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter TargetName="bd" Property="Background" Value="{StaticResource AccentSoft}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="Opacity" Value="0.45"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!-- 콤보박스 (간단 Flat) -->
|
|
<Style TargetType="ComboBox">
|
|
<Setter Property="Padding" Value="8,5"/>
|
|
<Setter Property="FontSize" Value="13"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource CardBorder}"/>
|
|
<Setter Property="Background" Value="{StaticResource CardBg}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource TextPrimary}"/>
|
|
</Style>
|
|
</Application.Resources>
|
|
</Application>
|