index.scss 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. .bd-container {
  2. width: 100%;
  3. height: 100%;
  4. position: relative;
  5. $header-height: 60px;
  6. .header {
  7. position: absolute;
  8. top: 0;
  9. left: 0;
  10. height: $header-height;
  11. width: 100%;
  12. background: linear-gradient(to bottom, #060624ba 30%, #06062466 80%, #06062400 100%);
  13. display: flex;
  14. align-items: center;
  15. justify-content: center;
  16. color: #fefefe;
  17. font-size: 20px;
  18. font-weight: bolder;
  19. }
  20. .left-container {
  21. position: absolute;
  22. top: $header-height;
  23. left: 0;
  24. height: calc(100% - #{$header-height});
  25. width: 20%;
  26. box-sizing: border-box;
  27. background: linear-gradient(180deg, #060624ba 50%, #06062400 100%);
  28. display: flex;
  29. flex-direction: column;
  30. align-items: center;
  31. justify-content: flex-start;
  32. }
  33. .right-container {
  34. position: absolute;
  35. top: $header-height;
  36. right: 14px;
  37. width: 25%;
  38. box-sizing: border-box;
  39. background: #060624ba;
  40. border-radius: 10px;
  41. padding: 14px;
  42. }
  43. .menus {
  44. position: absolute;
  45. top: 50%;
  46. transform: translateY(-50%);
  47. left: 0;
  48. width: 150px;
  49. display: flex;
  50. align-items: center;
  51. justify-content: space-between;
  52. flex-direction: column;
  53. :not(:first-child) {
  54. margin-top: 20px;
  55. }
  56. .menu-item {
  57. height: 80px;
  58. width: 70px;
  59. background: rgba(0, 150, 253, 0.6);
  60. border-radius: 5px;
  61. display: flex;
  62. align-items: center;
  63. justify-content: space-evenly;
  64. flex-direction: column;
  65. cursor: pointer;
  66. color: #fefefe;
  67. font-size: 14px;
  68. font-weight: bolder;
  69. box-shadow: #000000 4px 1px 12px 0px;
  70. &:hover {
  71. background: rgba(0, 150, 253, 1);
  72. }
  73. &.active {
  74. background: rgba(0, 150, 253, 1);
  75. }
  76. .svg-icon {
  77. width: 30px;
  78. height: 30px;
  79. flex-shrink: 0;
  80. }
  81. }
  82. }
  83. }