Styles.axaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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="Border.teachersListB">
  9. <Setter Property="BorderBrush" Value="Maroon"/>
  10. <Setter Property="BorderThickness" Value="2"/>
  11. </Style>
  12. <Style Selector="StackPanel.teachersListSP">
  13. <Setter Property="Margin" Value="7"/>
  14. </Style>
  15. <Style Selector="StackPanel.inputTextSP">
  16. <Setter Property="Margin" Value="0 10 0 0"/>
  17. </Style>
  18. <Style Selector="StackPanel.oneLine">
  19. <Setter Property="Orientation" Value="Horizontal"/>
  20. </Style>
  21. <Style Selector="StackPanel.oneLine2">
  22. <Setter Property="Orientation" Value="Horizontal"/>
  23. <Setter Property="Margin" Value="0 25 0 0"/>
  24. </Style>
  25. <Style Selector="StackPanel.oneLine3">
  26. <Setter Property="Orientation" Value="Horizontal"/>
  27. <Setter Property="Margin" Value="0 0 25 0"/>
  28. </Style>
  29. <Style Selector="TextBlock.textStyle">
  30. <Setter Property="FontWeight" Value="SemiBold"/>
  31. </Style>
  32. <Style Selector="TextBox.inputTB">
  33. <Setter Property="Width" Value="150"/>
  34. <Setter Property="Height" Value="25"/>
  35. <Setter Property="Margin" Value="10 10 0 0"/>
  36. </Style>
  37. <Style Selector="ComboBox.inputCB">
  38. <Setter Property="Width" Value="150"/>
  39. <Setter Property="Height" Value="25"/>
  40. <Setter Property="Margin" Value="105 10 0 0"/>
  41. </Style>
  42. <Style Selector="DatePicker.inputDP">
  43. <Setter Property="Width" Value="300"/>
  44. <Setter Property="Height" Value="25"/>
  45. <Setter Property="Margin" Value="50 10 0 0"/>
  46. </Style>
  47. <Style Selector="StackPanel.addTeacherSP">
  48. <Setter Property="HorizontalAlignment" Value="Center"/>
  49. <Setter Property="VerticalAlignment" Value="Center"/>
  50. </Style>
  51. <Style Selector="TextBlock.addingTextStyle">
  52. <Setter Property="Margin" Value="0 0 0 25"/>
  53. </Style>
  54. <Style Selector="TextBlock.addingTextStyle2">
  55. <Setter Property="Margin" Value="0 15 0 25"/>
  56. </Style>
  57. <Style Selector="TextBlock.selectedTextStyle">
  58. <Setter Property="Margin" Value="0 0 0 20"/>
  59. </Style>
  60. <Style Selector="TextBlock.addingTextFont">
  61. <Setter Property="Foreground" Value="Maroon"/>
  62. <Setter Property="FontSize" Value="19"/>
  63. <Setter Property="FontWeight" Value="Medium"/>
  64. <Setter Property="Margin" Value="0 20 0 15"/>
  65. <Setter Property="HorizontalAlignment" Value="Center"/>
  66. </Style>
  67. <Style Selector="Button.saveButton">
  68. <Setter Property="HorizontalAlignment" Value="Center"/>
  69. <Setter Property="Margin" Value="0 5 0 5"/>
  70. </Style>
  71. <Style Selector="Button.mainButton">
  72. <Setter Property="Margin" Value="10 5 0 5"/>
  73. </Style>
  74. <Style Selector="TextBox.searchLine">
  75. <Setter Property="HorizontalAlignment" Value="Left"/>
  76. <Setter Property="Margin" Value="11 0 0 0"/>
  77. <Setter Property="Width" Value="500"/>
  78. <Setter Property="Height" Value="25"/>
  79. </Style>
  80. <Style Selector="ComboBox.sortCB">
  81. <Setter Property="Width" Value="200"/>
  82. <Setter Property="Height" Value="25"/>
  83. <Setter Property="Margin" Value="10 0 0 0"/>
  84. </Style>
  85. <Style Selector="RadioButton.sortRB">
  86. <Setter Property="Margin" Value="10 0 0 0"/>
  87. </Style>
  88. <Style Selector="ListBox.addLB">
  89. <Setter Property="Margin" Value="0 20 0 10"/>
  90. </Style>
  91. <Style Selector="StackPanel.coursesAndSubjects">
  92. <Setter Property="Margin" Value="0 0 0 10"/>
  93. </Style>
  94. <Style Selector="CheckBox.phoneCB">
  95. <Setter Property="Margin" Value="12 0 0 0"/>
  96. </Style>
  97. </Styles>