menu.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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: 25px;
  39. }
  40. .menuHead button{
  41. background: none;
  42. border-style: none;
  43. color: rgb(255, 99, 107);
  44. font-size: 35px;
  45. cursor: pointer;
  46. outline: none;
  47. }
  48. .menuHead button:hover{
  49. color: rgb(201, 201, 201);
  50. }
  51. .menuHead > button::-moz-focus-inner{
  52. border: 0;
  53. }
  54. #menuLocationName{
  55. color: white;
  56. font-size: 22px;
  57. font-weight: bold;
  58. }
  59. .menuButton{
  60. display: flex;
  61. align-items: center;
  62. background: none;
  63. border-style: none;
  64. color: rgb(255, 99, 107);
  65. font-size: 18px;
  66. margin: 15px 0;
  67. padding-left: 15px;
  68. width: 100%;
  69. height: 75px;
  70. cursor: pointer;
  71. text-align: left;
  72. border: 0;
  73. outline: 0;
  74. box-sizing: border-box;
  75. text-decoration: none;
  76. }
  77. .menuButton svg{
  78. margin-right: 25px;
  79. }
  80. .menuButton::-moz-focus-inner{
  81. border: 0;
  82. }
  83. .menuButton:hover{
  84. background: rgb(179, 191, 209);
  85. }
  86. .menu > .active{
  87. background: rgb(240, 252, 255);
  88. cursor: default;
  89. }
  90. .menu > .active:hover{
  91. background: rgb(240, 252, 255);
  92. }
  93. .menuLinks{
  94. display: flex;
  95. justify-content: space-between;
  96. width: 75%;
  97. }
  98. .menuLinks > *{
  99. background: none;
  100. border: none;
  101. color: white;
  102. text-decoration: underline;
  103. font-size: 16px;
  104. cursor: pointer;
  105. }
  106. /* Minimized menu */
  107. .menuMinimized{
  108. width: 5vw;
  109. }
  110. .menuLogoMin{
  111. width: 4vw;
  112. }
  113. .menuHeadMin{
  114. display: none;
  115. flex-direction: column;
  116. }
  117. .menuMinimized .menuButton{
  118. justify-content: center;
  119. padding: 0;
  120. }
  121. .menuMinimized .menuButton svg{
  122. margin: 0;
  123. }