PageRenderTime 113ms CodeModel.GetById 66ms app.highlight 8ms RepoModel.GetById 32ms app.codeStats 0ms

/TimeSheetReporting/TimeSheetReporting/Assets/Styles.xaml

#
XAML | 654 lines | 604 code | 24 blank | 26 comment | 0 complexity | d69d756be9d4da303986b19ef5d7ece5 MD5 | raw file
  1<ResourceDictionary
  2  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
  3  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4  xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation">
  5
  6  <!-- ******MAIN PAGE STYLES****** -->
  7  <!-- **************************** -->
  8  <!-- Primary Color Brushes -->
  9  <SolidColorBrush x:Key="NavigationBackgroundColorBrush" Color="#FF484848"/>
 10  <SolidColorBrush x:Key="NavigationForegroundColorBrush" Color="#FFFFFFFF"/>
 11  <SolidColorBrush x:Key="HighLightColorBrush" Color="#FF0097FC"/>
 12  <SolidColorBrush x:Key="HoverHyperlinkForegroundColorBrush" Color="#FFEBF7FF"/>
 13  <SolidColorBrush x:Key="HoverHyperLinkBackgroundColorBrush" Color="#FF747474"/>
 14  <SolidColorBrush x:Key="BodyTextColorBrush" Color="#FF313131"/>
 15
 16  <!-- LayoutRoot Grid Style -->
 17  <Style x:Key="LayoutRootGridStyle" TargetType="Grid">
 18    <Setter Property="Background" Value="#FFFFFFFF"/>
 19  </Style>
 20
 21  <!-- Content Border Style -->
 22  <Style x:Key="ContentBorderStyle" TargetType="Border">
 23    <Setter Property="Background">
 24      <Setter.Value>
 25        <LinearGradientBrush EndPoint="0.5,0.045" StartPoint="0.5,0">
 26          <GradientStop Color="#6FCCCCCC"/>
 27          <GradientStop Color="#00CCCCCC" Offset="1"/>
 28        </LinearGradientBrush>
 29      </Setter.Value>
 30    </Setter>
 31    <Setter Property="BorderBrush" Value="#FFFFFFFF"/>
 32    <Setter Property="BorderThickness" Value="0,3,0,0"/>
 33    <Setter Property="Margin" Value="0,42,0,0"/>
 34    <Setter Property="VerticalAlignment" Value="Stretch"/>
 35    <Setter Property="HorizontalAlignment" Value="Stretch"/>
 36  </Style>
 37
 38  <!-- Content Frame Style -->
 39  <Style x:Key="ContentFrameStyle" TargetType="navigation:Frame">
 40    <Setter Property="Background" Value="Transparent"/>
 41    <Setter Property="BorderBrush" Value="Transparent"/>
 42    <Setter Property="Padding" Value="58,15,58,15"/>
 43    <Setter Property="VerticalContentAlignment" Value="Stretch"/>
 44    <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
 45  </Style>
 46
 47  <!-- Navigation Grid Style -->
 48  <Style x:Key="NavigationGridStyle" TargetType="Grid">
 49    <Setter Property="Background" Value="{StaticResource NavigationBackgroundColorBrush}"/>
 50    <Setter Property="Height" Value="42"/>
 51    <Setter Property="Margin" Value="0"/>
 52    <Setter Property="VerticalAlignment" Value="Top"/>
 53  </Style>
 54
 55  <!-- Branding Border Style -->
 56  <Style x:Key="BrandingBorderStyle" TargetType="Border">
 57    <Setter Property="Height" Value="42"/>
 58    <Setter Property="Margin" Value="25,0,25,0"/>
 59    <Setter Property="VerticalAlignment" Value="Top"/>
 60    <Setter Property="HorizontalAlignment" Value="Left"/>
 61  </Style>
 62
 63  <!-- Branding StackPanel Style -->
 64  <Style x:Key="BrandingStackPanelStyle" TargetType="StackPanel">
 65    <Setter Property="HorizontalAlignment" Value="Left"/>
 66    <Setter Property="Orientation" Value="Horizontal"/>
 67  </Style>
 68
 69  <!-- Logo Path Style -->
 70  <Style x:Key="LogoIcon" TargetType="ContentControl">
 71    <Setter Property="Height" Value="24"/>
 72    <Setter Property="Width" Value="24"/>
 73    <Setter Property="Margin" Value="0,1,10,0"/>
 74    <Setter Property="Template">
 75      <Setter.Value>
 76        <ControlTemplate TargetType="ContentControl">
 77          <Grid>
 78            <Path UseLayoutRounding='False' Fill="{StaticResource HighLightColorBrush}" Stretch="Fill" Data="M8,0 C12.417931,2.8898596E-06 16,3.5814998 16,8 C16,12.417819 12.41803,16 8,16 C3.5816212,16 6.1398991E-06,12.417912 0,8 C1.5351338E-06,6.8954077 0.22386749,5.8431153 0.62867981,4.8860393 C0.65398115,4.82622 0.6799894,4.7667723 0.70669389,4.7077074 L0.73170543,4.6541386 L5.6357112,9.5581446 L3.7429986,11.450858 L3.7429986,11.493001 L11.669835,11.493001 L11.669835,3.5661643 L11.627691,3.5661643 L9.7349787,5.4588776 L4.8993444,0.62324351 L5.0666013,0.55490673 C5.5510159,0.36389247 6.0585575,0.21878535 6.5838675,0.12495131 C6.8465204,0.078035071 7.1136146,0.043936942 7.3844767,0.023327276 C7.5199089,0.013022465 7.6562829,0.0060896641 7.7935166,0.0026129775 C7.862133,0.00087448902 7.9309645,4.5157563E-08 8,0 z"/>
 79          </Grid>
 80        </ControlTemplate>
 81      </Setter.Value>
 82    </Setter>
 83  </Style>
 84
 85  <!-- ApplicationName Style -->
 86  <Style x:Key="ApplicationNameStyle" TargetType="TextBlock">
 87    <Setter Property="Foreground" Value="{StaticResource NavigationForegroundColorBrush}"/>
 88    <Setter Property="FontSize" Value="14"/>
 89    <Setter Property="FontWeight" Value="Bold"/>
 90    <Setter Property="Margin" Value="0,2,0,0"/>
 91    <Setter Property="VerticalAlignment" Value="Center"/>
 92    <Setter Property="Effect">
 93      <Setter.Value>
 94        <DropShadowEffect BlurRadius="10" Opacity="0.25" ShadowDepth="0"/>
 95      </Setter.Value>
 96    </Setter>
 97  </Style>
 98
 99  <!-- Links Border Style -->
