mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect.git
synced 2025-06-24 13:34:13 +08:00
63 lines
3.3 KiB
Plaintext
63 lines
3.3 KiB
Plaintext
![]() |
<Styles xmlns="https://github.com/avaloniaui"
|
||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||
|
<Styles.Resources>
|
||
|
<SolidColorBrush x:Key="ListItemPointerOverBackground" Color="{StaticResource Blue9}" Opacity="0.3" />
|
||
|
<SolidColorBrush x:Key="ActionListBackground" Color="{StaticResource Blue2}" Opacity="0.6" />
|
||
|
</Styles.Resources>
|
||
|
|
||
|
<Style Selector="ListBox">
|
||
|
<Setter Property="BorderThickness" Value="0"/>
|
||
|
<Setter Property="Background" Value="Transparent"/>
|
||
|
</Style>
|
||
|
|
||
|
<Style Selector="ListBox.region-list > ListBoxItem">
|
||
|
<Setter Property="Padding" Value="0"/>
|
||
|
<Setter Property="Foreground" Value="{StaticResource Dark}"/>
|
||
|
<Setter Property="BorderThickness" Value="0,0,0,1"/>
|
||
|
</Style>
|
||
|
<Style Selector="ListBox.region-list > ListBoxItem:pointerover /template/ ContentPresenter">
|
||
|
<Setter Property="Background" Value="Transparent"/>
|
||
|
</Style>
|
||
|
<Style Selector="ListBox.region-list > ListBoxItem:selected /template/ ContentPresenter">
|
||
|
<Setter Property="Background" Value="Transparent"/>
|
||
|
</Style>
|
||
|
<Style Selector="ListBox.region-list > ListBoxItem:selected:focus /template/ ContentPresenter">
|
||
|
<Setter Property="Background" Value="Transparent"/>
|
||
|
</Style>
|
||
|
<Style Selector="ListBox.region-list > ListBoxItem:selected:pointerover /template/ ContentPresenter">
|
||
|
<Setter Property="Background" Value="Transparent"/>
|
||
|
</Style>
|
||
|
<Style Selector="ListBox.region-list > ListBoxItem:selected:focus:pointerover /template/ ContentPresenter">
|
||
|
<Setter Property="Background" Value="Transparent"/>
|
||
|
</Style>
|
||
|
<Style Selector="ListBox.region-list > ListBoxItem:pressed /template/ ContentPresenter">
|
||
|
<Setter Property="Background" Value="Transparent"/>
|
||
|
</Style>
|
||
|
|
||
|
<Style Selector="ListBox.device-list > ListBoxItem">
|
||
|
<Setter Property="Padding" Value="0"/>
|
||
|
<Setter Property="CornerRadius" Value="6"/>
|
||
|
<Setter Property="FontSize" Value="14"/>
|
||
|
<Setter Property="Foreground" Value="{StaticResource Light}"/>
|
||
|
<Setter Property="BorderThickness" Value="0,0,0,1"/>
|
||
|
</Style>
|
||
|
<Style Selector="ListBox.device-list > ListBoxItem:pointerover /template/ ContentPresenter">
|
||
|
<Setter Property="Background" Value="{StaticResource ListItemPointerOverBackground}"/>
|
||
|
</Style>
|
||
|
<Style Selector="ListBox.device-list > ListBoxItem:selected /template/ ContentPresenter">
|
||
|
<Setter Property="Background" Value="Transparent"/>
|
||
|
</Style>
|
||
|
<Style Selector="ListBox.device-list > ListBoxItem:selected:focus /template/ ContentPresenter">
|
||
|
<Setter Property="Background" Value="Transparent"/>
|
||
|
</Style>
|
||
|
<Style Selector="ListBox.device-list > ListBoxItem:selected:pointerover /template/ ContentPresenter">
|
||
|
<Setter Property="Background" Value="{StaticResource ListItemPointerOverBackground}"/>
|
||
|
</Style>
|
||
|
<Style Selector="ListBox.device-list > ListBoxItem:selected:focus:pointerover /template/ ContentPresenter">
|
||
|
<Setter Property="Background" Value="{StaticResource ListItemPointerOverBackground}"/>
|
||
|
</Style>
|
||
|
<Style Selector="ListBox.device-list > ListBoxItem:pressed /template/ ContentPresenter">
|
||
|
<Setter Property="Background" Value="{StaticResource ListItemPointerOverBackground}"/>
|
||
|
</Style>
|
||
|
</Styles>
|