ca18d59ac3
Fixes some z-layer effects
120 lines
2.4 KiB
SCSS
120 lines
2.4 KiB
SCSS
/* Main navigation */
|
|
mat-sidenav-container {
|
|
height: 100vh;
|
|
width: 100%;
|
|
|
|
mat-sidenav.side-panel {
|
|
border: 0;
|
|
box-shadow: 3px 0px 10px 0px rgba(0, 0, 0, 0.2);
|
|
width: 260px;
|
|
|
|
mat-toolbar,
|
|
mat-toolbar-row {
|
|
height: 80px;
|
|
}
|
|
|
|
mat-nav-list {
|
|
padding-top: 0;
|
|
padding-bottom: 20px;
|
|
}
|
|
mat-nav-list.main-nav {
|
|
border-top-width: 1px;
|
|
border-top-style: solid;
|
|
span {
|
|
font-weight: 400;
|
|
}
|
|
}
|
|
|
|
mat-icon {
|
|
min-width: 20px; //puts the text to the right on the same level
|
|
margin-right: 25px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.username {
|
|
span {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
.nav-toolbar {
|
|
display: flex;
|
|
margin: auto;
|
|
width: 250px;
|
|
height: 80px;
|
|
align-items: center;
|
|
}
|
|
/* The top logo container can contain any logo with any size.
|
|
It needs to always fit.*/
|
|
.os-logo-container {
|
|
margin: auto;
|
|
width: 250px !important;
|
|
max-height: 80px;
|
|
display: flex;
|
|
}
|
|
|
|
/* The footer container only appears when custom logo is
|
|
specified. It can only contain the standard logo */
|
|
.os-footer-logo-container {
|
|
width: 150px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.os-logo-container:focus,
|
|
.os-logo-container:active,
|
|
.os-logo-container:hover,
|
|
.os-footer-logo-container:focus,
|
|
.os-footer-logo-container:active,
|
|
.os-footer-logo-container:hover {
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
|
|
/* Content container */
|
|
.content {
|
|
min-height: 100%;
|
|
position: relative;
|
|
|
|
main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
position: relative;
|
|
z-index: 50;
|
|
flex: 1;
|
|
> *:not(router-outlet) {
|
|
flex: 1;
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* History mode top bar*/
|
|
.history-mode-indicator {
|
|
position: relative; // was fixed before to prevent the overflow
|
|
min-height: 20px;
|
|
line-height: 20px;
|
|
width: 100%;
|
|
// z-index: 10;
|
|
background: repeating-linear-gradient(45deg, #ffee00, #ffee00 10px, #070600 10px, #000000 20px);
|
|
text-align: center;
|
|
|
|
span {
|
|
padding: 2px;
|
|
color: #000000;
|
|
background: #ffee00;
|
|
}
|
|
|
|
a {
|
|
padding: 2px;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
background: #ffee00;
|
|
color: #000000;
|
|
}
|
|
}
|