Ajout des styles ( En espérant que ca marche cet fois ci)

UI_Windows
Raphael LACOTE 2 years ago
parent 8f38c138d4
commit 823bdf20b6

@ -5,6 +5,19 @@
x:Class="IHM.App">
<Application.Resources>
<ResourceDictionary>
<Style TargetType="Border" x:Key="bordureBlanche">
<Setter Property="StrokeShape" Value="RoundRectangle 40"/>
<Setter Property="BackgroundColor" Value="White"/>
</Style>
<Style TargetType="Entry" x:Key="zoneDeTexte">
<Setter Property="TextColor" Value="Black"/>
<Setter Property="BackgroundColor" Value="White"/>
<Setter Property="VerticalTextAlignment" Value="Center"/>
<Setter Property="FontSize" Value="15"/>
</Style>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Resources/Styles/Colors.xaml" />
<ResourceDictionary Source="Resources/Styles/Styles.xaml" />

@ -13,12 +13,7 @@ namespace IHM
{
InitializeComponent();
Routing.RegisterRoute("ForgetPassword", typeof(ForgetPassword));
}
}
}

@ -3,18 +3,14 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.ForgetPassword"
Title="ForgetPassword">
<VerticalStackLayout
Margin="20"
Padding="30">
<VerticalStackLayout BackgroundColor="{StaticResource Primary}" Margin="20" Padding="30">
<Label
Text="Rentrée votre adresse email :"
Text="Rentrez votre adresse email :"
HorizontalOptions="Center" />
<Border StrokeShape="RoundRectangle 40" BackgroundColor="White" Padding="7" Margin="40">
<Entry BackgroundColor="White"
TextColor="Black"
VerticalTextAlignment="Center"
FontSize="15"
<Border Style="{StaticResource bordureBlanche}">
<Entry Style="{StaticResource zoneDeTexte}"
Placeholder="Email"
x:Name="EntryMail"/>
</Border>
@ -30,11 +26,8 @@
<Label Text="Veuillez rentrer le code à 6 chiffres reçus par mail"
HorizontalOptions="Center"/>
<Border StrokeShape="RoundRectangle 40" BackgroundColor="White" Padding="7" Margin="40">
<Entry BackgroundColor="White"
TextColor="Black"
VerticalTextAlignment="Center"
FontSize="15"
<Border Style="{StaticResource bordureBlanche}" Padding="7" Margin="40">
<Entry Style="{StaticResource zoneDeTexte}"
Placeholder="6 Chiffres"
Keyboard="Numeric"
x:Name="EntryCodeRecept"/>

@ -6,16 +6,11 @@
<StackLayout BackgroundColor="{StaticResource Primary}">
<StackLayout
Spacing="25"
Padding="30,0"
VerticalOptions="Start"
>
VerticalOptions="Start">
<Label
Margin="0,20,0,30"
@ -27,20 +22,14 @@
<Image Source="logo_sans_fond.png" HorizontalOptions="Center" HeightRequest="200" />
<Border StrokeShape="RoundRectangle 20" BackgroundColor="White" Padding="7">
<Entry BackgroundColor="{StaticResource White}"
TextColor="{StaticResource Black}"
VerticalTextAlignment="Center"
FontSize="15"
<Border Style="{StaticResource bordureBlanche}" Padding="7">
<Entry Style="{StaticResource zoneDeTexte}"
Placeholder="Addresse mail"
x:Name="EntryMail"/>
</Border>
<Border StrokeShape="RoundRectangle 20" BackgroundColor="White" Padding="7">
<Entry BackgroundColor="{StaticResource White}"
TextColor="{StaticResource Black}"
VerticalTextAlignment="Center"
FontSize="15"
<Border Style="{StaticResource bordureBlanche}" Padding="7">
<Entry Style="{StaticResource zoneDeTexte}"
Placeholder="Mot de passe"
IsPassword="True"
x:Name="EntryPassworld"/>

Loading…
Cancel
Save