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

328 lines
5.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

.pf-tabs{
.micro-temp-tabs-tab {
padding-top: 0px;
}
}
// 签字图片预览Popover 渲染在 body 下,需顶层类名)
.pf-sign-img {
max-width: 240px;
max-height: 160px;
}
// footer 插槽为空时隐藏 PageLayout 底栏
[class*="-lay-container-bottom"]:has(> #pf-footer-slot:empty) {
display: none;
}
.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: 14px;
font-weight: 500;
color: #172033;
}
&-template-desc {
font-size: 14px;
color: #999;
}
// 权限标签区域
&-permission {
margin-bottom: 8px;
.pf-tag {
margin-right: 8px;
}
.pf-desc {
color: #666;
font-size: 14px;
}
}
// 区块间距
&-section {
margin-bottom: 16px;
}
// 提示文字 - 蓝色
&-hint-blue {
font-size: 14px;
color: #1677ff;
}
// 提示文字 - 灰色
&-hint-gray {
font-size: 14px;
color: #666;
}
// 风险程度提示
&-risk-note {
font-size: 14px;
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: 14px;
}
// 已上传文件项
&-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: 14px;
}
// 风险等级卡片
&-risk-card {
font-size: 14px;
color: #666;
}
// 不签合同重点条件
&-reject-note {
margin-top: 8px;
font-size: 14px;
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: 14px;
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: 14px;
}
&-role-card-desc {
font-size: 14px;
color: #666;
margin: 4px 0 0;
line-height: 1.55;
}
// 弹窗 - 提示文字
&-modal-hint {
margin-bottom: 8px;
font-size: 14px;
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: 14px;
}
&-choice-card-sub {
font-size: 14px;
color: #666;
display: block;
margin-top: 2px;
}
// 弹窗 - 空状态
&-empty {
color: #999;
padding: 16px;
text-align: center;
}
// 弹窗 - 唯一标签
&-unique-tag {
margin-left: 6px;
font-size: 14px;
}
// 隐藏 radio / checkbox 原生控件
&-hidden-control {
display: none;
}
}
// 档案内容 - 档案文件列表
.pf-archive {
&__toolbar {
margin-bottom: 12px;
}
&__keyword-input {
width: 260px;
}
&__source-select {
width: 140px;
}
&__source-tag {
display: inline-block;
width: fit-content;
padding: 2px 10px;
color: #fff;
font-size: 14px;
line-height: 20px;
background: #52c41a;
border-radius: 4px;
&--upload {
background: #1677ff;
}
}
&__node {
color: #94a3b8;
font-size: 14px;
}
}