123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- @import "../layout_common";
- .#{$prefix}layout-wrap--left {
- width: 100%;
- height: 100%;
- .#{$prefix}layout-aside {
- width: auto;
- background-color: var(--el-menu-bg-color);
- border-right: 1px solid var(--el-aside-border-color);
- //box-shadow: 1px 0 2px var(--el-aside-border-color);
- //box-shadow: 1px 0 4px -1px var(--el-aside-border-color);
- //z-index: $header_index + 1;
- //box-shadow: 2px 0 8px #1d23290d;
- .aside-box {
- display: flex;
- flex-direction: column;
- height: 100%;
- transition: width 0.3s ease;
- .el-scrollbar {
- height: calc(100% - $header_height);
- .layout-menu-wrap {
- width: 100%;
- overflow-x: hidden;
- border-right: none;
- // 折叠
- /*&--collapse {
- //background-color: transparent !important;
- .#{$prefix}pick-icon {
- margin-right: 0;
- }
- }*/
- }
- }
- .logo {
- display: flex;
- align-items: center;
- justify-content: center;
- box-sizing: border-box;
- height: $header_height; // todo 55-1 ???
- .logo-img { // 样式提取 todo...
- //width: 28px;
- width: 36px;
- height: 36px;
- object-fit: contain;
- //margin-right: 6px;
- margin: 0 6px;
- }
- .logo-text {
- font-size: 15px;
- font-weight: bold;
- color: var(--el-color-primary);
- white-space: nowrap;
- }
- }
- }
- }
- //.el-header {
- .le-layout-header {
- box-sizing: border-box;
- display: flex;
- align-items: center;
- justify-content: space-between;
- height: $header_height;
- padding: 0;
- background-color: var(--el-header-bg-color);
- //border-bottom: 1px solid var(--el-header-border-color);
- box-shadow: 0 1px 4px -1px var(--el-header-border-color);
- z-index: $header_index;
- }
- .app-main {
- min-height: 0;
- }
- }
|