From d2ea90be232dfcb76f0e4e24bf026990e8ff0732 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 4 Jun 2024 17:29:08 +0800 Subject: [PATCH] ux: Opacity for selected items --- src/Resources/Styles.axaml | 58 ++++++++++++++++++++++-------------- src/Views/CommitDetail.axaml | 15 ++++++++-- src/Views/Repository.axaml | 43 +++++++++++++++++++++----- 3 files changed, 82 insertions(+), 34 deletions(-) diff --git a/src/Resources/Styles.axaml b/src/Resources/Styles.axaml index c373d891..114ac72d 100644 --- a/src/Resources/Styles.axaml +++ b/src/Resources/Styles.axaml @@ -1045,32 +1045,33 @@ - - - - - + + + + + - + HorizontalAlignment="Center" + IsChecked="{TemplateBinding IsExpanded, Mode=TwoWay}" /> + + + + + + + + + + - + - + diff --git a/src/Views/Repository.axaml b/src/Views/Repository.axaml index 9731da6f..d393f508 100644 --- a/src/Views/Repository.axaml +++ b/src/Views/Repository.axaml @@ -212,12 +212,21 @@ - - - + + @@ -276,12 +285,21 @@ - - - + + @@ -344,13 +362,22 @@ - + + - +