app.component.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. @import 'angularlib/styles/common.scss';
  2. :host {
  3. --bright-blue: oklch(51.01% 0.274 263.83);
  4. --pill-accent: var(--bright-blue);
  5. }
  6. .container {
  7. display: flex;
  8. flex-flow: row;
  9. justify-content: center;
  10. }
  11. .container > .left {
  12. flex-grow: 1;
  13. }
  14. .container > .main {
  15. flex-grow: 4;
  16. margin: 5px;
  17. height: calc(100vh - 75px);
  18. max-width: 1920px;
  19. }
  20. .container > .right {
  21. flex-grow: 1;
  22. }
  23. #notifications {
  24. position: relative;
  25. }
  26. #notifications .count {
  27. position: absolute;
  28. width:15px;
  29. height: 15px;
  30. background-color: red;
  31. right: 3px;
  32. top: -5px;
  33. font-size: 8pt;
  34. border-radius: 50%;
  35. display: flex;
  36. align-items: center;
  37. justify-content: center;
  38. }
  39. .toolbar {
  40. justify-content: center;
  41. }
  42. .toolbar-container {
  43. display: flex;
  44. width: auto;
  45. width: 1920px;
  46. max-width: 1920px;
  47. }
  48. .toolbar-container > #title {
  49. margin-top: auto;
  50. margin-bottom: auto;
  51. }
  52. .toolbar-item {
  53. display: flex;
  54. flex-flow: column;
  55. align-items: center;
  56. flex: 1;
  57. max-height: 100% !important;
  58. transition: background 0.3s ease;
  59. border-radius: 10px;
  60. .mat-icon {
  61. flex-grow: 2;
  62. max-height: fit-content;
  63. }
  64. mat-label {
  65. line-height: 9pt;
  66. font-size: 8pt;
  67. }
  68. }
  69. .toolbar-item:hover {
  70. background: color-mix(in srgb, var(--pill-accent) 15%, transparent);
  71. }
  72. .toolbar-item > .profile-pic {
  73. height: 25px;
  74. border-radius: 50%;
  75. }
  76. .toolbar, .mobile-toolbar {
  77. height: 40px;
  78. }
  79. .mobile-toolbar {
  80. display: none;
  81. position: fixed;
  82. bottom: 0;
  83. z-index: 1000;
  84. }
  85. .right-toolbar-panel {
  86. display: flex;
  87. flex-direction: row;
  88. margin-top: auto;
  89. margin-bottom: auto;
  90. margin-left: auto;
  91. .toolbar-item {
  92. padding-left: 0.5rem;
  93. padding-right: 0.5rem;
  94. mat-label {display: none;}
  95. }
  96. #home {display: none;}
  97. #clock_in {display: none;}
  98. #clock_out {display: none;}
  99. }
  100. .language-flag {
  101. display: inline-flex;
  102. border-radius: 50%;
  103. height: 1.3rem;
  104. width: 1.3rem;
  105. background-size: cover;
  106. background-position: center;
  107. }
  108. .test {
  109. position: absolute;
  110. right: 0;
  111. bottom: 0;
  112. }
  113. footer {
  114. margin-top: 7px;
  115. padding-top: 3px;
  116. color:#868686;
  117. font-size: 8pt;
  118. display: flex;
  119. align-items: flex-end;
  120. justify-content: center;
  121. position: fixed;
  122. border-top: 1px solid $border-color;
  123. width: 100%;
  124. }
  125. [class*='dark-theme'] {
  126. }
  127. /** Mobile styles */
  128. @media screen and (pointer: none), (pointer: coarse) {
  129. .toolbar {display: none;}
  130. .container > .main {max-width: 100%;}
  131. .container > .left {display: none;}
  132. .container > .right {display: none;}
  133. .mobile-toolbar {
  134. display: flex;
  135. }
  136. #notifications .count {
  137. right: 35%;
  138. top: -3px;
  139. }
  140. }