Convert all url usages to use the Uri class instead of raw strings.
[pithos-ms-client] / trunk / Pithos.Client.WPF / PithosStyles.xaml
1 <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
3
4     <Style x:Key="ButtonStyle" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
5         <Setter Property="Margin" Value="5"/>
6         <Setter Property="Height" Value="25"/>
7         <Setter Property="Width" Value="75" />
8         <Setter Property="Padding" Value="3"/>
9         <Setter Property="Background" Value="#3582ac" />
10         <Setter Property="BorderBrush" Value="White" />
11     </Style>
12
13     <Style x:Key="BorderlessButton" TargetType="{x:Type Button}">
14         <Setter Property="Background" Value="#3582ac" />
15         <Setter Property="Height" Value="23" />
16         <Setter Property="Width" Value="100" />
17         <Setter Property="Template">
18             <Setter.Value>
19                 <ControlTemplate TargetType="{x:Type Button}">
20                     <Border Name="border" Background="{TemplateBinding Background}">
21                         <ContentPresenter Name="content" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
22                          VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
23                     </Border>
24                     <ControlTemplate.Triggers>
25                         <Trigger Property="IsEnabled" Value="false">
26                             <Setter Property="Background" Value="Transparent"/>
27                         </Trigger>
28                         <Trigger Property="IsMouseOver" Value="True">
29                             <Setter Property="Background" Value="#f89a1c" />
30                         </Trigger>
31                         <Trigger Property="IsPressed" Value="True">
32                             <Setter Property="Background" Value="#f89a1c" />                            
33                         </Trigger>
34                         <Trigger Property="IsFocused" Value="True">
35                             <Setter Property="Background" Value="#f89a1c" />                            
36                         </Trigger>
37                     </ControlTemplate.Triggers>
38                 </ControlTemplate>
39             </Setter.Value>
40         </Setter>
41     </Style>
42
43     <Style TargetType="Grid" >
44         <Setter Property="Background" Value="White" />
45     </Style>
46     
47     <Style TargetType="Window" >
48         <!-- <Setter Property="Background" Value="{StaticResource {x:Static SystemColors.ControlBrushKey}}"/>-->
49         <Setter Property="Background" Value="White"/>
50         <Setter Property="ResizeMode" Value="NoResize"/>
51         <Setter Property="WindowStyle" Value="ToolWindow" />
52     </Style>
53     
54     <Style TargetType="TabControl" >
55         <Setter Property="Background" Value="White" />
56         <Setter Property="BorderBrush" Value="White" />
57     </Style>
58
59     <Style TargetType="{x:Type TabItem}">
60         <Setter Property="Background" Value="White" />
61     </Style>
62
63     <Style x:Key="MediumButton" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
64         <Setter Property="Width" Value="75"/>
65         <Setter Property="Height" Value="25"/>
66     </Style>
67 </ResourceDictionary>