menu.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. }
  9. .menuHead{
  10. display: flex;
  11. justify-content: center;
  12. align-items: center;
  13. padding: 0 20px;
  14. margin-top: 10px;
  15. font-size: 22px;
  16. font-weight: bold;
  17. margin-bottom: 100px;
  18. text-decoration: none;
  19. }
  20. .menuLogo{
  21. width: 25%;
  22. height: 25%;
  23. }
  24. .menuHead a{
  25. display: flex;
  26. align-items: center;
  27. color: white;
  28. text-decoration: none;
  29. }
  30. .menuHead button{
  31. background: none;
  32. border-style: none;
  33. color: white;
  34. font-size: 35px;
  35. cursor: pointer;
  36. outline: none;
  37. }
  38. .menuHead button:hover{
  39. color: rgb(201, 201, 201);
  40. }
  41. .menuHead > button::-moz-focus-inner{
  42. border: 0;
  43. }
  44. .menuHead > button img{
  45. height: 25px;
  46. width: 25px;
  47. }
  48. .menu > button{
  49. background: none;
  50. border-style: none;
  51. color: white;
  52. font-size: 20px;
  53. margin: 15px 0;
  54. padding: 0 0 0 50px;
  55. width: 100%;
  56. height: 75px;
  57. cursor: pointer;
  58. text-align: left;
  59. border: 0;
  60. }
  61. .menu > button::-moz-focus-inner{
  62. border: 0;
  63. }
  64. .menu > button:hover{
  65. background: rgb(201, 201, 201);
  66. color: black;
  67. }
  68. .menu > .active{
  69. background: rgb(179, 191, 209);
  70. cursor: default;
  71. }
  72. .menu > .active:hover{
  73. background: rgb(179, 191, 209);
  74. color: white;
  75. }
  76. .logout{
  77. display: flex;
  78. justify-content: center;
  79. }
  80. .logout img{
  81. height: 25px;
  82. width: 25px;
  83. }
  84. /* Minimized menu */
  85. .menuMinimized{
  86. width: 5vw;
  87. }
  88. .menuLogoMin{
  89. width: 100%;
  90. height: 100%;
  91. }
  92. .menuHeadMin{
  93. flex-direction: column;
  94. }
  95. .menuMinimized button{
  96. text-align: center;
  97. padding: 0;
  98. }