Skip to content

Commit

Permalink
Better color handling of social items in the navigation and showcase …
Browse files Browse the repository at this point in the history
…section of hydrogen fixes #258
  • Loading branch information
Kevin DuCommun committed May 14, 2015
1 parent e705370 commit 819abc2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions themes/hydrogen/common/scss/hydrogen/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@
}
}

.g-social {
a {
background: darken($navigation-background, 6%);
border: none;
color: $navigation-text-color;
@include transition(background 0.2s);
&:hover {
background: lighten($navigation-background, 6%);
}
}
}

.g-main-nav {
margin: -($content-padding + $content-margin);
@include main-nav-colors($navigation-background, $navigation-text-color, $main-background, $main-text-color);
Expand Down
12 changes: 12 additions & 0 deletions themes/hydrogen/common/scss/hydrogen/_showcase.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@
background: darken($accent-color-2, 5%);
}
}

.g-social {
a {
background: darken($showcase-background, 6%);
border: none;
color: $showcase-text-color;
@include transition(background 0.2s);
&:hover {
background: lighten($showcase-background, 6%);
}
}
}
}

@media print {
Expand Down

0 comments on commit 819abc2

Please sign in to comment.