Skip to content

Instantly share code, notes, and snippets.

@rizkysyazuli
Created April 8, 2013 17:36
Show Gist options
  • Save rizkysyazuli/5338728 to your computer and use it in GitHub Desktop.
Save rizkysyazuli/5338728 to your computer and use it in GitHub Desktop.
Foundation: Top Bar Background Colour Reset
.top-bar {
background-color: transparent;
&.expanded {
.title-area {
background-color: transparent;
}
}
}
.top-bar-section {
ul {
background-color: transparent;
}
ul li {
& > a {
background-color: transparent;
&:hover {
background-color: transparent;
}
}
a:not(.button) {
background-color: transparent;
&:hover {
background-color: transparent;
}
}
&.active a {
background-color: transparent;
}
}
}
// Top Bar styles intended for screen sizes above the breakpoint.
@media #{$topbar-media-query} {
.top-bar {
background-color: transparent;
&.expanded {
background-color: transparent;
}
}
.top-bar-section {
ul {
background-color: transparent;
}
li {
a:not(.button) {
background-color: transparent;
&:hover {
background-color: transparent;
}
}
}
.has-form {
background-color: transparent;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment