Inheritance based left border and padding

Hi to all,
I was wondering if it would be possible to create something like this.

I’ve tried using pure CSS but I think it’s necessary to render some div across all child components instead of leverage only upon CSS