File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
src/ComputerLock/Components/Settings Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 99
1010<MudText Typo =" Typo.h6" Class =" mb-4" >@( Lang [" UnlockOptions" ]) </MudText >
1111
12- <div @onclick =" @(() => SelectUnlockMethod(ScreenUnlockMethods.Hotkey))" style =" position :relative ;" >
12+ <div class = " unlock-card-wrapper@(isHotkeySelected ? " selected " : " " ) " @onclick =" @(() => SelectUnlockMethod(ScreenUnlockMethods.Hotkey))" style =" position :relative ;" >
1313 <MudPaper Class =" @hotkeyCardClass" Elevation =" 5" >
1414 <div class =" card-header" >
1515 <span class =" card-title" >@( $" {Lang [" HotkeyUnlock" ]} ⚡" ) </span >
3939 </MudPaper >
4040</div >
4141
42- <div @onclick =" @(() => SelectUnlockMethod(ScreenUnlockMethods.Password))" style =" position :relative ;" >
42+ <div class = " unlock-card-wrapper@(isPasswordSelected ? " selected " : " " ) " @onclick =" @(() => SelectUnlockMethod(ScreenUnlockMethods.Password))" style =" position :relative ;" >
4343 <MudPaper Class =" @passwordCardClass" Elevation =" 5" >
4444 <div class =" card-header" >
4545 <span class =" card-title" >@( $" {Lang [" PasswordUnlock" ]} 🧩" ) </span >
Original file line number Diff line number Diff line change 99 border-radius : 8px ;
1010 }
1111
12+ .unlock-card : not (.selected ): hover {
13+ cursor : pointer;
14+ }
15+
16+ .unlock-card-wrapper : not (.selected ): hover {
17+ cursor : pointer;
18+ }
19+
1220.card-header {
1321 display : flex;
1422 align-items : center;
3947 border-radius : 8px ;
4048 pointer-events : all;
4149 transition : background 0.2s ;
50+ cursor : pointer;
4251}
4352
4453.dark-mode .card-mask {
You can’t perform that action at this time.
0 commit comments