Combination of background color for widget & group doesnot work

I want to have the background for a single group in black and also the templates in this group in green. Therefore i have a template with styles:

grafik

Each for itself ist working well, but together the widget templates are black instead of green.

For explanation:
grafik

The template "Wohnzimmer" is now green and the background of the switch and chart should be black (the same colour as the background of the flow).

Any ideas?

Erwin

I suspect you may have set your CSS template as "Widget in group" in the expectation that it will apply only in that group?
In fact CSS in a "Widget in group" template is applied to every group in that dashboard tab.

Try giving the group a custom class eg "special", then your CSS selector will become something like .special md-card