Second frontend, written in Next.JS + Typescript.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
817 B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. .sidebar
  2. position: fixed
  3. width: 4.5ch
  4. height: 100%
  5. background-color: black
  6. display: flex
  7. flex-direction: column
  8. transition: 250ms
  9. &:hover
  10. width: 20ch;
  11. .sidebarItem
  12. color: #777
  13. .sidebarItemText
  14. opacity: 1
  15. width: 16ch
  16. div.sidebarItem
  17. color: white
  18. padding-top: 0.333em
  19. transition: 75ms
  20. color: #333
  21. white-space: nowrap
  22. svg
  23. margin-left: 0.5ch
  24. height: 1.5em
  25. &:hover
  26. background-color: #222
  27. color: #fc1 !important
  28. .sidebarItemIcon
  29. display: inline-block
  30. height: 2em
  31. width: 3.5ch
  32. text-align: center
  33. transition: 75ms
  34. .sidebarItemText
  35. display: inline-block
  36. vertical-align: top
  37. opacity: 0
  38. height: 2em
  39. margin-left: 1ch
  40. width: 0px
  41. transition: 75ms
  42. div.sidebarItemSkip
  43. margin: auto 0 0 0