Files
leaudit-platform-frontend/app/styles/pages/rule-groups.css
T

76 lines
1.3 KiB
CSS

/* 评查点分组管理页面样式 */
/* 树形结构样式 */
.tree-table .group-row {
transition: all 0.2s;
}
.tree-table .group-row:hover {
background-color: rgba(0, 104, 74, 0.05);
}
.tree-table .parent-row {
background-color: #f9f9f9;
font-weight: 500;
}
.tree-table .child-row {
border-left: 3px solid #f0f0f0;
}
.expand-icon {
width: 22px;
height: 22px;
border-radius: 4px;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s;
}
.expand-icon:hover {
background-color: rgba(0, 104, 74, 0.1);
}
.group-badge {
display: inline-flex;
align-items: center;
padding: 2px 8px;
border-radius: 12px;
font-size: 12px;
margin-left: 8px;
}
.parent-badge {
background-color: rgba(0, 104, 74, 0.1);
color: var(--color-primary);
}
.child-badge {
background-color: rgba(0, 104, 74, 0.05);
color: var(--color-primary);
}
.badge {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 2px 8px;
border-radius: 12px;
font-size: 12px;
}
/* 按钮文本样式,不与其他冲突 */
.btn-text {
background-color: transparent;
border: none;
color: var(--color-gray-800);
padding: 4px 8px;
}
/* 小尺寸按钮 */
.btn-sm {
padding: 4px 8px;
font-size: 12px;
}