FarmMapsLib/projects/common/src/fm/components/app/app.component.scss

132 lines
2.0 KiB
SCSS
Raw Normal View History

2020-01-07 20:43:48 +00:00
/* Import Bootstrap & Fonts */
@import "~bootstrap/scss/bootstrap.scss";
2020-10-29 18:14:06 +00:00
2020-01-07 20:43:48 +00:00
// 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
*/
2020-10-29 18:14:06 +00:00
body { background: #f1f1f1; line-height: 18px; user-select:none;font-family: Lato,Helvetica Neue,Helvetica,Arial,sans-serif;}
2020-01-07 20:43:48 +00:00
.navbar-brand {
padding-top: .5rem;
padding-bottom: .5rem;
}
.app {
2020-12-09 14:23:50 +00:00
width:100%;
height:100%;
2020-01-07 20:43:48 +00:00
}
.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;
2020-10-29 18:14:06 +00:00
overflow: hidden;
}
.app.pagemode > .body {
overflow: initial;
position: relative;
}
.app.pagemode .apponly {
display: none !important;
}
.app.appmode .pageonly {
display: none !important;
2020-01-07 20:43:48 +00:00
}
.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);
}
2020-01-08 13:23:24 +00:00
.logo {
margin-left: 1rem;
}
2020-06-12 10:24:08 +00:00
2020-10-29 18:14:06 +00:00
.header-logo {
height:2em;
}
2020-06-12 10:24:08 +00:00
.user-menu {
2020-06-12 10:53:43 +00:00
transition: top 0.5s ease-out;
2020-06-12 10:24:08 +00:00
position: absolute;
2020-06-12 10:53:43 +00:00
top:0.25em;
2020-06-12 10:24:08 +00:00
right:1em;
}
2020-06-12 10:53:43 +00:00
.fullscreen > .user-menu {
top:1em;
}
2020-07-23 09:28:07 +00:00
.healthstatus-container {
width: 100%;
position: absolute;
bottom: 0px;
overflow: hidden;
2020-07-23 09:48:31 +00:00
transition: max-height 0.5s ease-out;
max-height:5em;
2020-07-31 07:51:28 +00:00
z-index: 2000;
2020-07-23 09:28:07 +00:00
}
.healthstatus {
width: 100%;
padding: 1em;
}
.online {
2020-07-23 09:48:31 +00:00
max-height:0em;
2020-07-23 09:28:07 +00:00
}
2020-12-09 20:45:38 +00:00
fm-app-menu,fm-user-menu {
display: inline-block;
margin-left: 1rem;
}