2019-01-09 08:31:13 +01:00
|
|
|
/* 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;
|
2019-07-11 18:03:13 +02:00
|
|
|
overflow-x: hidden;
|
2019-01-09 08:31:13 +01:00
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2018-06-25 17:03:52 +02:00
|
|
|
}
|
2018-07-31 15:46:55 +02:00
|
|
|
|
2019-03-20 12:45:34 +01:00
|
|
|
.username {
|
|
|
|
span {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-16 15:54:34 +01:00
|
|
|
.nav-toolbar {
|
|
|
|
display: flex;
|
|
|
|
margin: auto;
|
|
|
|
width: 250px;
|
|
|
|
height: 80px;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2019-07-11 18:03:13 +02:00
|
|
|
|
|
|
|
// 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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-16 15:54:34 +01:00
|
|
|
/* The top logo container can contain any logo with any size.
|
|
|
|
It needs to always fit.*/
|
2018-08-02 16:39:08 +02:00
|
|
|
.os-logo-container {
|
2019-01-16 15:54:34 +01:00
|
|
|
margin: auto;
|
2019-05-07 21:51:38 +02:00
|
|
|
width: 230px !important;
|
|
|
|
margin-left: 10px;
|
2019-01-16 15:54:34 +01:00
|
|
|
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;
|
2019-05-07 21:51:38 +02:00
|
|
|
margin-left: 16px;
|
2018-08-02 16:39:08 +02:00
|
|
|
}
|
2019-01-16 15:54:34 +01:00
|
|
|
|
2018-11-09 09:24:38 +01:00
|
|
|
.os-logo-container:focus,
|
|
|
|
.os-logo-container:active,
|
2019-01-16 15:54:34 +01:00
|
|
|
.os-logo-container:hover,
|
|
|
|
.os-footer-logo-container:focus,
|
|
|
|
.os-footer-logo-container:active,
|
|
|
|
.os-footer-logo-container:hover {
|
2018-11-09 09:24:38 +01:00
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
}
|
2018-08-02 16:39:08 +02:00
|
|
|
|
2019-01-09 08:31:13 +01:00
|
|
|
/* Content container */
|
2018-09-04 11:35:50 +02:00
|
|
|
.content {
|
|
|
|
min-height: 100%;
|
|
|
|
position: relative;
|
|
|
|
|
2019-01-09 08:31:13 +01:00
|
|
|
main {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
z-index: 50;
|
|
|
|
flex: 1;
|
|
|
|
> *:not(router-outlet) {
|
|
|
|
flex: 1;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2018-09-04 11:35:50 +02:00
|
|
|
}
|
|
|
|
|
2019-01-09 08:31:13 +01:00
|
|
|
/* History mode top bar*/
|
2018-11-09 13:44:39 +01:00
|
|
|
.history-mode-indicator {
|
2019-02-25 14:19:56 +01:00
|
|
|
position: relative; // was fixed before to prevent the overflow
|
|
|
|
min-height: 20px;
|
|
|
|
line-height: 20px;
|
2018-11-09 13:44:39 +01:00
|
|
|
width: 100%;
|
2019-02-25 14:19:56 +01:00
|
|
|
// z-index: 10;
|
2018-11-09 13:44:39 +01:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|