OpenSlides/client/src/app/site/site.component.scss

96 lines
1.9 KiB
SCSS
Raw Normal View History

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;
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
}
2019-01-09 08:31:13 +01:00
/* Logo container */
.os-logo-container {
2018-11-09 09:24:38 +01:00
width: 200px;
margin-left: 10px;
2019-01-09 08:31:13 +01:00
background-image: url(/assets/img/openslides-logo-h.svg);
background-size: contain;
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
}
2018-11-09 09:24:38 +01:00
.os-logo-container:focus,
.os-logo-container:active,
.os-logo-container:hover {
2018-11-09 09:24:38 +01:00
border: none;
outline: none;
}
2019-01-09 08:31:13 +01:00
/* Content container */
.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;
}
}
}
2019-01-09 08:31:13 +01:00
/* History mode top bar*/
.history-mode-indicator {
position: fixed;
width: 100%;
z-index: 10;
background: repeating-linear-gradient(45deg, #ffee00, #ffee00 10px, #070600 10px, #000000 20px);
text-align: center;
line-height: 20px;
height: 20px;
span {
padding: 2px;
color: #000000;
background: #ffee00;
}
a {
padding: 2px;
cursor: pointer;
font-weight: bold;
text-decoration: none;
background: #ffee00;
color: #000000;
}
}