|
18 | 18 |
|
19 | 19 | <system:String x:Key="DonateLink">https://paypal.me/HeikoH89</system:String> |
20 | 20 | <system:String x:Key="GitHubRepoLink">https://github.com/Codectory/AutoHDR</system:String> |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | 21 | <Color x:Key="ActiveColor">#2ac987</Color> |
26 | 22 | <Color x:Key="AccentColor">#ff6666</Color> |
27 | 23 |
|
|
66 | 62 | <Color x:Key="HeaderTopColor">#FFC5CBF9</Color> |
67 | 63 | <Color x:Key="DatagridCurrentCellBorderColor">Black</Color> |
68 | 64 | <Color x:Key="SliderTrackDarkColor">#FFC5CBF9</Color> |
69 | | - |
| 65 | + <system:Double x:Key="DefaultFontSize">15</system:Double> |
70 | 66 |
|
71 | 67 |
|
72 | 68 | <Color x:Key="NavButtonFrameColor">#fa4d4d</Color> |
|
125 | 121 | <StaticResource x:Key="ButtonBackgroundBrush" ResourceKey="AccentBrush"/> |
126 | 122 | <CornerRadius x:Key="CornerRadius">3</CornerRadius> |
127 | 123 |
|
128 | | - <Style TargetType="TextBlock" > |
| 124 | + <Style x:Key="DefaultLabel" TargetType="Label"> |
| 125 | + <Setter Property="FontSize" Value="{StaticResource DefaultFontSize}"/> |
| 126 | + </Style> |
| 127 | + <Style TargetType="Label" BasedOn="{StaticResource DefaultLabel}"/> |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + <Style x:Key="DefaultTextBlock" TargetType="TextBlock"> |
| 132 | + <Setter Property="FontSize" Value="15"/> |
129 | 133 | <Setter Property="Foreground" Value="Black"/> |
| 134 | + |
130 | 135 | </Style> |
| 136 | + <Style TargetType="TextBlock" BasedOn="{StaticResource DefaultTextBlock}"/> |
| 137 | + |
131 | 138 |
|
132 | 139 | <Style x:Key="RoundedBorder" TargetType="Border"> |
133 | 140 | <Setter Property="CornerRadius" Value="{StaticResource CornerRadius}"/> |
|
148 | 155 |
|
149 | 156 | <Style x:Key="DefaultTextBox" TargetType="TextBox" > |
150 | 157 | <Setter Property="BorderThickness" Value="0"/> |
| 158 | + <Setter Property="FontSize" Value="{StaticResource DefaultFontSize}"/> |
| 159 | + |
151 | 160 | <Setter Property="Template"> |
152 | 161 | <Setter.Value> |
153 | 162 | <ControlTemplate TargetType="TextBoxBase"> |
|
190 | 199 | </Style> |
191 | 200 | <Style TargetType="TextBox" BasedOn="{StaticResource DefaultTextBox}"/> |
192 | 201 |
|
193 | | - |
194 | 202 | <Style x:Key="DefaultButton" TargetType="Button" > |
195 | 203 | <Setter Property="Background" Value="{StaticResource AccentBrush}"/> |
196 | 204 | <Setter Property="Foreground" Value="{StaticResource ButtonForegroundBrush}"/> |
197 | 205 | <Setter Property="Height" Value="25"/> |
| 206 | + <Setter Property="FontSize" Value="20"/> |
| 207 | + |
198 | 208 | <Setter Property="Template"> |
199 | 209 | <Setter.Value> |
200 | 210 | <ControlTemplate TargetType="Button"> |
|
272 | 282 |
|
273 | 283 | <Setter Property="SnapsToDevicePixels" |
274 | 284 | Value="true" /> |
| 285 | + |
| 286 | + <Setter Property="Height" |
| 287 | + Value="25" /> |
| 288 | + <Setter Property="Width" |
| 289 | + Value="25" /> |
275 | 290 | <Setter Property="OverridesDefaultStyle" |
276 | 291 | Value="true" /> |
277 | 292 | <Setter Property="FocusVisualStyle" |
|
281 | 296 | <ControlTemplate TargetType="{x:Type CheckBox}"> |
282 | 297 | <BulletDecorator Background="Transparent"> |
283 | 298 | <BulletDecorator.Bullet> |
284 | | - <Border x:Name="Border" Width="15" Height="15" CornerRadius="{StaticResource CornerRadius}" BorderThickness="1" BorderBrush="{DynamicResource AccentBrush}"> |
| 299 | + <Border x:Name="Border" Width="{TemplateBinding Width}" Height="{TemplateBinding Height}" CornerRadius="{StaticResource CornerRadius}" BorderThickness="1" BorderBrush="{DynamicResource AccentBrush}"> |
285 | 300 | <Border.Background> |
286 | 301 | <SolidColorBrush Color="Transparent"/> |
287 | 302 | </Border.Background> |
|
640 | 655 | </Style> |
641 | 656 | <Style TargetType="ComboBox" BasedOn="{StaticResource DefaultComboBox}"/> |
642 | 657 |
|
643 | | - |
644 | 658 | <Style x:Key="DefaultTabHeader" TargetType="TabItem"> |
645 | 659 | <Setter Property="Background" Value="{StaticResource AccentBrush}"/> |
646 | 660 | <Setter Property="Foreground" Value="{StaticResource ButtonForegroundBrush}"/> |
|
655 | 669 | <DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsSelected}" Value="True" > |
656 | 670 | <Setter TargetName="HeaderContent" Property="Foreground" Value="{StaticResource ButtonForegroundBrush}"/> |
657 | 671 | <Setter TargetName="HeaderBorder" Property="Background" Value="{StaticResource AccentBrush}"/> |
658 | | - <Setter TargetName="HeaderContent" Property="FontSize" Value="18"/> |
| 672 | + <Setter TargetName="HeaderContent" Property="FontSize" Value="{StaticResource DefaultFontSize}"/> |
| 673 | + <Setter TargetName="HeaderContent" Property="FontWeight" Value="DemiBold"/> |
659 | 674 |
|
660 | 675 | </DataTrigger> |
661 | 676 |
|
662 | 677 | <DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsSelected}" Value="False" > |
663 | 678 | <Setter TargetName="HeaderContent" Property="Foreground" Value="Black"/> |
| 679 | + <Setter TargetName="HeaderContent" Property="FontSize" Value="{StaticResource DefaultFontSize}"/> |
| 680 | + |
664 | 681 | </DataTrigger> |
665 | 682 |
|
666 | 683 | </ControlTemplate.Triggers> |
|
788 | 805 | <DataTemplate DataType="{x:Type info:AutoHDRInfo}"> |
789 | 806 | <views:AutoHDRInfoView></views:AutoHDRInfoView> |
790 | 807 | </DataTemplate> |
| 808 | + <DataTemplate DataType="{x:Type info:AutoHDRLicense}"> |
| 809 | + <views:AutoHDRLicenseView></views:AutoHDRLicenseView> |
| 810 | + </DataTemplate> |
791 | 811 | <DataTemplate DataType="{x:Type info:LogsStorage}"> |
792 | 812 | <views:AutoHDRLogsView></views:AutoHDRLogsView> |
793 | 813 | </DataTemplate> |
|
0 commit comments