dd385a1890
- sistemato logo Omag - sistemato AboutBox con Egalware.
174 lines
9.9 KiB
XML
174 lines
9.9 KiB
XML
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:system="clr-namespace:System;assembly=mscorlib"
|
|
xmlns:EgtWPFLib="clr-namespace:EgtWPFLib;assembly=EgtWPFLib"
|
|
xmlns:project="clr-namespace:OmagVIEW"
|
|
xmlns:ControlExtensions="clr-namespace:OmagVIEW.ControlExtensions"
|
|
|
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
|
xmlns:local="clr-namespace:OmagVIEW.ArithmeticConverterNameSpace"
|
|
x:Class="OmagVIEWDarkDictionary">
|
|
|
|
|
|
<!--Importo EgtDictionary-->
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="OmagVIEWDictionary.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
<BitmapImage x:Key="DownArrowImg" UriSource="Resources/DarkTheme/DownArrow.png"></BitmapImage>
|
|
<BitmapImage x:Key="GenericViewImg" UriSource="Resources/DarkTheme/GenericView.png"></BitmapImage>
|
|
<BitmapImage x:Key="LogoEgalwareImg" UriSource="Resources/LogoEgalware.png"></BitmapImage>
|
|
<BitmapImage x:Key="LogoOmagImg" UriSource="Resources/DarkTheme/LogoOmag.png"></BitmapImage>
|
|
<BitmapImage x:Key="LookFromTOPImg" UriSource="Resources/DarkTheme/LookFromTOP.png"></BitmapImage>
|
|
<BitmapImage x:Key="OptionsImg" UriSource="Resources/DarkTheme/Options.png"></BitmapImage>
|
|
<BitmapImage x:Key="PanImg" UriSource="Resources/DarkTheme/Pan.png"></BitmapImage>
|
|
<BitmapImage x:Key="UpArrowImg" UriSource="Resources/DarkTheme/UpArrow.png"></BitmapImage>
|
|
<BitmapImage x:Key="VImg" UriSource="Resources/DarkTheme/V.png"></BitmapImage>
|
|
<BitmapImage x:Key="XImg" UriSource="Resources/DarkTheme/X.png"></BitmapImage>
|
|
<BitmapImage x:Key="ZoomAllImg" UriSource="Resources/DarkTheme/ZoomAll.png"></BitmapImage>
|
|
<BitmapImage x:Key="ZoomInImg" UriSource="Resources/DarkTheme/ZoomIn.png"></BitmapImage>
|
|
<BitmapImage x:Key="ZoomOutImg" UriSource="Resources/DarkTheme/ZoomOut.png"></BitmapImage>
|
|
<BitmapImage x:Key="ZoomWinImg" UriSource="Resources/DarkTheme/ZoomWIn.png"></BitmapImage>
|
|
|
|
<Thickness x:Key="BorderThickness">0.5</Thickness>
|
|
<system:Double x:Key="FontSize_GroupBoxHeader">22</system:Double>
|
|
<system:Double x:Key="GroupBox_CornerRadius">9.5</system:Double> <!--2.5mm-->
|
|
<system:Double x:Key="GroupBox_FirstColumn">12.5</system:Double> <!--3.3mm-->
|
|
<CornerRadius x:Key="EmptyBorder_CornerRadius">9.5</CornerRadius> <!--2.5mm-->
|
|
|
|
<SolidColorBrush x:Key="OmagCut_MainBackground" Color="#484D55" />
|
|
<SolidColorBrush x:Key="Omag_LogoBackground" Color="#484D55" />
|
|
<SolidColorBrush x:Key="Omag_TextColor" Color="WhiteSmoke" />
|
|
|
|
<FontFamily x:Key="OmagView_Font">./Resources/Fonts/#Roboto</FontFamily>
|
|
|
|
<Style x:Key="OmagCut_RightGrayGradientYellowButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button}">
|
|
<Setter Property="Background" Value="#1C1D22"/>
|
|
<Setter Property="BorderBrush" Value="#1C1D22"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderThickness}"/>
|
|
<Setter Property="project:ButtonExtensions.CornerRadius" Value="{DynamicResource Button_CornerRadius}"/>
|
|
<Setter Property="Margin" Value="{StaticResource Button_MarginThickness}"/>
|
|
<Setter Property="Padding" Value="5"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<!--<Setter Property="Background" Value="#FFB8C3CD"/>
|
|
<Setter Property="BorderBrush" Value="#FFB8C3CD"/>-->
|
|
<Setter Property="Background" Value="#008BFF"/>
|
|
<Setter Property="BorderBrush" Value="#008BFF"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="True">
|
|
<!--<Setter Property="OpacityMask" Value="#33FF0000"/>-->
|
|
<Setter Property="Background" Value="#E1B957"/>
|
|
<Setter Property="BorderBrush" Value="#E1B957"/>
|
|
</Trigger>
|
|
<Trigger Property="ToggleButton.IsChecked" Value="True">
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="Background" Value="#FFF4F4F4"/>
|
|
<Setter Property="BorderBrush" Value="#FFADB2B5"/>
|
|
<Setter Property="TextElement.Foreground" Value="#FF838383"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_Button_Wrap" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button}">
|
|
<Setter Property="ContentTemplate" Value="{StaticResource Button_DataTemplate_Wrap}" />
|
|
<Setter Property="FontSize" Value="{DynamicResource FontSize_LowerCaseCharacter}" />
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_BlueIconButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button}">
|
|
<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="BorderBrush" Value="#636974"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<!--GreenTextOmagCutButton-->
|
|
<Style x:Key="OmagCut_GreenTextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button_Wrap}">
|
|
<Setter Property="Background" Value="{StaticResource OmagCut_Green}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource OmagCut_Blue}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Background" Value="{StaticResource OmagCut_Green}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="True">
|
|
<Setter Property="OpacityMask" Value="#33FF0000"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="Background" Value="#FFF4F4F4"/>
|
|
<Setter Property="BorderBrush" Value="#FFADB2B5"/>
|
|
<Setter Property="TextElement.Foreground" Value="#FF838383"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<!--RedTextOmagCutButton-->
|
|
<Style x:Key="OmagCut_RedTextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button_Wrap}">
|
|
<Setter Property="Background" Value="{StaticResource OmagCut_Red}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource OmagCut_Blue}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Background" Value="{StaticResource OmagCut_Red}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="True">
|
|
<Setter Property="OpacityMask" Value="#33FF0000"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="Background" Value="#FFF4F4F4"/>
|
|
<Setter Property="BorderBrush" Value="#FFADB2B5"/>
|
|
<Setter Property="TextElement.Foreground" Value="#FF838383"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<!--BlueTextOmagCutButton-->
|
|
<Style x:Key="OmagCut_BlueTextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button_Wrap}">
|
|
<Setter Property="Background" Value="#2D3036"/>
|
|
<Setter Property="BorderBrush" Value="#2D3036"/>
|
|
<Setter Property="Foreground" Value="WhiteSmoke"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_WindowBorder" TargetType="{x:Type Border}" BasedOn="{StaticResource OmagCut_EmptyBorder}">
|
|
<Setter Property="CornerRadius" Value="{StaticResource Page_CornerRadius}"/>
|
|
<Setter Property="BorderBrush" Value="DarkGray"/>
|
|
<Setter Property="BorderThickness" Value="0.5"/>
|
|
<Setter Property="Background" Value="#484D55"/>
|
|
</Style>
|
|
|
|
<DataTemplate x:Key="GroupBoxHeaderTemplate">
|
|
<TextBlock Text="{Binding}" FontSize="{DynamicResource FontSize_GroupBoxHeader}" Foreground="White"/>
|
|
</DataTemplate>
|
|
|
|
<Style x:Key="OmagCut_GroupBox" TargetType="{x:Type GroupBox}" BasedOn="{StaticResource {x:Type GroupBox}}">
|
|
<Setter Property="BorderBrush" Value="LightGray"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderThickness}" />
|
|
<Setter Property="HeaderTemplate" Value="{StaticResource GroupBoxHeaderTemplate}"/>
|
|
<Setter Property="ControlExtensions:GroupBoxExtensions.CornerRadius" Value="{DynamicResource GroupBox_CornerRadius}" />
|
|
<Setter Property="ControlExtensions:GroupBoxExtensions.FirstColumn" Value="{StaticResource GroupBox_FirstColumn}" />
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_GradientBlueIconButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button}">
|
|
<Setter Property="Background" Value="#2D3036"/>
|
|
<Setter Property="BorderBrush" Value="#2D3036"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_CenteredLowerCaseCharacterTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource OmagCut_UpperCaseCharacterTextBlock}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Foreground" Value="WhiteSmoke"/>
|
|
</Style>
|
|
|
|
<!-- *************************************************************************** -->
|
|
|
|
</ResourceDictionary>
|