app.component.scss 4.6 KB

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