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 {
|
^contentpage {
|
||||||
background-color: lightgray;
|
background-color: lightgray;
|
||||||
}
|
}
|
||||||
stacklayout label {
|
grid imagebutton {
|
||||||
|
background-color: transparent;
|
||||||
|
padding: 30;
|
||||||
|
width: 150;
|
||||||
|
height: 150;
|
||||||
|
}
|
||||||
|
grid label {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-family: arial;
|
font-family: LinuxLibertineCapitalsBold;
|
||||||
}
|
}
|
||||||
]]>
|
]]>
|
||||||
</StyleSheet>
|
</StyleSheet>
|
||||||
|
|
@ -19,26 +25,46 @@
|
||||||
<ContentPage.Content>
|
<ContentPage.Content>
|
||||||
<ScrollView>
|
<ScrollView>
|
||||||
<FlexLayout Wrap="Wrap" AlignContent="Start" AlignItems="Start" Direction="Row" FlowDirection="LeftToRight" JustifyContent="SpaceEvenly">
|
<FlexLayout Wrap="Wrap" AlignContent="Start" AlignItems="Start" Direction="Row" FlowDirection="LeftToRight" JustifyContent="SpaceEvenly">
|
||||||
<StackLayout Orientation="Vertical">
|
<Grid>
|
||||||
<ImageButton BackgroundColor="White" Padding="30" Source="battle_axe.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.PlayerCharacterEditorCommand}"/>
|
<Grid.RowDefinitions>
|
||||||
<Label Text="Personnages" />
|
<RowDefinition Height="*" />
|
||||||
</StackLayout>
|
<RowDefinition Height="auto" />
|
||||||
<StackLayout Orientation="Vertical">
|
</Grid.RowDefinitions>
|
||||||
<ImageButton BackgroundColor="White" Padding="30" Source="spell_book.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.LibraryCommand}" />
|
<Label Grid.Row="1" Text="Personnages" />
|
||||||
<Label Text="Bibliothèque" />
|
<ImageButton Grid.RowSpan="2" Source="battle_axe.png" Command="{Binding Main.Navigator.PlayerCharacterEditorCommand}"/>
|
||||||
</StackLayout>
|
</Grid>
|
||||||
<StackLayout Orientation="Vertical">
|
<Grid>
|
||||||
<ImageButton BackgroundColor="White" Padding="30" Source="stars_stack.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.BookmarksCommand}" />
|
<Grid.RowDefinitions>
|
||||||
<Label Text="Favoris" />
|
<RowDefinition Height="*" />
|
||||||
</StackLayout>
|
<RowDefinition Height="auto" />
|
||||||
<StackLayout Orientation="Vertical">
|
</Grid.RowDefinitions>
|
||||||
<ImageButton BackgroundColor="White" Padding="30" Source="crystal_ball.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.DeepSearchCommand}" />
|
<Label Grid.Row="1" Text="Bibliothèque" />
|
||||||
<Label Text="Recherche" />
|
<ImageButton Grid.RowSpan="2" Source="spell_book.png" Command="{Binding Main.Navigator.LibraryCommand}" />
|
||||||
</StackLayout>
|
</Grid>
|
||||||
<StackLayout Orientation="Vertical">
|
<Grid>
|
||||||
<ImageButton BackgroundColor="White" Padding="30" Source="wooden_sign.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.AboutCommand}" />
|
<Grid.RowDefinitions>
|
||||||
<Label Text="A propos de..." />
|
<RowDefinition Height="*" />
|
||||||
</StackLayout>
|
<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>
|
</FlexLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
</ContentPage.Content>
|
</ContentPage.Content>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue