Skip to content

Commit

Permalink
Added background graphic to vertical tabs for selected state
Browse files Browse the repository at this point in the history
  • Loading branch information
brzaik committed Jul 7, 2012
1 parent 258dc6a commit a66e10e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Binary file added app/assets/images/layout/vert-tabs_arrowbg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/layout/vert-tabs_arrowbg@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions app/assets/stylesheets/application/layout/navs.scss.erb
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,14 @@
}
}
.nav-drawer-left > li.active > a {
background: $gray;
@include at2x('layout/vert-tabs_arrowbg', 42px, 56px, '.png');
background-position: center right;
background-repeat: no-repeat;
background-color: $gray;
color: $white;

&:hover {
background: $gray;
background-color: $gray;
color: $white;
}
}
Expand Down

0 comments on commit a66e10e

Please sign in to comment.