Public Access
Redraw quick connect in v5's shape, auth word and all
This commit is contained in:
@@ -954,6 +954,42 @@
|
||||
<Setter Property="Background" Value="{StaticResource Accent}" />
|
||||
</Style>
|
||||
|
||||
<!--
|
||||
Quick connect's own rows. In this file rather than QuickConnect.axaml, the same reason every other
|
||||
list style is here: that view is the one caller, but what a selected row looks like is a palette
|
||||
answer and belongs beside every other one.
|
||||
|
||||
Classes="tiles" on that ListBox clears the theme's own full-bleed selection wash first — see the
|
||||
remark above "A LIST OF TILES" — for the same reason: a wash behind a 9-pixel-rounded row shows as
|
||||
square corners peeking out from behind it. This is the one list in the application whose selected row
|
||||
fills solid rather than tinting or carrying a strip, which is the mock's own choice and reads as
|
||||
right here specifically: this palette is choosing a machine to connect to *now*, not one it is idly
|
||||
browsing, and nothing else in the window asks to look this insistent.
|
||||
-->
|
||||
<Style Selector="Border.qcrow">
|
||||
<Setter Property="Background" Value="Transparent" />
|
||||
</Style>
|
||||
<Style Selector="ListBoxItem:pointerover Border.qcrow">
|
||||
<Setter Property="Background" Value="{StaticResource Hover}" />
|
||||
</Style>
|
||||
<Style Selector="ListBoxItem:selected Border.qcrow, ListBoxItem:selected:pointerover Border.qcrow">
|
||||
<Setter Property="Background" Value="{StaticResource Accent}" />
|
||||
</Style>
|
||||
<Style Selector="TextBlock.qcrow-text">
|
||||
<Setter Property="Foreground" Value="{StaticResource Text}" />
|
||||
</Style>
|
||||
<Style Selector="TextBlock.qcrow-subtext">
|
||||
<Setter Property="Foreground" Value="{StaticResource TextFaint}" />
|
||||
</Style>
|
||||
<Style Selector="ListBoxItem:selected TextBlock.qcrow-text, ListBoxItem:selected TextBlock.qcrow-subtext">
|
||||
<!--
|
||||
AccentInk rather than a literal white: it is v5's name for "the colour text sits in on top of the
|
||||
accent", which is what a filled row is. Naming it that way rather than #FFFFFF is what keeps this
|
||||
rule true if the accent itself ever moves to a hue where white stops being the readable choice.
|
||||
-->
|
||||
<Setter Property="Foreground" Value="{StaticResource AccentInk}" />
|
||||
</Style>
|
||||
|
||||
<!--
|
||||
The group card a host is about to be dropped on. A wash rather than the accent strip a selection
|
||||
carries, because it is not a selection: it says "let go here", it lasts as long as the pointer is over
|
||||
|
||||
Reference in New Issue
Block a user