[ticket/12662] Change CSS selectors to direct descendants for linklist

PHPBB3-12662