197 lines
3.3 KiB
CSS
197 lines
3.3 KiB
CSS
/* 按钮带引导 - 简洁现代设计 */
|
|
.button-with-guide {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
/* 帮助图标按钮 - 简洁扁平设计 */
|
|
.guide-icon-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: rgba(0, 0, 0, 0.35);
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.guide-icon-btn:hover {
|
|
background: rgba(22, 119, 255, 0.06);
|
|
color: #1677ff;
|
|
}
|
|
|
|
.guide-icon-btn:active {
|
|
background: rgba(22, 119, 255, 0.12);
|
|
}
|
|
|
|
/* 引导弹窗样式 */
|
|
.button-guide-modal .ant-modal-header {
|
|
padding: 20px 24px;
|
|
border-bottom: 2px solid #f0f0f0;
|
|
}
|
|
|
|
.button-guide-modal .ant-modal-body {
|
|
padding: 24px;
|
|
max-height: 600px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.guide-modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.guide-modal-icon {
|
|
font-size: 24px;
|
|
color: #1677ff;
|
|
}
|
|
|
|
.guide-modal-title {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: rgba(0, 0, 0, 0.88);
|
|
}
|
|
|
|
.guide-modal-badge {
|
|
margin: 0;
|
|
font-size: 11px;
|
|
padding: 2px 8px;
|
|
}
|
|
|
|
/* 引导区块样式 */
|
|
.guide-section {
|
|
margin-bottom: 20px;
|
|
padding: 16px;
|
|
background: #f8f9fa;
|
|
border-radius: 8px;
|
|
border-left: 3px solid #1677ff;
|
|
}
|
|
|
|
.guide-section:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.guide-section-warning {
|
|
background: #fff7e6;
|
|
border-left-color: #faad14;
|
|
}
|
|
|
|
.guide-section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: rgba(0, 0, 0, 0.88);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.guide-section-icon {
|
|
font-size: 16px;
|
|
color: #1677ff;
|
|
}
|
|
|
|
.guide-section-warning .guide-section-icon {
|
|
color: #faad14;
|
|
}
|
|
|
|
.guide-section-content {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
line-height: 1.8;
|
|
color: rgba(0, 0, 0, 0.65);
|
|
}
|
|
|
|
.guide-list {
|
|
margin: 0;
|
|
padding-left: 20px;
|
|
list-style-type: disc;
|
|
}
|
|
|
|
.guide-list li {
|
|
font-size: 13px;
|
|
line-height: 1.8;
|
|
color: rgba(0, 0, 0, 0.65);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.guide-list li:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* 步骤样式 */
|
|
.guide-steps {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.guide-steps .ant-steps-item-title {
|
|
font-size: 13px !important;
|
|
font-weight: 600 !important;
|
|
}
|
|
|
|
.guide-steps .ant-steps-item-description {
|
|
font-size: 13px !important;
|
|
line-height: 1.6 !important;
|
|
color: rgba(0, 0, 0, 0.65) !important;
|
|
}
|
|
|
|
/* 引导底部 */
|
|
.guide-footer {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
margin-top: 20px;
|
|
padding: 16px;
|
|
background: white;
|
|
border-radius: 8px;
|
|
border: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.guide-footer-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.guide-footer-label {
|
|
font-size: 13px;
|
|
color: rgba(0, 0, 0, 0.65);
|
|
}
|
|
|
|
.guide-footer-kbd {
|
|
display: inline-block;
|
|
padding: 4px 10px;
|
|
background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
|
|
border: 1px solid #d9d9d9;
|
|
border-radius: 6px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 -2px 0 rgba(0, 0, 0, 0.05);
|
|
font-size: 11px;
|
|
font-family: 'Monaco', 'Consolas', monospace;
|
|
color: rgba(0, 0, 0, 0.88);
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* 响应式调整 */
|
|
@media (max-width: 768px) {
|
|
.button-guide-modal {
|
|
max-width: calc(100% - 32px);
|
|
}
|
|
|
|
.button-guide-modal .ant-modal-body {
|
|
max-height: 500px;
|
|
}
|
|
|
|
.guide-footer {
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
}
|