aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Resources
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-05-31 13:40:01 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-05-31 13:40:01 +0300
commit6f27e675c8349d873f683255ae842a4de59ebde7 (patch)
tree5abe56f20f89bc2ae775170e0726d17d267a0dbb /Software/Visual_Studio/PPC/Tango.PPC.UI/Resources
parentf03676747c3c4207da0be4e59273cbbca9b79649 (diff)
downloadTango-6f27e675c8349d873f683255ae842a4de59ebde7.tar.gz
Tango-6f27e675c8349d873f683255ae842a4de59ebde7.zip
Working on PPC.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Resources')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Resources/Colors.xaml9
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Resources/MaterialOverride.xaml185
2 files changed, 0 insertions, 194 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Resources/Colors.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Resources/Colors.xaml
index 431533fcb..4bbd08a06 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Resources/Colors.xaml
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Resources/Colors.xaml
@@ -2,13 +2,4 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Tango.PPC.UI.Resources">
-
- <Color x:Key="AccentColor">#2F65EE</Color>
- <SolidColorBrush x:Key="AccentColorBrush" Color="{StaticResource AccentColor}"></SolidColorBrush>
-
- <Color x:Key="WhiteColor">#FFFFFF</Color>
- <SolidColorBrush x:Key="WhiteColorBrush" Color="{StaticResource WhiteColor}"></SolidColorBrush>
-
- <Color x:Key="BorderColor">#C8CBD4</Color>
- <SolidColorBrush x:Key="BorderColorBrush" Color="{StaticResource BorderColor}"></SolidColorBrush>
</ResourceDictionary> \ No newline at end of file
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Resources/MaterialOverride.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Resources/MaterialOverride.xaml
deleted file mode 100644
index 49fb3e837..000000000
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Resources/MaterialOverride.xaml
+++ /dev/null
@@ -1,185 +0,0 @@
-<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf"
- xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters;assembly=MaterialDesignThemes.Wpf"
- xmlns:local="clr-namespace:Tango.PPC.UI.Resources">
-
-
- <Style TargetType="ListBox" BasedOn="{StaticResource {x:Type ListBox}}">
- <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
- <Setter Property="Stylus.IsPressAndHoldEnabled" Value="False"></Setter>
- <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Disabled"></Setter>
- <Setter Property="ScrollViewer.PanningMode" Value="VerticalOnly"></Setter>
- <Setter Property="VirtualizingStackPanel.ScrollUnit" Value="Pixel"></Setter>
- <Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter>
- </Style>
-
- <!--ListBoxItem--><!--
- <Style TargetType="{x:Type ListBoxItem}">
- <Setter Property="Background" Value="Transparent"/>
- <Setter Property="BorderThickness" Value="0"/>
- <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
- <Setter Property="Stylus.IsPressAndHoldEnabled" Value="False"></Setter>
- <Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter>
- <Setter Property="VerticalContentAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
- <Setter Property="Padding" Value="8"/>
- <Setter Property="SnapsToDevicePixels" Value="True"/>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type ListBoxItem}">
- <Border Background="White"
- BorderBrush="{TemplateBinding BorderBrush}"
- BorderThickness="{TemplateBinding BorderThickness}"
- CornerRadius="5"
- Margin="2"
- ClipToBounds="{TemplateBinding ClipToBounds}">
- <Border.Effect>
- <DropShadowEffect ShadowDepth="0" BlurRadius="8" Color="Silver" />
- </Border.Effect>
- <VisualStateManager.VisualStateGroups>
- <VisualStateGroup Name="CommonStates">
- <VisualStateGroup.Transitions>
- <VisualTransition GeneratedDuration="0:0:0.3" To="Normal">
- <VisualTransition.GeneratedEasingFunction>
- <CircleEase EasingMode="EaseOut"/>
- </VisualTransition.GeneratedEasingFunction>
- </VisualTransition>
- </VisualStateGroup.Transitions>
- <VisualState Name="Normal"/>
- --><!--<VisualState Name="MouseOver">
- <Storyboard>
- <DoubleAnimation Storyboard.TargetName="MouseOverBorder" Storyboard.TargetProperty="Opacity"
- To="0.1" Duration="0"/>
- </Storyboard>
- </VisualState>--><!--
- <VisualState Name="Disabled"/>
- </VisualStateGroup>
- <VisualStateGroup Name="SelectionStates">
- <VisualStateGroup.Transitions>
- <VisualTransition GeneratedDuration="0:0:0.6"/>
- </VisualStateGroup.Transitions>
- <VisualState Name="Selected">
- <Storyboard>
- <DoubleAnimation Storyboard.TargetName="SelectedBorder"
- Storyboard.TargetProperty="Opacity"
- To="0.18" Duration="0"/>
- </Storyboard>
- </VisualState>
- <VisualState Name="Unselected"/>
- <VisualState Name="SelectedUnfocused">
- <Storyboard>
- <DoubleAnimation Storyboard.TargetName="SelectedBorder"
- Storyboard.TargetProperty="Opacity"
- To="0.03" Duration="0"/>
- </Storyboard>
- </VisualState>
- </VisualStateGroup>
- </VisualStateManager.VisualStateGroups>
- <Grid>
- <Border x:Name="MouseOverBorder"
- Opacity="0" CornerRadius="5"
- Background="{TemplateBinding Foreground, Converter={StaticResource BrushRoundConverter}}"/>
-
- <Border x:Name="SelectedBorder"
- Opacity="0" CornerRadius="5"
- Background="{TemplateBinding Foreground, Converter={StaticResource BrushRoundConverter}}"
- RenderTransformOrigin="0.5,0.5">
- <Border.RenderTransform>
- <ScaleTransform ScaleX="1"/>
- </Border.RenderTransform>
- </Border>
- <wpf:Ripple Feedback="{TemplateBinding Foreground, Converter={StaticResource BrushRoundConverter}}"
- Focusable="False"
- Content="{TemplateBinding Content}"
- ContentTemplate="{TemplateBinding ContentTemplate}"
- ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"
- SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
- HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
- Padding="{TemplateBinding Padding}"/>
- </Grid>
- </Border>
- <ControlTemplate.Triggers>
- <Trigger Property="IsEnabled" Value="False">
- <Setter Property="Opacity" Value=".56" />
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- --><!--ListBoxItem-->
-
- <!--Colors-->
- <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" />
- <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" />
- <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource AccentColor}" />
- <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" />
- <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" />
- <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" />
- <!--Colors-->
-
- <!--RoundedButton--><!--
- <Style x:Key="MaterialDesignRaisedRoundedButton" TargetType="{x:Type ButtonBase}">
- <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
- <Setter Property="Background" Value="{DynamicResource PrimaryHueMidBrush}"/>
- <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}"/>
- <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidForegroundBrush}"/>
- <Setter Property="wpf:RippleAssist.Feedback" Value="White" />
- <Setter Property="Cursor" Value="Hand"/>
- <Setter Property="wpf:ShadowAssist.ShadowDepth" Value="Depth1" />
- <Setter Property="TextBlock.FontWeight" Value="Medium"/>
- <Setter Property="TextBlock.FontSize" Value="14"/>
- <Setter Property="BorderThickness" Value="1"/>
- <Setter Property="HorizontalContentAlignment" Value="Center"/>
- <Setter Property="VerticalContentAlignment" Value="Center"/>
- <Setter Property="Padding" Value="16 4 16 4"/>
- <Setter Property="Height" Value="32" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type ButtonBase}">
- <Grid>
- <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:ShadowAssist.CacheMode)}">
- <Grid>
- <Border Background="{TemplateBinding Background}" CornerRadius="20"
- BorderThickness="{TemplateBinding BorderThickness}"
- BorderBrush="{TemplateBinding BorderBrush}"
- x:Name="border"
- Effect="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ShadowAssist.ShadowDepth), Converter={x:Static converters:ShadowConverter.Instance}}" />
- <Border HorizontalAlignment="Left" Background="{DynamicResource MaterialDesignBackground}" Opacity=".4">
- <Border.Width>
- <MultiBinding Converter="{StaticResource RangeLengthConverter}">
- <Binding Path="(wpf:ButtonProgressAssist.Minimum)" RelativeSource="{RelativeSource TemplatedParent}" />
- <Binding Path="(wpf:ButtonProgressAssist.Maximum)" RelativeSource="{RelativeSource TemplatedParent}" />
- <Binding Path="(wpf:ButtonProgressAssist.Value)" RelativeSource="{RelativeSource TemplatedParent}" />
- <Binding Path="ActualWidth" RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type ButtonBase}}" />
- </MultiBinding>
- </Border.Width>
- </Border>
- </Grid>
- </AdornerDecorator>
- <wpf:Ripple Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Focusable="False"
- HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
- Padding="{TemplateBinding Padding}"
- SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
- </Grid>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="true">
- <Setter TargetName="border" Property="wpf:ShadowAssist.Darken" Value="True" />
- </Trigger>
- <Trigger Property="IsKeyboardFocused" Value="true">
- <Setter TargetName="border" Property="wpf:ShadowAssist.Darken" Value="True" />
- </Trigger>
- <Trigger Property="IsEnabled" Value="false">
- <Setter Property="Opacity" Value="0.23"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- --><!--RoundedButton-->
-
-
-</ResourceDictionary> \ No newline at end of file