This repository has been archived by the owner on Jul 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathBorderStyles.xaml
70 lines (63 loc) · 2.66 KB
/
BorderStyles.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style
x:Key="XivToolsControlHoverBorder"
TargetType="{x:Type Border}">
<Setter Property="Background" Value="{DynamicResource ControlHighlightBrush}" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="SnapsToDevicePixels" Value="True" />
<Setter Property="BorderBrush" Value="{DynamicResource ControlBackgroundBrush}" />
<Setter Property="CornerRadius" Value="4" />
<Setter Property="ClipToBounds" Value="True" />
<Setter Property="Margin" Value="2" />
<Setter Property="UseLayoutRounding" Value="True" />
</Style>
<Style
x:Key="InsetPanel"
TargetType="{x:Type Border}">
<Setter Property="Background" Value="#33000000" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="SnapsToDevicePixels" Value="True" />
<Setter Property="BorderBrush" Value="#55000000" />
<Setter Property="CornerRadius" Value="6" />
<Setter Property="ClipToBounds" Value="True" />
<Setter Property="UseLayoutRounding" Value="True" />
</Style>
<Style
x:Key="XivToolsControlBorder"
TargetType="{x:Type Border}">
<Setter Property="Background" Value="{DynamicResource ControlBackgroundBrush}" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="SnapsToDevicePixels" Value="True" />
<Setter Property="BorderBrush" Value="{DynamicResource ControlBackgroundBrush}" />
<Setter Property="CornerRadius" Value="6" />
<Setter Property="ClipToBounds" Value="True" />
<Setter Property="Padding" Value="0" />
<Setter Property="UseLayoutRounding" Value="True" />
</Style>
<Style
x:Key="XivToolsSelectedBorder"
TargetType="{x:Type Border}">
<Setter Property="Background" Value="{DynamicResource TrimBrush}" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="SnapsToDevicePixels" Value="True" />
<Setter Property="CornerRadius" Value="4,0,0,4" />
<Setter Property="Padding" Value="0" />
<Setter Property="Margin" Value="2" />
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="Width" Value="4" />
<Setter Property="UseLayoutRounding" Value="True" />
</Style>
<Style
x:Key="XivToolsKeyboardFocusBorder"
TargetType="{x:Type Border}">
<Setter Property="BorderBrush" Value="{DynamicResource TrimBrush}" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="SnapsToDevicePixels" Value="True" />
<Setter Property="CornerRadius" Value="6" />
<Setter Property="Padding" Value="0" />
<Setter Property="Margin" Value="0" />
<Setter Property="UseLayoutRounding" Value="True" />
</Style>
</ResourceDictionary>