/*
 * Checklist widget (infdl_checklist/snippets/widget_checklist_tabler.html).
 *
 * Loaded globally from base_tabler.html so the snippet can be embedded anywhere —
 * it currently sits in the task modal on the mission control board.
 */

/* The grip is the only drag handle, so it is the only part that advertises itself as
   one. It stays faint until its row is hovered; otherwise a long checklist reads as a
   column of dots competing with the entries themselves. */
.checklist-grip {
    cursor: grab;
    opacity: .25;
    transition: opacity .15s ease-in-out;
}

.checklist-entry:hover .checklist-grip {
    opacity: 1;
}

.checklist-grip:active {
    cursor: grabbing;
}

/* Points right while collapsed, down while open — same as the board's done lists. */
.checklist-caret {
    transition: transform .15s ease-in-out;
}

a:not(.collapsed) > .checklist-caret {
    transform: rotate(90deg);
}
