Topbar testing

This commit is contained in:
hmbrink 2020-01-21 10:45:40 -05:00
parent 8c0e88c5c4
commit 4dcd49269f
5 changed files with 18 additions and 15 deletions

View File

@ -3,11 +3,6 @@
@include grid-row;
min-height: 500px;
}
.col.col--grow {
position: relative;
padding: 0;
}
}
.portfolio-header {
@ -25,12 +20,6 @@
&__name {
@include h1;
padding-right: $spacing-medium;
position: absolute;
top: 50%;
left: 0;
-webkit-transform: translateX(0%) translateY(-50%);
transform: translateX(0%) translateY(-50%);
h1 {
margin: 0;

View File

@ -65,3 +65,11 @@
justify-content: flex-end;
}
}
.login-topbar .topbar__navigation {
max-width: 100%;
}
.login-topbar .topbar__context .topbar__link-icon {
margin: 0 0 0 0.8rem;
}

View File

@ -94,3 +94,7 @@ hr {
margin: ($gap * 3) ($site-margins * -4);
}
}
.usa-section {
padding: 0;
}

View File

@ -17,7 +17,7 @@
<div id='app-root'>
{% include 'components/usa_header.html' %}
{% include 'navigation/topbar.html' %}
<div class='login-topbar'>{% include 'navigation/topbar.html' %}</div>
{% block content %}{% endblock %}

View File

@ -10,9 +10,11 @@
<main class="usa-section usa-content">
{% include "fragments/flash.html" %}
<div class='portfolio-header__name'>
<p>{{ "portfolios.header" | translate }}</p>
<h1>{{ "New Portfolio" }}</h1>
<div class="portfolio-header-new">
<div class='portfolio-header__name'>
<p>{{ "portfolios.header" | translate }}</p>
<h1>{{ "New Portfolio" }}</h1>
</div>
</div>
{{ StickyCTA(text="Create New Portfolio") }}
<base-form inline-template>