终端一体化运控平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

113 lines
5.3 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.JXJFoodSmallStation.Converter">
  5. <SolidColorBrush x:Key="tabColor" Color="#FF2AB2E7" />
  6. <!--<SolidColorBrush x:Key="bordColor" Color="#33ffffff" />-->
  7. <SolidColorBrush x:Key="bordColor" Color="#552AB2E7" />
  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="ControlButtonStyle" 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="TitleTextblockStyle" TargetType="TextBlock">
  96. <Setter Property="FontSize" Value="16" />
  97. <Setter Property="HorizontalAlignment" Value="Center" />
  98. <Setter Property="VerticalAlignment" Value="Center" />
  99. <Setter Property="Foreground" Value="{StaticResource tabColor}" />
  100. <Setter Property="FontFamily" Value="楷体" />
  101. <Setter Property="FontWeight" Value="SemiBold" />
  102. </Style>
  103. </ResourceDictionary>