q2a/question2answer — pull request #130 by pupi1985 (2014-11-02 22:46:36+00:00)
Title: The profile CSS classes now apply styles to current and future subsections

I've introduced 2 changes. First of all, sections not present in the CSS file (new sections added by themes/plugins) will take a default style. This shouldn't interfere with users who want to add sections with a different style as they would have to do it anyways but will make things easier to users who want to add new sections respecting the theme's current styles

The other change I've introduced, and I'm not sure if this is a good a approach or not, is that instead of referencing the profile form (subsection) as the one "on the left" (in LTR) I've changed it to be the first DIV and the rest of the sections aligned "to the right". Suppose a user wants to swap the position of the activity form and the profile form. Currently this could only be done statically by CSS (or programatically spitting CSS). So the user has to know CSS or CSS and PHP. Now, if we take the first DIV then this could still be done by CSS and with only PHP too by sorting the forms in a plugin/theme. So I think this approach has a little pro but y can't think of any cons.