Skip to content

Commit

Permalink
fix(pointer): Add pointer styling to .item[ng-click], closes #858
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Bradley committed Mar 21, 2014
1 parent f039fad commit aa28091
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
4 changes: 4 additions & 0 deletions scss/_items.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@
@include item-style($item-dark-bg, $item-dark-border, $item-dark-text);
}

&[ng-click]:hover {
cursor: pointer;
}

}

// Link and Button Active States
Expand Down
12 changes: 6 additions & 6 deletions scss/_reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
* --------------------------------------------------
* Adapted from normalize.css and some reset.css. We don't care even one
* bit about old IE, so we don't need any hacks for that in here.
*
*
* There are probably other things we could remove here, as well.
*
* normalize.css v2.1.2 | MIT License | git.io/normalize
* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
* http://cssreset.com
*/
Expand All @@ -23,7 +23,7 @@ dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, fieldset,
figure, figcaption, footer, header, hgroup,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
Expand Down Expand Up @@ -100,10 +100,10 @@ body {
/**
* Remove default outlines.
*/
a,
a,
button,
:focus,
a:focus,
:focus,
a:focus,
button:focus,
a:active,
a:hover {
Expand Down
6 changes: 6 additions & 0 deletions test/html/lists.html
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@ <h1 class="title">Lists</h1>
</div>
</a>

<div class="item item-complex" ng-click="asdf()">
<div class="item-content slide-right">
Auto Right side arrow cuz it has an ng-click
</div>
</div>

<a href="#" class="item item-complex item-icon-right">
<div class="item-content slide-right">
Processing Icon
Expand Down

0 comments on commit aa28091

Please sign in to comment.