100  <Style x:Key="LinksBorderStyle" TargetType="Border">
101    <Setter Property="Height" Value="42"/>
102    <Setter Property="Margin" Value="25,0,25,0"/>
103    <Setter Property="HorizontalAlignment" Value="Right"/>
104  </Style>
105
106  <!-- Links StackPanel Style -->
107  <Style x:Key="LinksStackPanelStyle" TargetType="StackPanel">
108    <Setter Property="VerticalAlignment" Value="Center"/>
109    <Setter Property="HorizontalAlignment" Value="Left"/>
110    <Setter Property="Orientation" Value="Horizontal"/>
111  </Style>
112
113  <!-- Link Style -->
114  <Style x:Key="LinkStyle" TargetType="HyperlinkButton">
115    <Setter Property="Background" Value="{StaticResource HighLightColorBrush}"/>
116    <Setter Property="BorderThickness" Value="1"/>
117    <Setter Property="BorderBrush" Value="#FF9D9492"/>
118    <Setter Property="Foreground" Value="{StaticResource NavigationForegroundColorBrush}"/>
119    <Setter Property="FontSize" Value="12"/>
120    <Setter Property="Cursor" Value="Hand"/>
121    <Setter Property="MinHeight" Value="28"/>
122    <Setter Property="MinWidth" Value="78"/>
123    <Setter Property="VerticalContentAlignment" Value="Center"/>
124    <Setter Property="HorizontalContentAlignment" Value="Center"/>
125    <Setter Property="Padding" Value="8,4,8,4"/>
126    <Setter Property="Template">
127      <Setter.Value>
128        <ControlTemplate TargetType="HyperlinkButton">
129          <Grid x:Name="ButtonGrid" Cursor="{TemplateBinding Cursor}">
130            <VisualStateManager.VisualStateGroups>
131              <VisualStateGroup x:Name="CommonStates">
132                <VisualState x:Name="Normal"/>
133                <VisualState x:Name="MouseOver">
134                  <Storyboard>
135                    <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="InteractiveElementBorder" Storyboard.TargetProperty="(UIElement.Visibility)">
136                      <DiscreteObjectKeyFrame KeyTime="00:00:00">
137                        <DiscreteObjectKeyFrame.Value>
138                          <Visibility>Visible</Visibility>
139                        </DiscreteObjectKeyFrame.Value>
140                      </DiscreteObjectKeyFrame>
141                    </ObjectAnimationUsingKeyFrames>
142                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="InteractiveElementBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
143                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.95"/>
144                    </DoubleAnimationUsingKeyFrames>
145                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(UIElement.Effect).(DropShadowEffect.BlurRadius)">
146                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="10"/>
147                    </DoubleAnimationUsingKeyFrames>
148                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(UIElement.Opacity)">
149                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
150                    </DoubleAnimationUsingKeyFrames>
151                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="InteractiveBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
152                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
153                    </DoubleAnimationUsingKeyFrames>
154                  </Storyboard>
155                </VisualState>
156                <VisualState x:Name="Pressed">
157                  <Storyboard>
158                    <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="InteractiveElementBorder" Storyboard.TargetProperty="(UIElement.Visibility)">
159                      <DiscreteObjectKeyFrame KeyTime="00:00:00">
160                        <DiscreteObjectKeyFrame.Value>
161                          <Visibility>Visible</Visibility>
162                        </DiscreteObjectKeyFrame.Value>
163                      </DiscreteObjectKeyFrame>
164                    </ObjectAnimationUsingKeyFrames>
165                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="InteractiveElementBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
166                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.8"/>
167                    </DoubleAnimationUsingKeyFrames>
168                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(UIElement.Effect).(DropShadowEffect.BlurRadius)">
169                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="5"/>
170                    </DoubleAnimationUsingKeyFrames>
171                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(UIElement.Opacity)">
172                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.5"/>
173                    </DoubleAnimationUsingKeyFrames>
174                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="InteractiveBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
175                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
176                    </DoubleAnimationUsingKeyFrames>
177                  </Storyboard>
178                </VisualState>
179                <VisualState x:Name="Disabled">
180                  <Storyboard>
181                    <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="Visibility">
182                      <DiscreteObjectKeyFrame KeyTime="0">
183                        <DiscreteObjectKeyFrame.Value>
184                          <Visibility>Visible</Visibility>
185                        </DiscreteObjectKeyFrame.Value>
186                      </DiscreteObjectKeyFrame>
187                    </ObjectAnimationUsingKeyFrames>
188                    <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
189                      <DiscreteObjectKeyFrame KeyTime="00:00:00">
190                        <DiscreteObjectKeyFrame.Value>
191                          <HorizontalAlignment>Center</HorizontalAlignment>
192                        </DiscreteObjectKeyFrame.Value>
193                      </DiscreteObjectKeyFrame>
194                    </ObjectAnimationUsingKeyFrames>
195                    <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
196                      <DiscreteObjectKeyFrame KeyTime="00:00:00">
197                        <DiscreteObjectKeyFrame.Value>
198                          <VerticalAlignment>Center</VerticalAlignment>
199                        </DiscreteObjectKeyFrame.Value>
200                      </DiscreteObjectKeyFrame>
201                    </ObjectAnimationUsingKeyFrames>
202                    <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
203                      <DiscreteObjectKeyFrame KeyTime="00:00:00">
204                        <DiscreteObjectKeyFrame.Value>
205                          <HorizontalAlignment>Center</HorizontalAlignment>
206                        </DiscreteObjectKeyFrame.Value>
207                      </DiscreteObjectKeyFrame>
208                    </ObjectAnimationUsingKeyFrames>
209                    <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
210                      <DiscreteObjectKeyFrame KeyTime="00:00:00">
211                        <DiscreteObjectKeyFrame.Value>
212                          <VerticalAlignment>Center</VerticalAlignment>
213                        </DiscreteObjectKeyFrame.Value>
214                      </DiscreteObjectKeyFrame>
215                    </ObjectAnimationUsingKeyFrames>
216                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(UIElement.Opacity)">
217                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
218                    </DoubleAnimationUsingKeyFrames>
219                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="(UIElement.Opacity)">
220                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.5"/>
221                    </DoubleAnimationUsingKeyFrames>
222                  </Storyboard>
223                </VisualState>
224              </VisualStateGroup>
225              <VisualStateGroup x:Name="LinkStates">
226                <VisualState x:Name="ActiveLink">
227                  <Storyboard>
228                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ActiveBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
229                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
230                    </DoubleAnimationUsingKeyFrames>
231                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
232                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
233                    </DoubleAnimationUsingKeyFrames>
234                  </Storyboard>
235                </VisualState>
236                <VisualState x:Name="InactiveLink"/>
237              </VisualStateGroup>
238              <VisualStateGroup x:Name="FocusStates">
239                <VisualState x:Name="Focused">
240                  <Storyboard>
241                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity">
242                      <SplineDoubleKeyFrame KeyTime="0" Value="0.35"/>
243                    </DoubleAnimationUsingKeyFrames>
244                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(Rectangle.RadiusX)">
245                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
246                    </DoubleAnimationUsingKeyFrames>
247                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(Rectangle.RadiusY)">
248                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
249                    </DoubleAnimationUsingKeyFrames>
250                  </Storyboard>
251                </VisualState>
252                <VisualState x:Name="Unfocused"/>
253              </VisualStateGroup>
254            </VisualStateManager.VisualStateGroups>
255            <Rectangle x:Name="FocusVisualElement" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Opacity="0" Margin="-1" RadiusX="1" RadiusY="1"/>
256            <Border x:Name="ActiveBorder" MinWidth="{TemplateBinding MinWidth}" MinHeight="{TemplateBinding MinHeight}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="1" Opacity="0"/>
257            <Border x:Name="ContentBorder" MinWidth="{TemplateBinding MinWidth}" MinHeight="{TemplateBinding MinHeight}" Opacity="1">
258              <ContentPresenter x:Name="ContentPresenter" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Opacity="1">
259                <ContentPresenter.Effect>
260                  <DropShadowEffect ShadowDepth="0" Color="#FF484848" Opacity="0.65" BlurRadius="0"/>
261                </ContentPresenter.Effect>
262              </ContentPresenter>
263            </Border>
264            <Border x:Name="InteractiveBorder" MinWidth="{TemplateBinding MinWidth}" MinHeight="{TemplateBinding MinHeight}" Background="{StaticResource HoverHyperLinkBackgroundColorBrush}" BorderThickness="1,1,1,1" Opacity="0" BorderBrush="{StaticResource HoverHyperLinkBackgroundColorBrush}" CornerRadius="1,1,1,1"/>
265            <Border x:Name="InteractiveElementBorder" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Visibility="Collapsed">
266              <TextBlock x:Name="InteractiveElement" Foreground="{StaticResource HoverHyperlinkForegroundColorBrush}" FontSize="{TemplateBinding FontSize}" FontWeight="{TemplateBinding FontWeight}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}" Text="{TemplateBinding Content}"/>
267            </Border>
268            <TextBlock x:Name="DisabledOverlay" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}" Text="{TemplateBinding Content}" Foreground="#FFAAAAAA" Visibility="Collapsed"/>
269          </Grid>
270        </ControlTemplate>
271      </Setter.Value>
272    </Setter>
273  </Style>
274
275  <!-- Divider Style -->
276  <Style x:Key="DividerStyle" TargetType="Rectangle">
277    <Setter Property="Fill" Value="#1FFFFFFF"/>
278    <Setter Property="Stroke" Value="Transparent"/>
279    <Setter Property="Width" Value="1"/>
280    <Setter Property="Margin" Value="2,4,2,4"/>
281  </Style>
282
283  <!-- ******CONTENT PAGE STYLES****** -->
284  <!-- ******************************* -->
285  <!-- Page Style -->
286  <Style x:Key="PageStyle" TargetType="navigation:Page"/>
287
288  <!-- Page ScrollViewer Style -->
289  <Style x:Key="PageScrollViewerStyle" TargetType="ScrollViewer">
290    <Setter Property="BorderBrush" Value="Transparent"/>
291    <Setter Property="BorderThickness" Value="0,1,0,1"/>
292    <Setter Property="Margin" Value="-58,-15,-58,-15"/>
293    <Setter Property="Padding" Value="58,0,58,0"/>
294    <Setter Property="VerticalScrollBarVisibility" Value="Auto"/>
295    <Setter Property="HorizontalScrollBarVisibility" Value="Auto"/>
296  </Style>
297
298  <!-- Content Panel Style -->
299  <Style x:Key="ContentPanelStyle" TargetType="StackPanel"/>
300
301  <!-- Header Text Style -->
302  <Style x:Key="HeaderTextStyle" TargetType="TextBlock">
303    <Setter Property="Foreground" Value="{StaticResource BodyTextColorBrush}"/>
304    <Setter Property="FontSize" Value="15"/>
305    <Setter Property="FontWeight" Value="Bold"/>
306    <Setter Property="TextWrapping" Value="Wrap"/>
307    <Setter Property="Margin" Value="0,15,0,4"/>
308    <Setter Property="HorizontalAlignment" Value="Left"/>
309  </Style>
310
311  <!-- Content Text Style -->
312  <Style x:Key="ContentTextStyle" TargetType="TextBlock">
313    <Setter Property="Foreground" Value="{StaticResource BodyTextColorBrush}"/>
314    <Setter Property="FontSize" Value="12"/>
315    <Setter Property="TextWrapping" Value="Wrap"/>
316    <Setter Property="Margin" Value="0,2,0,2"/>
317    <Setter Property="HorizontalAlignment" Value="Left"/>
318  </Style>
319
320  <!-- Page HyperlinkButton Style -->
321  <Style x:Key="PageHyperlinkButtonStyle" TargetType="HyperlinkButton">
322    <Setter Property="TargetName" Value="_new"/>
323    <Setter Property="FontSize" Value="12"/>
324    <Setter Property="VerticalAlignment" Value="Center"/>
325  </Style>
326
327  <!-- Content Boxes Styles -->
328  <Style x:Key="ToolBoxStyle" TargetType="Border">
329    <Setter Property="Width" Value="200" />
330    <Setter Property="Height" Value="35" />
331    <Setter Property="CornerRadius" Value="0,0,0,4" />
332    <Setter Property="Margin" Value="0,-26,-69,0" />
333    <Setter Property="Background" Value="#FF404146" />
334    <Setter Property="HorizontalAlignment" Value="Right" />
335    <Setter Property="VerticalAlignment" Value="Top" />
336    <Setter Property="Effect">
337      <Setter.Value>
338        <DropShadowEffect ShadowDepth="2" Opacity="0.5" Direction="-135"/>
339      </Setter.Value>
340    </Setter>
341  </Style>
342
343  <!-- Button Styles -->
344  <Style x:Key="BtnAddStyle" TargetType="Button">
345    <Setter Property="Padding" Value="3"/>
346    <Setter Property="BorderThickness" Value="1"/>
347    <Setter Property="Template">
348      <Setter.Value>
349        <ControlTemplate TargetType="Button">
350          <Grid MinWidth="27" MinHeight="27" x:Name="grid">
351            <VisualStateManager.VisualStateGroups>
352              <VisualStateGroup x:Name="CommonStates">
353                <VisualState x:Name="Normal"/>
354                <VisualState x:Name="MouseOver">
355                  <Storyboard>
356                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ActiveBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
357                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
358                    </DoubleAnimationUsingKeyFrames>
359                  </Storyboard>
360                </VisualState>
361                <VisualState x:Name="Disabled">
362                  <Storyboard>
363                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="grid" Storyboard.TargetProperty="Opacity">
364                      <SplineDoubleKeyFrame KeyTime="0" Value=".45"/>
365                    </DoubleAnimationUsingKeyFrames>
366                  </Storyboard>
367                </VisualState>
368              </VisualStateGroup>
369            </VisualStateManager.VisualStateGroups>
370            <Border x:Name="Background" Background="#FF404146" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="6"/>
371            <Border x:Name="ActiveBorder" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="6" BorderBrush="#FF606062" Opacity="0">
372              <Border BorderBrush="#FF2D2D31" BorderThickness="1" CornerRadius="5">
373                <Border.Background>
374                  <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
375                    <GradientStop Color="#FF49494D" Offset="0"/>
376                    <GradientStop Color="#FF2D2D31" Offset="1"/>
377                    <GradientStop Color="#FF37373B" Offset="0.4999"/>
378                    <GradientStop Color="#FF2D2D31" Offset="0.5"/>
379                  </LinearGradientBrush>
380                </Border.Background>
381              </Border>
382            </Border>
383            <Path x:Name="SymbAdd" Stretch="Fill" UseLayoutRounding="False" Data="M4.5000005,0.5 L8.5,0.5 L8.5,4.5000005 L12.5,4.5000005 L12.5,8.5 L8.5,8.5 L8.5,12.5 L4.5000005,12.5 L4.5000005,8.5 L0.5,8.5 L0.5,4.5000005 L4.5000005,4.5000005 z" Margin="5" Width="13" Height="13">
384              <Path.Stroke>
385                <LinearGradientBrush EndPoint="1,1" StartPoint="0,0">
386                  <GradientStop Color="White" Offset="0"/>
387                  <GradientStop Color="#CCFFFFFF" Offset="0.996"/>
388                </LinearGradientBrush>
389              </Path.Stroke>
390              <Path.Fill>
391                <LinearGradientBrush EndPoint="1,1" StartPoint="0,0">
392                  <GradientStop Color="#CCFFFFFF" Offset="0"/>
393                  <GradientStop Color="#7FFFFFFF" Offset="1"/>
394                </LinearGradientBrush>
395              </Path.Fill>
396            </Path>
397            <Rectangle x:Name="FocusVisualElement" Stroke="#FF6DBDD1" StrokeThickness="1" RadiusX="6" RadiusY="6" Margin="1" IsHitTestVisible="false" Opacity="0"/>
398          </Grid>
399        </ControlTemplate>
400      </Setter.Value>
401    </Setter>
402  </Style>
403  <Style x:Key="BtnDeleteStyle" TargetType="Button">
404    <Setter Property="Padding" Value="3"/>
405    <Setter Property="BorderThickness" Value="1"/>
406    <Setter Property="Template">
407      <Setter.Value>
408        <ControlTemplate TargetType="Button">
409          <Grid MinWidth="27" MinHeight="27" x:Name="grid">
410            <VisualStateManager.VisualStateGroups>
411              <VisualStateGroup x:Name="CommonStates">
412                <VisualState x:Name="Normal"/>
413                <VisualState x:Name="MouseOver">
414                  <Storyboard>
415                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ActiveBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
416                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
417                    </DoubleAnimationUsingKeyFrames>
418                  </Storyboard>
419                </VisualState>
420                <VisualState x:Name="Disabled">
421                  <Storyboard>
422                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="grid" Storyboard.TargetProperty="Opacity">
423                      <SplineDoubleKeyFrame KeyTime="0" Value=".45"/>
424                    </DoubleAnimationUsingKeyFrames>
425                  </Storyboard>
426                </VisualState>
427              </VisualStateGroup>
428            </VisualStateManager.VisualStateGroups>
429            <Border x:Name="Background" Background="#FF404146" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="6"/>
430            <Border x:Name="ActiveBorder" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="6" BorderBrush="#FF606062" Opacity="0">
431              <Border BorderBrush="#FF2D2D31" BorderThickness="1" CornerRadius="5">
432                <Border.Background>
433                  <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
434                    <GradientStop Color="#FF49494D" Offset="0"/>
435                    <GradientStop Color="#FF2D2D31" Offset="1"/>
436                    <GradientStop Color="#FF37373B" Offset="0.4999"/>
437                    <GradientStop Color="#FF2D2D31" Offset="0.5"/>
438                  </LinearGradientBrush>
439                </Border.Background>
440              </Border>
441            </Border>
442            <Path x:Name="SymbDelete" Stretch="Fill" Width="15" UseLayoutRounding="False" Data="M385.36374,181.00761 C386.75754,178.39227 388.32108,174.87416 390.03058,170.57974 C392.86554,170.89752 396.49341,174.14009 400.55081,178.9671 L401.00375,176.58693 C396.7453,170.88838 393.97977,166.93143 393.75024,165.93289 C394.97635,164.11559 396.75653,162.05244 399.19034,159.69928 L398.05698,158.56615 C395.60294,159.45018 393.36371,160.78841 391.37021,162.64622 C387.72388,158.39613 384.50742,155.80099 381.62338,154.48578 L378.67715,158.7923 C382.50311,160.74921 385.52118,163.31186 387.85684,166.38617 C385.16602,169.07388 382.75278,171.72729 380.83005,174.32008 L381.05673,176.70026 C382.33063,178.45963 383.78247,179.86304 385.36374,181.00761 z" Height="17">
443              <Path.Stroke>
444                <LinearGradientBrush EndPoint="1,1" StartPoint="0,0">
445                  <GradientStop Color="White" Offset="0"/>
446                  <GradientStop Color="#CCFFFFFF" Offset="0.996"/>
447                </LinearGradientBrush>
448              </Path.Stroke>
449              <Path.Fill>
450                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
451                  <GradientStop Color="#CCFFFFFF" Offset="0"/>
452                  <GradientStop Color="#7FFFFFFF" Offset="0.996"/>
453                </LinearGradientBrush>
454              </Path.Fill>
455            </Path>
456            <Rectangle x:Name="FocusVisualElement" Stroke="#FF6DBDD1" StrokeThickness="1" RadiusX="6" RadiusY="6" Margin="1" IsHitTestVisible="false" Opacity="0"/>
457          </Grid>
458        </ControlTemplate>
459      </Setter.Value>
460    </Setter>
461  </Style>
462  <Style x:Key="BtnEditStyle" TargetType="Button">
463    <Setter Property="Padding" Value="3"/>
464    <Setter Property="BorderThickness" Value="1"/>
465    <Setter Property="Template">
466      <Setter.Value>
467        <ControlTemplate TargetType="Button">
468          <Grid MinWidth="27" MinHeight="27" x:Name="grid">
469            <VisualStateManager.VisualStateGroups>
470              <VisualStateGroup x:Name="CommonStates">
471                <VisualState x:Name="Normal"/>
472                <VisualState x:Name="MouseOver">
473                  <Storyboard>
474                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ActiveBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
475                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
476                    </DoubleAnimationUsingKeyFrames>
477                  </Storyboard>
478                </VisualState>
479                <VisualState x:Name="Disabled">
480                  <Storyboard>
481                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="grid" Storyboard.TargetProperty="Opacity">
482                      <SplineDoubleKeyFrame KeyTime="0" Value=".45"/>
483                    </DoubleAnimationUsingKeyFrames>
484                  </Storyboard>
485                </VisualState>
486              </VisualStateGroup>
487            </VisualStateManager.VisualStateGroups>
488            <Border x:Name="Background" Background="#FF404146" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="6"/>
489            <Border x:Name="ActiveBorder" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="6" BorderBrush="#FF606062" Opacity="0">
490              <Border BorderBrush="#FF2D2D31" BorderThickness="1" CornerRadius="5">
491                <Border.Background>
492                  <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
493                    <GradientStop Color="#FF49494D" Offset="0"/>
494                    <GradientStop Color="#FF2D2D31" Offset="1"/>
495                    <GradientStop Color="#FF37373B" Offset="0.4999"/>
496                    <GradientStop Color="#FF2D2D31" Offset="0.5"/>
497                  </LinearGradientBrush>
498                </Border.Background>
499              </Border>
500            </Border>
501            <Canvas x:Name="SymbEdit" Width="15" Height="15">
502              <Path Stretch="Fill" Height="16.467" Width="16.806" UseLayoutRounding="False" Data="M233.45152,283.42358 L231.10693,288.53693 L236.22113,286.29977 L246.76825,276.60452 C247.34918,273.96356 246.13968,272.92047 243.57236,273.08914 z">
503                <Path.Stroke>
504                  <LinearGradientBrush EndPoint="1,1" StartPoint="0,0">
505                    <GradientStop Color="White" Offset="0"/>
506                    <GradientStop Color="#CCFFFFFF" Offset="0.996"/>
507                  </LinearGradientBrush>
508                </Path.Stroke>
509                <Path.Fill>
510                  <LinearGradientBrush EndPoint="1,1" StartPoint="0,0">
511                    <GradientStop Color="#CCFFFFFF" Offset="0"/>
512                    <GradientStop Color="#7FFFFFFF" Offset="1"/>
513                  </LinearGradientBrush>
514                </Path.Fill>
515              </Path>
516              <Path Stretch="Fill" Height="3.851" Width="3.895" UseLayoutRounding="False" Canvas.Left="2.335" Canvas.Top="10.302" Data="M233.44183,283.37262 L236.3367,286.22284">
517                <Path.Stroke>
518                  <LinearGradientBrush EndPoint="1,1" StartPoint="0,0">
519                    <GradientStop Color="White" Offset="0"/>
520                    <GradientStop Color="#CCFFFFFF" Offset="0.996"/>
521                  </LinearGradientBrush>
522                </Path.Stroke>
523                <Path.Fill>
524                  <LinearGradientBrush EndPoint="1,1" StartPoint="0,0">
525                    <GradientStop Color="#CCFFFFFF" Offset="0"/>
526                    <GradientStop Color="#7FFFFFFF" Offset="1"/>
527                  </LinearGradientBrush>
528                </Path.Fill>
529              </Path>
530              <Path Stretch="Fill" Height="4.296" Width="4.564" UseLayoutRounding="False" Canvas.Left="11.332" Canvas.Top="1.037" Data="M242.4393,274.10831 L246.00284,277.40466">
531                <Path.Stroke>
532                  <LinearGradientBrush EndPoint="1,1" StartPoint="0,0">
533                    <GradientStop Color="White" Offset="0"/>
534                    <GradientStop Color="#CCFFFFFF" Offset="0.996"/>
535                  </LinearGradientBrush>
536                </Path.Stroke>
537                <Path.Fill>
538                  <LinearGradientBrush EndPoint="1,1" StartPoint="0,0">
539                    <GradientStop Color="#CCFFFFFF" Offset="0"/>
540                    <GradientStop Color="#7FFFFFFF" Offset="1"/>
541                  </LinearGradientBrush>
542                </Path.Fill>
543              </Path>
544            </Canvas>
545            <Rectangle x:Name="FocusVisualElement" Stroke="#FF6DBDD1" StrokeThickness="1" RadiusX="6" RadiusY="6" Margin="1" IsHitTestVisible="false" Opacity="0"/>
546          </Grid>
547        </ControlTemplate>
548      </Setter.Value>
549    </Setter>
550  </Style>
551
552  <Style x:Key="BtnSaveStyle" TargetType="Button">
553    <Setter Property="Padding" Value="3"/>
554    <Setter Property="BorderThickness" Value="1"/>
555    <Setter Property="Template">
556      <Setter.Value>
557        <ControlTemplate TargetType="Button">
558          <Grid MinWidth="27" MinHeight="27" x:Name="grid">
559            <VisualStateManager.VisualStateGroups>
560              <VisualStateGroup x:Name="CommonStates">
561                <VisualState x:Name="Normal"/>
562                <VisualState x:Name="MouseOver">
563                  <Storyboard>
564                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ActiveBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
565                      <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
566                    </DoubleAnimationUsingKeyFrames>
567                  </Storyboard>
568                </VisualState>
569                <VisualState x:Name="Disabled">
570                  <Storyboard>
571                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="grid" Storyboard.TargetProperty="Opacity">
572                      <SplineDoubleKeyFrame KeyTime="0" Value=".45"/>
573                    </DoubleAnimationUsingKeyFrames>
574                  </Storyboard>
575                </VisualState>
576              </VisualStateGroup>
577            </VisualStateManager.VisualStateGroups>
578            <Border x:Name="Background" Background="#FF404146" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="6"/>
579            <Border x:Name="ActiveBorder" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="6" BorderBrush="#FF606062" Opacity="0">
580              <Border BorderBrush="#FF2D2D31" BorderThickness="1" CornerRadius="5">
581                <Border.Background>
582                  <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
583                    <GradientStop Color="#FF49494D" Offset="0"/>
584                    <GradientStop Color="#FF2D2D31" Offset="1"/>
585                    <GradientStop Color="#FF37373B" Offset="0.4999"/>
586                    <GradientStop Color="#FF2D2D31" Offset="0.5"/>
587                  </LinearGradientBrush>
588                </Border.Background>
589              </Border>
590            </Border>
591            <Canvas x:Name="save" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Center" VerticalAlignment="Center">
592              <Canvas.RenderTransform>
593                <TransformGroup>
594                  <ScaleTransform ScaleX="0.35" ScaleY="0.35"/>
595                  <SkewTransform/>
596                  <RotateTransform/>
597                  <TranslateTransform X="-10" Y="-10"/>
598                </TransformGroup>
599              </Canvas.RenderTransform>
600              <Canvas x:Name="Layer_1" Height="55" Width="54">
601                <Path Stretch="Fill" Height="50" Width="50" Canvas.Left="2" Canvas.Top="2.25" Data="F1M9,7.25C7.9,7.25,7,8.15,7,9.25L7,9.25L7,55.25C7,56.35,7.9,57.25,9,57.25L9,57.25L55,57.25C56.1,57.25,57,56.35,57,55.25L57,55.25L57,13.405C57,12.305,56.363,10.769,55.586,9.991L55.586,9.991L54.259,8.664C53.482,7.886,51.944,7.25,50.845,7.25L50.845,7.25z">
602                  <Path.Fill>
603                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
604                      <GradientStop Color="#CCFFFFFF" Offset="0"/>
605                      <GradientStop Color="#7FFFFFFF" Offset="1"/>
606                    </LinearGradientBrush>
607                  </Path.Fill>
608                </Path>
609                <Path Stretch="Fill" Height="20.455" Width="29.544" Canvas.Left="11.091" Canvas.Top="2.25" Data="F1M16.091,7.25L16.091,25.432C16.091,26.682,17.113,27.705,18.365,27.705L18.365,27.705L43.365,27.705C44.614,27.705,45.635,26.682,45.635,25.432L45.635,25.432L45.635,7.25z M34.091,11.796L40.909,11.796L40.909,23.159L34.091,23.159z">
610                  <Path.Fill>
611                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
612                      <GradientStop Color="#FFE6E8E8" Offset="0"/>
613                      <GradientStop Color="#FF6D6F70" Offset="1"/>
614                    </LinearGradientBrush>
615                  </Path.Fill>
616                </Path>
617                <Path Fill="#FF898989" Stretch="Fill" Height="20.455" Width="29.545" Opacity="0.5299990177154541" Canvas.Left="11.091" Canvas.Top="2.25" Data="F1M40.909,23.159L34.091,23.159L34.091,11.795L40.909,11.795z M16.091,7.25L16.091,25.432C16.091,26.682,17.113,27.705,18.364,27.705L43.364,27.705C44.614,27.705,45.636,26.682,45.636,25.432L45.636,7.25z"/>
618                <Path Stretch="Fill" Height="25.499" Width="36.861" Canvas.Left="8.57" Canvas.Top="27.001" Data="F1M16.09,32.001C14.7,32.001,13.57,33.133,13.57,34.522L13.57,34.522L13.57,55.251C13.57,56.492,14.578,57.5,15.818,57.5L15.818,57.5L48.181,57.5C49.423,57.5,50.431,56.492,50.431,55.251L50.431,55.251L50.431,34.522C50.431,33.133,49.298,32.001,47.909,32.001L47.909,32.001z">
619                  <Path.Fill>
620                    <LinearGradientBrush EndPoint="1,1" StartPoint="0,0">
621                      <GradientStop Color="White" Offset="0.009"/>
622                      <GradientStop Color="#CCFFFFFF" Offset="1"/>
623                    </LinearGradientBrush>
624                  </Path.Fill>
625                </Path>
626                <Path Fill="White" Stretch="Fill" Height="1" Width="27" Opacity="0.55999797582626343" Canvas.Left="12.5" Canvas.Top="3.75" Data="F1M44.5,9.25C44.5,9.525,44.05,9.75,43.5,9.75L18.5,9.75C17.95,9.75,17.5,9.525,17.5,9.25C17.5,8.975,17.95,8.75,18.5,8.75L43.5,8.75C44.05,8.75,44.5,8.975,44.5,9.25"/>
627                <Path Fill="White" Stretch="Fill" Height="1" Width="7" Opacity="0.55999797582626343" Canvas.Left="29" Canvas.Top="18.75" Data="F1M41,24.25C41,24.525,40.55,24.75,40,24.75L35,24.75C34.45,24.75,34,24.525,34,24.25C34,23.975,34.45,23.75,35,23.75L40,23.75C40.55,23.75,41,23.975,41,24.25"/>
628              </Canvas>
629            </Canvas>
630            <Rectangle x:Name="FocusVisualElement" Stroke="#FF6DBDD1" StrokeThickness="1" RadiusX="6" RadiusY="6" Margin="1" IsHitTestVisible="false" Opacity="0"/>
631          </Grid>
632        </ControlTemplate>
633      </Setter.Value>
634    </Setter>
635  </Style>
636
637  <!-- Content Boxes Styles -->
638  <Style x:Key="ContentBoxStyle" TargetType="Border">
639    <Setter Property="BorderThickness" Value="2" />
640    <Setter Property="CornerRadius" Value="10" />
641    <Setter Property="Margin" Value="20" />
642    <Setter Property="Padding" Value="10" />
643    <Setter Property="BorderBrush" Value="#FFC7C7C7" />
644    <Setter Property="Background" Value="#FFF0F0F0" />
645    <Setter Property="HorizontalAlignment" Value="Stretch" />
646    <Setter Property="VerticalAlignment" Value="Stretch" />
647    <Setter Property="Effect">
648      <Setter.Value>
649        <DropShadowEffect Opacity="0.5" BlurRadius="25" ShadowDepth="3"/>
650      </Setter.Value>
651    </Setter>
652  </Style>
653
654</ResourceDictionary>