mirror of
https://github.com/zoldar/jenot.git
synced 2026-01-03 14:32:54 +00:00
Prevent focus grab by inactive task remove button
This commit is contained in:
parent
ed4e3ab12d
commit
d880130303
1 changed files with 11 additions and 7 deletions
|
|
@ -176,7 +176,11 @@ task-list li:has(.checkbox input:checked) {
|
||||||
}
|
}
|
||||||
|
|
||||||
task-list-item .remove {
|
task-list-item .remove {
|
||||||
visibility: hidden;
|
width: 3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
task-list-item .remove button {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (hover: hover) and (pointer: fine) {
|
@media (hover: hover) and (pointer: fine) {
|
||||||
|
|
@ -184,17 +188,17 @@ task-list-item .remove {
|
||||||
background: var(--highlight-color);
|
background: var(--highlight-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
task-list li:hover .remove {
|
task-list li:hover .remove button {
|
||||||
visibility: visible;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task-list-item .remove:has(button:active) {
|
task-list-item .remove button:active {
|
||||||
visibility: visible;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
task-list-item:has(textarea:focus) .remove {
|
task-list-item:has(textarea:focus) .remove button {
|
||||||
visibility: visible;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
task-list-item .checkbox input {
|
task-list-item .checkbox input {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue