123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- <Styles xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
- <Design.PreviewWith>
- <Border Padding="20">
- <!-- Add Controls for Previewer Here -->
- </Border>
- </Design.PreviewWith>
- <Style Selector="TextBlock.tbHeader">
- <Setter Property="FontWeight" Value="ExtraBold"></Setter>
- <Setter Property="Margin" Value="0 5 0 5"></Setter>
- </Style>
- <Style Selector="TextBlock.tbFIO">
- <Setter Property="FontSize" Value="19"></Setter>
- <Setter Property="Margin" Value="0 0 0 5"></Setter>
- </Style>
- <Style Selector="TextBlock.tbLittleHeader">
- <Setter Property="FontWeight" Value="SemiBold"></Setter>
- </Style>
- <Style Selector="StackPanel.spLittleSp">
- <Setter Property="Margin" Value="0 2 0 2"></Setter>
- <Setter Property="VerticalAlignment" Value="Center"></Setter>
- </Style>
- <Style Selector="Border.bordMain">
- <Setter Property="BorderBrush" Value="DarkRed"></Setter>
- <Setter Property="Padding" Value="10"></Setter>
- <Setter Property="BorderThickness" Value="2"></Setter>
- </Style>
- <Style Selector="Border.bordFilters">
- <Setter Property="BorderBrush" Value="DarkRed"></Setter>
- <Setter Property="Margin" Value="10"></Setter>
- <Setter Property="Padding" Value="10"></Setter>
- <Setter Property="BorderThickness" Value="2"></Setter>
- </Style>
- <Style Selector="ComboBox.cbFilters">
- <Setter Property="Margin" Value="0 7 0 7"></Setter>
- </Style>
- <Style Selector="Button.bDo">
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="Height" Value="50"></Setter>
- <Setter Property="Width" Value="170"></Setter>
- <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
- <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
- <Setter Property="Margin" Value="20"></Setter>
- <Setter Property="Background" Value="DarkRed"></Setter>
- <Setter Property="Foreground" Value="White"></Setter>
- </Style>
- <Style Selector="TextBox.tbAddTeacher">
- <Setter Property="Height" Value="30"></Setter>
- <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
- <Setter Property="Margin" Value="0 5 0 5"></Setter>
- <Setter Property="Width" Value="500"></Setter>
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="BorderBrush" Value="DarkRed"></Setter>
- <Setter Property="BorderThickness" Value="2"></Setter>
- </Style>
- <Style Selector="DatePicker.dpAddTeacher">
- <Setter Property="Height" Value="30"></Setter>
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="Margin" Value="5 5 5 5"></Setter>
- <Setter Property="BorderBrush" Value="DarkRed"></Setter>
- <Setter Property="BorderThickness" Value="2"></Setter>
- </Style>
- <Style Selector="ComboBox.cbAddTeacherGender">
- <Setter Property="Height" Value="30"></Setter>
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="Margin" Value="5 5 5 5"></Setter>
- <Setter Property="BorderBrush" Value="DarkRed"></Setter>
- <Setter Property="BorderThickness" Value="2"></Setter>
- </Style>
- <Style Selector="ComboBox.cbAddTeacher">
- <Setter Property="Height" Value="30"></Setter>
- <Setter Property="Width" Value="300"></Setter>
- <Setter Property="HorizontalAlignment" Value="Left"></Setter>
- <Setter Property="Margin" Value="25 5 5 5"></Setter>
- <Setter Property="BorderBrush" Value="DarkRed"></Setter>
- <Setter Property="BorderThickness" Value="2"></Setter>
- </Style>
- <Style Selector="ListBox.lbAddTeacher">
- <Setter Property="HorizontalAlignment" Value="Stretch"></Setter>
- <Setter Property="Margin" Value="15 5 5 5"></Setter>
- <Setter Property="Background" Value="Transparent"></Setter>
- </Style>
- <Style Selector="Grid.lbiAddTeacher">
- <Setter Property="HorizontalAlignment" Value="Left"></Setter>
- <Setter Property="Margin" Value="0 5 0 5"></Setter>
- <Setter Property="Background" Value="Transparent"></Setter>
- </Style>
- <Style Selector="Border.lbiAddTeacher">
- <Setter Property="BorderBrush" Value="DarkRed"></Setter>
- <Setter Property="BorderThickness" Value="1"></Setter>
- <Setter Property="Padding" Value="3"></Setter>
- </Style>
- <Style Selector="ListBoxItem">
- <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
- </Style>
- <Style Selector="Button.bAddTeacher">
- <Setter Property="Height" Value="30"></Setter>
- <Setter Property="Width" Value="160"></Setter>
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
- <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
- <Setter Property="Margin" Value="15 10 15 10"></Setter>
- <Setter Property="Background" Value="DarkRed"></Setter>
- <Setter Property="Foreground" Value="White"></Setter>
- </Style>
- <Style Selector="Button.bDelCourse">
- <Setter Property="HorizontalAlignment" Value="Right"></Setter>
- <Setter Property="VerticalAlignment" Value="Center"></Setter>
- <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
- <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
- <Setter Property="Margin" Value="15 10 15 10"></Setter>
- <Setter Property="Background" Value="DarkRed"></Setter>
- <Setter Property="Foreground" Value="White"></Setter>
- </Style>
-
- <!--добавление курса-->
- <Style Selector="TextBox.tbCourse">
- <Setter Property="Height" Value="50"></Setter>
- <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
- <Setter Property="Margin" Value="15 0 15 0"></Setter>
- <Setter Property="BorderBrush" Value="DarkRed"></Setter>
- <Setter Property="BorderThickness" Value="2"></Setter>
- </Style>
- <Style Selector="TextBox.tbDuration">
- <Setter Property="Height" Value="50"></Setter>
- <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
- <Setter Property="Margin" Value="15 0 15 0"></Setter>
- <Setter Property="BorderBrush" Value="DarkRed"></Setter>
- <Setter Property="BorderThickness" Value="2"></Setter>
- </Style>
- <Style Selector="Button.bAddCourse">
- <Setter Property="Height" Value="40"></Setter>
- <Setter Property="Width" Value="140"></Setter>
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
- <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
- <Setter Property="Margin" Value="15 0 15 0"></Setter>
- <Setter Property="Background" Value="DarkRed"></Setter>
- <Setter Property="Foreground" Value="White"></Setter>
- </Style>
- </Styles>
|