MobileBottomNav.module.scss 946 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. @import "styles/_variables.scss";
  2. .bottomNav {
  3. background-color: $silver;
  4. position: fixed;
  5. right: 0;
  6. bottom: 0;
  7. left: 0;
  8. height: 50px;
  9. z-index: 1;
  10. .content {
  11. overflow: hidden;
  12. height: 100%;
  13. overflow-y: auto;
  14. }
  15. .navContainer {
  16. padding: 1rem;
  17. border-top: 1px solid rgba($color: $dark-gray, $alpha: 0.1);
  18. position: absolute;
  19. bottom: 0;
  20. width: 100%;
  21. height: 50px;
  22. display: flex;
  23. align-items: center;
  24. justify-content: space-between;
  25. background-color: inherit;
  26. gap: 10px;
  27. .navItem {
  28. display: flex;
  29. align-items: center;
  30. justify-content: center;
  31. text-transform: uppercase;
  32. flex: 1;
  33. color: $black;
  34. background-color: rgba($color: $black, $alpha: 0.09);
  35. padding: 7px;
  36. border-radius: $border-radius;
  37. cursor: pointer;
  38. }
  39. }
  40. }
  41. .fullHeight {
  42. height: 100%;
  43. }
  44. .removeHeight {
  45. height: unset;
  46. height: 50px;
  47. }