app.component.scss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. @import 'angularlib/styles/common.scss';
  2. .sidenav {
  3. width: 250px;
  4. padding-left: 5px;
  5. }
  6. .logo-container {
  7. display: flex;
  8. flex-flow: row;
  9. align-items: center;
  10. }
  11. .logo-container #logo {
  12. width: auto;
  13. height: 70px
  14. }
  15. .logo-container > .app-name {
  16. margin-left: 3px;
  17. font-weight: bold;
  18. }
  19. .container {
  20. display: flex;
  21. flex-flow: row;
  22. justify-content: center;
  23. }
  24. .container > .left {
  25. flex-grow: 1;
  26. }
  27. $footer-height: 30px;
  28. .container > .main {
  29. flex-grow: 4;
  30. margin: 5px;
  31. max-width: 1920px;
  32. }
  33. .container .main mat-sidenav-content {
  34. height: calc(100vh - $footer-height);
  35. display: flex;
  36. flex-direction: column;
  37. }
  38. .container .main mat-sidenav-content .program-content {
  39. flex-grow: 1;
  40. overflow: auto;
  41. }
  42. .container > .right {
  43. flex-grow: 1;
  44. }
  45. .container > .main > .map-button {
  46. position: absolute;
  47. bottom: 20px; left: 10px;
  48. z-index: 11;
  49. }
  50. .container > .main > .map {
  51. position: absolute;
  52. bottom: 0; left: 0;
  53. width: 500px;
  54. z-index: 10;
  55. }
  56. #notifications {
  57. position: relative;
  58. }
  59. #notifications .count {
  60. position: absolute;
  61. width:15px;
  62. height: 15px;
  63. background-color: red;
  64. right: 3px;
  65. top: -5px;
  66. font-size: 8pt;
  67. border-radius: 50%;
  68. display: flex;
  69. align-items: center;
  70. justify-content: center;
  71. }
  72. .toolbar {
  73. justify-content: center;
  74. }
  75. .toolbar-container {
  76. display: flex;
  77. width: auto;
  78. width: 1920px;
  79. max-width: 1920px;
  80. }
  81. .toolbar-container > #title {
  82. margin-top: auto;
  83. margin-bottom: auto;
  84. }
  85. .toolbar-item {
  86. display: flex;
  87. flex-flow: column;
  88. align-items: center;
  89. flex: 1;
  90. max-height: 100% !important;
  91. transition: background 0.3s ease;
  92. border-radius: 10px;
  93. .mat-icon {
  94. flex-grow: 2;
  95. max-height: fit-content;
  96. }
  97. mat-label {
  98. line-height: 9pt;
  99. font-size: 8pt;
  100. }
  101. position: relative;
  102. }
  103. .toolbar-item:hover {
  104. background: color-mix(in srgb, var(--pill-accent) 15%, transparent);
  105. }
  106. .profile-pic {
  107. height: 25px;
  108. width: 25px;
  109. max-width: 25px;
  110. border-radius: 50%;
  111. }
  112. #account-menu-button .profile-pic {
  113. margin-right: 12px;
  114. }
  115. .toolbar, .mobile-toolbar {
  116. height: 40px;
  117. }
  118. .mobile-toolbar {
  119. display: none;
  120. position: fixed;
  121. bottom: 0;
  122. z-index: 1000;
  123. }
  124. .right-toolbar-panel {
  125. display: flex;
  126. flex-direction: row;
  127. margin-top: auto;
  128. margin-bottom: auto;
  129. margin-left: auto;
  130. .toolbar-item {
  131. padding-left: 0.5rem;
  132. padding-right: 0.5rem;
  133. mat-label {display: none;}
  134. }
  135. #home {display: none;}
  136. #clock_in {display: none;}
  137. #clock_out {display: none;}
  138. }
  139. .language-flag {
  140. display: inline-flex;
  141. border-radius: 50%;
  142. height: 1.3rem;
  143. width: 1.3rem;
  144. background-size: cover;
  145. background-position: center;
  146. }
  147. .test {
  148. position: absolute;
  149. right: 0;
  150. bottom: 0;
  151. }
  152. .notification {
  153. width: 400px;
  154. }
  155. footer {
  156. color:#868686;
  157. font-size: 8pt;
  158. display: flex;
  159. align-items: flex-end;
  160. justify-content: center;
  161. position: fixed;
  162. border-top: 1px solid $border-color;
  163. width: 100%;
  164. }
  165. #installApp {
  166. position: absolute;
  167. bottom: 50px; right: 0;
  168. width: 100%;
  169. }
  170. .mobile-buffer {
  171. line-height: 50px;
  172. display: none;
  173. }
  174. chat {
  175. position: fixed;
  176. bottom: 0;
  177. right: 10px;
  178. width: 350px;
  179. z-index: 100;
  180. }
  181. .route-menu-category {
  182. font-weight: bold;
  183. color: $title-color-light;
  184. font-size: 10pt;
  185. font-family: 'Tahoma','Verdana', sans-serif;
  186. }
  187. .route-menu {
  188. display: flex;
  189. flex-flow: column;
  190. gap: 5px;
  191. padding: 5px;
  192. border-radius: 10px;
  193. }
  194. .route-menu button {
  195. justify-content: flex-start;
  196. text-align: left;
  197. }
  198. .route-menu .active {
  199. background: color-mix(in srgb, var(--mat-sys-primary) 15%, transparent);
  200. }
  201. ::ng-deep .route-menu button .mat-badge-content {
  202. height: 20px;
  203. padding-top: 2px;
  204. top: 20px;
  205. left: 88%;
  206. }
  207. /** Mobile styles */
  208. @media screen and (pointer: none), (pointer: coarse) {
  209. .toolbar {display: none;}
  210. .container > .main {max-width: 100%;}
  211. .container > .left {display: none;}
  212. .container > .right {display: none;}
  213. .mobile-toolbar {
  214. display: flex;
  215. }
  216. .toolbar-item .count-aria {
  217. right: 35%;
  218. }
  219. .mobile-buffer {
  220. display: block;
  221. }
  222. .container > .main > .map-button {
  223. bottom: 60px; left: 10px;
  224. }
  225. .container > .main > .map {
  226. bottom: 0; left: 0;
  227. width: 100%;
  228. }
  229. chat {
  230. bottom: 60px;
  231. }
  232. }
  233. @media screen and (pointer: none), (pointer: coarse) and (orientation: landscape) {
  234. .toolbar-item .count-aria {
  235. right: 43%;
  236. }
  237. }