StyleA.xaml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:s="clr-namespace:System;assembly=mscorlib" >
  4. <Style TargetType="Label" x:Key="MiddleCenterLabel" BasedOn="{StaticResource MiddleLabel}">
  5. <Setter Property="HorizontalContentAlignment" Value="Center" />
  6. <Setter Property="VerticalContentAlignment" Value="Center" />
  7. </Style>
  8. <Style TargetType="Control">
  9. <Setter Property="FontSize" Value="11" />
  10. </Style>
  11. <SolidColorBrush x:Key="CellTitle" Color="LightBlue" />
  12. <SolidColorBrush x:Key="idleWafer" Color="#ADD8E6" />
  13. <SolidColorBrush x:Key="busyWafer" Color="Cyan" />
  14. <SolidColorBrush x:Key="waitWafer" Color="Blue" />
  15. <SolidColorBrush x:Key="completeWafer" Color="Green" />
  16. <SolidColorBrush x:Key="errorWafer" Color="OrangeRed" />
  17. <LinearGradientBrush x:Key="greenWafer" StartPoint="-0.00694446,0.500001" EndPoint="1.00694,0.500001">
  18. <LinearGradientBrush.GradientStops>
  19. <GradientStop Color="#FF0EBD01" Offset="0"/>
  20. <GradientStop Color="#FF8EFF85" Offset="0.549053"/>
  21. <GradientStop Color="#FF0EBD01" Offset="1"/>
  22. </LinearGradientBrush.GradientStops>
  23. </LinearGradientBrush>
  24. <LinearGradientBrush x:Key="blueWafer" StartPoint="-0.00694446,0.500001" EndPoint="1.00694,0.500001">
  25. <LinearGradientBrush.GradientStops>
  26. <GradientStop Color="#FF0195BD" Offset="0"/>
  27. <GradientStop Color="#FF85FFF9" Offset="0.549053"/>
  28. <GradientStop Color="#FF0195BD" Offset="1"/>
  29. </LinearGradientBrush.GradientStops>
  30. </LinearGradientBrush>
  31. <LinearGradientBrush x:Key="redWafer" StartPoint="-0.00694446,0.5" EndPoint="1.00694,0.5">
  32. <LinearGradientBrush.GradientStops>
  33. <GradientStop Color="#FFBD0101" Offset="0"/>
  34. <GradientStop Color="#FFFF8585" Offset="0.549053"/>
  35. <GradientStop Color="#FFBD0101" Offset="1"/>
  36. </LinearGradientBrush.GradientStops>
  37. </LinearGradientBrush>
  38. <LinearGradientBrush x:Key="yellowWafer" StartPoint="-0.00694446,0.500001" EndPoint="1.00694,0.500001">
  39. <LinearGradientBrush.GradientStops>
  40. <GradientStop Color="#FFB0BD01" Offset="0"/>
  41. <GradientStop Color="#FFF6FF85" Offset="0.549053"/>
  42. <GradientStop Color="#FFB0BD01" Offset="1"/>
  43. </LinearGradientBrush.GradientStops>
  44. </LinearGradientBrush>
  45. <LinearGradientBrush x:Key="purpleWafer" StartPoint="-0.00347225,0.5" EndPoint="1.00347,0.5">
  46. <LinearGradientBrush.GradientStops>
  47. <GradientStop Color="#FFBD01B9" Offset="0"/>
  48. <GradientStop Color="#FFFF85F8" Offset="0.549053"/>
  49. <GradientStop Color="#FFBD01B9" Offset="1"/>
  50. </LinearGradientBrush.GradientStops>
  51. </LinearGradientBrush>
  52. <SolidColorBrush x:Key="blueSlot" Color="#FF0C71A7" />
  53. <LinearGradientBrush x:Key="greenSlot" StartPoint="-0.00694444,0.5" EndPoint="1.00694,0.5">
  54. <LinearGradientBrush.GradientStops>
  55. <GradientStop Color="#FF19FD1A" Offset="0"/>
  56. <GradientStop Color="#FF97FFAA" Offset="0.536178"/>
  57. <GradientStop Color="#FF19FD1A" Offset="1"/>
  58. </LinearGradientBrush.GradientStops>
  59. </LinearGradientBrush>
  60. <LinearGradientBrush x:Key="lightBlueSlot" StartPoint="-0.00694444,0.5" EndPoint="1.00694,0.5">
  61. <LinearGradientBrush.GradientStops>
  62. <GradientStop Color="#FF00ECFF" Offset="0"/>
  63. <GradientStop Color="#FF85FAFF" Offset="0.549053"/>
  64. <GradientStop Color="#FF00ECFF" Offset="1"/>
  65. </LinearGradientBrush.GradientStops>
  66. </LinearGradientBrush>
  67. <Style x:Key="BlockGroup" TargetType="{x:Type GroupBox}">
  68. <Setter Property="Background" Value="#FF4C5FDC" />
  69. <Setter Property="BorderBrush" Value="Black" />
  70. <Setter Property="Foreground" Value="White" />
  71. </Style>
  72. <LinearGradientBrush x:Key="contentBg" StartPoint="0.5,0" EndPoint="0.5,1">
  73. <GradientStop Color="#d6f1ff" Offset="0" />
  74. <GradientStop Color="#7fc7ed" Offset="1" />
  75. </LinearGradientBrush>
  76. <LinearGradientBrush x:Key="buttonNormal" StartPoint="0.5,0" EndPoint="0.5,1">
  77. <GradientStop Color="#9cd7f7" Offset="0" />
  78. <GradientStop Color="#56b6e6" Offset="1" />
  79. </LinearGradientBrush>
  80. <Style TargetType="Label" x:Key="label">
  81. <Setter Property="Background" Value="{StaticResource buttonNormal}"/>
  82. <Setter Property="Foreground" Value="White"/>
  83. <Setter Property="VerticalAlignment" Value="Center"/>
  84. <Setter Property="HorizontalAlignment" Value="Center"/>
  85. <Setter Property="HorizontalContentAlignment" Value="Center" />
  86. <Setter Property="VerticalContentAlignment" Value="Center" />
  87. <Setter Property="Height" Value="40" />
  88. </Style>
  89. <Style TargetType="Label" x:Key="labelContent">
  90. <Setter Property="Background" Value="{StaticResource contentBg}" />
  91. <Setter Property="VerticalAlignment" Value="Center"/>
  92. <Setter Property="HorizontalContentAlignment" Value="Center" />
  93. <Setter Property="VerticalContentAlignment" Value="Center" />
  94. <Setter Property="HorizontalAlignment" Value="Center"/>
  95. <Setter Property="Height" Value="40" />
  96. <Setter Property="Width" Value="280" />
  97. </Style>
  98. </ResourceDictionary>