| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <Application x:Class="SWRIS.App"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="clr-namespace:SWRIS"
- xmlns:pu="https://opensource.panuon.com/wpf-ui"
- xmlns:d1p1="http://schemas.openxmlformats.org/markup-compatibility/2006">
- <Application.Resources>
- <ResourceDictionary>
- <FontFamily x:Key="PuHuiTiBold">pack://application:,,,/SWRIS;component/Fonts/Alibaba-PuHuiTi-Bold.ttf#Alibaba PuHuiTi</FontFamily>
- <FontFamily x:Key="PuHuiTiRegular">pack://application:,,,/SWRIS;component/Fonts/Alibaba-PuHuiTi-Regular.ttf#Alibaba PuHuiTi</FontFamily>
- <FontFamily x:Key="PanuonIconFont">pack://application:,,,/SWRIS;component/Fonts/PanuonIcon.ttf#PanuonIcon</FontFamily>
- <ResourceDictionary.MergedDictionaries>
- <pu:StyleDictionary Includes="All" />
- <ResourceDictionary Source="pack://application:,,,/SWRIS;component/Styles/Styles.xaml" />
- <ResourceDictionary>
- <pu:MessageBoxXSettings x:Key="messageSetting">
- <pu:MessageBoxXSettings.WindowXStyle>
- <Style TargetType="pu:WindowX" BasedOn="{StaticResource {x:Static pu:MessageBoxX.WindowXStyleKey}}">
- <Setter Property="SizeToContent" Value="Manual" />
- <Setter Property="Width" Value="600" />
- <Setter Property="Height" Value="320" />
- <Setter Property="FontSize" Value="22"/>
- <Setter Property="FontWeight" Value="Medium"/>
- <Setter Property="FontFamily">
- <Setter.Value>
- <FontFamily>pack://application:,,,/SWRIS;component/Fonts/Alibaba-PuHuiTi-Medium.ttf#Alibaba PuHuiTi</FontFamily>
- </Setter.Value>
- </Setter>
- <Setter Property="Background" Value="#141332" />
- <Setter Property="Foreground" Value="#FFFFFF" />
- <Setter Property="BorderBrush" Value="#615CDD"/>
- <Setter Property="BorderThickness" Value="1"/>
- </Style>
- </pu:MessageBoxXSettings.WindowXStyle>
- <pu:MessageBoxXSettings.ButtonStyle>
- <Style TargetType="Button" BasedOn="{StaticResource {x:Static pu:MessageBoxX.ButtonStyleKey}}">
- <Setter Property="pu:ButtonHelper.CornerRadius" Value="10" />
- <Setter Property="Width" Value="100"/>
- <Setter Property="Height" Value="50"/>
- <Setter Property="Margin" Value="10,0"/>
- <Style.Triggers>
- <Trigger Property="IsDefault" Value="True">
- <Setter Property="Foreground" Value="#FFFFFF" />
- <Setter Property="Background">
- <Setter.Value>
- <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
- <GradientStop Color="#4E38F0" Offset="0.6"/>
- <GradientStop Color="#736AFA" Offset="1.2"/>
- </LinearGradientBrush>
- </Setter.Value>
- </Setter>
- </Trigger>
- <Trigger Property="IsDefault" Value="False">
- <Setter Property="Foreground" Value="#FFFFFF" />
- <Setter Property="Background">
- <Setter.Value>
- <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
- <GradientStop Color="#615E7C" Offset="0.6"/>
- <GradientStop Color="#807E9F" Offset="1.2"/>
- </LinearGradientBrush>
- </Setter.Value>
- </Setter>
- </Trigger>
- </Style.Triggers>
- </Style>
- </pu:MessageBoxXSettings.ButtonStyle>
- </pu:MessageBoxXSettings>
- <pu:NoticeBoxSettings x:Key="noticeSetting" Position="BottomRight">
- <pu:NoticeBoxSettings.NoticeBoxItemStyle>
- <Style TargetType="pu:NoticeBoxItem" BasedOn="{StaticResource {x:Static pu:NoticeBox.NoticeBoxItemStyleKey}}">
- <Setter Property="Background" Value="#141332" />
- <Setter Property="BorderBrush" Value="#615CDD" />
- <Setter Property="FontSize" Value="18"/>
- <Setter Property="FontWeight" Value="Medium"/>
- <Setter Property="FontFamily">
- <Setter.Value>
- <FontFamily>pack://application:,,,/SWRIS;component/Fonts/Alibaba-PuHuiTi-Medium.ttf#Alibaba PuHuiTi</FontFamily>
- </Setter.Value>
- </Setter>
- <Setter Property="Height" Value="160"/>
- <Setter Property="Width" Value="380"/>
- <Setter Property="Margin" Value="5,10"/>
- <Setter Property="CornerRadius" Value="5"/>
- <Setter Property="Foreground" Value="#FFFFFF" />
- </Style>
- </pu:NoticeBoxSettings.NoticeBoxItemStyle>
- </pu:NoticeBoxSettings>
- <pu:PendingBoxSettings x:Key="pendingSetting">
- <pu:PendingBoxSettings.WindowStyle>
- <Style BasedOn="{StaticResource {x:Static pu:PendingBox.WindowStyleKey}}" TargetType="Window">
- <Setter Property="SizeToContent" Value="Manual" />
- <Setter Property="Width" Value="400" />
- <Setter Property="Height" Value="200" />
- <Setter Property="Background" Value="{DynamicResource WindowBackground}" />
- <Setter Property="Foreground" Value="{DynamicResource BodyForeground}" />
- </Style>
- </pu:PendingBoxSettings.WindowStyle>
- <pu:PendingBoxSettings.SpinStyle>
- <Style BasedOn="{StaticResource {x:Static pu:PendingBox.SpinStyleKey}}" TargetType="pu:Spin">
- <Setter Property="SpinStyle" Value="Ring2" />
- <Setter Property="GlyphBrush" Value="#6CBCEA" />
- </Style>
- </pu:PendingBoxSettings.SpinStyle>
- <pu:PendingBoxSettings.CancelButtonStyle>
- <Style BasedOn="{StaticResource {x:Static pu:PendingBox.CancelButtonStyleKey}}" TargetType="Button">
- <Setter Property="Background" Value="#6CBCEA" />
- <Setter Property="Foreground" Value="White" />
- <Setter Property="Height" Value="30" />
- <Style.Triggers>
- <Trigger Property="IsPressed" Value="True">
- <Setter Property="Background" Value="#6CABEA" />
- </Trigger>
- </Style.Triggers>
- </Style>
- </pu:PendingBoxSettings.CancelButtonStyle>
- </pu:PendingBoxSettings>
- <pu:ToastSettings x:Key="toastSetting" Spacing="25">
- <pu:ToastSettings.LabelStyle>
- <Style TargetType="Label" BasedOn="{StaticResource {x:Static pu:Toast.LabelStyleKey}}">
- <Setter Property="Background" Value="{DynamicResource ToastBackground}"/>
- <Setter Property="Foreground" Value="{DynamicResource ToastForeground}"/>
- </Style>
- </pu:ToastSettings.LabelStyle>
- </pu:ToastSettings>
- </ResourceDictionary>
- </ResourceDictionary.MergedDictionaries>
- </ResourceDictionary>
- </Application.Resources>
- </Application>
|