240 lines
4.5 KiB
CSS
240 lines
4.5 KiB
CSS
/* 评查文件列表页面样式 */
|
|
.review-files-page {
|
|
/* 所有样式都包含在此命名空间内 */
|
|
}
|
|
|
|
/* 筛选区域 */
|
|
.review-files-page .card-container {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* 搜索框样式 */
|
|
.review-files-page .search-box {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.review-files-page .search-box .form-input {
|
|
flex: 1;
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
padding: 8px 12px;
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
|
|
.review-files-page .search-box .ant-btn {
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
|
|
/* 表格样式 */
|
|
.review-files-page .ant-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.review-files-page .ant-table th {
|
|
background-color: #fafafa;
|
|
font-weight: 500;
|
|
padding: 16px;
|
|
text-align: left;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.review-files-page .ant-table td {
|
|
padding: 16px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.review-files-page .ant-table tr:hover {
|
|
background-color: rgba(0, 0, 0, 0.02);
|
|
}
|
|
|
|
/* 文件类型徽章 */
|
|
.review-files-page .file-type-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.review-files-page .file-type-badge i {
|
|
margin-right: 4px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.review-files-page .file-type-contract {
|
|
background-color: #e6f7ff;
|
|
color: #1890ff;
|
|
}
|
|
|
|
.review-files-page .file-type-license {
|
|
background-color: #f6ffed;
|
|
color: #52c41a;
|
|
}
|
|
|
|
.review-files-page .file-type-punishment {
|
|
background-color: #fff7e6;
|
|
color: #fa8c16;
|
|
}
|
|
|
|
.review-files-page .file-type-report {
|
|
background-color: #e6fffb;
|
|
color: #13c2c2;
|
|
}
|
|
|
|
.review-files-page .file-type-other {
|
|
background-color: #f9f0ff;
|
|
color: #722ed1;
|
|
}
|
|
|
|
/* 状态徽章 */
|
|
.review-files-page .status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.review-files-page .status-pass {
|
|
background-color: #f6ffed;
|
|
color: #52c41a;
|
|
}
|
|
|
|
.review-files-page .status-warning {
|
|
background-color: #fffbe6;
|
|
color: #faad14;
|
|
}
|
|
|
|
.review-files-page .status-fail {
|
|
background-color: #fff1f0;
|
|
color: #f5222d;
|
|
}
|
|
|
|
.review-files-page .status-pending {
|
|
background-color: #f9f0ff;
|
|
color: #722ed1;
|
|
}
|
|
|
|
/* 严重程度指示器 */
|
|
.review-files-page .severity-indicator {
|
|
display: inline-block;
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 50%;
|
|
margin-right: 8px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.review-files-page .severity-info {
|
|
background-color: #1890ff;
|
|
}
|
|
|
|
.review-files-page .severity-warning {
|
|
background-color: #faad14;
|
|
}
|
|
|
|
.review-files-page .severity-error {
|
|
background-color: #f5222d;
|
|
}
|
|
|
|
.review-files-page .severity-critical {
|
|
background-color: #722ed1;
|
|
}
|
|
|
|
/* 分页样式 */
|
|
.review-files-page .pagination {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-top: 16px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.review-files-page .pagination-item {
|
|
min-width: 32px;
|
|
height: 32px;
|
|
margin-right: 8px;
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border: 1px solid #d9d9d9;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
background-color: transparent;
|
|
}
|
|
|
|
.review-files-page .pagination-item:hover {
|
|
border-color: var(--color-primary, #1677ff);
|
|
color: var(--color-primary, #1677ff);
|
|
}
|
|
|
|
.review-files-page .pagination-item.active {
|
|
border-color: var(--color-primary, #1677ff);
|
|
background-color: var(--color-primary, #1677ff);
|
|
color: white;
|
|
}
|
|
|
|
.review-files-page .pagination-item.disabled {
|
|
color: rgba(0, 0, 0, 0.25);
|
|
border-color: #d9d9d9;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* 表单组件样式 */
|
|
.review-files-page .form-select {
|
|
width: 100%;
|
|
height: 38px;
|
|
padding: 8px 12px;
|
|
border: 1px solid #d9d9d9;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
transition: all 0.2s;
|
|
background-color: white;
|
|
}
|
|
|
|
.review-files-page .form-select:focus {
|
|
border-color: var(--color-primary, #1677ff);
|
|
box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.2);
|
|
outline: none;
|
|
}
|
|
|
|
/* 内容卡片样式 */
|
|
.review-files-page .content-card .ant-card-body {
|
|
padding: 0 !important;
|
|
}
|
|
|
|
/* 文本颜色辅助类 */
|
|
.review-files-page .text-success {
|
|
color: #52c41a;
|
|
}
|
|
|
|
.review-files-page .text-warning {
|
|
color: #faad14;
|
|
}
|
|
|
|
.review-files-page .text-error {
|
|
color: #f5222d;
|
|
}
|
|
|
|
.review-files-page .text-secondary {
|
|
color: rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
/* 错误容器样式 */
|
|
.review-files-page .error-container {
|
|
text-align: center;
|
|
padding: 48px;
|
|
background-color: #fff;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
max-width: 500px;
|
|
margin: 48px auto;
|
|
} |