终端一体化运控平台
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 

157 líneas
7.4 KiB

  1. <ResourceDictionary
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:con="clr-namespace:BPASmartClient.CustomResource.Converters">
  5. <SolidColorBrush x:Key="tabColor" Color="#FF2AB2E7" />
  6. <!--<SolidColorBrush x:Key="bordColor" Color="#33ffffff" />-->
  7. <SolidColorBrush x:Key="bordColor" Color="#332AB2E7" />
  8. <con:DataTableRedundantConverter x:Key="tabConvert" />
  9. <Style x:Key="RowRadioButtonStyle" TargetType="{x:Type RadioButton}">
  10. <Setter Property="Template">
  11. <Setter.Value>
  12. <ControlTemplate TargetType="{x:Type RadioButton}">
  13. <Border
  14. x:Name="NvaBor"
  15. Background="Transparent"
  16. BorderBrush="#FF2AB2E7"
  17. BorderThickness="0">
  18. <ContentControl
  19. Margin="10,4"
  20. HorizontalAlignment="Center"
  21. VerticalAlignment="Center"
  22. HorizontalContentAlignment="Center"
  23. VerticalContentAlignment="Center"
  24. Content="{TemplateBinding Content}"
  25. FontSize="16" />
  26. </Border>
  27. <ControlTemplate.Triggers>
  28. <Trigger Property="IsChecked" Value="True">
  29. <Setter TargetName="NvaBor" Property="Background" Value="#22ffffff" />
  30. <Setter TargetName="NvaBor" Property="BorderThickness" Value="0" />
  31. </Trigger>
  32. <MultiTrigger>
  33. <MultiTrigger.Conditions>
  34. <Condition Property="IsChecked" Value="false" />
  35. <Condition Property="IsMouseOver" Value="True" />
  36. </MultiTrigger.Conditions>
  37. <MultiTrigger.Setters>
  38. <Setter TargetName="NvaBor" Property="Background" Value="#22ffffff" />
  39. </MultiTrigger.Setters>
  40. </MultiTrigger>
  41. </ControlTemplate.Triggers>
  42. </ControlTemplate>
  43. </Setter.Value>
  44. </Setter>
  45. </Style>
  46. <Style x:Key="InputTextboxStyle" TargetType="TextBox">
  47. <Setter Property="Margin" Value="5,0,0,0" />
  48. <Setter Property="BorderThickness" Value="0" />
  49. <Setter Property="HorizontalAlignment" Value="Left" />
  50. <Setter Property="Width" Value="150" />
  51. <Setter Property="Height" Value="40" />
  52. <Setter Property="CaretBrush" Value="{StaticResource TitleBorderColor}" />
  53. <Setter Property="Foreground" Value="{StaticResource TitleBorderColor}" />
  54. <Setter Property="VerticalContentAlignment" Value="Center" />
  55. <Setter Property="FontSize" Value="14" />
  56. <Setter Property="Background" Value="Transparent" />
  57. <Setter Property="VerticalAlignment" Value="Center" />
  58. </Style>
  59. <Style x:Key="RemoveButtonStyle" TargetType="Button">
  60. <Setter Property="Margin" Value="0" />
  61. <Setter Property="FontSize" Value="18" />
  62. <Setter Property="Foreground" Value="#FFF53F62" />
  63. <Setter Property="FontWeight" Value="SemiBold" />
  64. <Setter Property="FontFamily" Value="楷体" />
  65. <Setter Property="VerticalContentAlignment" Value="Center" />
  66. <Setter Property="Template">
  67. <Setter.Value>
  68. <ControlTemplate TargetType="Button">
  69. <Border
  70. Name="TitleBarBr"
  71. BorderBrush="#00c2f4"
  72. BorderThickness="0"
  73. CornerRadius="0"
  74. Opacity="0.8">
  75. <ContentPresenter
  76. Margin="{TemplateBinding Margin}"
  77. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  78. VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
  79. <Border.Background>
  80. <ImageBrush
  81. ImageSource="/BPASmartClient.CustomResource;component/Image/组合边框1.1.png"
  82. Opacity="0.8"
  83. Stretch="Fill" />
  84. </Border.Background>
  85. </Border>
  86. <ControlTemplate.Triggers>
  87. <Trigger Property="IsMouseOver" Value="true">
  88. <Setter TargetName="TitleBarBr" Property="Opacity" Value="1" />
  89. </Trigger>
  90. </ControlTemplate.Triggers>
  91. </ControlTemplate>
  92. </Setter.Value>
  93. </Setter>
  94. </Style>
  95. <Style x:Key="ControlButtonStyle" TargetType="Button">
  96. <Setter Property="Margin" Value="0" />
  97. <Setter Property="FontSize" Value="18" />
  98. <Setter Property="Foreground" Value="#00c2f4" />
  99. <Setter Property="FontWeight" Value="SemiBold" />
  100. <Setter Property="FontFamily" Value="楷体" />
  101. <Setter Property="VerticalContentAlignment" Value="Center" />
  102. <Setter Property="Template">
  103. <Setter.Value>
  104. <ControlTemplate TargetType="Button">
  105. <Border
  106. Name="TitleBarBr"
  107. BorderBrush="#00c2f4"
  108. BorderThickness="0"
  109. CornerRadius="0"
  110. Opacity="0.8">
  111. <ContentPresenter
  112. Margin="{TemplateBinding Margin}"
  113. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  114. VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
  115. <Border.Background>
  116. <ImageBrush
  117. ImageSource="/BPASmartClient.CustomResource;component/Image/组合边框2.1.png"
  118. Opacity="0.8"
  119. Stretch="Fill" />
  120. </Border.Background>
  121. </Border>
  122. <ControlTemplate.Triggers>
  123. <Trigger Property="IsMouseOver" Value="true">
  124. <Setter TargetName="TitleBarBr" Property="Opacity" Value="1" />
  125. </Trigger>
  126. </ControlTemplate.Triggers>
  127. </ControlTemplate>
  128. </Setter.Value>
  129. </Setter>
  130. </Style>
  131. <Style x:Key="TitleTextblockStyle" TargetType="TextBlock">
  132. <Setter Property="FontSize" Value="16" />
  133. <Setter Property="HorizontalAlignment" Value="Center" />
  134. <Setter Property="VerticalAlignment" Value="Center" />
  135. <Setter Property="Foreground" Value="{StaticResource tabColor}" />
  136. <Setter Property="FontFamily" Value="楷体" />
  137. <Setter Property="FontWeight" Value="SemiBold" />
  138. </Style>
  139. <Style x:Key="DisiableTextblockStyle" TargetType="TextBlock">
  140. <Setter Property="FontSize" Value="16" />
  141. <Setter Property="HorizontalAlignment" Value="Center" />
  142. <Setter Property="VerticalAlignment" Value="Center" />
  143. <Setter Property="Foreground" Value="{StaticResource tabColor}" />
  144. <Setter Property="FontFamily" Value="楷体" />
  145. </Style>
  146. </ResourceDictionary>