mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 21:46:30 +00:00
128 lines
6.1 KiB
XML
128 lines
6.1 KiB
XML
<Window x:Class="Azaion.Suite.Login"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
mc:Ignorable="d"
|
|
WindowStyle="None"
|
|
AllowsTransparency="True"
|
|
Background="Transparent"
|
|
WindowStartupLocation="CenterScreen"
|
|
Title="Azaion Annotator Security"
|
|
Height="280" Width="350">
|
|
<Border Width="350"
|
|
Height="280"
|
|
Background="DarkGray"
|
|
CornerRadius="15"
|
|
MouseMove="MainMouseMove">
|
|
<Border.Effect>
|
|
<DropShadowEffect BlurRadius="15"
|
|
Direction ="-90"
|
|
RenderingBias ="Quality"
|
|
ShadowDepth ="2"
|
|
Color ="Gray" />
|
|
</Border.Effect>
|
|
<StackPanel Orientation="Vertical"
|
|
Margin="20">
|
|
<Canvas>
|
|
<Button Padding="5" ToolTip="Закрити" Background="DarkGray" BorderBrush="DarkGray" Canvas.Left="290" Cursor="Hand"
|
|
Name="CloseBtn"
|
|
Click="CloseClick">
|
|
<Path Stretch="Fill" Fill="LightGray" Data="M5.29289 5.29289C5.68342 4.90237 6.31658 4.90237 6.70711 5.29289L12 10.5858L17.2929 5.29289C17.6834 4.90237 18.3166
|
|
4.90237 18.7071 5.29289C19.0976 5.68342 19.0976 6.31658 18.7071 6.70711L13.4142 12L18.7071 17.2929C19.0976 17.6834 19.0976 18.3166 18.7071 18.7071C18.3166
|
|
19.0976 17.6834 19.0976 17.2929 18.7071L12 13.4142L6.70711 18.7071C6.31658 19.0976 5.68342 19.0976 5.29289 18.7071C4.90237 18.3166 4.90237 17.6834 5.29289
|
|
17.2929L10.5858 12L5.29289 6.70711C4.90237 6.31658 4.90237 5.68342 5.29289 5.29289Z" />
|
|
<Button.Style>
|
|
<Style TargetType="{x:Type Button}">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border Background="{TemplateBinding Background}" BorderThickness="1">
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
</Button.Style>
|
|
</Button>
|
|
</Canvas>
|
|
<TextBlock Text="Вхід"
|
|
FontSize="25"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Top"
|
|
FontWeight="Bold"
|
|
/>
|
|
<Grid VerticalAlignment="Center">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<TextBlock Text="Email"
|
|
Grid.Row="0"
|
|
Margin="0, 20, 0, 5"
|
|
HorizontalAlignment="Left"/>
|
|
<TextBox
|
|
Name="TbEmail"
|
|
Grid.Row="1"
|
|
Padding="0,5"
|
|
Width="300"
|
|
FontSize="16"
|
|
Background="DarkGray"
|
|
BorderBrush="DimGray"
|
|
BorderThickness="0,0,0,1"
|
|
HorizontalAlignment="Left"
|
|
Text=""
|
|
/>
|
|
<TextBlock Text="Пароль"
|
|
Grid.Row="2"
|
|
Margin="0, 20, 0, 5"
|
|
HorizontalAlignment="Left"/>
|
|
<PasswordBox Grid.Row="3"
|
|
Name="TbPassword"
|
|
FontSize="16"
|
|
Background="DarkGray"
|
|
BorderBrush="DimGray"
|
|
Padding="0,5"
|
|
Width="300"
|
|
BorderThickness="0,0,0,1"
|
|
HorizontalAlignment="Left"
|
|
Password=""/>
|
|
</Grid>
|
|
<Button x:Name="LoginBtn"
|
|
Content="Вхід"
|
|
Foreground="White"
|
|
Background="DimGray"
|
|
Margin="0,25"
|
|
Height="35"
|
|
Width="280"
|
|
Cursor="Hand"
|
|
Click="LoginClick">
|
|
<Button.Style>
|
|
<Style TargetType="Button">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border x:Name="LoginBorder" Background="{TemplateBinding Background}"
|
|
CornerRadius="16">
|
|
<ContentPresenter HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Background" Value="LightGray" TargetName="LoginBorder" />
|
|
<Setter Property="TextBlock.Foreground" Value="Black" TargetName="LoginBorder" />
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
</Button.Style>
|
|
</Button>
|
|
</StackPanel>
|
|
</Border>
|
|
</Window>
|