index.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. @import "../layout_common";
  2. .#{$prefix}layout-wrap--left {
  3. width: 100%;
  4. height: 100%;
  5. .#{$prefix}layout-aside {
  6. width: auto;
  7. background-color: var(--el-menu-bg-color);
  8. border-right: 1px solid var(--el-aside-border-color);
  9. //box-shadow: 1px 0 2px var(--el-aside-border-color);
  10. //box-shadow: 1px 0 4px -1px var(--el-aside-border-color);
  11. //z-index: $header_index + 1;
  12. //box-shadow: 2px 0 8px #1d23290d;
  13. .aside-box {
  14. display: flex;
  15. flex-direction: column;
  16. height: 100%;
  17. transition: width 0.3s ease;
  18. .el-scrollbar {
  19. height: calc(100% - $header_height);
  20. .layout-menu-wrap {
  21. width: 100%;
  22. overflow-x: hidden;
  23. border-right: none;
  24. // 折叠
  25. /*&--collapse {
  26. //background-color: transparent !important;
  27. .#{$prefix}pick-icon {
  28. margin-right: 0;
  29. }
  30. }*/
  31. }
  32. }
  33. .logo {
  34. display: flex;
  35. align-items: center;
  36. justify-content: center;
  37. box-sizing: border-box;
  38. height: $header_height; // todo 55-1 ???
  39. .logo-img { // 样式提取 todo...
  40. //width: 28px;
  41. width: 36px;
  42. height: 36px;
  43. object-fit: contain;
  44. //margin-right: 6px;
  45. margin: 0 6px;
  46. }
  47. .logo-text {
  48. font-size: 15px;
  49. font-weight: bold;
  50. color: var(--el-color-primary);
  51. white-space: nowrap;
  52. }
  53. }
  54. }
  55. }
  56. //.el-header {
  57. .le-layout-header {
  58. box-sizing: border-box;
  59. display: flex;
  60. align-items: center;
  61. justify-content: space-between;
  62. height: $header_height;
  63. padding: 0;
  64. background-color: var(--el-header-bg-color);
  65. //border-bottom: 1px solid var(--el-header-border-color);
  66. box-shadow: 0 1px 4px -1px var(--el-header-border-color);
  67. z-index: $header_index;
  68. }
  69. .app-main {
  70. min-height: 0;
  71. }
  72. }