Don't load Foundation styles for the top-bar
We're going to change these styles in order to fix a bug, and the Foundation styles were getting in the way. Besides, we were overwriting some rules and so now we're removing 6 properties while we're also adding 6, so it isn't like the Foundation styles were helping us.
This commit is contained in:
@@ -45,7 +45,6 @@
|
||||
@include foundation-thumbnail;
|
||||
@include foundation-title-bar;
|
||||
@include foundation-tooltip;
|
||||
@include foundation-top-bar;
|
||||
@include foundation-visibility-classes;
|
||||
@include foundation-float-classes;
|
||||
@include motion-ui-transitions;
|
||||
|
||||
@@ -550,6 +550,8 @@ body > header,
|
||||
|
||||
.top-bar {
|
||||
@include background-with-text-contrast($main-header, [main-header, brand]);
|
||||
padding-bottom: $topbar-padding;
|
||||
padding-top: $topbar-padding;
|
||||
|
||||
h1 {
|
||||
line-height: $line-height;
|
||||
@@ -566,22 +568,20 @@ body > header,
|
||||
}
|
||||
|
||||
.top-bar {
|
||||
background-color: inherit;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
|
||||
@include breakpoint(small only) {
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
@include breakpoint(medium) {
|
||||
justify-content: flex-start;
|
||||
|
||||
h1 {
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
background: none;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-bottom: 0;
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
.top-bar {
|
||||
height: auto;
|
||||
padding-bottom: 0;
|
||||
padding-top: $line-height / 2;
|
||||
|
||||
@include breakpoint(small only) {
|
||||
|
||||
Reference in New Issue
Block a user