|
23 | 23 | <BitmapImage x:Key="ImageIcon" UriSource="pack://application:,,,/Diffuse;component/Images/Icon.png" /> |
24 | 24 |
|
25 | 25 | <!--Fonts--> |
26 | | - <FontFamily x:Key="FontAwesomeBrands">pack://application:,,,/Diffuse;component/Fonts/Brands-Regular-400.otf#Font Awesome 6 Brands Regular</FontFamily> |
27 | | - <FontFamily x:Key="FontAwesomeDuotone">pack://application:,,,/Diffuse;component/Fonts/Duotone-Solid-900.otf#Font Awesome 6 Duotone Solid</FontFamily> |
28 | | - <FontFamily x:Key="FontAwesomeLight">pack://application:,,,/Diffuse;component/Fonts/Light-300.otf#Font Awesome 6 Pro Light</FontFamily> |
29 | | - <FontFamily x:Key="FontAwesomeRegular">pack://application:,,,/Diffuse;component/Fonts/Regular-400.otf#Font Awesome 6 Pro Regular</FontFamily> |
30 | | - <FontFamily x:Key="FontAwesomeSolid">pack://application:,,,/Diffuse;component/Fonts/Solid-900.otf#Font Awesome 6 Pro Solid</FontFamily> |
31 | | - <FontFamily x:Key="FontAwesomeThin">pack://application:,,,/Diffuse;component/Fonts/Thin-100.otf#Font Awesome 6 Pro Thin</FontFamily> |
32 | | - <FontFamily x:Key="FontAwesomeSharpLight">pack://application:,,,/Diffuse;component/Fonts/Sharp-Light-300.otf#Font Awesome 6 Sharp Light</FontFamily> |
33 | | - <FontFamily x:Key="FontAwesomeSharpRegular">pack://application:,,,/Diffuse;component/Fonts/Sharp-Regular-400.otf#Font Awesome 6 Sharp Regular</FontFamily> |
34 | | - <FontFamily x:Key="FontAwesomeSharpSolid">pack://application:,,,/Diffuse;component/Fonts/Sharp-Solid-900.otf#Font Awesome 6 Sharp Solid</FontFamily> |
35 | | - <FontFamily x:Key="FontAwesomeSharpThin">pack://application:,,,/Diffuse;component/Fonts/Sharp-Thin-100.otf#Font Awesome 6 Sharp Thin</FontFamily> |
| 26 | + <FontFamily x:Key="FontAwesomeBrands">pack://application:,,,/Diffuse;component/Fonts/Brands-Regular-400.otf#Font Awesome 7 Brands</FontFamily> |
| 27 | + <FontFamily x:Key="FontAwesomeLight">pack://application:,,,/Diffuse;component/Fonts/Light-300.otf#Font Awesome 7 Pro Light</FontFamily> |
| 28 | + <FontFamily x:Key="FontAwesomeRegular">pack://application:,,,/Diffuse;component/Fonts/Regular-400.otf#Font Awesome 7 Pro</FontFamily> |
| 29 | + <FontFamily x:Key="FontAwesomeSolid">pack://application:,,,/Diffuse;component/Fonts/Solid-900.otf#Font Awesome 7 Pro Solid</FontFamily> |
| 30 | + <FontFamily x:Key="FontAwesomeThin">pack://application:,,,/Diffuse;component/Fonts/Thin-100.otf#Font Awesome 7 Pro Thin</FontFamily> |
| 31 | + <FontFamily x:Key="FontAwesomeSharpLight">pack://application:,,,/Diffuse;component/Fonts/Sharp-Light-300.otf#Font Awesome 7 Sharp Light</FontFamily> |
| 32 | + <FontFamily x:Key="FontAwesomeSharpRegular">pack://application:,,,/Diffuse;component/Fonts/Sharp-Regular-400.otf#Font Awesome 7 Sharp</FontFamily> |
| 33 | + <FontFamily x:Key="FontAwesomeSharpSolid">pack://application:,,,/Diffuse;component/Fonts/Sharp-Solid-900.otf#Font Awesome 7 Sharp Solid</FontFamily> |
| 34 | + <FontFamily x:Key="FontAwesomeSharpThin">pack://application:,,,/Diffuse;component/Fonts/Sharp-Thin-100.otf#Font Awesome 7 Sharp Thin</FontFamily> |
36 | 35 |
|
37 | 36 |
|
38 | 37 | <Color x:Key="Accent1">#ff5a7fa7</Color> |
|
182 | 181 |
|
183 | 182 | <Style x:Key="ImageDropZoneStyle" TargetType="{x:Type Border}"> |
184 | 183 | <Setter Property="AllowDrop" Value="False"/> |
| 184 | + <Setter Property="Background" Value="Transparent"/> |
185 | 185 | <Setter Property="BorderBrush" Value="Transparent"/> |
186 | 186 | <Setter Property="BorderThickness" Value="1"/> |
187 | 187 | <Style.Triggers> |
|
193 | 193 | </MultiDataTrigger.Conditions> |
194 | 194 | <MultiDataTrigger.Setters> |
195 | 195 | <Setter Property="AllowDrop" Value="True"/> |
| 196 | + <Setter Property="Background" Value="#20000000"/> |
196 | 197 | <Setter Property="BorderBrush" Value="{StaticResource AccentColour2}"/> |
197 | 198 | </MultiDataTrigger.Setters> |
198 | 199 | </MultiDataTrigger> |
199 | 200 | </Style.Triggers> |
200 | 201 | </Style> |
201 | 202 |
|
| 203 | + <Style x:Key="ImageDropTextStyle" TargetType="{x:Type TextBlock}"> |
| 204 | + <Setter Property="VerticalAlignment" Value="Center"/> |
| 205 | + <Setter Property="HorizontalAlignment" Value="Center"/> |
| 206 | + <Setter Property="Visibility" Value="Collapsed"/> |
| 207 | + <Setter Property="Foreground" Value="{StaticResource AccentColour2}"/> |
| 208 | + <Style.Triggers> |
| 209 | + <MultiDataTrigger> |
| 210 | + <MultiDataTrigger.Conditions> |
| 211 | + <Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="True" /> |
| 212 | + <Condition Binding="{Binding IsDragDrop, RelativeSource={RelativeSource AncestorType=CommonControls:ViewControl}}" Value="True" /> |
| 213 | + <Condition Binding="{Binding DragDropType, RelativeSource={RelativeSource AncestorType=CommonControls:ViewControl}}" Value="Image" /> |
| 214 | + </MultiDataTrigger.Conditions> |
| 215 | + <MultiDataTrigger.Setters> |
| 216 | + <Setter Property="Visibility" Value="Visible"/> |
| 217 | + </MultiDataTrigger.Setters> |
| 218 | + </MultiDataTrigger> |
| 219 | + </Style.Triggers> |
| 220 | + </Style> |
| 221 | + |
202 | 222 |
|
203 | 223 | <Style x:Key="VideoDropZoneStyle" TargetType="{x:Type Border}"> |
204 | 224 | <Setter Property="AllowDrop" Value="False"/> |
|
293 | 313 | <Setter Property="Placement" Value="Bottom"/> |
294 | 314 | <Setter Property="FontSize" Value="14"/> |
295 | 315 | <Setter Property="IconSize" Value="17"/> |
296 | | - <Setter Property="IconStyle" Value="Solid"/> |
| 316 | + <Setter Property="IconStyle" Value="SharpLight"/> |
297 | 317 | <Setter Property="FontWeight" Value="Bold"/> |
298 | 318 | <Setter Property="TextOpacity" Value=".8"/> |
299 | 319 | <Setter Property="TextMargin" Value="1,-3,0,0"/> |
|
310 | 330 | <Setter Property="FontWeight" Value="Bold"/> |
311 | 331 | <Setter Property="TextOpacity" Value=".8"/> |
312 | 332 | <Setter Property="IconSize" Value="20"/> |
313 | | - <Setter Property="IconStyle" Value="Solid"/> |
| 333 | + <Setter Property="IconStyle" Value="SharpLight"/> |
314 | 334 | <Setter Property="IconColor" Value="{StaticResource AccentColour2}"/> |
315 | 335 | </Style> |
316 | 336 |
|
|
0 commit comments