vdi/web-fe/src/components/Guide/Layout/index.less

64 lines
1.1 KiB
Plaintext

.main-layout {
min-height: 100vh;
}
.main-sider {
.logo {
height: 64px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 18px;
font-weight: bold;
border-bottom: 1px solid #303030;
}
}
.main-header {
background: #fff;
padding: 0 24px;
display: flex;
align-items: center;
justify-content: space-between;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
.trigger {
font-size: 18px;
color: #666;
&:hover {
color: #1890ff;
}
}
.header-right {
display: flex;
align-items: center;
gap: 16px;
.welcome-text {
color: #666;
font-size: 14px;
}
.user-avatar {
cursor: pointer;
background: #1890ff;
&:hover {
opacity: 0.8;
}
}
}
}
.main-content {
// margin: 24px;
// padding: 24px;
background: #fff;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
min-height: calc(100vh - 112px);
}