Files
cpms_operation_platform/src/layouts/BasicLayout.module.less
T
2026-07-28 15:24:42 +08:00

138 lines
2.1 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;
}
}
.menuItem {
display: inline-flex;
align-items: center;
gap: 8px;
:global(.anticon) {
font-size: 14px;
}
}
.menuItemDanger {
color: #ff4d4f;
}
.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%;
padding: 4px 16px 0 16px;
height: 42px;
background: #fff;
border-top: 1px solid #f0f0f0;
}
}