atst/styles/components/_topbar.scss
leigh-mil 68c7a70082 Set max width on error page and include Last login on error page
- Updated error_base template so that it contained the Root Vue component, which was the reason that the last login was not previously displaying
- Deleted unused css
- Created css variable max-page-width for use on the error page, topbar, and other full width elements
2020-02-04 16:13:07 -05:00

76 lines
1.3 KiB
SCSS

.topbar {
background-color: $color-blue-darkest;
border-bottom: 1px solid $color-black;
height: $topbar-height;
position: fixed;
top: $usa-banner-height;
z-index: 10;
width: 100%;
&__navigation {
display: flex;
flex-direction: row;
align-items: stretch;
justify-content: space-between;
max-width: $max-page-width;
a {
color: $color-white;
}
}
&__link {
display: inline-flex;
align-items: center;
height: $topbar-height;
padding: 0 ($gap * 2);
text-decoration: none;
&-label {
font-size: $h5-font-size;
font-weight: $font-semibold;
text-decoration: none;
}
&-icon {
margin: 0 $gap 0 0;
@include icon-color($color-white);
}
.icon--logout {
margin: 0 0 0 $gap;
}
&--home {
padding: 0 ($gap * 2);
.topbar__link-label {
font-size: $base-font-size;
font-weight: $font-bold;
text-transform: uppercase;
}
}
&:hover {
background-color: $color-primary-darker;
color: $color-white;
}
}
&__context {
display: flex;
flex-grow: 1;
flex-direction: row;
align-items: stretch;
justify-content: flex-end;
}
}
.login-topbar .topbar__navigation {
max-width: 100%;
}
.login-topbar .topbar__context .topbar__link-icon {
margin: 0 0 0 0.8rem;
}