TextBlocks.xaml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <ResourceDictionary
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  4. <ResourceDictionary.MergedDictionaries>
  5. <ResourceDictionary Source="/Resources/Common/Colors.xaml"/>
  6. </ResourceDictionary.MergedDictionaries>
  7. <Style x:Key="BasicTextBlockStyle" TargetType="TextBlock">
  8. <Setter Property="FontFamily" Value="微软雅黑"/>
  9. <Setter Property="FontWeight" Value="Normal"></Setter>
  10. </Style>
  11. <Style x:Key="FormTitleStyle" TargetType="TextBlock" BasedOn="{StaticResource BasicTextBlockStyle}">
  12. <Setter Property="Margin" Value="21,0,0,0"></Setter>
  13. <Setter Property="VerticalAlignment" Value="Center"></Setter>
  14. <Setter Property="FontSize" Value="14"/>
  15. <Setter Property="Foreground" Value="Black" />
  16. </Style>
  17. <Style x:Key="ButtonLabelStyle" TargetType="TextBlock" BasedOn="{StaticResource BasicTextBlockStyle}">
  18. <Setter Property="VerticalAlignment" Value="Center"></Setter>
  19. <Setter Property="FontSize" Value="15"/>
  20. <Setter Property="Foreground" Value="White" />
  21. </Style>
  22. <Style x:Key="MessagesTextStyle" TargetType="TextBlock" BasedOn="{StaticResource BasicTextBlockStyle}">
  23. <Setter Property="FontSize" Value="18"/>
  24. </Style>
  25. <Style x:Key="RightText" TargetType="TextBlock" BasedOn="{StaticResource BasicTextBlockStyle}">
  26. <Setter Property="FontSize" Value="12"/>
  27. <Setter Property="Margin" Value="0, 0, 0, 0"/>
  28. <Setter Property="VerticalAlignment" Value="Center"/>
  29. <Setter Property="HorizontalAlignment" Value="Right"></Setter>
  30. </Style>
  31. <Style x:Key="UserNameStyle" TargetType="TextBlock" BasedOn="{StaticResource RightText}">
  32. <Setter Property="Foreground" Value="{StaticResource module-primary-color-dark-brush}"/>
  33. </Style>
  34. <Style x:Key="LoginStyle" TargetType="TextBlock" BasedOn="{StaticResource RightText}">
  35. <Setter Property="Foreground" Value="#0085b2"/>
  36. <Setter Property="FontSize" Value="15"/>
  37. </Style>
  38. <Style x:Key="RightTextPrimaryColor" TargetType="TextBlock" BasedOn="{StaticResource RightText}">
  39. <Setter Property="Foreground" Value="Black" />
  40. <Setter Property="HorizontalAlignment" Value="Left"></Setter>
  41. </Style>
  42. <Style x:Key="HugeTextPrimaryColor" TargetType="TextBlock" BasedOn="{StaticResource RightText}">
  43. <Setter Property="Foreground" Value="Red"/>
  44. <Setter Property="FontSize" Value="16"/>
  45. <Setter Property="HorizontalAlignment" Value="Center"></Setter>
  46. <Setter Property="VerticalAlignment" Value="Center" ></Setter>
  47. <Setter Property="Margin" Value="10, 0, 10, 0"></Setter>
  48. </Style>
  49. <Style x:Key="LabelStyle" TargetType="TextBlock" BasedOn="{StaticResource BasicTextBlockStyle}">
  50. <Setter Property="Foreground" Value="{StaticResource second-font-color-brush}"/>
  51. <Setter Property="FontSize" Value="13"/>
  52. <Setter Property="Margin" Value="0"/>
  53. </Style>
  54. <Style x:Key="LoginButtonText" TargetType="Run">
  55. <Setter Property="Foreground" Value="{StaticResource list-info-font-color-light-brush}"/>
  56. <Setter Property="FontSize" Value="15"/>
  57. <Setter Property="FontFamily" Value="微软雅黑"/>
  58. <Setter Property="FontWeight" Value="Normal"></Setter>
  59. </Style>
  60. <!-- List texts -->
  61. <Style x:Key="ListTextBigLight" TargetType="Run">
  62. <Setter Property="Foreground" Value="{StaticResource list-info-font-color-light-brush}"/>
  63. <Setter Property="FontSize" Value="18"/>
  64. <Setter Property="FontFamily" Value="微软雅黑"/>
  65. <Setter Property="FontWeight" Value="Normal"></Setter>
  66. </Style>
  67. <Style x:Key="ListTextSmallLight" TargetType="Run" BasedOn="{StaticResource ListTextBigLight}">
  68. <Setter Property="FontSize" Value="14"/>
  69. </Style>
  70. <Style x:Key="ListTextBigDark" TargetType="Run" BasedOn="{StaticResource ListTextBigLight}">
  71. <Setter Property="Foreground" Value="{StaticResource list-info-font-color-brush}"/>
  72. </Style>
  73. <Style x:Key="ListTextSmallDark" TargetType="Run" BasedOn="{StaticResource ListTextBigDark}">
  74. <Setter Property="FontSize" Value="14"/>
  75. </Style>
  76. <Style x:Key="Title" TargetType="Run" BasedOn="{StaticResource ListTextBigLight}">
  77. <Setter Property="Foreground" Value="{StaticResource module-primary-color-dark-brush}"/>
  78. <Setter Property="FontFamily" Value="微软雅黑"/>
  79. <Setter Property="FontSize" Value="18"/>
  80. </Style>
  81. <!--Pagination texts-->
  82. <Style x:Key="NumberOfPageText" TargetType="TextBlock">
  83. <Setter Property="Foreground" Value="{StaticResource module-alternative-color-brush}"/>
  84. <Setter Property="FontSize" Value="12"/>
  85. <Setter Property="FontWeight" Value="SemiBold"/>
  86. </Style>
  87. <Style x:Key="NumberOfPageMouseHoverText" TargetType="TextBlock">
  88. <Setter Property="Foreground" Value="{StaticResource module-alternative-color-brush}"/>
  89. <Setter Property="FontSize" Value="15"/>
  90. <Setter Property="FontWeight" Value="SemiBold"/>
  91. </Style>
  92. <Style x:Key="NumberOfSelectedPageText" TargetType="TextBlock">
  93. <Setter Property="Foreground" Value="{StaticResource module-primary-color-brush}"/>
  94. <Setter Property="FontSize" Value="15"/>
  95. <Setter Property="FontWeight" Value="SemiBold"/>
  96. </Style>
  97. <Style x:Key="DataGridCellCenterStyle" TargetType="{x:Type TextBlock}">
  98. <Setter Property="HorizontalAlignment" Value="Center" />
  99. <Setter Property="VerticalAlignment" Value="Center" />
  100. </Style>
  101. <Style x:Key="CheckBoxCellCenterStyle" TargetType="{x:Type CheckBox}">
  102. <Setter Property="HorizontalAlignment" Value="Center" />
  103. <Setter Property="VerticalAlignment" Value="Center" />
  104. </Style>
  105. <Style x:Key="ComboCellCenterStyle" TargetType="{x:Type ComboBox}">
  106. <Setter Property="HorizontalAlignment" Value="Center" />
  107. <Setter Property="VerticalAlignment" Value="Center" />
  108. </Style>
  109. </ResourceDictionary>