394 lines
7.4 KiB
CSS
394 lines
7.4 KiB
CSS
/* 评查点列表页面样式 */
|
|
.rules-page {
|
|
/* 所有样式都包含在此命名空间内 */
|
|
}
|
|
|
|
/* 新增评查点按钮样式 */
|
|
.rules-page .btn-add-rule {
|
|
@apply bg-[#00684a] text-white;
|
|
}
|
|
|
|
.rules-page .btn-add-rule:hover {
|
|
@apply bg-[#005a3f] text-white;
|
|
}
|
|
|
|
/* 筛选区域 */
|
|
.rules-page .filter-card {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* 搜索框样式 - 与search-box.css重复,已注释
|
|
.rules-page .search-box {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.rules-page .search-box .form-input {
|
|
flex: 1;
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
|
|
.rules-page .search-box .ant-btn {
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
|
|
.rules-page .search-box.form-input-only .form-input {
|
|
border-radius: 0.25rem;
|
|
width: 100%;
|
|
} */
|
|
|
|
/* 表格样式 - 与table.css重复,已注释
|
|
.rules-page .ant-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.rules-page .ant-table th {
|
|
background-color: #f9f9f9;
|
|
font-weight: 400;
|
|
padding: 12px 16px;
|
|
text-align: left;
|
|
border-bottom: 1px solid #e9ecef;
|
|
}
|
|
|
|
.rules-page .ant-table td {
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid #e9ecef;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.rules-page .ant-table tr:hover {
|
|
background-color: rgba(0, 0, 0, 0.02);
|
|
} */
|
|
|
|
/* 表格自定义样式 */
|
|
.rules-page .ant-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.rules-page .ant-table th {
|
|
background-color: #f9f9f9;
|
|
font-weight: 500;
|
|
padding: 10px;
|
|
text-align: center;
|
|
border-bottom: 1px solid #e9ecef;
|
|
color: #333;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.rules-page .ant-table td {
|
|
padding: 10px;
|
|
border-bottom: 1px solid #e9ecef;
|
|
font-weight: 400;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.rules-page .ant-table tr:hover {
|
|
background-color: rgba(0, 0, 0, 0.02);
|
|
}
|
|
|
|
/* 使用Table组件时的样式 */
|
|
.rules-page .rules-table th {
|
|
text-align: center !important;
|
|
}
|
|
|
|
.rules-page .rules-table td {
|
|
text-align: center !important;
|
|
}
|
|
|
|
.rules-page .ant-table .status-column {
|
|
text-align: center;
|
|
width: 80px;
|
|
}
|
|
|
|
/* 表格操作列样式 */
|
|
.rules-page .operations-cell {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* 操作按钮样式 - 改为文本按钮样式 */
|
|
.rules-page .operations-cell .ant-btn {
|
|
background: transparent;
|
|
border: none;
|
|
padding: 4px 8px;
|
|
margin-right: 4px;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
color: #00684a;
|
|
height: auto;
|
|
min-width: auto;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.rules-page .operation-btn {
|
|
margin-right: 8px;
|
|
font-weight: normal;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: transparent;
|
|
color: #00684a;
|
|
border: none;
|
|
line-height: 1;
|
|
padding: 4px 8px;
|
|
font-size: 13px;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.rules-page .operation-btn i {
|
|
font-size: 14px;
|
|
margin-right: 2px;
|
|
}
|
|
|
|
.rules-page .operation-btn:hover {
|
|
color: #005a3f;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.rules-page .operation-btn-danger {
|
|
color: #f5222d;
|
|
background-color: transparent;
|
|
border: none;
|
|
}
|
|
|
|
.rules-page .operation-btn-danger:hover {
|
|
color: #cf1f29 !important;
|
|
background-color: transparent;
|
|
border: none;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* 状态点样式 - 与status-dot.css重复,已注释
|
|
.rules-page .status-dot {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.rules-page .status-dot-success {
|
|
background-color: #52c41a;
|
|
}
|
|
|
|
.rules-page .status-dot-default {
|
|
background-color: #d9d9d9;
|
|
} */
|
|
|
|
/* 标签自定义样式 - 与tag.css重复,已注释
|
|
.rules-page .ant-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px 8px;
|
|
font-size: 12px;
|
|
border-radius: 4px;
|
|
margin-right: 8px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.rules-page .ant-tag-blue {
|
|
background-color: rgba(24, 144, 255, 0.1);
|
|
color: #1890ff;
|
|
}
|
|
|
|
.rules-page .ant-tag-green {
|
|
background-color: rgba(82, 196, 26, 0.1);
|
|
color: #52c41a;
|
|
}
|
|
|
|
.rules-page .ant-tag-cyan {
|
|
background-color: rgba(19, 194, 194, 0.1);
|
|
color: #13c2c2;
|
|
}
|
|
|
|
.rules-page .ant-tag-purple {
|
|
background-color: rgba(114, 46, 209, 0.1);
|
|
color: #722ed1;
|
|
}
|
|
|
|
.rules-page .ant-tag-orange {
|
|
background-color: rgba(250, 173, 20, 0.1);
|
|
color: #faad14;
|
|
}
|
|
|
|
.rules-page .ant-tag-red {
|
|
background-color: rgba(245, 34, 45, 0.1);
|
|
color: #f5222d;
|
|
} */
|
|
|
|
/* 分页样式 - 与pagination.css重复,已注释
|
|
.rules-page .ant-pagination {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 16px;
|
|
padding: 16px;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.rules-page .ant-pagination-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.rules-page .ant-pagination-item {
|
|
min-width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 4px;
|
|
background-color: white;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.rules-page .ant-pagination-item-active {
|
|
background-color: #00684a;
|
|
border-color: #00684a;
|
|
color: white;
|
|
}
|
|
|
|
.rules-page .ant-pagination-disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.rules-page .ant-pagination-prev,
|
|
.rules-page .ant-pagination-next {
|
|
min-width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
.rules-page .ant-pagination-options {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.rules-page .ant-pagination-options-size-changer {
|
|
margin-left: 8px;
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 4px;
|
|
height: 32px;
|
|
padding: 0 8px;
|
|
} */
|
|
|
|
/* 卡片内容调整 */
|
|
.rules-page .content-card .ant-card-body {
|
|
padding: 0 !important;
|
|
}
|
|
|
|
/* 表单标签 */
|
|
.rules-page .form-label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-size: 14px;
|
|
color: #495057;
|
|
}
|
|
|
|
.rules-page .form-select,
|
|
.rules-page .form-input {
|
|
width: 100%;
|
|
height: 38px;
|
|
padding: 8px 12px;
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.rules-page .form-select:focus,
|
|
.rules-page .form-input:focus {
|
|
border-color: #00684a;
|
|
box-shadow: 0 0 0 2px rgba(0, 104, 74, 0.2);
|
|
outline: none;
|
|
}
|
|
|
|
/* 确认对话框 */
|
|
.rules-page .modal-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.rules-page .modal-content {
|
|
background-color: white;
|
|
border-radius: 8px;
|
|
padding: 24px;
|
|
max-width: 400px;
|
|
width: 100%;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.rules-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;
|
|
}
|
|
|
|
/* 页面标题区域 */
|
|
.rules-page .page-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* 卡片内容间距 */
|
|
.rules-page .card-container {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* 卡片样式 - 与card.css重复,已注释
|
|
.rules-page .ant-card {
|
|
background-color: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid #e9ecef;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.rules-page .ant-card-body {
|
|
padding: 16px;
|
|
} */
|
|
|
|
/* 按钮样式修正 - 与button.css重复,已注释
|
|
.rules-page .ant-btn-sm {
|
|
height: 32px;
|
|
padding: 0 8px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.rules-page .ant-btn-primary {
|
|
color: white !important;
|
|
}
|
|
|
|
.rules-page .ant-btn-primary:hover {
|
|
color: white !important;
|
|
background-color: #005a3f;
|
|
} */
|
|
|
|
/* 针对操作列中的按钮
|
|
.rules-page .operations-cell .ant-btn-default:hover {
|
|
color: #495057;
|
|
}
|
|
|
|
.rules-page .operations-cell .ant-btn-danger:hover {
|
|
color: white;
|
|
} */ |