142 lines
2.3 KiB
Plaintext
142 lines
2.3 KiB
Plaintext
.basicLayoutMain {
|
|
min-height: 100vh;
|
|
height: 100vh;
|
|
|
|
.logo {
|
|
height: 56px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
color: #1a1a1a;
|
|
background: #fff;
|
|
}
|
|
|
|
.logoText {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.trigger {
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
transition: color 0.3s;
|
|
padding: 0 12px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
|
|
&:hover {
|
|
color: #1677ff;
|
|
}
|
|
}
|
|
|
|
.breadcrumb {
|
|
flex: 1;
|
|
margin-left: 8px;
|
|
font-size: 14px;
|
|
|
|
:global {
|
|
.ant-breadcrumb-link,
|
|
.ant-breadcrumb-separator,
|
|
.ant-breadcrumb-item a {
|
|
color: rgba(0, 0, 0, 0.65);
|
|
}
|
|
|
|
.ant-breadcrumb-item:last-child {
|
|
.ant-breadcrumb-link,
|
|
.ant-breadcrumb-separator,
|
|
a {
|
|
color: rgba(0, 0, 0, 0.88);
|
|
font-weight: 500;
|
|
cursor: default;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.headerRight {
|
|
margin-left: auto;
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.userPhone {
|
|
font-size: 14px;
|
|
color: rgba(0, 0, 0, 0.65);
|
|
}
|
|
|
|
.logoutIcon {
|
|
width: 18px;
|
|
height: 18px;
|
|
opacity: 0.45;
|
|
cursor: pointer;
|
|
transition: opacity 0.3s;
|
|
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.content {
|
|
margin: 16px;
|
|
border-radius: 8px;
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.pageView {
|
|
position: relative;
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.main {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.headerRow {
|
|
padding: 0 16px;
|
|
width: 100%;
|
|
height: 48px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.pageTabs {
|
|
width: 100%;
|
|
height: 48px;
|
|
padding: 4px 8px 0;
|
|
background: #fff;
|
|
border-top: 1px solid #f0f0f0;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Dropdown 菜单通过 portal 挂到 body,不在 .basicLayoutMain 内。
|
|
* 若嵌套在 .basicLayoutMain 下,CSS Modules 会生成「父级 + 子级」选择器,导致匹配失败。
|
|
*/
|
|
.menuItem {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
|
|
:global(.anticon) {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
.menuItemDanger {
|
|
color: #ff4d4f;
|
|
}
|