menu.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. .menu{
  2. display: flex;
  3. flex-direction: column;
  4. align-items: center;
  5. justify-content: space-between;
  6. background: rgb(0, 27, 45);
  7. width: 18vw;
  8. height: 100vh;
  9. transition: width 0.3s;
  10. flex-grow: 0;
  11. flex-shrink: 0;
  12. padding-bottom: 25px;
  13. box-sizing: border-box;
  14. }
  15. .menuHead{
  16. display: flex;
  17. justify-content: center;
  18. align-items: center;
  19. width: 100%;
  20. padding: 0 20px;
  21. margin-top: 10px;
  22. font-size: 22px;
  23. font-weight: bold;
  24. text-decoration: none;
  25. }
  26. .menuLogo{
  27. width: 25%;
  28. height: 25%;
  29. }
  30. .menuHead a{
  31. display: flex;
  32. align-items: center;
  33. color: rgb(255, 99, 107);
  34. text-decoration: none;
  35. width: 80%;
  36. }
  37. .menuHead p{
  38. margin-left: 10px;
  39. font-size: 20px;
  40. }
  41. .menuHead button{
  42. background: none;
  43. border-style: none;
  44. color: rgb(255, 99, 107);
  45. font-size: 35px;
  46. cursor: pointer;
  47. outline: none;
  48. }
  49. .menuHead button:hover{
  50. color: rgb(201, 201, 201);
  51. }
  52. .menuHead > button::-moz-focus-inner{
  53. border: 0;
  54. }
  55. #menuLocationName{
  56. color: white;
  57. font-size: 22px;
  58. font-weight: bold;
  59. }
  60. .menuButton{
  61. display: flex;
  62. align-items: center;
  63. background: none;
  64. border-style: none;
  65. color: white;
  66. font-size: 18px;
  67. margin: 15px 0;
  68. padding-left: 15px;
  69. width: 100%;
  70. height: 75px;
  71. cursor: pointer;
  72. text-align: left;
  73. border: 0;
  74. outline: 0;
  75. box-sizing: border-box;
  76. text-decoration: none;
  77. }
  78. .menuButton svg{
  79. margin-right: 25px;
  80. }
  81. .menuButton::-moz-focus-inner{
  82. border: 0;
  83. }
  84. .menuButton:hover{
  85. background: rgb(179, 191, 209);
  86. color: black;
  87. }
  88. .menu > .active{
  89. background: rgb(240, 252, 255);
  90. cursor: default;
  91. color: black;
  92. }
  93. .menu > .active:hover{
  94. background: rgb(240, 252, 255);
  95. }
  96. .menuLinks{
  97. display: flex;
  98. justify-content: space-between;
  99. width: 75%;
  100. }
  101. .menuLinks > *{
  102. background: none;
  103. border: none;
  104. color: white;
  105. text-decoration: underline;
  106. font-size: 16px;
  107. cursor: pointer;
  108. }
  109. /* Minimized menu */
  110. .menuMinimized{
  111. width: 5vw;
  112. }
  113. .menuLogoMin{
  114. width: 4vw;
  115. }
  116. .menuHeadMin{
  117. display: none;
  118. flex-direction: column;
  119. }
  120. .menuMinimized .menuButton{
  121. justify-content: center;
  122. padding: 0;
  123. }
  124. .menuMinimized .menuButton svg{
  125. margin: 0;
  126. }