Angular Web App
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
 

200 Zeilen
4.1 KiB

  1. $header-height: 10rem;
  2. .navbar {
  3. display: flex;
  4. width: 100%;
  5. height: $header-height;
  6. align-items: center;
  7. justify-content: flex-start;
  8. .logo {
  9. width: 12rem;
  10. margin: 0 2rem;
  11. img {
  12. width: 100%;
  13. height: 100%;
  14. }
  15. }
  16. nav {
  17. margin: 0 2rem;
  18. @media print {
  19. display: none;
  20. }
  21. a {
  22. font-size: 1.6rem;
  23. letter-spacing: 0.5px;
  24. color: var(--dark-grey);
  25. margin-right: 2rem;
  26. &.active {
  27. text-decoration: underline;
  28. color: var(--highlight);
  29. }
  30. &:hover {
  31. text-decoration: underline;
  32. }
  33. }
  34. }
  35. .search-input {
  36. position: relative;
  37. margin-left: auto;
  38. @media print {
  39. display: none;
  40. }
  41. input {
  42. display: block;
  43. height: 5rem;
  44. border: 1px solid var(--border-grey);
  45. border-radius: 4rem;
  46. padding: 0 2.5rem;
  47. width: 35rem;
  48. font-size: 1.5rem;
  49. font-weight: 300;
  50. &::placeholder {
  51. color: var(--dark-grey);
  52. opacity: 0.6;
  53. }
  54. }
  55. img {
  56. position: absolute;
  57. width: 1.8rem;
  58. top: 1.5rem;
  59. right: 1.8rem;
  60. }
  61. }
  62. .notification-button {
  63. width: 5rem;
  64. height: 5rem;
  65. border-radius: 50%;
  66. border: none;
  67. position: relative;
  68. background-color: white;
  69. margin-left: 2rem;
  70. @media print {
  71. display: none;
  72. }
  73. &.active {
  74. box-shadow: 0px 0px 10px -3px var(--primary);
  75. img {
  76. filter: brightness(500%);
  77. }
  78. .badge {
  79. transform: scale(0);
  80. }
  81. &::before {
  82. background-color: var(--highlight);
  83. opacity: 1;
  84. filter: none;
  85. }
  86. }
  87. &:hover {
  88. box-shadow: 0px 0px 10px -3px var(--primary);
  89. }
  90. .badge {
  91. background-color: var(--highlight);
  92. color: white;
  93. font-size: 1.1rem;
  94. border-radius: 7px;
  95. position: absolute;
  96. right: 0;
  97. top: -0.5rem;
  98. width: 2rem;
  99. height: 2rem;
  100. border-radius: 50%;
  101. display: flex;
  102. align-items: center;
  103. justify-content: center;
  104. font-weight: 600;
  105. transition: transform 0.1s;
  106. }
  107. &::before {
  108. content: '';
  109. position: absolute;
  110. left: 0;
  111. top: 0;
  112. width: 100%;
  113. height: 100%;
  114. background-color: var(--secondary);
  115. opacity: 0.3;
  116. filter: brightness(110%);
  117. border-radius: 50%;
  118. }
  119. & > * {
  120. position: relative;
  121. }
  122. img {
  123. width: 40%;
  124. height: 40%;
  125. }
  126. }
  127. .profile-actions {
  128. margin: 0 2rem;
  129. display: flex;
  130. align-items: center;
  131. justify-content: center;
  132. height: 5rem;
  133. border-radius: 4rem;
  134. padding: 0 2rem;
  135. position: relative;
  136. overflow: hidden;
  137. width: 20rem;
  138. cursor: pointer;
  139. @media print {
  140. display: none;
  141. }
  142. &::before {
  143. content: '';
  144. position: absolute;
  145. left: 0;
  146. top: 0;
  147. width: 100%;
  148. height: 100%;
  149. background-color: var(--secondary);
  150. opacity: 0.3;
  151. filter: brightness(110%);
  152. }
  153. & > * {
  154. position: relative;
  155. }
  156. img {
  157. width: 1.5rem;
  158. &.logout-icon {
  159. transform: scale(1.5);
  160. }
  161. }
  162. span {
  163. margin: 0 auto;
  164. color: var(--primary);
  165. font-size: 1.4rem;
  166. }
  167. }
  168. }