honestbleeps/Reddit-Enhancement-Suite — pull request #1191 by githue (2014-06-06 03:00:25+00:00)
Title: The DIV .subButtons

This began from frustrations while trying to theme a subreddit, it's a minor and simple change to make things easier for subreddit designers.

I wanted to adjust the spacing around the subscribe buttons but the inline CSS was making it difficult. The DIV .subButtons wraps around subreddits' subscribe button as well as the shortcut and dashboard buttons, it sits directly below the 'Use subreddit style' checkbox (which this commit doesn't touch). In the current developer build the DIV .subButtons has had RESUtils.baseStyleProtection slapped onto it, which is currently not doing anything useful because it doesn't actually protect the buttons inside the DIV.

My commit takes the inline CSS that has always been on .subButtons and moves it into a class declaration, so that it can be overridden with other CSS. Additionally I removed RESUtils.baseStyleProtection from the DIV .subButtons because it is ineffective and only gets in the way.