Files
FarmMapsLib/projects/common/src/fm/components/app/app.component.scss
Willem Dantuma c682fb9184
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
Fix z-index
2020-07-31 09:51:28 +02:00

109 lines
1.6 KiB
SCSS

/* Import Bootstrap & Fonts */
@import "~bootstrap/scss/bootstrap.scss";
// custom styles
.btn:focus {
box-shadow:none;
}
.input-group > .form-control:focus {
z-index: auto;
}
.form-control:focus {
box-shadow: none;
border-color: $input-border-color;
}
/* *** Overall APP Styling can go here ***
--------------------------------------------
Note: This Component has ViewEncapsulation.None so the styles will bleed out
*/
body { background: #f1f1f1; line-height: 18px; user-select:none;}
.navbar-brand {
padding-top: .5rem;
padding-bottom: .5rem;
}
.app {
width:100vw;
height:100vh;
}
.app > .navbar {
position: absolute;
transition: top 0.5s ease-out;
top:0;
left: 0;
right: 0;
height: 3.1rem;
}
.app > .body {
position: absolute;
transition: top 0.5s ease-out;
top: 3.1rem;
bottom: 0;
left: 0;
right: 0;
overflow:hidden;
}
.app.fullscreen > .navbar {
top: -3.1rem;
}
.app.fullscreen > .body {
top:0;
}
.btn-primary, .btn-primary:hover {
color: #ffffff;
}
.menu .side-panel {
z-index: 100;
background-color: rgb(245,245,245);
}
.logo {
margin-left: 1rem;
}
.user-menu {
transition: top 0.5s ease-out;
position: absolute;
top:0.25em;
right:1em;
}
.fullscreen > .user-menu {
top:1em;
}
.healthstatus-container {
width: 100%;
position: absolute;
bottom: 0px;
overflow: hidden;
transition: max-height 0.5s ease-out;
max-height:5em;
z-index: 2000;
}
.healthstatus {
width: 100%;
padding: 1em;
}
.online {
max-height:0em;
}