mirror of
https://github.com/bitwarden/mobile
synced 2025-12-30 07:03:48 +00:00
Updated Delete account view UI (#1692)
This commit is contained in:
committed by
GitHub
parent
6164c764b4
commit
b28e265ed4
@@ -161,7 +161,39 @@
|
||||
<Setter Property="BorderWidth"
|
||||
Value="1" />
|
||||
<Setter Property="TextColor"
|
||||
Value="{DynamicResource ButtonTextColor}" />
|
||||
Value="{DynamicResource ButtonTextColorOpacity}" />
|
||||
<Setter Property="FontSize"
|
||||
Value="Medium" />
|
||||
<Setter Property="CornerRadius"
|
||||
Value="5" />
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="TextColor"
|
||||
Value="{DynamicResource ButtonTextColorDisabled}" />
|
||||
<Setter Property="BackgroundColor"
|
||||
Value="{DynamicResource ButtonBackgroundColorDisabled}" />
|
||||
<Setter Property="BorderColor"
|
||||
Value="{DynamicResource ButtonBackgroundColorDisabled}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
<Style TargetType="Button"
|
||||
Class="btn-danger">
|
||||
<Setter Property="BackgroundColor"
|
||||
Value="{DynamicResource DangerColor}" />
|
||||
<Setter Property="BorderColor"
|
||||
Value="{DynamicResource DangerColor}" />
|
||||
<Setter Property="BorderWidth"
|
||||
Value="1" />
|
||||
<Setter Property="TextColor"
|
||||
Value="{DynamicResource ButtonPrimaryTextColor}" />
|
||||
<Setter Property="FontSize"
|
||||
Value="Medium" />
|
||||
<Setter Property="CornerRadius"
|
||||
@@ -288,4 +320,13 @@
|
||||
<Setter Property="FontSize"
|
||||
Value="25" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Label"
|
||||
ApplyToDerivedTypes="True"
|
||||
Class="title-danger">
|
||||
<Setter Property="TextColor"
|
||||
Value="{DynamicResource DangerColor}" />
|
||||
<Setter Property="FontSize"
|
||||
Value="Title" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<Color x:Key="PasswordSpecialColor">#ff7c70</Color>
|
||||
<Color x:Key="ButtonColor">#e0e0e0</Color>
|
||||
<Color x:Key="InputPlaceholderColor">#707070</Color>
|
||||
<Color x:Key="DangerPressedColor">#ff715e</Color>
|
||||
|
||||
<Color x:Key="BackgroundColor">#000000</Color>
|
||||
<Color x:Key="SplashBackgroundColor">#000000</Color>
|
||||
@@ -57,6 +58,7 @@
|
||||
<Color x:Key="ButtonBorderColor">#898989</Color>
|
||||
<Color x:Key="ButtonTextColor">#ffffff</Color>
|
||||
<Color x:Key="ButtonTextColorDisabled">#aaaaaa</Color>
|
||||
<Color x:Key="ButtonTextColorOpacity">#99ffffff</Color>
|
||||
|
||||
<Color x:Key="FabColor">#52bdfb</Color>
|
||||
<Color x:Key="FabPressedColor">#3ea1da</Color>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<Color x:Key="PasswordSpecialColor">#ff7c70</Color>
|
||||
<Color x:Key="ButtonColor">#e0e0e0</Color>
|
||||
<Color x:Key="InputPlaceholderColor">#707070</Color>
|
||||
<Color x:Key="DangerPressedColor">#ff715e</Color>
|
||||
|
||||
<Color x:Key="BackgroundColor">#303030</Color>
|
||||
<Color x:Key="SplashBackgroundColor">#222222</Color>
|
||||
@@ -57,6 +58,7 @@
|
||||
<Color x:Key="ButtonBorderColor">#898989</Color>
|
||||
<Color x:Key="ButtonTextColor">#ffffff</Color>
|
||||
<Color x:Key="ButtonTextColorDisabled">#aaaaaa</Color>
|
||||
<Color x:Key="ButtonTextColorOpacity">#99ffffff</Color>
|
||||
|
||||
<Color x:Key="FabColor">#52bdfb</Color>
|
||||
<Color x:Key="FabPressedColor">#3ea1da</Color>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<Color x:Key="PasswordSpecialColor">#c40800</Color>
|
||||
<Color x:Key="ButtonColor">#175DDC</Color>
|
||||
<Color x:Key="InputPlaceholderColor">#d0d0d0</Color>
|
||||
<Color x:Key="DangerPressedColor">#9a0007</Color>
|
||||
|
||||
<Color x:Key="BackgroundColor">#ffffff</Color>
|
||||
<Color x:Key="SplashBackgroundColor">#ffffff</Color>
|
||||
@@ -57,6 +58,7 @@
|
||||
<Color x:Key="ButtonBorderColor">#aaaaaa</Color>
|
||||
<Color x:Key="ButtonTextColor">#000000</Color>
|
||||
<Color x:Key="ButtonTextColorDisabled">#aaaaaa</Color>
|
||||
<Color x:Key="ButtonTextColorOpacity">#99000000</Color>
|
||||
|
||||
<Color x:Key="FabColor">#175DDC</Color>
|
||||
<Color x:Key="FabPressedColor">#3883af</Color>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<Color x:Key="PasswordSpecialColor">#d08770</Color>
|
||||
<Color x:Key="ButtonColor">#d8dee9</Color>
|
||||
<Color x:Key="InputPlaceholderColor">#7b88a1</Color>
|
||||
<Color x:Key="DangerPressedColor">#953C44</Color>
|
||||
|
||||
<Color x:Key="BackgroundColor">#3b4252</Color>
|
||||
<Color x:Key="SplashBackgroundColor">#2e3440</Color>
|
||||
@@ -57,6 +58,7 @@
|
||||
<Color x:Key="ButtonBorderColor">#5E6A82</Color>
|
||||
<Color x:Key="ButtonTextColor">#e5e9f0</Color>
|
||||
<Color x:Key="ButtonTextColorDisabled">#aaaaaa</Color>
|
||||
<Color x:Key="ButtonTextColorOpacity">#99e5e9f0</Color>
|
||||
|
||||
<Color x:Key="FabColor">#81a1c1</Color>
|
||||
<Color x:Key="FabPressedColor">#81a1c1</Color>
|
||||
|
||||
@@ -181,7 +181,7 @@
|
||||
<Setter Property="BorderWidth"
|
||||
Value="1" />
|
||||
<Setter Property="TextColor"
|
||||
Value="{DynamicResource ButtonTextColor}" />
|
||||
Value="{DynamicResource ButtonTextColorOpacity}" />
|
||||
<Setter Property="FontSize"
|
||||
Value="Medium" />
|
||||
<Setter Property="CornerRadius"
|
||||
@@ -210,6 +210,44 @@
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
<Style TargetType="Button"
|
||||
Class="btn-danger">
|
||||
<Setter Property="BackgroundColor"
|
||||
Value="{DynamicResource DangerColor}" />
|
||||
<Setter Property="BorderColor"
|
||||
Value="{DynamicResource DangerColor}" />
|
||||
<Setter Property="BorderWidth"
|
||||
Value="1" />
|
||||
<Setter Property="TextColor"
|
||||
Value="{DynamicResource ButtonPrimaryTextColor}" />
|
||||
<Setter Property="FontSize"
|
||||
Value="Medium" />
|
||||
<Setter Property="CornerRadius"
|
||||
Value="5" />
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
<VisualState x:Name="Pressed">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="BackgroundColor"
|
||||
Value="{DynamicResource DangerPressedColor}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
<VisualState x:Name="Disabled">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="TextColor"
|
||||
Value="{DynamicResource ButtonTextColorDisabled}" />
|
||||
<Setter Property="BackgroundColor"
|
||||
Value="{DynamicResource ButtonBackgroundColorDisabled}" />
|
||||
<Setter Property="BorderColor"
|
||||
Value="{DynamicResource ButtonBackgroundColorDisabled}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
<Style TargetType="Button"
|
||||
ApplyToDerivedTypes="True"
|
||||
Class="btn-icon-platform">
|
||||
@@ -307,4 +345,13 @@
|
||||
<Setter Property="Padding"
|
||||
Value="0, 10, 0, 5" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Label"
|
||||
ApplyToDerivedTypes="True"
|
||||
Class="title-danger">
|
||||
<Setter Property="TextColor"
|
||||
Value="{DynamicResource DangerColor}" />
|
||||
<Setter Property="FontSize"
|
||||
Value="Medium" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
|
||||
Reference in New Issue
Block a user