Unify offline startup state and strengthen empty-state cards

This commit is contained in:
Meik
2026-03-05 15:06:48 +01:00
parent ad83f69037
commit 36652cb8c4
5 changed files with 45 additions and 15 deletions

View File

@@ -84,14 +84,18 @@
x:FieldModifier="private"
Background="Transparent"
Width="{Binding ActualWidth, ElementName=Canvas, Mode=OneWay}"
Height="58">
Height="86">
<Border Margin="2,0,2,0"
Height="86"
BorderThickness="1"
CornerRadius="10"
BorderBrush="{DynamicResource cardBorderColor}"
Background="{DynamicResource cardBackgroundColor}">
Background="{DynamicResource cardBackgroundColor}"
Padding="18,0,12,0">
<TextBlock Text="{x:Static resx:Resources.noannouncement}"
Margin="18,12,10,0"
VerticalAlignment="Center"
FontSize="14"
FontWeight="SemiBold"
Foreground="{DynamicResource subtleTextColor}" />
</Border>
</StackPanel>

View File

@@ -121,16 +121,20 @@
<StackPanel x:Name="NoIncident"
Background="Transparent"
Width="{Binding ActualWidth, ElementName=Canvas2, Mode=OneWay}"
Height="58"
Height="86"
Canvas.Top="56"
Canvas.Left="0">
<Border Margin="2,0,2,0"
Height="86"
BorderThickness="1"
CornerRadius="10"
BorderBrush="{DynamicResource cardBorderColor}"
Background="{DynamicResource cardBackgroundColor}">
Background="{DynamicResource cardBackgroundColor}"
Padding="18,0,12,0">
<TextBlock Text="{x:Static resx:Resources.noincidents}"
Margin="18,12,10,0"
VerticalAlignment="Center"
FontSize="14"
FontWeight="SemiBold"
Foreground="{DynamicResource subtleTextColor}" />
</Border>
</StackPanel>