mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-22 17:50:23 +03:00
Remove highlight from entire checkbox item
This commit is contained in:
parent
eed9d65a4b
commit
ac71ef16c6
2 changed files with 1 additions and 8 deletions
|
@ -126,11 +126,6 @@ body
|
||||||
|
|
||||||
border-radius: 12px
|
border-radius: 12px
|
||||||
|
|
||||||
cursor: pointer
|
|
||||||
|
|
||||||
&:hover
|
|
||||||
background-color: #eff2ff
|
|
||||||
|
|
||||||
.checkbox-mark
|
.checkbox-mark
|
||||||
display: flex
|
display: flex
|
||||||
|
|
||||||
|
@ -151,8 +146,6 @@ body
|
||||||
width: 12px
|
width: 12px
|
||||||
|
|
||||||
.checkbox-active
|
.checkbox-active
|
||||||
background-color: #eff2ff
|
|
||||||
|
|
||||||
.checkbox-mark
|
.checkbox-mark
|
||||||
background-color: #657ef8
|
background-color: #657ef8
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ $(() => {
|
||||||
$(`.menu-item[anchor=${anchor}]`).addClass('menu-item-active');
|
$(`.menu-item[anchor=${anchor}]`).addClass('menu-item-active');
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.checkbox').on('click', (e) => {
|
$('.checkbox-mark').on('click', (e) => {
|
||||||
let item = $(e.target);
|
let item = $(e.target);
|
||||||
|
|
||||||
while (!item.hasClass('checkbox'))
|
while (!item.hasClass('checkbox'))
|
||||||
|
|
Loading…
Reference in a new issue