+
+
+
+
diff --git a/client/src/app/site/site.component.scss b/client/src/app/site/site.component.scss
index bfd9ee691..e3b971e6c 100644
--- a/client/src/app/site/site.component.scss
+++ b/client/src/app/site/site.component.scss
@@ -7,6 +7,7 @@ mat-sidenav-container {
border: 0;
box-shadow: 3px 0px 10px 0px rgba(0, 0, 0, 0.2);
width: 260px;
+ overflow-x: hidden;
mat-toolbar,
mat-toolbar-row {
@@ -47,6 +48,48 @@ mat-sidenav-container {
height: 80px;
align-items: center;
}
+
+// CSS for the toggle button
+.nav-toggle-button-container {
+ position: fixed;
+ z-index: 99;
+ bottom: 24px;
+ & > div {
+ position: relative;
+ }
+
+ .nav-toggle-button {
+ bottom: 0;
+
+ position: absolute;
+ visibility: visible;
+ transform: none;
+ width: 24px;
+ min-width: 24px;
+ height: 48px;
+ padding: 0 0 2px;
+
+ &.left {
+ left: 236px;
+ padding-left: 8px;
+ border-radius: 50px 0 0 50px;
+ }
+
+ &.right {
+ left: 0;
+ padding-right: 8px;
+ border-radius: 0 50px 50px 0;
+ }
+
+ mat-icon {
+ $size: 18px;
+ height: $size;
+ width: $size;
+ font-size: $size;
+ }
+ }
+}
+
/* The top logo container can contain any logo with any size.
It needs to always fit.*/
.os-logo-container {
diff --git a/client/src/app/site/site.component.scss-theme.scss b/client/src/app/site/site.component.scss-theme.scss
index 9140e26f4..b5a857274 100644
--- a/client/src/app/site/site.component.scss-theme.scss
+++ b/client/src/app/site/site.component.scss-theme.scss
@@ -17,6 +17,11 @@
background-color: mat-color($background, card); //TODO
}
+ .nav-toggle-button {
+ background: mat-color($background, background);
+ color: mat-color($foreground, icon);
+ }
+
/* seperator */
mat-nav-list.main-nav,
mat-divider {
diff --git a/client/src/styles.scss b/client/src/styles.scss
index e093c9462..53bb55b93 100644
--- a/client/src/styles.scss
+++ b/client/src/styles.scss
@@ -630,7 +630,7 @@ button.mat-menu-item.selected {
* from 100vh
*/
.virtual-scroll-full-page {
- height: calc(100vh - 128px);
+ height: calc(100vh - 64px);
}
/** css hacks https://codepen.io/edge0703/pen/iHJuA */
@@ -640,7 +640,7 @@ button.mat-menu-item.selected {
}
.virtual-scroll-with-head-bar {
- height: calc(100vh - 189px);
+ height: calc(100vh - 125px);
// For some reason, hiding the table header adds an empty meta bar.
.pbl-ngrid-container {