XWIKI-10420: Polish Flamingo panels

- adjusted padding when panel-bg is set
- fixed inherit rule