终端一体化运控平台
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

109 lignes
5.2 KiB

  1. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  2. <SolidColorBrush x:Key="tabColor" Color="#FF2AB2E7" />
  3. <!--<SolidColorBrush x:Key="bordColor" Color="#33ffffff" />-->
  4. <SolidColorBrush x:Key="bordColor" Color="#552AB2E7" />
  5. <Style x:Key="RowRadioButtonStyle" TargetType="{x:Type RadioButton}">
  6. <Setter Property="Template">
  7. <Setter.Value>
  8. <ControlTemplate TargetType="{x:Type RadioButton}">
  9. <Border
  10. x:Name="NvaBor"
  11. Background="Transparent"
  12. BorderBrush="#FF2AB2E7"
  13. BorderThickness="0">
  14. <ContentControl
  15. Margin="10,4"
  16. HorizontalAlignment="Center"
  17. VerticalAlignment="Center"
  18. HorizontalContentAlignment="Center"
  19. VerticalContentAlignment="Center"
  20. Content="{TemplateBinding Content}"
  21. FontSize="16" />
  22. </Border>
  23. <ControlTemplate.Triggers>
  24. <Trigger Property="IsChecked" Value="True">
  25. <Setter TargetName="NvaBor" Property="Background" Value="#22ffffff" />
  26. <Setter TargetName="NvaBor" Property="BorderThickness" Value="0" />
  27. </Trigger>
  28. <MultiTrigger>
  29. <MultiTrigger.Conditions>
  30. <Condition Property="IsChecked" Value="false" />
  31. <Condition Property="IsMouseOver" Value="True" />
  32. </MultiTrigger.Conditions>
  33. <MultiTrigger.Setters>
  34. <Setter TargetName="NvaBor" Property="Background" Value="#22ffffff" />
  35. </MultiTrigger.Setters>
  36. </MultiTrigger>
  37. </ControlTemplate.Triggers>
  38. </ControlTemplate>
  39. </Setter.Value>
  40. </Setter>
  41. </Style>
  42. <Style x:Key="InputTextboxStyle" TargetType="TextBox">
  43. <Setter Property="Margin" Value="5,0,0,0" />
  44. <Setter Property="BorderThickness" Value="0" />
  45. <Setter Property="HorizontalAlignment" Value="Left" />
  46. <Setter Property="Width" Value="150" />
  47. <Setter Property="Height" Value="40" />
  48. <Setter Property="CaretBrush" Value="{StaticResource TitleBorderColor}" />
  49. <Setter Property="Foreground" Value="{StaticResource TitleBorderColor}" />
  50. <Setter Property="VerticalContentAlignment" Value="Center" />
  51. <Setter Property="FontSize" Value="14" />
  52. <Setter Property="Background" Value="Transparent" />
  53. <Setter Property="VerticalAlignment" Value="Center" />
  54. </Style>
  55. <Style x:Key="ControlButtonStyle" TargetType="Button">
  56. <Setter Property="Margin" Value="0" />
  57. <Setter Property="FontSize" Value="18" />
  58. <Setter Property="Foreground" Value="#FFF53F62" />
  59. <Setter Property="FontWeight" Value="SemiBold" />
  60. <Setter Property="FontFamily" Value="楷体" />
  61. <Setter Property="VerticalContentAlignment" Value="Center" />
  62. <Setter Property="Template">
  63. <Setter.Value>
  64. <ControlTemplate TargetType="Button">
  65. <Border
  66. Name="TitleBarBr"
  67. BorderBrush="#00c2f4"
  68. BorderThickness="0"
  69. CornerRadius="0"
  70. Opacity="0.8">
  71. <ContentPresenter
  72. Margin="{TemplateBinding Margin}"
  73. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  74. VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
  75. <Border.Background>
  76. <ImageBrush
  77. ImageSource="/BPASmartClient.CustomResource;component/Image/组合边框1.1.png"
  78. Opacity="0.8"
  79. Stretch="Fill" />
  80. </Border.Background>
  81. </Border>
  82. <ControlTemplate.Triggers>
  83. <Trigger Property="IsMouseOver" Value="true">
  84. <Setter TargetName="TitleBarBr" Property="Opacity" Value="1" />
  85. </Trigger>
  86. </ControlTemplate.Triggers>
  87. </ControlTemplate>
  88. </Setter.Value>
  89. </Setter>
  90. </Style>
  91. <Style x:Key="TitleTextblockStyle" TargetType="TextBlock">
  92. <Setter Property="FontSize" Value="16" />
  93. <Setter Property="HorizontalAlignment" Value="Center" />
  94. <Setter Property="VerticalAlignment" Value="Center" />
  95. <Setter Property="Foreground" Value="{StaticResource tabColor}" />
  96. <Setter Property="FontFamily" Value="楷体" />
  97. <Setter Property="FontWeight" Value="SemiBold" />
  98. </Style>
  99. </ResourceDictionary>