Please refer to an existing style in lists.css.

ul li.disabled > a {
  color: gray;
  pointer-events: none;
}