123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- <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>
- <!--Используемые цвета:
- #FFFCF2 - Floral white - Белый с цветочным
- #CCC5B9 - Timberwolf - Лесной волк
- #403D39 - Black olive - Черный оливковый
- #252422 - Marie black - Мари блэк
- #EB5E28 - Flame - Пламя-->
- <!--Общее выравание текста-->
- <Style Selector="TextBlock">
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="VerticalAlignment" Value="Center"></Setter>
- </Style>
- <!--Основная стекпанель-->
- <Style Selector="StackPanel.firstInf">
- <Setter Property="Background" Value="#CCC5B9"></Setter>
- </Style>
- <!--Стекпанель поля ввода-->
- <Style Selector="StackPanel.rowGetUsData">
- <Setter Property="Margin" Value="0, 5"></Setter>
- </Style>
- <!--Стиль для заголовка ввода даты-->
- <Style Selector="TextBlock.mainText">
- <Setter Property="FontSize" Value="24"></Setter>
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="Padding" Value="10"></Setter>
- <Setter Property="Foreground" Value="#403D39"></Setter>
- <Setter Property="FontWeight" Value="Bold"></Setter>
- </Style>
- <!--Стиль календаря-->
- <Style Selector="DatePicker.getDate" >
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="BorderBrush" Value="#252422"></Setter>
- <Setter Property="BorderThickness" Value="2.5"></Setter>
- <Setter Property="Foreground" Value ="#403D39"></Setter>
- <Setter Property="Width" Value="360"></Setter>
- <Setter Property="Height" Value="40"></Setter>
- <Setter Property="FontSize" Value="15"></Setter>
- </Style>
- <!--Стиль кнопки сохранения данных: просто-->
- <Style Selector="Button.saveData">
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="VerticalAlignment" Value="Center"></Setter>
- <Setter Property="BorderBrush" Value="#252422"></Setter>
- <Setter Property="BorderThickness" Value="1.5"></Setter>
- <Setter Property="Foreground" Value ="#403D39"></Setter>
- <Setter Property="FontSize" Value="15"></Setter>
- <Setter Property="FontWeight" Value="Bold"></Setter>
- <Setter Property="Background" Value="#EB5E28"></Setter>
- <Setter Property="Margin" Value="0, 5"></Setter>
- <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
- <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
- </Style>
- <!--Стиль кнопки сохранения данных: при наведении-->
- <Style Selector="Button.saveData:pointerover /template/ ContentPresenter#PART_ContentPresenter">
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="VerticalAlignment" Value="Center"></Setter>
- <Setter Property="BorderBrush" Value="#CCC5B9"></Setter>
- <Setter Property="BorderThickness" Value="1.5"></Setter>
- <Setter Property="Foreground" Value ="#CCC5B9"></Setter>
- <Setter Property="FontSize" Value="15"></Setter>
- <Setter Property="FontWeight" Value="Bold"></Setter>
- <Setter Property="Background" Value="#EB5E28"></Setter>
- <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
- <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
- </Style>
-
- <!--стиль ошибки (поле обработки) (по умолчинию скрытый)-->
- <Style Selector="StackPanel.printError">
- <Setter Property="Margin" Value="0, 5"></Setter>
- <Setter Property="IsVisible" Value="False"></Setter>
- </Style>
- <!--стиль ошибки (текст ошибки)-->
- <Style Selector="TextBlock.textError">
- <Setter Property="FontSize" Value="15"></Setter>
- <Setter Property="Foreground" Value="#EB5E28"></Setter>
- <Setter Property="TextWrapping" Value="Wrap"/>
- </Style>
- <!--стиль текста вывода данных пользователя (по умолчинию скрытый)-->
- <!--Общее поле (по умолчинию скрытый)-->
- <Style Selector="StackPanel.infoForUser">
- <Setter Property="Margin" Value="0, 5"></Setter>
- <Setter Property="IsVisible" Value="False"></Setter>
- </Style>
-
- <!--Заголовк-->
- <Style Selector="TextBlock.headerForInfo">
- <Setter Property="FontSize" Value="20"></Setter>
- <Setter Property="Foreground" Value="#252422"></Setter>
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="FontWeight" Value="Medium"></Setter>
- </Style>
- <!--Поле для вывода иноформации-->
- <Style Selector="StackPanel.info">
- <Setter Property="Margin" Value="0, 5"></Setter>
- </Style>
- <!--Поле для вывода иноформации (текст)-->
- <Style Selector="TextBlock.printInfo">
- <Setter Property="FontSize" Value="15"></Setter>
- <Setter Property="Foreground" Value="#403D39"></Setter>
- <Setter Property="HorizontalAlignment" Value="Left"></Setter>
- <Setter Property="Padding" Value="10"></Setter>
- <Setter Property="TextWrapping" Value="Wrap"/>
- </Style>
-
- <!--гороскоп-->
- <!--Общее поле-->
- <Style Selector="StackPanel.horoscope">
- <Setter Property="Margin" Value="0, 5"></Setter>
- </Style>
- <!--Заголовок-->
- <Style Selector="TextBlock.horoscopeHeaderText">
- <Setter Property="FontSize" Value="20"></Setter>
- <Setter Property="Foreground" Value="#252422"></Setter>
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="FontWeight" Value="Medium"></Setter>
- </Style>
- <!--Поле кнопок-->
- <Style Selector="StackPanel.horoscopeBtns">
- <Setter Property="Margin" Value="10, 5"></Setter>
- <Setter Property="Orientation" Value="Horizontal"></Setter>
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- </Style>
- <!--Стиль кнопки гороскопа: просто-->
- <Style Selector="Button.horBtns">
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="VerticalAlignment" Value="Center"></Setter>
- <Setter Property="BorderBrush" Value="#252422"></Setter>
- <Setter Property="BorderThickness" Value="1.5"></Setter>
- <Setter Property="Foreground" Value ="#403D39"></Setter>
- <Setter Property="FontSize" Value="15"></Setter>
- <Setter Property="FontWeight" Value="Bold"></Setter>
- <Setter Property="Background" Value="#EB5E28"></Setter>
- <Setter Property="Margin" Value="10, 5"></Setter>
- <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
- <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
- </Style>
- <!--Стиль кнопки гороскопа: при наведении-->
- <Style Selector="Button.horBtns:pointerover /template/ ContentPresenter#PART_ContentPresenter">
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="VerticalAlignment" Value="Center"></Setter>
- <Setter Property="BorderBrush" Value="#CCC5B9"></Setter>
- <Setter Property="BorderThickness" Value="1.5"></Setter>
- <Setter Property="Foreground" Value ="#CCC5B9"></Setter>
- <Setter Property="FontSize" Value="15"></Setter>
- <Setter Property="FontWeight" Value="Bold"></Setter>
- <Setter Property="Background" Value="#EB5E28"></Setter>
- <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
- <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
- </Style>
- <!--Поле результата (по умолчинию скрытый)-->
- <Style Selector="StackPanel.horoscopeResult">
- <Setter Property="Margin" Value="0, 5"></Setter>
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="IsVisible" Value="False"></Setter>
- </Style>
-
- <!--Заголовок результата-->
- <Style Selector="TextBlock.horoscopeHeaderResult">
- <Setter Property="FontSize" Value="20"></Setter>
- <Setter Property="Foreground" Value="#252422"></Setter>
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="FontWeight" Value="Bold"></Setter>
- </Style>
- <!--текст результата-->
- <Style Selector="TextBlock.horoscopeTextResult">
- <Setter Property="FontSize" Value="35"></Setter>
- <Setter Property="Foreground" Value="#EB5E28"></Setter>
- <Setter Property="HorizontalAlignment" Value="Center"></Setter>
- <Setter Property="FontWeight" Value="Bold"></Setter>
- <Setter Property="TextWrapping" Value="Wrap"/>
- </Style>
- </Styles>
|