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-thumbnail;
|
||||||
@include foundation-title-bar;
|
@include foundation-title-bar;
|
||||||
@include foundation-tooltip;
|
@include foundation-tooltip;
|
||||||
@include foundation-top-bar;
|
|
||||||
@include foundation-visibility-classes;
|
@include foundation-visibility-classes;
|
||||||
@include foundation-float-classes;
|
@include foundation-float-classes;
|
||||||
@include motion-ui-transitions;
|
@include motion-ui-transitions;
|
||||||
|
|||||||
@@ -550,6 +550,8 @@ body > header,
|
|||||||
|
|
||||||
.top-bar {
|
.top-bar {
|
||||||
@include background-with-text-contrast($main-header, [main-header, brand]);
|
@include background-with-text-contrast($main-header, [main-header, brand]);
|
||||||
|
padding-bottom: $topbar-padding;
|
||||||
|
padding-top: $topbar-padding;
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
line-height: $line-height;
|
line-height: $line-height;
|
||||||
@@ -566,22 +568,20 @@ body > header,
|
|||||||
}
|
}
|
||||||
|
|
||||||
.top-bar {
|
.top-bar {
|
||||||
background-color: inherit;
|
align-items: center;
|
||||||
padding-left: 0;
|
display: flex;
|
||||||
padding-right: 0;
|
|
||||||
|
@include breakpoint(small only) {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
@include breakpoint(medium) {
|
@include breakpoint(medium) {
|
||||||
justify-content: flex-start;
|
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
|
||||||
background: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
.top-bar {
|
.top-bar {
|
||||||
height: auto;
|
height: auto;
|
||||||
padding-bottom: 0;
|
|
||||||
padding-top: $line-height / 2;
|
padding-top: $line-height / 2;
|
||||||
|
|
||||||
@include breakpoint(small only) {
|
@include breakpoint(small only) {
|
||||||
|
|||||||
Reference in New Issue
Block a user