初始化
This commit is contained in:
67
frontend/src/layouts/LayoutClassic/index.scss
Normal file
67
frontend/src/layouts/LayoutClassic/index.scss
Normal file
@@ -0,0 +1,67 @@
|
||||
.el-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
:deep(.el-header) {
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 55px;
|
||||
padding: 0 15px 0 0;
|
||||
background-color: var(--el-header-bg-color);
|
||||
border-bottom: 1px solid var(--el-header-border-color);
|
||||
.header-lf {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
.logo {
|
||||
flex-shrink: 0;
|
||||
width: 210px;
|
||||
margin-right: 16px;
|
||||
.logo-img {
|
||||
width: 28px;
|
||||
object-fit: contain;
|
||||
margin-right: 6px;
|
||||
}
|
||||
.logo-text {
|
||||
font-size: 21.5px;
|
||||
font-weight: bold;
|
||||
color: var(--el-header-logo-text-color);
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.classic-content {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
height: calc(100% - 55px);
|
||||
:deep(.el-aside) {
|
||||
width: auto;
|
||||
background-color: var(--el-menu-bg-color);
|
||||
border-right: 1px solid var(--el-aside-border-color);
|
||||
.aside-box {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
transition: width 0.3s ease;
|
||||
.el-menu {
|
||||
width: 100%;
|
||||
overflow-x: hidden;
|
||||
border-right: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.classic-main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user