You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

138 lines
2.8 KiB
Plaintext

.container {
padding: 20px;
background: #fff;
height:100vh;
}
.header {
display: flex;
align-items: center;
// background-color: pink;
margin-bottom: 15px;
.titleBar {
width: 3px;
height: 16px;
background: #2E4CD4;
margin-right: 12px;
}
.title {
margin: 0;
font-size: 14px;
font-weight: 500;
color: #333;
}
}
.searchBar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
padding: 5px;
.searchLeft {
display: flex;
align-items: center;
gap: 12px;
}
.searchRight {
display: flex;
align-items: center;
gap: 12px;
}
}
// 自定义按钮样式
.customButton {
background-color: #2E4CD4 !important;
border-color: #2E4CD4 !important;
border-radius: 2px !important;
height: 30px !important;
width: 75px;
display: flex !important;
align-items: center !important;
justify-content: center !important;
&:hover {
background-color: #1e3bb8 !important;
border-color: #1e3bb8 !important;
}
&:focus {
background-color: #2E4CD4 !important;
border-color: #2E4CD4 !important;
}
}
// // 所有按钮统一样式
// .ant-btn {
// border-radius: 4px !important;
// height: 28px !important;
// display: flex !important;
// align-items: center !important;
// justify-content: center !important;
// }
.tableContainer {
background: #fff;
border-radius: 0px;
overflow: hidden;
.actionButtons {
display: flex;
gap: 8px;
font-size: 10px;
justify-content: center;
.ant-btn-link {
padding: 0;
height: auto;
font-size: 10px;
}
}
}
// 表格样式优化
.tableContainer {
:global {
.ant-table-thead > tr > th {
background: #F5F5FA;
font-weight: 500;
color: #333333;
font-size: 14px;
text-align: center;
}
.ant-table-tbody > tr > td {
color: #666666;
font-size: 13px;
text-align: center;
}
.ant-table-tbody > tr:hover > td {
background: #f5f5f5;
}
.ant-pagination {
margin-top: 10px;
text-align: right;
}
// 覆盖操作列按钮样式
.ant-btn.ant-btn-sm {
font-size: 13px !important;
height: 20px !important;
padding: 0px 4px !important;
}
.ant-btn-link.ant-btn-sm {
font-size: 13px !important;
height: auto !important;
padding: 0 !important;
}
}
}