Skip to content

Commit

Permalink
fix(component): pagination
Browse files Browse the repository at this point in the history
hover & active states
  • Loading branch information
ygatesoupe committed Oct 27, 2016
1 parent e94fa4a commit 53ede33
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions scss/_o-pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,35 @@
padding: 0;
border: solid 2px #000;

@include hover {
color: #fff;
background-color: #000;

&:active {
background-color: $brand-primary;
}

&.prev::before {
background-image: #{$pagination-icon-prev-active};
}

&.next::before {
background-image: #{$pagination-icon-next-active};
}
}

&.disabled {
@include hover {
cursor: $cursor-disabled;
color: $gray-lighter-o;
background-color: #fff;
border-color: $gray-lighter-o;

&:active {
color: $gray-lighter-o;
background-color: #fff;
border-color: $gray-lighter-o;
}
}

&:active {
Expand Down

0 comments on commit 53ede33

Please sign in to comment.