01org/appframework — pull request #537 by krisrak (2014-01-08 01:46:49+00:00)
Title: Allow regular button and button-grouped on navbar

Issue
-
Regular button and button-grouped on navbar was inherting styles from navbar tab buttons.

Test Case
-
Add regular button or button-grouped in `#navbar footer`, notice that the styles are not correct.

Test code to reproduce issue, change data-footer attribute to test different components in footer:
```

Button 1
Button 2
Button 3

Button 1
Button 2
Button 3

Home
User

Button 1
Button 2
Button 3

Button 1

```

Fix
-
Change the CSS styles from `#navbar a` to `#navbar>footer>a:not(.button)` so that style is only applied to tab buttons in navbar. Other buttons and button-grouped will get the actual style

all `.css`, `ui/appframework.ui.js`, `af.8tiles.js` - changed for this fix.

`af.8tiles.js` - also added condition to append `metroMenu` only if `sidemenu` exists.