Fixes #22056 (closed) by ensuring outline cards make their header/footer transparent and use the right border color.