feat(aio): layout max width and design cleanup
- Content container now has a max width and made the body background the same offwhite color so the cut-off is not visible - Sidenav will always remain at the left of the page - Added a max width to the api banner of filter search inputs - Left aligned content container so it is flush with sidenav - Changed API filter width to match size of filter results
This commit is contained in:
parent
5331fc1aab
commit
710b4a3503
|
@ -1,4 +1,4 @@
|
||||||
<div class="l-flex-wrap banner is-plain api-filter">
|
<div class="l-flex-wrap banner is-plain l-content-small api-filter">
|
||||||
|
|
||||||
<div class="form-select-menu">
|
<div class="form-select-menu">
|
||||||
<button class="form-select-button has-symbol" (click)="toggleTypeMenu()">
|
<button class="form-select-button has-symbol" (click)="toggleTypeMenu()">
|
||||||
|
|
|
@ -2,6 +2,10 @@ html, body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: $offwhite;
|
||||||
|
}
|
||||||
|
|
||||||
.clearfix {
|
.clearfix {
|
||||||
content: "";
|
content: "";
|
||||||
display: table;
|
display: table;
|
||||||
|
|
|
@ -17,6 +17,7 @@ aio-nav-menu.top-menu .vertical-menu-item {
|
||||||
md-sidenav.mat-sidenav.sidenav {
|
md-sidenav.mat-sidenav.sidenav {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
padding: 80px 0px 0px;
|
padding: 80px 0px 0px;
|
||||||
min-width: 260px;
|
min-width: 260px;
|
||||||
background-color: $offwhite;
|
background-color: $offwhite;
|
||||||
|
@ -30,7 +31,8 @@ md-sidenav.mat-sidenav.sidenav.collapsed {
|
||||||
md-sidenav-container.sidenav-container {
|
md-sidenav-container.sidenav-container {
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
margin: 0 auto;
|
max-width: 1400px;
|
||||||
|
margin: 0;
|
||||||
transform: none;
|
transform: none;
|
||||||
padding-top: 64px;
|
padding-top: 64px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ aio-api-list {
|
||||||
width: 182px;
|
width: 182px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.banner {
|
.api-filter.banner {
|
||||||
border: 1px solid rgba($lightgray, 0.5);
|
border: 1px solid rgba($lightgray, 0.5);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue