-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #765 from maiko3tattun/0701_TrackColor
Add Track color
- Loading branch information
Showing
23 changed files
with
391 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<Styles xmlns="https://github.com/avaloniaui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
|
||
<Style Selector="Button,ToggleButton"> | ||
<Setter Property="Focusable" Value="False"/> | ||
</Style> | ||
|
||
<Style Selector="CheckBox:checked /template/ Border#NormalRectangle"> | ||
<Setter Property="Background" Value="{DynamicResource SelectedTrackAccentBrush}"/> | ||
<Setter Property="BorderBrush" Value="{DynamicResource SelectedTrackAccentBrush}"/> | ||
</Style> | ||
<Style Selector="CheckBox:checked:pointerover /template/ Border#NormalRectangle"> | ||
<Setter Property="Background" Value="{DynamicResource SelectedTrackAccentLightBrush}"/> | ||
<Setter Property="BorderBrush" Value="{DynamicResource SelectedTrackAccentLightBrush}"/> | ||
</Style> | ||
<Style Selector="CheckBox:checked:pressed /template/ Border#NormalRectangle"> | ||
<Setter Property="Background" Value="{DynamicResource SelectedTrackAccentDarkBrush}"/> | ||
<Setter Property="BorderBrush" Value="{DynamicResource SelectedTrackAccentDarkBrush}"/> | ||
</Style> | ||
|
||
<Style Selector="ComboBoxItem:selected /template/ ContentPresenter"> | ||
<Setter Property="Background" Value="{DynamicResource SelectedTrackAccentLightBrushSemi}"/> | ||
</Style> | ||
|
||
<Style Selector="ListBoxItem:selected /template/ ContentPresenter"> | ||
<Setter Property="Background" Value="{DynamicResource SelectedTrackAccentLightBrushSemi}"/> | ||
</Style> | ||
|
||
<Style Selector="Slider.fader"> | ||
<Setter Property="Foreground" Value="{DynamicResource SelectedTrackAccentBrush}"/> | ||
</Style> | ||
<Style Selector="Slider.fader:pointerover"> | ||
<Style Selector="^ /template/ RepeatButton#PART_DecreaseButton"> | ||
<Setter Property="Background" Value="{DynamicResource SelectedTrackAccentLightBrush}" /> | ||
</Style> | ||
<Style Selector="^ /template/ Thumb"> | ||
<Setter Property="Background" Value="{DynamicResource SelectedTrackAccentLightBrush}" /> | ||
</Style> | ||
</Style> | ||
<Style Selector="Slider.fader:pressed"> | ||
<Style Selector="^ /template/ RepeatButton#PART_DecreaseButton"> | ||
<Setter Property="Background" Value="{DynamicResource SelectedTrackAccentDarkBrush}" /> | ||
</Style> | ||
<Style Selector="^ /template/ Thumb"> | ||
<Setter Property="Background" Value="{DynamicResource SelectedTrackAccentDarkBrush}" /> | ||
</Style> | ||
</Style> | ||
|
||
<Style Selector="TextBox:focus /template/ Border#PART_BorderElement"> | ||
<Setter Property="BorderBrush" Value="{DynamicResource SelectedTrackAccentBrush}"/> | ||
</Style> | ||
|
||
<!-- | ||
<Style Selector="ToggleSwitch:pressed /template/ "> | ||
<Setter Property="BorderBrush" Value="{DynamicResource SelectedTrackAccentBrush}"/> | ||
</Style> | ||
<Style Selector="ToggleSwitch:pressed:pointerover /template/ "> | ||
<Setter Property="BorderBrush" Value="{DynamicResource SelectedTrackAccentLightBrush}"/> | ||
</Style> | ||
--> | ||
</Styles> |
Oops, something went wrong.