Adding hover icoons for notifications & conversations

Added white versions of the icons on hover to match the hover of other
header items.
Changing the notifications hover icon to the regular notifications icon when active so
it is visible with the white background.

Fixing the hard coded background-position value for notifications_grey

Can not depend on generated sprite background position as it will change
with changes in icons

Moving the $icons variable to a broader scope

Since the variable is used in the header, the sprites now are imported
before the header

Using the default sprite map instead of the explicitly created sprite map
This commit is contained in:
Srihari Sriraman 2013-08-24 22:10:16 +05:30 committed by Jonne Haß
parent 51a553a811
commit e8b00458d3
4 changed files with 6 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

View file

@ -5,9 +5,9 @@
@import 'new_styles/_spinner' @import 'new_styles/_spinner'
@import 'sidebar' @import 'sidebar'
@import 'sprites'
@import 'header' @import 'header'
@import 'footer' @import 'footer'
@import 'sprites'
@import 'opengraph' @import 'opengraph'
@import 'profile.css.scss' @import 'profile.css.scss'

View file

@ -75,6 +75,11 @@ body > header {
&:hover .badge_count { background-color: lighten(#A40802, 5%); } &:hover .badge_count { background-color: lighten(#A40802, 5%); }
.icons-notifications_grey { height: 16px; } .icons-notifications_grey { height: 16px; }
&.active .icons-notifications_grey:hover {
background-position: sprite-position($icons-sprites, notifications_grey);
}
.icons-mail_grey { height: 11px } .icons-mail_grey { height: 11px }
a.badge_link { a.badge_link {