menu.css 2.3 KB

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