safety-eval-service-frontend/src/pages/Container/SafetyEvalBusiness/ProjectFlow/index.less

281 lines
4.3 KiB
Plaintext

.pf {
// 区块头部
&-section-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
margin-bottom: 16px;
background: #fafcff;
border: 1px solid #e8edf5;
border-radius: 8px;
border-left: 4px solid #1677ff;
}
// 模板下载卡片
&-template-card {
background: #fafcff;
border: 1px dashed #1677ff;
border-radius: 8px;
padding: 12px 16px;
margin-bottom: 16px;
display: flex;
align-items: center;
justify-content: space-between;
}
&-template-left {
display: flex;
align-items: center;
gap: 10px;
}
&-template-icon {
font-size: 22px;
}
&-template-name {
font-size: 13px;
font-weight: 500;
color: #172033;
}
&-template-desc {
font-size: 12px;
color: #999;
}
// 权限标签区域
&-permission {
margin-bottom: 12px;
.pf-tag {
margin-right: 8px;
}
.pf-desc {
color: #666;
font-size: 13px;
}
}
// 区块间距
&-section {
margin-bottom: 16px;
}
// 提示文字 - 蓝色
&-hint-blue {
font-size: 12px;
color: #1677ff;
}
// 提示文字 - 灰色
&-hint-gray {
font-size: 12px;
color: #666;
}
// 风险程度提示
&-risk-note {
font-size: 12px;
color: #666;
margin-top: -12px;
margin-bottom: 12px;
}
// 表格顶部间距
&-table-mt {
margin-top: 16px;
}
// 操作按钮行
&-actions {
margin-top: 16px;
}
// 按钮间距
&-btn-gap {
margin-left: 8px;
}
// 文件上传行
&-upload-row {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 12px;
}
// 上传提示
&-upload-hint {
color: #999;
font-size: 12px;
}
// 已上传文件项
&-file-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 12px;
background: #fafafa;
border-radius: 6px;
border: 1px solid #e8e8e8;
max-width: 400px;
}
// 上传成功状态
&-upload-success {
color: #52c41a;
font-size: 12px;
}
// 风险等级卡片
&-risk-card {
font-size: 12px;
color: #666;
}
// 不签合同重点条件
&-reject-note {
margin-top: 8px;
font-size: 12px;
color: #666;
}
// 管理办法判定卡片
&-rule-card {
margin-top: 16px;
}
// 全宽
&-w-full {
width: 100%;
}
// 项目组 - 统计行
&-stats-row {
margin-bottom: 8px;
}
// 项目组 - 添加按钮行
&-add-bar {
margin-bottom: 8px;
}
// 项目组 - 角色职责说明折叠区
&-role-guide {
margin-top: 8px;
cursor: pointer;
}
&-role-guide-title {
color: #1677ff;
font-size: 13px;
padding: 6px 0;
}
&-role-guide-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 8px;
padding: 8px 0;
}
&-role-card {
border: 1px solid #e8e8e8;
border-radius: 6px;
padding: 8px 10px;
background: #f8fafc;
}
&-role-card-title {
font-size: 13px;
}
&-role-card-desc {
font-size: 12px;
color: #666;
margin: 4px 0 0;
line-height: 1.55;
}
// 项目组 - 底部操作行
&-bottom-actions {
margin-top: 8px;
}
// 弹窗 - 提示文字
&-modal-hint {
margin-bottom: 8px;
font-size: 13px;
color: #666;
}
// 弹窗 - 区块
&-modal-section {
margin-bottom: 24px;
}
&-modal-section-title {
margin-bottom: 8px;
}
// 弹窗 - 选择卡片网格
&-choice-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 8px;
}
&-choice-grid-full {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 8px;
width: 100%;
}
// 弹窗 - 选择卡片
&-choice-card {
border: 1px solid #e8e8e8;
border-radius: 6px;
padding: 8px 10px;
cursor: pointer;
background: #f8fafc;
}
&-choice-card-active {
background: #e6f4ff;
border-color: #1677ff;
}
&-choice-card-name {
font-size: 13px;
}
&-choice-card-sub {
font-size: 12px;
color: #666;
display: block;
margin-top: 2px;
}
// 弹窗 - 空状态
&-empty {
color: #999;
padding: 16px;
text-align: center;
}
// 弹窗 - 唯一标签
&-unique-tag {
margin-left: 6px;
font-size: 11px;
}
// 隐藏 radio / checkbox 原生控件
&-hidden-control {
display: none;
}
}