menu.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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 img{
  46. height: 25px;
  47. width: 25px;
  48. margin-right: 15px;
  49. }
  50. .menu > button{
  51. display: flex;
  52. justify-content: row;
  53. align-items: center;
  54. background: none;
  55. border-style: none;
  56. color: white;
  57. font-size: 20px;
  58. margin: 15px 0;
  59. padding: 0 0 0 50px;
  60. width: 100%;
  61. height: 75px;
  62. cursor: pointer;
  63. text-align: left;
  64. border: 0;
  65. }
  66. .menu > button::-moz-focus-inner{
  67. border: 0;
  68. }
  69. .menu > button:hover{
  70. background: rgb(201, 201, 201);
  71. color: black;
  72. }
  73. .menu > .active{
  74. background: rgb(179, 191, 209);
  75. cursor: default;
  76. }
  77. .menu > .active:hover{
  78. background: rgb(179, 191, 209);
  79. color: white;
  80. }
  81. .logout{
  82. display: flex;
  83. justify-content: center;
  84. }
  85. .logout img{
  86. height: 25px;
  87. width: 25px;
  88. }
  89. /* Minimized menu */
  90. .menuMinimized{
  91. width: 5vw;
  92. }
  93. .menuLogoMin{
  94. width: 100%;
  95. height: 100%;
  96. }
  97. .menuHeadMin{
  98. flex-direction: column;
  99. }
  100. .menuMinimized button{
  101. justify-content: center;
  102. padding: 0;
  103. }