Commit Graph

9 Commits

Author SHA1 Message Date
Adam Bradley
6a1ac355a8 refactor(item): Adjust item padding variables, create item-avatar-right 2014-04-08 11:50:50 -05:00
Adam Bradley
c7e3defca5 refactor(item): Create .icon-accessory and remove auto nav icons, closes #1061
BREAKING CHANGE: The developer should be stating exactly how an icon
should show, but previously the right nav arrow icon violates this by
automatically showing a right arrow when an item was an anchor or
button. Instead of using the `:after` item selector, which was always
applied by default, it uses the same markup as `item-icon-right`, which
is easier to understand, customizable and not a hard coded default.

This change removes the `:after` nav icon styling, and creates a new
class, `icon-accessory`, based off of similar CSS. The change makes a
nav arrow highly customizable, allows RTL developers to easily control
the arrow direction, and the accessory class is something that's
reusable.

An example of right side arrow using `ion-chevron-right` as the icon:

    <a class="item item-icon-right" href="#">
      Check mail
      <i class="icon ion-chevron-right icon-accessory"></i>
    </a>
2014-04-07 15:33:36 -05:00
Adam Bradley
aa280910df fix(pointer): Add pointer styling to .item[ng-click], closes #858 2014-03-21 09:23:10 -05:00
Adam Bradley
ded469311d fix(badge): Badge horizontal alignment over item right side buttons, closes #826 2014-03-18 15:55:05 -05:00
Adam Bradley
cb5510c184 fix(badge): Vertical align a badge in an item-divider, closes #707 2014-03-03 10:42:38 -06:00
Adam Bradley
4d3667106e fix(item): Fix badge moving to new line when text is too long, closes #551 2014-03-01 00:15:14 -06:00
Adam Bradley
11a4338d13 fix(item): Fix item-icon-left / right animating Ionicon not centered, closes #670 2014-02-28 23:44:13 -06:00
Adam Bradley
bb3a5758c2 fix html test references 2014-02-25 08:38:37 -06:00
Andy Joslin
608862c97e chore(build): add cloud e2e/unit tests 2014-02-21 11:22:23 -05:00