| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276 |
- @import 'angularlib/styles/common.scss';
- .sidenav {
- width: 250px;
- }
- .logo-container {
- display: flex;
- flex-flow: row;
- align-items: center;
- }
- .logo-container #logo {
- width: auto;
- height: 70px
- }
- .logo-container > .app-name {
- margin-left: 3px;
- font-weight: bold;
- }
- .container {
- display: flex;
- flex-flow: row;
- justify-content: center;
- }
- .container > .left {
- flex-grow: 1;
- }
- $footer-height: 30px;
- .container > .main {
- flex-grow: 4;
- margin: 5px;
- max-width: 1920px;
- }
- .container .main mat-sidenav-content {
- height: calc(100vh - $footer-height);
- display: flex;
- flex-direction: column;
- }
- .container .main mat-sidenav-content .program-content {
- flex-grow: 1;
- overflow: auto;
- }
- .container > .right {
- flex-grow: 1;
- }
- .container > .main > .map-button {
- position: absolute;
- bottom: 20px; left: 10px;
- z-index: 11;
- }
- .container > .main > .map {
- position: absolute;
- bottom: 0; left: 0;
- width: 500px;
- z-index: 10;
- }
- #notifications {
- position: relative;
- }
- #notifications .count {
- position: absolute;
- width:15px;
- height: 15px;
- background-color: red;
- right: 3px;
- top: -5px;
- font-size: 8pt;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .toolbar {
- justify-content: center;
- }
- .toolbar-container {
- display: flex;
- width: auto;
- width: 1920px;
- max-width: 1920px;
-
- }
- .toolbar-container > #title {
- margin-top: auto;
- margin-bottom: auto;
- }
- .toolbar-item {
- display: flex;
- flex-flow: column;
- align-items: center;
- flex: 1;
- max-height: 100% !important;
- transition: background 0.3s ease;
- border-radius: 10px;
- .mat-icon {
- flex-grow: 2;
- max-height: fit-content;
- }
- mat-label {
- line-height: 9pt;
- font-size: 8pt;
- }
- position: relative;
- }
- .toolbar-item:hover {
- background: color-mix(in srgb, var(--pill-accent) 15%, transparent);
- }
- .profile-pic {
- height: 25px;
- width: 25px;
- max-width: 25px;
- border-radius: 50%;
- }
- #account-menu-button .profile-pic {
- margin-right: 12px;
- }
- .toolbar, .mobile-toolbar {
- height: 40px;
- }
- .mobile-toolbar {
- display: none;
- position: fixed;
- bottom: 0;
- z-index: 1000;
- }
- .right-toolbar-panel {
- display: flex;
- flex-direction: row;
- margin-top: auto;
- margin-bottom: auto;
- margin-left: auto;
- .toolbar-item {
- padding-left: 0.5rem;
- padding-right: 0.5rem;
- mat-label {display: none;}
- }
- #home {display: none;}
- #clock_in {display: none;}
- #clock_out {display: none;}
- }
- .language-flag {
- display: inline-flex;
- border-radius: 50%;
- height: 1.3rem;
- width: 1.3rem;
- background-size: cover;
- background-position: center;
- }
- .test {
- position: absolute;
- right: 0;
- bottom: 0;
- }
- .notification {
- width: 400px;
- }
- footer {
- color:#868686;
- font-size: 8pt;
- display: flex;
- align-items: flex-end;
- justify-content: center;
- position: fixed;
- border-top: 1px solid $border-color;
- width: 100%;
- }
- #installApp {
- position: absolute;
- bottom: 50px; right: 0;
- width: 100%;
- }
- .mobile-buffer {
- line-height: 50px;
- display: none;
- }
- chat {
- position: fixed;
- bottom: 0;
- right: 10px;
- width: 350px;
- z-index: 100;
- }
- .route-menu-category {
- font-weight: bold;
- color: $title-color-light;
- font-size: 10pt;
- font-family: 'Tahoma','Verdana', sans-serif;
- }
- .route-menu {
- display: flex;
- flex-flow: column;
- gap: 5px;
- padding: 5px;
- border-radius: 10px;
- }
- .route-menu button {
- justify-content: flex-start;
- text-align: left;
- }
- .route-menu .active {
- background: color-mix(in srgb, var(--mat-sys-primary) 15%, transparent);
- }
- ::ng-deep .route-menu button .mat-badge-content {
- height: 20px;
- padding-top: 2px;
- top: 20px;
- left: 88%;
- }
- /** Mobile styles */
- @media screen and (pointer: none), (pointer: coarse) {
- .toolbar {display: none;}
- .container > .main {max-width: 100%;}
- .container > .left {display: none;}
- .container > .right {display: none;}
-
- .mobile-toolbar {
- display: flex;
- }
- .toolbar-item .count-aria {
- right: 35%;
- }
- .mobile-buffer {
- display: block;
- }
- .container > .main > .map-button {
- bottom: 60px; left: 10px;
- }
- .container > .main > .map {
- bottom: 0; left: 0;
- width: 100%;
- }
- chat {
- bottom: 60px;
- }
- }
- @media screen and (pointer: none), (pointer: coarse) and (orientation: landscape) {
- .toolbar-item .count-aria {
- right: 43%;
- }
- }
|