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:
parent
51a553a811
commit
e8b00458d3
4 changed files with 6 additions and 1 deletions
BIN
app/assets/images/icons/mail_grey_hover.png
Normal file
BIN
app/assets/images/icons/mail_grey_hover.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 265 B |
BIN
app/assets/images/icons/notifications_grey_hover.png
Normal file
BIN
app/assets/images/icons/notifications_grey_hover.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 449 B |
|
|
@ -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'
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue