Styles1.axaml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <Styles xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  3. <Design.PreviewWith>
  4. <Border Padding="20">
  5. <!-- Add Controls for Previewer Here -->
  6. </Border>
  7. </Design.PreviewWith>
  8. <Style Selector="TextBlock.tbHeader">
  9. <Setter Property="FontWeight" Value="ExtraBold"></Setter>
  10. <Setter Property="Margin" Value="0 5 0 5"></Setter>
  11. </Style>
  12. <Style Selector="TextBlock.tbFIO">
  13. <Setter Property="FontSize" Value="19"></Setter>
  14. <Setter Property="Margin" Value="0 0 0 5"></Setter>
  15. </Style>
  16. <Style Selector="TextBlock.tbLittleHeader">
  17. <Setter Property="FontWeight" Value="SemiBold"></Setter>
  18. </Style>
  19. <Style Selector="StackPanel.spLittleSp">
  20. <Setter Property="Margin" Value="0 2 0 2"></Setter>
  21. <Setter Property="VerticalAlignment" Value="Center"></Setter>
  22. </Style>
  23. <Style Selector="Border.bordMain">
  24. <Setter Property="BorderBrush" Value="DarkRed"></Setter>
  25. <Setter Property="Padding" Value="10"></Setter>
  26. <Setter Property="BorderThickness" Value="2"></Setter>
  27. </Style>
  28. <Style Selector="Border.bordFilters">
  29. <Setter Property="BorderBrush" Value="DarkRed"></Setter>
  30. <Setter Property="Margin" Value="10"></Setter>
  31. <Setter Property="Padding" Value="10"></Setter>
  32. <Setter Property="BorderThickness" Value="2"></Setter>
  33. </Style>
  34. <Style Selector="ComboBox.cbFilters">
  35. <Setter Property="Margin" Value="0 7 0 7"></Setter>
  36. </Style>
  37. <Style Selector="Button.bDo">
  38. <Setter Property="HorizontalAlignment" Value="Center"></Setter>
  39. <Setter Property="Height" Value="50"></Setter>
  40. <Setter Property="Width" Value="170"></Setter>
  41. <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
  42. <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
  43. <Setter Property="Margin" Value="20"></Setter>
  44. <Setter Property="Background" Value="DarkRed"></Setter>
  45. <Setter Property="Foreground" Value="White"></Setter>
  46. </Style>
  47. <Style Selector="TextBox.tbAddTeacher">
  48. <Setter Property="Height" Value="30"></Setter>
  49. <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
  50. <Setter Property="Margin" Value="0 5 0 5"></Setter>
  51. <Setter Property="Width" Value="500"></Setter>
  52. <Setter Property="HorizontalAlignment" Value="Center"></Setter>
  53. <Setter Property="BorderBrush" Value="DarkRed"></Setter>
  54. <Setter Property="BorderThickness" Value="2"></Setter>
  55. </Style>
  56. <Style Selector="DatePicker.dpAddTeacher">
  57. <Setter Property="Height" Value="30"></Setter>
  58. <Setter Property="HorizontalAlignment" Value="Center"></Setter>
  59. <Setter Property="Margin" Value="5 5 5 5"></Setter>
  60. <Setter Property="BorderBrush" Value="DarkRed"></Setter>
  61. <Setter Property="BorderThickness" Value="2"></Setter>
  62. </Style>
  63. <Style Selector="ComboBox.cbAddTeacherGender">
  64. <Setter Property="Height" Value="30"></Setter>
  65. <Setter Property="HorizontalAlignment" Value="Center"></Setter>
  66. <Setter Property="Margin" Value="5 5 5 5"></Setter>
  67. <Setter Property="BorderBrush" Value="DarkRed"></Setter>
  68. <Setter Property="BorderThickness" Value="2"></Setter>
  69. </Style>
  70. <Style Selector="ComboBox.cbAddTeacher">
  71. <Setter Property="Height" Value="30"></Setter>
  72. <Setter Property="Width" Value="300"></Setter>
  73. <Setter Property="HorizontalAlignment" Value="Left"></Setter>
  74. <Setter Property="Margin" Value="25 5 5 5"></Setter>
  75. <Setter Property="BorderBrush" Value="DarkRed"></Setter>
  76. <Setter Property="BorderThickness" Value="2"></Setter>
  77. </Style>
  78. <Style Selector="ListBox.lbAddTeacher">
  79. <Setter Property="HorizontalAlignment" Value="Stretch"></Setter>
  80. <Setter Property="Margin" Value="15 5 5 5"></Setter>
  81. <Setter Property="Background" Value="Transparent"></Setter>
  82. </Style>
  83. <Style Selector="Grid.lbiAddTeacher">
  84. <Setter Property="HorizontalAlignment" Value="Left"></Setter>
  85. <Setter Property="Margin" Value="0 5 0 5"></Setter>
  86. <Setter Property="Background" Value="Transparent"></Setter>
  87. </Style>
  88. <Style Selector="Border.lbiAddTeacher">
  89. <Setter Property="BorderBrush" Value="DarkRed"></Setter>
  90. <Setter Property="BorderThickness" Value="1"></Setter>
  91. <Setter Property="Padding" Value="3"></Setter>
  92. </Style>
  93. <Style Selector="ListBoxItem">
  94. <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
  95. </Style>
  96. <Style Selector="Button.bAddTeacher">
  97. <Setter Property="Height" Value="30"></Setter>
  98. <Setter Property="Width" Value="160"></Setter>
  99. <Setter Property="HorizontalAlignment" Value="Center"></Setter>
  100. <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
  101. <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
  102. <Setter Property="Margin" Value="15 10 15 10"></Setter>
  103. <Setter Property="Background" Value="DarkRed"></Setter>
  104. <Setter Property="Foreground" Value="White"></Setter>
  105. </Style>
  106. <Style Selector="Button.bDelCourse">
  107. <Setter Property="HorizontalAlignment" Value="Right"></Setter>
  108. <Setter Property="VerticalAlignment" Value="Center"></Setter>
  109. <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
  110. <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
  111. <Setter Property="Margin" Value="15 10 15 10"></Setter>
  112. <Setter Property="Background" Value="DarkRed"></Setter>
  113. <Setter Property="Foreground" Value="White"></Setter>
  114. </Style>
  115. <!--добавление курса-->
  116. <Style Selector="TextBox.tbCourse">
  117. <Setter Property="Height" Value="50"></Setter>
  118. <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
  119. <Setter Property="Margin" Value="15 0 15 0"></Setter>
  120. <Setter Property="BorderBrush" Value="DarkRed"></Setter>
  121. <Setter Property="BorderThickness" Value="2"></Setter>
  122. </Style>
  123. <Style Selector="TextBox.tbDuration">
  124. <Setter Property="Height" Value="50"></Setter>
  125. <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
  126. <Setter Property="Margin" Value="15 0 15 0"></Setter>
  127. <Setter Property="BorderBrush" Value="DarkRed"></Setter>
  128. <Setter Property="BorderThickness" Value="2"></Setter>
  129. </Style>
  130. <Style Selector="Button.bAddCourse">
  131. <Setter Property="Height" Value="40"></Setter>
  132. <Setter Property="Width" Value="140"></Setter>
  133. <Setter Property="HorizontalAlignment" Value="Center"></Setter>
  134. <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
  135. <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
  136. <Setter Property="Margin" Value="15 0 15 0"></Setter>
  137. <Setter Property="Background" Value="DarkRed"></Setter>
  138. <Setter Property="Foreground" Value="White"></Setter>
  139. </Style>
  140. </Styles>