2022-09-16 11:19:46 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
2023-08-31 12:31:38 +02:00
|
|
|
<ResourceDictionary
|
|
|
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core"
|
2024-04-09 12:53:23 +02:00
|
|
|
x:Class="ShareeBike.Themes.LastenradBayern">
|
2022-08-30 15:42:25 +02:00
|
|
|
|
2022-09-16 11:19:46 +02:00
|
|
|
<!--Main color-->
|
2024-04-09 12:53:23 +02:00
|
|
|
<Color x:Key="primary-back-title-color">#009BDB</Color>
|
|
|
|
<Color x:Key="bright-primary-back-title-color">#C5E6E6</Color>
|
2022-08-30 15:42:25 +02:00
|
|
|
|
2023-03-08 13:18:54 +01:00
|
|
|
<!--Background color-->
|
|
|
|
<Color x:Key="background-color">#BEBEBE</Color>
|
|
|
|
|
2023-08-31 12:20:06 +02:00
|
|
|
<!--Important text color-->
|
2024-04-09 12:53:23 +02:00
|
|
|
<Color x:Key="important-text-color">#ff0000</Color>
|
2023-08-31 12:20:06 +02:00
|
|
|
|
2023-02-22 14:03:35 +01:00
|
|
|
<!--Attention color-->
|
2024-04-09 12:53:23 +02:00
|
|
|
<Color x:Key="attention-color">#FF9214</Color>
|
2023-02-22 14:03:35 +01:00
|
|
|
|
2023-08-31 12:20:06 +02:00
|
|
|
<!--RentalProcess colors-->
|
|
|
|
<Color x:Key="process-step-upcoming">#999999</Color>
|
|
|
|
<Color x:Key="process-step-active">#0D0D0D</Color>
|
2024-04-09 12:53:23 +02:00
|
|
|
<Color x:Key="process-step-succeeded">#00813e</Color>
|
|
|
|
<Color x:Key="process-step-failed">#ff0000</Color>
|
2023-08-31 12:20:06 +02:00
|
|
|
|
2022-09-16 11:19:46 +02:00
|
|
|
<!--Primary Button-->
|
2024-04-09 12:53:23 +02:00
|
|
|
<Style TargetType="Button">
|
|
|
|
<Setter Property="WidthRequest" Value="400" />
|
|
|
|
<Setter Property="HorizontalOptions" Value="Center" />
|
|
|
|
<Setter Property="BorderWidth" Value="1"/>
|
|
|
|
<Setter Property="CornerRadius" Value="0" />
|
|
|
|
<Setter Property="FontSize" Value="Medium"/>
|
2023-05-11 17:39:28 +02:00
|
|
|
<Setter Property="FontFamily" Value="RobotoRegular"/>
|
2023-09-22 11:38:42 +02:00
|
|
|
<Setter Property="BorderColor" Value="{DynamicResource Key=primary-back-title-color}"/>
|
|
|
|
<Setter Property="BackgroundColor" Value="{DynamicResource Key=primary-back-title-color}"/>
|
|
|
|
<Setter Property="TextColor" Value="White"/>
|
|
|
|
<Style.Triggers>
|
|
|
|
<Trigger TargetType="Button"
|
2022-08-30 15:42:25 +02:00
|
|
|
Property="IsEnabled"
|
|
|
|
Value="False">
|
2024-04-09 12:53:23 +02:00
|
|
|
<Setter Property="BorderColor" Value="DimGray"/>
|
|
|
|
<Setter Property="BackgroundColor" Value="DimGray"/>
|
2023-09-22 11:38:42 +02:00
|
|
|
<Setter Property="TextColor" Value="LightGray"/>
|
2024-04-09 12:53:23 +02:00
|
|
|
</Trigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
|
2022-09-16 11:19:46 +02:00
|
|
|
<!--Secondary Button-->
|
2024-04-09 12:53:23 +02:00
|
|
|
<Style x:Key="SecondaryButton" TargetType="Button">
|
|
|
|
<Setter Property="WidthRequest" Value="400" />
|
|
|
|
<Setter Property="HorizontalOptions" Value="Center" />
|
|
|
|
<Setter Property="BorderWidth" Value="1"/>
|
|
|
|
<Setter Property="CornerRadius" Value="0" />
|
|
|
|
<Setter Property="FontSize" Value="Medium"/>
|
2023-05-11 17:39:28 +02:00
|
|
|
<Setter Property="FontFamily" Value="RobotoRegular"/>
|
2023-09-22 11:38:42 +02:00
|
|
|
<Setter Property="BorderColor" Value="{DynamicResource Key=primary-back-title-color}"/>
|
|
|
|
<Setter Property="BackgroundColor" Value="White"/>
|
|
|
|
<Setter Property="TextColor" Value="{DynamicResource Key=primary-back-title-color}"/>
|
|
|
|
<Style.Triggers>
|
|
|
|
<Trigger TargetType="Button"
|
2022-08-30 15:42:25 +02:00
|
|
|
Property="IsEnabled"
|
|
|
|
Value="False">
|
2024-04-09 12:53:23 +02:00
|
|
|
<Setter Property="BorderColor" Value="DimGray"/>
|
|
|
|
<Setter Property="BackgroundColor" Value="LightGray"/>
|
2023-09-22 11:38:42 +02:00
|
|
|
<Setter Property="TextColor" Value="DimGray"/>
|
2024-04-09 12:53:23 +02:00
|
|
|
</Trigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
2022-08-30 15:42:25 +02:00
|
|
|
|
2023-07-19 10:10:36 +02:00
|
|
|
<!--Button without outline-->
|
2023-09-22 11:38:42 +02:00
|
|
|
<Style x:Key="NoOutlineButtonWhite" TargetType="Button">
|
2023-07-19 10:10:36 +02:00
|
|
|
<Setter Property="WidthRequest" Value="400" />
|
|
|
|
<Setter Property="HorizontalOptions" Value="Center" />
|
|
|
|
<Setter Property="BorderWidth" Value="1"/>
|
2024-04-09 12:53:23 +02:00
|
|
|
<Setter Property="CornerRadius" Value="0" />
|
2023-07-19 10:10:36 +02:00
|
|
|
<Setter Property="FontSize" Value="Medium"/>
|
|
|
|
<Setter Property="FontFamily" Value="RobotoRegular"/>
|
2023-09-22 11:38:42 +02:00
|
|
|
<Setter Property="BorderColor" Value="White"/>
|
|
|
|
<Setter Property="BackgroundColor" Value="White"/>
|
2023-07-19 10:10:36 +02:00
|
|
|
<Setter Property="TextColor" Value="{DynamicResource Key=primary-back-title-color}"/>
|
|
|
|
<Style.Triggers>
|
|
|
|
<Trigger TargetType="Button"
|
|
|
|
Property="IsEnabled"
|
2023-09-22 11:38:42 +02:00
|
|
|
Value="False">
|
|
|
|
<Setter Property="TextColor" Value="DimGray"/>
|
2023-07-19 10:10:36 +02:00
|
|
|
</Trigger>
|
2023-09-22 11:38:42 +02:00
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
<Style x:Key="NoOutlineButtonBackgroundColor" TargetType="Button">
|
|
|
|
<Setter Property="WidthRequest" Value="400" />
|
|
|
|
<Setter Property="HorizontalOptions" Value="Center" />
|
|
|
|
<Setter Property="BorderWidth" Value="1"/>
|
2024-04-09 12:53:23 +02:00
|
|
|
<Setter Property="CornerRadius" Value="0" />
|
2023-09-22 11:38:42 +02:00
|
|
|
<Setter Property="FontSize" Value="Medium"/>
|
|
|
|
<Setter Property="FontFamily" Value="RobotoRegular"/>
|
|
|
|
<Setter Property="BorderColor" Value="{DynamicResource Key=background-color}"/>
|
|
|
|
<Setter Property="BackgroundColor" Value="{DynamicResource Key=background-color}"/>
|
|
|
|
<Setter Property="TextColor" Value="{DynamicResource Key=primary-back-title-color}"/>
|
|
|
|
<Style.Triggers>
|
2023-07-19 10:10:36 +02:00
|
|
|
<Trigger TargetType="Button"
|
2023-09-22 11:38:42 +02:00
|
|
|
Property="IsEnabled"
|
|
|
|
Value="False">
|
|
|
|
<Setter Property="TextColor" Value="DimGray"/>
|
2023-07-19 10:10:36 +02:00
|
|
|
</Trigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
|
2024-04-09 12:53:23 +02:00
|
|
|
<!--Frame-->
|
|
|
|
<Style TargetType="Frame">
|
|
|
|
<Setter Property="CornerRadius" Value="0" />
|
|
|
|
<Setter Property="HasShadow" Value="False" />
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
<Style x:Key="RunningProcessFrame" TargetType="Frame">
|
|
|
|
<Setter Property="CornerRadius" Value="0" />
|
|
|
|
<Setter Property="HasShadow" Value="False" />
|
|
|
|
</Style>
|
|
|
|
|
2022-09-16 11:19:46 +02:00
|
|
|
<!--Switch-->
|
2024-04-09 12:53:23 +02:00
|
|
|
<Style TargetType="Switch">
|
|
|
|
<Style.Triggers>
|
|
|
|
<Trigger TargetType="Switch"
|
2022-08-30 15:42:25 +02:00
|
|
|
Property="IsToggled"
|
|
|
|
Value="True">
|
2024-04-09 12:53:23 +02:00
|
|
|
<Setter Property="ThumbColor" Value="{DynamicResource Key=primary-back-title-color}"/>
|
2023-09-22 11:38:42 +02:00
|
|
|
<Setter Property="OnColor" Value="{DynamicResource Key=bright-primary-back-title-color}"/>
|
2024-04-09 12:53:23 +02:00
|
|
|
</Trigger>
|
|
|
|
<Trigger TargetType="Switch"
|
2022-08-30 15:42:25 +02:00
|
|
|
Property="IsToggled"
|
|
|
|
Value="False">
|
2023-09-22 11:38:42 +02:00
|
|
|
<Setter Property="ThumbColor" Value="DimGray"/>
|
|
|
|
</Trigger>
|
2024-04-09 12:53:23 +02:00
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
|
2022-09-16 11:19:46 +02:00
|
|
|
<!--Slider-->
|
2024-04-09 12:53:23 +02:00
|
|
|
<Style TargetType="Slider">
|
2023-09-22 11:38:42 +02:00
|
|
|
<Setter Property="ThumbColor" Value="{DynamicResource Key=primary-back-title-color}"/>
|
|
|
|
</Style>
|
2022-09-16 11:19:46 +02:00
|
|
|
|
|
|
|
<!--Label-->
|
2023-07-19 10:10:36 +02:00
|
|
|
<Style TargetType="Label">
|
|
|
|
<Setter Property="FontSize" Value="Default"/>
|
2023-05-11 17:39:28 +02:00
|
|
|
<Setter Property="FontFamily" Value="RobotoRegular"/>
|
2023-07-19 10:10:36 +02:00
|
|
|
<Style.Triggers>
|
|
|
|
<Trigger TargetType="Label"
|
|
|
|
Property="FontAttributes"
|
|
|
|
Value="Bold">
|
|
|
|
<Setter Property="FontFamily" Value="RobotoBold"/>
|
|
|
|
</Trigger>
|
|
|
|
<Trigger TargetType="Label"
|
|
|
|
Property="FontAttributes"
|
|
|
|
Value="Italic">
|
|
|
|
<Setter Property="FontFamily" Value="RobotoItalic"/>
|
|
|
|
</Trigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
2022-09-16 11:19:46 +02:00
|
|
|
|
2023-05-11 17:39:28 +02:00
|
|
|
<!--Entry-->
|
|
|
|
<Style TargetType="Entry">
|
|
|
|
<Setter Property="FontSize" Value="Default"/>
|
|
|
|
<Setter Property="FontFamily" Value="RobotoRegular"/>
|
|
|
|
</Style>
|
|
|
|
|
2022-09-16 11:19:46 +02:00
|
|
|
<!--Flyout Item-->
|
2024-04-09 12:53:23 +02:00
|
|
|
<Style TargetType="FlyoutItem">
|
|
|
|
<Setter Property="Shell.BackgroundColor" Value="{DynamicResource Key=primary-back-title-color}" />
|
|
|
|
</Style>
|
2022-09-16 11:19:46 +02:00
|
|
|
|
|
|
|
<!--Navbar-->
|
2024-04-09 12:53:23 +02:00
|
|
|
<Style x:Key="Label-Navbar" TargetType="Label">
|
2023-08-31 12:31:38 +02:00
|
|
|
<Setter Property="FontSize" Value="20"/>
|
2023-05-11 17:39:28 +02:00
|
|
|
<Setter Property="FontFamily" Value="RobotoRegular"/>
|
2023-09-22 11:38:42 +02:00
|
|
|
<Setter Property="TextColor" Value="White"/>
|
2024-04-09 12:53:23 +02:00
|
|
|
<Setter Property="VerticalOptions" Value="Start"/>
|
2023-08-31 12:31:38 +02:00
|
|
|
<Setter Property="HorizontalOptions" Value="Start"/>
|
2023-09-22 11:38:42 +02:00
|
|
|
<Setter Property="Padding" Value="0,14,0,12"/>
|
2023-11-21 15:26:57 +01:00
|
|
|
<Setter Property="MaxLines" Value="1"/>
|
2023-08-31 12:31:38 +02:00
|
|
|
</Style>
|
2022-09-16 11:19:46 +02:00
|
|
|
<Style x:Key="Image-Navbar" TargetType="Image">
|
2023-09-14 12:28:59 +02:00
|
|
|
<Setter Property="Source" Value="navbar_theme.png"/>
|
2022-09-16 11:19:46 +02:00
|
|
|
<Setter Property="Aspect" Value="AspectFill"/>
|
|
|
|
<Setter Property="Grid.ColumnSpan" Value="2"/>
|
|
|
|
</Style>
|
|
|
|
|
2023-08-31 12:31:38 +02:00
|
|
|
<!--TabbedPage-->
|
|
|
|
<Style x:Key="TabbedPageStyle" TargetType="TabbedPage">
|
|
|
|
<Setter Property="BarBackgroundColor" Value="White"/>
|
|
|
|
<Setter Property="UnselectedTabColor" Value="DimGray"/>
|
|
|
|
<Setter Property="SelectedTabColor" Value="{x:DynamicResource primary-back-title-color}"/>
|
|
|
|
<Setter Property="android:TabbedPage.ToolbarPlacement" Value="Default"/>
|
|
|
|
</Style>
|
|
|
|
|
2022-09-16 11:19:46 +02:00
|
|
|
</ResourceDictionary>
|