index.scss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .el-container {
  2. width: 100%;
  3. height: 100%;
  4. :deep(.el-aside) {
  5. width: auto;
  6. background-color: var(--el-menu-bg-color);
  7. border-right: 1px solid var(--el-aside-border-color);
  8. .aside-box {
  9. display: flex;
  10. flex-direction: column;
  11. height: 100%;
  12. transition: width 0.3s ease;
  13. .el-scrollbar {
  14. height: calc(100% - 55px);
  15. .el-menu {
  16. width: 100%;
  17. overflow-x: hidden;
  18. border-right: none;
  19. }
  20. }
  21. .logo {
  22. box-sizing: border-box;
  23. height: 55px;
  24. .logo-img {
  25. width: 24px;
  26. object-fit: contain;
  27. }
  28. .logo-text {
  29. margin-left: 6px;
  30. font-size: 18px;
  31. font-weight: bold;
  32. color: var(--el-menu-active-color);
  33. white-space: nowrap;
  34. }
  35. }
  36. }
  37. }
  38. .el-header {
  39. box-sizing: border-box;
  40. display: flex;
  41. align-items: center;
  42. justify-content: space-between;
  43. height: 55px;
  44. padding: 0 15px;
  45. background-color: var(--el-header-bg-color);
  46. border-bottom: 1px solid var(--el-header-border-color);
  47. }
  48. }