mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
- Remove Comment
- Add Hover Color
This commit is contained in:
parent
2dfd1c3e36
commit
2fd896b0ef
2 changed files with 26 additions and 99 deletions
|
|
@ -3230,4 +3230,26 @@
|
||||||
|
|
||||||
<ui:TextContextMenu x:Key="TextControlContextMenu" x:Shared="False" />
|
<ui:TextContextMenu x:Key="TextControlContextMenu" x:Shared="False" />
|
||||||
|
|
||||||
|
<!-- Text Button style for Plugin Area -->
|
||||||
|
<Style x:Key="LinkBtnStyle" TargetType="TextBlock">
|
||||||
|
<Setter Property="Foreground" Value="{DynamicResource PluginInfoColor}" />
|
||||||
|
<Setter Property="HorizontalAlignment" Value="Right" />
|
||||||
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||||||
|
<Setter Property="Cursor" Value="Hand" />
|
||||||
|
<Setter Property="FontFamily" Value="/Resources/#Segoe Fluent Icons" />
|
||||||
|
<Setter Property="FontSize" Value="11" />
|
||||||
|
<Style.Triggers>
|
||||||
|
<Trigger Property="IsMouseOver" Value="True">
|
||||||
|
<Setter Property="Foreground" Value="{DynamicResource Color05B}" />
|
||||||
|
</Trigger>
|
||||||
|
</Style.Triggers>
|
||||||
|
</Style>
|
||||||
|
<Style x:Key="HyperLinkBtnStyle" TargetType="Hyperlink">
|
||||||
|
<Setter Property="Foreground" Value="{DynamicResource PluginInfoColor}" />
|
||||||
|
<Style.Triggers>
|
||||||
|
<Trigger Property="IsMouseOver" Value="True">
|
||||||
|
<Setter Property="Foreground" Value="{DynamicResource Color05B}" />
|
||||||
|
</Trigger>
|
||||||
|
</Style.Triggers>
|
||||||
|
</Style>
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
|
|
|
||||||
|
|
@ -1283,7 +1283,6 @@
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Orientation="Horizontal"
|
Orientation="Horizontal"
|
||||||
Style="{StaticResource TextPanel}">
|
Style="{StaticResource TextPanel}">
|
||||||
|
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Margin="10,0,0,0"
|
Margin="10,0,0,0"
|
||||||
VerticalAlignment="center"
|
VerticalAlignment="center"
|
||||||
|
|
@ -1316,138 +1315,44 @@
|
||||||
FontSize="11"
|
FontSize="11"
|
||||||
Foreground="{DynamicResource PluginInfoColor}"
|
Foreground="{DynamicResource PluginInfoColor}"
|
||||||
Text="|" />
|
Text="|" />
|
||||||
|
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Margin="5,0,0,0"
|
Margin="5,0,0,0"
|
||||||
HorizontalAlignment="Right"
|
Style="{DynamicResource LinkBtnStyle}"
|
||||||
VerticalAlignment="Center"
|
|
||||||
Cursor="Hand"
|
|
||||||
FontFamily="/Resources/#Segoe Fluent Icons"
|
|
||||||
FontSize="11"
|
|
||||||
TextDecorations="None"
|
|
||||||
ToolTip="{DynamicResource plugin_query_web}">
|
ToolTip="{DynamicResource plugin_query_web}">
|
||||||
<Hyperlink
|
<Hyperlink
|
||||||
Foreground="{DynamicResource PluginInfoColor}"
|
|
||||||
NavigateUri="{Binding PluginPair.Metadata.Website}"
|
NavigateUri="{Binding PluginPair.Metadata.Website}"
|
||||||
RequestNavigate="OnRequestNavigate"
|
RequestNavigate="OnRequestNavigate"
|
||||||
|
Style="{DynamicResource HyperLinkBtnStyle}"
|
||||||
TextDecorations="None">
|
TextDecorations="None">
|
||||||
<!--<Run Text="{DynamicResource plugin_query_web}" />-->
|
|
||||||
<Run Text="" />
|
<Run Text="" />
|
||||||
</Hyperlink>
|
</Hyperlink>
|
||||||
</TextBlock>
|
</TextBlock>
|
||||||
|
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Margin="10,0,0,0"
|
Margin="10,0,0,0"
|
||||||
HorizontalAlignment="Right"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Cursor="Hand"
|
|
||||||
FontFamily="/Resources/#Segoe Fluent Icons"
|
|
||||||
FontSize="11"
|
|
||||||
Foreground="{DynamicResource PluginInfoColor}"
|
|
||||||
MouseUp="OnExternalPluginUninstallClick"
|
MouseUp="OnExternalPluginUninstallClick"
|
||||||
|
Style="{DynamicResource LinkBtnStyle}"
|
||||||
Text=""
|
Text=""
|
||||||
TextDecorations="None"
|
|
||||||
ToolTip="{DynamicResource plugin_uninstall}" />
|
ToolTip="{DynamicResource plugin_uninstall}" />
|
||||||
|
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Margin="10,0,5,0"
|
Margin="10,0,5,0"
|
||||||
HorizontalAlignment="Right"
|
Style="{DynamicResource LinkBtnStyle}"
|
||||||
VerticalAlignment="Center"
|
|
||||||
Cursor="Hand"
|
|
||||||
FontFamily="/Resources/#Segoe Fluent Icons"
|
|
||||||
FontSize="11"
|
|
||||||
Foreground="{DynamicResource PluginInfoColor}"
|
|
||||||
Text=""
|
Text=""
|
||||||
ToolTip="{DynamicResource pluginDirectory}">
|
ToolTip="{DynamicResource pluginDirectory}">
|
||||||
<TextBlock.InputBindings>
|
<TextBlock.InputBindings>
|
||||||
<MouseBinding Command="{Binding OpenPluginDirectoryCommand}" MouseAction="LeftClick" />
|
<MouseBinding Command="{Binding OpenPluginDirectoryCommand}" MouseAction="LeftClick" />
|
||||||
</TextBlock.InputBindings>
|
</TextBlock.InputBindings>
|
||||||
</TextBlock>
|
</TextBlock>
|
||||||
<!--
|
|
||||||
<TextBlock
|
|
||||||
Margin="5,0,0,0"
|
|
||||||
FontSize="11"
|
|
||||||
Foreground="{DynamicResource PluginInfoColor}"
|
|
||||||
Text="{DynamicResource plugin_init_time}" />
|
|
||||||
<TextBlock
|
|
||||||
MaxWidth="100"
|
|
||||||
Margin="5,0,0,0"
|
|
||||||
FontSize="11"
|
|
||||||
Foreground="{DynamicResource PluginInfoColor}"
|
|
||||||
Text="{Binding InitilizaTime}" />
|
|
||||||
<TextBlock
|
|
||||||
Margin="5,0,0,0"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
FontSize="11"
|
|
||||||
Foreground="{DynamicResource PluginInfoColor}"
|
|
||||||
Text="|" />
|
|
||||||
<TextBlock
|
|
||||||
Margin="5,0,0,0"
|
|
||||||
FontSize="11"
|
|
||||||
Foreground="{DynamicResource PluginInfoColor}"
|
|
||||||
Text="{DynamicResource plugin_query_time}" />
|
|
||||||
<TextBlock
|
|
||||||
Margin="5,0,0,0"
|
|
||||||
FontSize="11"
|
|
||||||
Foreground="{DynamicResource PluginInfoColor}"
|
|
||||||
Text="{Binding QueryTime}" />
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<Button
|
|
||||||
Margin="0,0,0,0"
|
|
||||||
Background="Transparent"
|
|
||||||
BorderThickness="0"
|
|
||||||
Content=""
|
|
||||||
FontFamily="/Resources/#Segoe Fluent Icons"
|
|
||||||
FontSize="11"
|
|
||||||
Foreground="{DynamicResource PluginInfoColor}"
|
|
||||||
Style="{DynamicResource DefaultNonBDButtonStyle}">
|
|
||||||
<ui:FlyoutService.Flyout>
|
|
||||||
<ui:MenuFlyout>
|
|
||||||
<MenuItem Click="OpenWelcomeWindow" Header="{DynamicResource plugin_query_web}">
|
|
||||||
<MenuItem.Icon>
|
|
||||||
<ui:FontIcon Glyph="" />
|
|
||||||
</MenuItem.Icon>
|
|
||||||
</MenuItem>
|
|
||||||
<MenuItem Click="OpenSettingFolder" Header="{DynamicResource plugin_uninstall}">
|
|
||||||
<MenuItem.Icon>
|
|
||||||
<ui:FontIcon Glyph="" />
|
|
||||||
</MenuItem.Icon>
|
|
||||||
</MenuItem>
|
|
||||||
<MenuItem Click="OpenLogFolder" Header="{DynamicResource pluginDirectory}">
|
|
||||||
<MenuItem.Icon>
|
|
||||||
<ui:FontIcon Glyph="" />
|
|
||||||
</MenuItem.Icon>
|
|
||||||
</MenuItem>
|
|
||||||
<MenuItem Click="OpenLogFolder" Header="{DynamicResource pluginDirectory}">
|
|
||||||
<MenuItem.Icon>
|
|
||||||
<ui:FontIcon Glyph="" />
|
|
||||||
</MenuItem.Icon>
|
|
||||||
</MenuItem>
|
|
||||||
<MenuItem Click="OpenLogFolder" Header="{DynamicResource pluginDirectory}">
|
|
||||||
<MenuItem.Icon>
|
|
||||||
<ui:FontIcon Glyph="" />
|
|
||||||
</MenuItem.Icon>
|
|
||||||
</MenuItem>
|
|
||||||
</ui:MenuFlyout>
|
|
||||||
</ui:FlyoutService.Flyout>
|
|
||||||
</Button>
|
|
||||||
-->
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
</ItemsControl>
|
</ItemsControl>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Expander>
|
</Expander>
|
||||||
|
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ListBox.ItemTemplate>
|
</ListBox.ItemTemplate>
|
||||||
</ListBox>
|
</ListBox>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue