Added not() exclude for buttons within sidebars

To fix issue #4209, I've added the same sort of exclude as already used in _top-bar.scss to stop styles being passed to child buttons.