imeeting/frontend/src/pages/system/dictionaries/index.less

108 lines
1.7 KiB
Plaintext

.dictionaries-page {
height: 100%;
display: flex;
flex-direction: column;
// 强制覆盖全局可能存在的 max-height: none !important 限制
// 确保 antd table 的 scroll.y 能够生效
.ant-table-wrapper .ant-table-body {
max-height: inherit !important;
}
}
.dictionaries-header {
margin-bottom: 24px;
}
.dictionaries-title {
margin-bottom: 4px !important;
}
.dictionaries-content {
flex: 1;
min-height: 0; /* Important for flex child scroll */
}
.full-height {
height: 100%;
}
.full-height-card {
height: 100%;
display: flex;
flex-direction: column;
}
.full-height-card .ant-card-body {
flex: 1;
overflow: hidden;
padding: 0; /* Remove padding for scroll container */
}
.scroll-container {
height: 100%;
overflow-y: auto;
padding: 12px;
}
.dict-type-row {
transition: all 0.3s;
}
.dict-type-row:hover {
background-color: #f5f5f5;
}
.dict-type-row-selected {
background-color: #e6f7ff !important;
border-right: 3px solid #1890ff;
}
.dict-type-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 4px 0;
}
.dict-type-name {
font-weight: 600;
color: #262626;
}
.dict-type-code {
font-size: 12px;
color: #8c8c8c;
}
.dict-type-actions {
display: flex;
gap: 4px;
opacity: 0.6;
transition: opacity 0.3s;
}
.dict-type-row:hover .dict-type-actions {
opacity: 1;
}
.tabular-nums {
font-variant-numeric: tabular-nums;
}
.flex-center {
display: flex;
align-items: center;
justify-content: center;
}
.h-full {
height: 100%;
}
.ant-table-wrapper .ant-spin-container {
height: calc(100vh - 410px);
display: flex;
flex-direction: column;
min-height: 0;
}