mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-31 23:45:39 +00:00
Tests css
This commit is contained in:
parent
f6a6c13750
commit
a0d32f56df
1 changed files with 48 additions and 22 deletions
|
|
@ -9,9 +9,15 @@
|
|||
^contentpage {
|
||||
background-color: lightgray;
|
||||
}
|
||||
stacklayout label {
|
||||
grid imagebutton {
|
||||
background-color: transparent;
|
||||
padding: 30;
|
||||
width: 150;
|
||||
height: 150;
|
||||
}
|
||||
grid label {
|
||||
text-align: center;
|
||||
font-family: arial;
|
||||
font-family: LinuxLibertineCapitalsBold;
|
||||
}
|
||||
]]>
|
||||
</StyleSheet>
|
||||
|
|
@ -19,26 +25,46 @@
|
|||
<ContentPage.Content>
|
||||
<ScrollView>
|
||||
<FlexLayout Wrap="Wrap" AlignContent="Start" AlignItems="Start" Direction="Row" FlowDirection="LeftToRight" JustifyContent="SpaceEvenly">
|
||||
<StackLayout Orientation="Vertical">
|
||||
<ImageButton BackgroundColor="White" Padding="30" Source="battle_axe.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.PlayerCharacterEditorCommand}"/>
|
||||
<Label Text="Personnages" />
|
||||
</StackLayout>
|
||||
<StackLayout Orientation="Vertical">
|
||||
<ImageButton BackgroundColor="White" Padding="30" Source="spell_book.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.LibraryCommand}" />
|
||||
<Label Text="Bibliothèque" />
|
||||
</StackLayout>
|
||||
<StackLayout Orientation="Vertical">
|
||||
<ImageButton BackgroundColor="White" Padding="30" Source="stars_stack.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.BookmarksCommand}" />
|
||||
<Label Text="Favoris" />
|
||||
</StackLayout>
|
||||
<StackLayout Orientation="Vertical">
|
||||
<ImageButton BackgroundColor="White" Padding="30" Source="crystal_ball.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.DeepSearchCommand}" />
|
||||
<Label Text="Recherche" />
|
||||
</StackLayout>
|
||||
<StackLayout Orientation="Vertical">
|
||||
<ImageButton BackgroundColor="White" Padding="30" Source="wooden_sign.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.AboutCommand}" />
|
||||
<Label Text="A propos de..." />
|
||||
</StackLayout>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Label Grid.Row="1" Text="Personnages" />
|
||||
<ImageButton Grid.RowSpan="2" Source="battle_axe.png" Command="{Binding Main.Navigator.PlayerCharacterEditorCommand}"/>
|
||||
</Grid>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Label Grid.Row="1" Text="Bibliothèque" />
|
||||
<ImageButton Grid.RowSpan="2" Source="spell_book.png" Command="{Binding Main.Navigator.LibraryCommand}" />
|
||||
</Grid>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Label Grid.Row="1" Text="Favoris" />
|
||||
<ImageButton Grid.RowSpan="2" Source="stars_stack.png" Command="{Binding Main.Navigator.BookmarksCommand}" />
|
||||
</Grid>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Label Grid.Row="1" Text="Recherche" />
|
||||
<ImageButton Grid.RowSpan="2" Source="crystal_ball.png" Command="{Binding Main.Navigator.DeepSearchCommand}" />
|
||||
</Grid>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Label Grid.Row="1" Text="A propos de..." />
|
||||
<ImageButton Grid.RowSpan="2" Source="wooden_sign.png" Command="{Binding Main.Navigator.AboutCommand}" />
|
||||
</Grid>
|
||||
</FlexLayout>
|
||||
</ScrollView>
|
||||
</ContentPage.Content>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue