feat: more controls.
This commit is contained in:
@@ -19,9 +19,7 @@
|
|||||||
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
||||||
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="$(AvaloniaVersion)" />
|
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="$(AvaloniaVersion)" />
|
||||||
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.0" />
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.0" />
|
||||||
<!--
|
<PackageReference Include="Semi.Avalonia" Version="11.1.0.5-beta1" />
|
||||||
<PackageReference Include="Semi.Avalonia" Version="11.1.0.2" />
|
|
||||||
-->
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -30,18 +30,19 @@
|
|||||||
Header="Clear" />
|
Header="Clear" />
|
||||||
</MenuFlyout>
|
</MenuFlyout>
|
||||||
<ControlTheme x:Key="{x:Type u:IPv4Box}" TargetType="{x:Type u:IPv4Box}">
|
<ControlTheme x:Key="{x:Type u:IPv4Box}" TargetType="{x:Type u:IPv4Box}">
|
||||||
<Setter Property="u:IPv4Box.Focusable" Value="True" />
|
<Setter Property="Focusable" Value="True" />
|
||||||
<Setter Property="u:IPv4Box.ShowLeadingZero" Value="True" />
|
<Setter Property="ShowLeadingZero" Value="True" />
|
||||||
<Setter Property="u:IPv4Box.TextAlignment" Value="Center" />
|
<Setter Property="TextAlignment" Value="Center" />
|
||||||
<Setter Property="u:IPv4Box.HorizontalAlignment" Value="Left" />
|
<Setter Property="HorizontalAlignment" Value="Left" />
|
||||||
<Setter Property="u:IPv4Box.CornerRadius" Value="{DynamicResource IPv4BoxCornerRadius}" />
|
<Setter Property="CornerRadius" Value="{DynamicResource TextBoxDefaultCornerRadius}" />
|
||||||
<Setter Property="u:IPv4Box.Background" Value="{DynamicResource IPv4BoxBackground}" />
|
<Setter Property="Background" Value="{DynamicResource TextBoxDefaultBackground}" />
|
||||||
<Setter Property="u:IPv4Box.MinHeight" Value="{DynamicResource IPv4BoxDefaultMinHeight}" />
|
<Setter Property="MinHeight" Value="{DynamicResource TextBoxDefaultHeight}" />
|
||||||
<Setter Property="u:IPv4Box.BorderThickness" Value="{DynamicResource IPv4BoxBorderThickness}" />
|
<Setter Property="BorderThickness" Value="{DynamicResource TextBoxBorderThickness}" />
|
||||||
<Setter Property="u:IPv4Box.SelectionBrush" Value="{DynamicResource IPv4BoxSelectionBrush}" />
|
<Setter Property="SelectionBrush" Value="{DynamicResource TextBoxSelectionBackground}" />
|
||||||
<Setter Property="u:IPv4Box.SelectionForegroundBrush" Value="{DynamicResource IPv4BoxSelectionForeground}" />
|
<Setter Property="SelectionForegroundBrush" Value="{DynamicResource TextBoxSelectionForeground}" />
|
||||||
<Setter Property="u:IPv4Box.CaretBrush" Value="{DynamicResource IPv4BoxCaretBrush}" />
|
<Setter Property="BorderBrush" Value="{DynamicResource TextBoxDefaultBorderBrush}" />
|
||||||
<Setter Property="u:IPv4Box.ContextFlyout" Value="{DynamicResource IPv4BoxMenuFlyout}" />
|
<Setter Property="CaretBrush" Value="{DynamicResource TextBoxTextCaretBrush}" />
|
||||||
|
<Setter Property="ContextFlyout" Value="{DynamicResource IPv4BoxMenuFlyout}" />
|
||||||
<Setter Property="FocusAdorner" Value="{x:Null}"></Setter>
|
<Setter Property="FocusAdorner" Value="{x:Null}"></Setter>
|
||||||
<Setter Property="u:IPv4Box.Template">
|
<Setter Property="u:IPv4Box.Template">
|
||||||
<ControlTemplate TargetType="u:IPv4Box">
|
<ControlTemplate TargetType="u:IPv4Box">
|
||||||
@@ -113,17 +114,20 @@
|
|||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter>
|
</Setter>
|
||||||
<Style Selector="^:pointerover /template/ Border#PART_Border">
|
<Style Selector="^:pointerover /template/ Border#PART_Border">
|
||||||
<Setter Property="Background" Value="{DynamicResource IPv4BoxPointeroverBackground}" />
|
<Setter Property="Background" Value="{DynamicResource TextBoxPointeroverBackground}" />
|
||||||
|
<Setter Property="BorderBrush" Value="{DynamicResource TextBoxPointeroverBorderBrush}" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^:pressed /template/ Border#PART_Border">
|
<Style Selector="^:pressed /template/ Border#PART_Border">
|
||||||
<Setter Property="Background" Value="{DynamicResource IPv4BoxPressedBackground}" />
|
<Setter Property="Background" Value="{DynamicResource IPv4BoxPressedBackground}" />
|
||||||
|
<Setter Property="BorderBrush" Value="{DynamicResource TextBoxFocusBorderBrush}" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^:focus-within">
|
<Style Selector="^:focus-within">
|
||||||
<Setter Property="Border.BorderBrush" Value="{DynamicResource IPv4BoxFocusBorderBrush}" />
|
<Setter Property="BorderBrush" Value="{DynamicResource TextBoxFocusBorderBrush}" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^:disabled">
|
<Style Selector="^:disabled">
|
||||||
<Setter Property="Background" Value="{DynamicResource IPv4BoxDisabledBackground}" />
|
<Setter Property="Background" Value="{DynamicResource TextBoxDisabledBackground}" />
|
||||||
<Setter Property="Foreground" Value="{DynamicResource SemiColorDisabledText}" />
|
<Setter Property="Foreground" Value="{DynamicResource TextBoxDisabledForeground}" />
|
||||||
|
<Setter Property="BorderBrush" Value="{DynamicResource TextBoxDisabledBorderBrush}" />
|
||||||
</Style>
|
</Style>
|
||||||
</ControlTheme>
|
</ControlTheme>
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
|
|||||||
@@ -7,12 +7,11 @@
|
|||||||
<converters:PlatformKeyGestureConverter x:Key="KeyGestureConverter" />
|
<converters:PlatformKeyGestureConverter x:Key="KeyGestureConverter" />
|
||||||
|
|
||||||
<ControlTheme x:Key="{x:Type u:KeyGestureInput}" TargetType="u:KeyGestureInput">
|
<ControlTheme x:Key="{x:Type u:KeyGestureInput}" TargetType="u:KeyGestureInput">
|
||||||
<Setter Property="MinWidth" Value="{DynamicResource KeyGestureInputWidth}" />
|
<Setter Property="MinHeight" Value="{DynamicResource TextBoxDefaultHeight}" />
|
||||||
<Setter Property="MinHeight" Value="{DynamicResource KeyGestureInputHeight}" />
|
<Setter Property="Background" Value="{DynamicResource TextBoxDefaultBackground}" />
|
||||||
<Setter Property="Background" Value="{DynamicResource KeyGestureInputBackground}" />
|
<Setter Property="BorderBrush" Value="{DynamicResource TextBoxDefaultBorderBrush}" />
|
||||||
<Setter Property="BorderBrush" Value="{DynamicResource KeyGestureInputBorderBrush}" />
|
<Setter Property="BorderThickness" Value="{DynamicResource TextBoxBorderThickness}" />
|
||||||
<Setter Property="BorderThickness" Value="{DynamicResource KeyGestureInputBorderThickness}" />
|
<Setter Property="CornerRadius" Value="{DynamicResource TextBoxDefaultCornerRadius}" />
|
||||||
<Setter Property="CornerRadius" Value="{DynamicResource KeyGestureInputCornerRadius}" />
|
|
||||||
<Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
|
<Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
|
||||||
<Setter Property="Padding" Value="8 0" />
|
<Setter Property="Padding" Value="8 0" />
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
@@ -67,18 +66,18 @@
|
|||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter>
|
</Setter>
|
||||||
<Style Selector="^:pointerover /template/ Border#Background">
|
<Style Selector="^:pointerover /template/ Border#Background">
|
||||||
<Setter Property="Background" Value="{DynamicResource KeyGestureInputPointeroverBackground}" />
|
<Setter Property="Background" Value="{DynamicResource TextBoxPointeroverBackground}" />
|
||||||
|
<Setter Property="BorderBrush" Value="{DynamicResource TextBoxPointeroverBorderBrush}" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^:pressed /template/ Border#Background">
|
<Style Selector="^:pressed /template/ Border#Background">
|
||||||
<Setter Property="Background" Value="{DynamicResource KeyGestureInputPressedBackground}" />
|
<Setter Property="Background" Value="{DynamicResource TextBoxPressedBackground}" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^:focus /template/ Border#Background">
|
<Style Selector="^:focus /template/ Border#Background">
|
||||||
<Setter Property="Background" Value="{DynamicResource KeyGestureInputPressedBackground}" />
|
<Setter Property="BorderBrush" Value="{DynamicResource TextBoxFocusBorderBrush}" />
|
||||||
<Setter Property="BorderBrush" Value="{DynamicResource KeyGestureInputFocusBorderBrush}" />
|
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^:focus-within /template/ Border#Background">
|
<Style Selector="^:focus-within /template/ Border#Background">
|
||||||
<Setter Property="Background" Value="{DynamicResource KeyGestureInputPressedBackground}" />
|
<Setter Property="Background" Value="{DynamicResource TextBoxPressedBackground}" />
|
||||||
<Setter Property="BorderBrush" Value="{DynamicResource KeyGestureInputFocusBorderBrush}" />
|
<Setter Property="BorderBrush" Value="{DynamicResource TextBoxFocusBorderBrush}" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^:not(:empty).clearButton, ^:not(:empty).ClearButton">
|
<Style Selector="^:not(:empty).clearButton, ^:not(:empty).ClearButton">
|
||||||
<Style Selector="^:focus /template/ Button#PART_ClearButton">
|
<Style Selector="^:focus /template/ Button#PART_ClearButton">
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<Setter Property="VerticalAlignment" Value="Top" />
|
<Setter Property="VerticalAlignment" Value="Top" />
|
||||||
<Setter Property="Background" Value="{DynamicResource ComboBoxSelectorBackground}" />
|
<Setter Property="Background" Value="{DynamicResource ComboBoxSelectorBackground}" />
|
||||||
<Setter Property="CornerRadius" Value="{DynamicResource ComboBoxSelectorCornerRadius}" />
|
<Setter Property="CornerRadius" Value="{DynamicResource ComboBoxSelectorCornerRadius}" />
|
||||||
<Setter Property="BorderBrush" Value="Transparent" />
|
<Setter Property="BorderBrush" Value="{DynamicResource ComboBoxSelectorBorderBrush}" />
|
||||||
<Setter Property="HorizontalAlignment" Value="Left" />
|
<Setter Property="HorizontalAlignment" Value="Left" />
|
||||||
<Setter Property="MaxDropdownHeight" Value="300" />
|
<Setter Property="MaxDropdownHeight" Value="300" />
|
||||||
<Setter Property="MaxSelectionBoxHeight" Value="270"></Setter>
|
<Setter Property="MaxSelectionBoxHeight" Value="270"></Setter>
|
||||||
|
|||||||
@@ -55,7 +55,8 @@
|
|||||||
Grid.Row="0"
|
Grid.Row="0"
|
||||||
MinHeight="32"
|
MinHeight="32"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
Background="{TemplateBinding u:NavMenuItem.Background}"
|
Background="{TemplateBinding Background}"
|
||||||
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
CornerRadius="4"
|
CornerRadius="4"
|
||||||
Cursor="Hand">
|
Cursor="Hand">
|
||||||
<Grid
|
<Grid
|
||||||
@@ -149,9 +150,11 @@
|
|||||||
</Setter>
|
</Setter>
|
||||||
<Setter Property="Template" Value="{StaticResource DefaultNavMenuItemTemplate}" />
|
<Setter Property="Template" Value="{StaticResource DefaultNavMenuItemTemplate}" />
|
||||||
<Style Selector="^:selected">
|
<Style Selector="^:selected">
|
||||||
<Setter Property="Background" Value="{DynamicResource NavigationMenuItemSelectedBackground}" />
|
<Setter Property="Foreground" Value="{DynamicResource ListBoxItemSelectedForeground}"></Setter>
|
||||||
|
<Setter Property="Background" Value="{DynamicResource ListBoxItemSelectedBackground}" />
|
||||||
<Style Selector="^:pointerover">
|
<Style Selector="^:pointerover">
|
||||||
<Setter Property="Background" Value="{DynamicResource NavigationMenuItemSelectedBackground}" />
|
<Setter Property="Foreground" Value="{DynamicResource ListBoxItemSelectedForeground}"></Setter>
|
||||||
|
<Setter Property="Background" Value="{DynamicResource ListBoxItemSelectedPointeroverBackground}" />
|
||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^:vertical-collapsed /template/ ItemsPresenter#PART_ItemsPresenter">
|
<Style Selector="^:vertical-collapsed /template/ ItemsPresenter#PART_ItemsPresenter">
|
||||||
@@ -165,7 +168,10 @@
|
|||||||
<Setter Property="IsVisible" Value="False" />
|
<Setter Property="IsVisible" Value="False" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^ /template/ Border#PART_Border:pointerover">
|
<Style Selector="^ /template/ Border#PART_Border:pointerover">
|
||||||
<Setter Property="Background" Value="{DynamicResource NavigationMenuItemPointeroverBackground}" />
|
<Setter Property="Background" Value="{DynamicResource ListBoxItemPointeroverBackground}" />
|
||||||
|
</Style>
|
||||||
|
<Style Selector="^ /template/ ContentPresenter#PART_HeaderPresenter:pointerover">
|
||||||
|
<Setter Property="Foreground" Value="{DynamicResource ListBoxItemPointeroverForeground}" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^:horizontal-collapsed:first-level">
|
<Style Selector="^:horizontal-collapsed:first-level">
|
||||||
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
||||||
@@ -179,7 +185,7 @@
|
|||||||
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^ /template/ Border#PART_Border:pointerover">
|
<Style Selector="^ /template/ Border#PART_Border:pointerover">
|
||||||
<Setter Property="Background" Value="{DynamicResource NavigationMenuItemPointeroverBackground}" />
|
<Setter Property="Background" Value="{DynamicResource ListBoxItemPointeroverBackground}" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^ /template/ ContentPresenter#PART_IconPresenter">
|
<Style Selector="^ /template/ ContentPresenter#PART_IconPresenter">
|
||||||
<Setter Property="Grid.ColumnSpan" Value="3" />
|
<Setter Property="Grid.ColumnSpan" Value="3" />
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
<Setter Property="Width" Value="{DynamicResource TextBoxDefaultHeight}" />
|
<Setter Property="Width" Value="{DynamicResource TextBoxDefaultHeight}" />
|
||||||
<Setter Property="CornerRadius" Value="{DynamicResource TextBoxDefaultCornerRadius}" />
|
<Setter Property="CornerRadius" Value="{DynamicResource TextBoxDefaultCornerRadius}" />
|
||||||
<Setter Property="BorderThickness" Value="{DynamicResource TextBoxBorderThickness}" />
|
<Setter Property="BorderThickness" Value="{DynamicResource TextBoxBorderThickness}" />
|
||||||
|
<Setter Property="BorderBrush" Value="{DynamicResource TextBoxDefaultBorderBrush}"></Setter>
|
||||||
<Setter Property="Background" Value="{DynamicResource TextBoxDefaultBackground}" />
|
<Setter Property="Background" Value="{DynamicResource TextBoxDefaultBackground}" />
|
||||||
<Setter Property="FocusAdorner" Value="{x:Null}" />
|
<Setter Property="FocusAdorner" Value="{x:Null}" />
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
@@ -20,6 +21,7 @@
|
|||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
VerticalAlignment="Stretch"
|
VerticalAlignment="Stretch"
|
||||||
Background="{TemplateBinding Background}"
|
Background="{TemplateBinding Background}"
|
||||||
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
BorderThickness="{TemplateBinding BorderThickness}"
|
BorderThickness="{TemplateBinding BorderThickness}"
|
||||||
CornerRadius="{TemplateBinding CornerRadius}">
|
CornerRadius="{TemplateBinding CornerRadius}">
|
||||||
<TextPresenter
|
<TextPresenter
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
<Setter Property="Background" Value="{DynamicResource ComboBoxSelectorBackground}" />
|
<Setter Property="Background" Value="{DynamicResource ComboBoxSelectorBackground}" />
|
||||||
<Setter Property="CornerRadius" Value="{DynamicResource ComboBoxSelectorCornerRadius}" />
|
<Setter Property="CornerRadius" Value="{DynamicResource ComboBoxSelectorCornerRadius}" />
|
||||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||||
|
<Setter Property="BorderBrush" Value="{DynamicResource ComboBoxSelectorBorderBrush}"></Setter>
|
||||||
<Setter Property="BorderThickness" Value="1" />
|
<Setter Property="BorderThickness" Value="1" />
|
||||||
<Setter Property="MinHeight" Value="{DynamicResource ComboBoxDefaultHeight}" />
|
<Setter Property="MinHeight" Value="{DynamicResource ComboBoxDefaultHeight}" />
|
||||||
<Setter Property="Cursor" Value="Hand" />
|
<Setter Property="Cursor" Value="Hand" />
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
||||||
<!-- Add Resources Here -->
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxBackground" Opacity="0.12" Color="White" />
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxPointeroverBackground" Opacity="0.16" Color="White" />
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxPressedBackground" Opacity="0.2" Color="White" />
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxBorderBrush" Color="Transparent" />
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxDisabledBackground" Opacity="0.04" Color="#E6E8EA" />
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxFocusBorderBrush" Color="#FF54A9FF" />
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxSelectionBrush" Color="#FF54A9FF" />
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxSelectionForeground" Color="White" />
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxCaretBrush" Color="White" />
|
|
||||||
</ResourceDictionary>
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
||||||
<!-- Add Resources Here -->
|
|
||||||
<SolidColorBrush x:Key="KeyGestureInputBackground" Opacity="0.12" Color="White" />
|
|
||||||
<SolidColorBrush x:Key="KeyGestureInputPointeroverBackground" Opacity="0.16" Color="White" />
|
|
||||||
<SolidColorBrush x:Key="KeyGestureInputPressedBackground" Opacity="0.2" Color="White" />
|
|
||||||
<SolidColorBrush x:Key="KeyGestureInputBorderBrush" Color="Transparent" />
|
|
||||||
<SolidColorBrush x:Key="KeyGestureInputDisabledBackground" Opacity="0.04" Color="#E6E8EA" />
|
|
||||||
<SolidColorBrush x:Key="KeyGestureInputFocusBorderBrush" Color="#FF54A9FF" />
|
|
||||||
</ResourceDictionary>
|
|
||||||
@@ -1,9 +1,4 @@
|
|||||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||||
<!-- Add Resources Here -->
|
<!-- Add Resources Here -->
|
||||||
<SolidColorBrush x:Key="NavigationMenuItemDefaultBackground" Color="Transparent" />
|
|
||||||
<SolidColorBrush x:Key="NavigationMenuItemPointeroverBackground" Opacity="0.12" Color="White" />
|
|
||||||
<SolidColorBrush x:Key="NavigationMenuItemPressedBackground" Opacity="0.16" Color="White" />
|
|
||||||
<SolidColorBrush x:Key="NavigationMenuItemSelectedBackground" Opacity="0.2" Color="#54A9FF" />
|
|
||||||
<SolidColorBrush x:Key="NavigationMenuItemHighlightForeground" Color="#54A9FF" />
|
|
||||||
<SolidColorBrush x:Key="NavigationMenuItemExpandIconForeground" Opacity="0.62" Color="#F9F9F9" />
|
<SolidColorBrush x:Key="NavigationMenuItemExpandIconForeground" Opacity="0.62" Color="#F9F9F9" />
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
|
|||||||
@@ -8,8 +8,6 @@
|
|||||||
<MergeResourceInclude Source="Dialog.axaml" />
|
<MergeResourceInclude Source="Dialog.axaml" />
|
||||||
<MergeResourceInclude Source="Divider.axaml" />
|
<MergeResourceInclude Source="Divider.axaml" />
|
||||||
<MergeResourceInclude Source="DualBadge.axaml" />
|
<MergeResourceInclude Source="DualBadge.axaml" />
|
||||||
<MergeResourceInclude Source="IPv4Box.axaml" />
|
|
||||||
<MergeResourceInclude Source="KeyGestureInput.axaml" />
|
|
||||||
<MergeResourceInclude Source="Loading.axaml" />
|
<MergeResourceInclude Source="Loading.axaml" />
|
||||||
<MergeResourceInclude Source="NavigationMenu.axaml" />
|
<MergeResourceInclude Source="NavigationMenu.axaml" />
|
||||||
<MergeResourceInclude Source="NotificationShared.axaml" />
|
<MergeResourceInclude Source="NotificationShared.axaml" />
|
||||||
|
|||||||
@@ -99,4 +99,5 @@
|
|||||||
<!-- Divider -->
|
<!-- Divider -->
|
||||||
<SolidColorBrush x:Key="DividerBorderBrush" Color="{StaticResource WindowTextColor}" />
|
<SolidColorBrush x:Key="DividerBorderBrush" Color="{StaticResource WindowTextColor}" />
|
||||||
|
|
||||||
|
<SolidColorBrush x:Key="NavigationMenuItemExpandIconForeground" Color="{StaticResource WindowTextColor}" />
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
||||||
<!-- Add Resources Here -->
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxBackground" Opacity="0.05" Color="#FF2E3238" />
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxPointeroverBackground" Opacity="0.09" Color="#FF2E3238" />
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxPressedBackground" Opacity="0.13" Color="#FF2E3238" />
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxBorderBrush" Color="Transparent" />
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxDisabledBackground" Opacity="0.02" Color="#2E3238" />
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxFocusBorderBrush" Color="#FF0077FA" />
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxSelectionBrush" Color="#FF0077FA" />
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxSelectionForeground" Color="White" />
|
|
||||||
<SolidColorBrush x:Key="IPv4BoxCaretBrush" Color="Black" />
|
|
||||||
</ResourceDictionary>
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
||||||
<!-- Add Resources Here -->
|
|
||||||
<SolidColorBrush x:Key="KeyGestureInputBackground" Opacity="0.05" Color="#FF2E3238" />
|
|
||||||
<SolidColorBrush x:Key="KeyGestureInputPointeroverBackground" Opacity="0.09" Color="#FF2E3238" />
|
|
||||||
<SolidColorBrush x:Key="KeyGestureInputPressedBackground" Opacity="0.13" Color="#FF2E3238" />
|
|
||||||
<SolidColorBrush x:Key="KeyGestureInputBorderBrush" Color="Transparent" />
|
|
||||||
<SolidColorBrush x:Key="KeyGestureInputDisabledBackground" Opacity="0.02" Color="#2E3238" />
|
|
||||||
<SolidColorBrush x:Key="KeyGestureInputFocusBorderBrush" Color="#FF0077FA" />
|
|
||||||
</ResourceDictionary>
|
|
||||||
@@ -1,9 +1,4 @@
|
|||||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||||
<!-- Add Resources Here -->
|
<!-- Add Resources Here -->
|
||||||
<SolidColorBrush x:Key="NavigationMenuItemDefaultBackground" Color="Transparent" />
|
|
||||||
<SolidColorBrush x:Key="NavigationMenuItemPointeroverBackground" Opacity="0.05" Color="#2E3238" />
|
|
||||||
<SolidColorBrush x:Key="NavigationMenuItemPressedBackground" Opacity="0.09" Color="#2E3238" />
|
|
||||||
<SolidColorBrush x:Key="NavigationMenuItemSelectedBackground" Color="#EAF5FF" />
|
|
||||||
<SolidColorBrush x:Key="NavigationMenuItemHighlightForeground" Color="#0077FA" />
|
|
||||||
<SolidColorBrush x:Key="NavigationMenuItemExpandIconForeground" Opacity="0.62" Color="#1C1F23" />
|
<SolidColorBrush x:Key="NavigationMenuItemExpandIconForeground" Opacity="0.62" Color="#1C1F23" />
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
|
|||||||
@@ -1,24 +1,22 @@
|
|||||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||||
<ResourceDictionary.MergedDictionaries>
|
<ResourceDictionary.MergedDictionaries>
|
||||||
<MergeResourceInclude Source="Avatar.axaml" />
|
<ResourceInclude Source="Avatar.axaml" />
|
||||||
<MergeResourceInclude Source="Badge.axaml" />
|
<ResourceInclude Source="Badge.axaml" />
|
||||||
<MergeResourceInclude Source="Banner.axaml" />
|
<ResourceInclude Source="Banner.axaml" />
|
||||||
<MergeResourceInclude Source="ButtonGroup.axaml" />
|
<ResourceInclude Source="ButtonGroup.axaml" />
|
||||||
<MergeResourceInclude Source="DatePicker.axaml" />
|
<ResourceInclude Source="DatePicker.axaml" />
|
||||||
<MergeResourceInclude Source="Dialog.axaml" />
|
<ResourceInclude Source="Dialog.axaml" />
|
||||||
<MergeResourceInclude Source="Divider.axaml" />
|
<ResourceInclude Source="Divider.axaml" />
|
||||||
<MergeResourceInclude Source="DualBadge.axaml" />
|
<ResourceInclude Source="DualBadge.axaml" />
|
||||||
<MergeResourceInclude Source="IPv4Box.axaml" />
|
<ResourceInclude Source="Loading.axaml" />
|
||||||
<MergeResourceInclude Source="KeyGestureInput.axaml" />
|
<ResourceInclude Source="NavigationMenu.axaml" />
|
||||||
<MergeResourceInclude Source="Loading.axaml" />
|
<ResourceInclude Source="NotificationShared.axaml" />
|
||||||
<MergeResourceInclude Source="NavigationMenu.axaml" />
|
<ResourceInclude Source="Pagination.axaml" />
|
||||||
<MergeResourceInclude Source="NotificationShared.axaml" />
|
<ResourceInclude Source="Rating.axaml" />
|
||||||
<MergeResourceInclude Source="Pagination.axaml" />
|
<ResourceInclude Source="TagInput.axaml" />
|
||||||
<MergeResourceInclude Source="Rating.axaml" />
|
<ResourceInclude Source="Timeline.axaml" />
|
||||||
<MergeResourceInclude Source="TagInput.axaml" />
|
<ResourceInclude Source="Toast.axaml" />
|
||||||
<MergeResourceInclude Source="Timeline.axaml" />
|
<ResourceInclude Source="Skeleton.axaml" />
|
||||||
<MergeResourceInclude Source="Toast.axaml" />
|
<ResourceInclude Source="TimeBox.axaml" />
|
||||||
<MergeResourceInclude Source="Skeleton.axaml" />
|
|
||||||
<MergeResourceInclude Source="TimeBox.axaml" />
|
|
||||||
</ResourceDictionary.MergedDictionaries>
|
</ResourceDictionary.MergedDictionaries>
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
||||||
<!-- Add Resources Here -->
|
|
||||||
<x:Double x:Key="IPv4BoxDefaultMinHeight">32</x:Double>
|
|
||||||
<x:Double x:Key="IPv4BoxSmallMinHeight">24</x:Double>
|
|
||||||
<x:Double x:Key="IPv4BoxLargeMinHeight">40</x:Double>
|
|
||||||
<Thickness x:Key="IPv4BoxBorderThickness">1</Thickness>
|
|
||||||
<CornerRadius x:Key="IPv4BoxCornerRadius">3</CornerRadius>
|
|
||||||
</ResourceDictionary>
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
||||||
<!-- Add Resources Here -->
|
|
||||||
<x:Double x:Key="KeyGestureInputWidth">80</x:Double>
|
|
||||||
<x:Double x:Key="KeyGestureInputHeight">32</x:Double>
|
|
||||||
<CornerRadius x:Key="KeyGestureInputCornerRadius">3</CornerRadius>
|
|
||||||
<Thickness x:Key="KeyGestureInputBorderThickness">1</Thickness>
|
|
||||||
</ResourceDictionary>
|
|
||||||
@@ -11,8 +11,6 @@
|
|||||||
<ResourceInclude Source="Divider.axaml" />
|
<ResourceInclude Source="Divider.axaml" />
|
||||||
<ResourceInclude Source="Drawer.axaml" />
|
<ResourceInclude Source="Drawer.axaml" />
|
||||||
<ResourceInclude Source="DualBadge.axaml" />
|
<ResourceInclude Source="DualBadge.axaml" />
|
||||||
<ResourceInclude Source="IPv4Box.axaml" />
|
|
||||||
<ResourceInclude Source="KeyGestureInput.axaml" />
|
|
||||||
<ResourceInclude Source="MessageBox.axaml" />
|
<ResourceInclude Source="MessageBox.axaml" />
|
||||||
<ResourceInclude Source="NavigationMenu.axaml" />
|
<ResourceInclude Source="NavigationMenu.axaml" />
|
||||||
<ResourceInclude Source="Notification.axaml" />
|
<ResourceInclude Source="Notification.axaml" />
|
||||||
|
|||||||
Reference in New Issue
Block a user