Files
AllinSSL/frontend/apps/allin-ssl/src/views/home/index.module.css
2025-05-14 16:50:56 +08:00

86 lines
1.3 KiB
CSS

/* 状态文本颜色 */
.stateText {
&.success { color: #22c55e; }
&.warning { color: #eab308; }
&.error { color: #ef4444; }
&.info { color: #3b82f6; }
&.default { color: #6b7280; }
}
/* 卡片样式 */
.cardHover {
transition: all 0.3s ease;
&:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
}
/* 快捷入口卡片基础样式 */
.quickEntryCard {
transition: all 0.3s ease;
border-radius: 0.6rem;
}
.quickEntryCard:hover {
transform: translateY(-4px);
}
/* 工作流入口样式 */
.workflow {
background: rgba(16, 185, 129, 0.08);
}
.workflow .iconWrapper {
background: rgba(16, 185, 129, 0.15);
color: #10B981;
}
.workflow .title {
color: #10B981;
}
/* 证书入口样式 */
.cert {
background: rgba(245, 158, 11, 0.08);
}
.cert .iconWrapper {
background: rgba(245, 158, 11, 0.15);
color: #F59E0B;
}
.cert .title {
color: #F59E0B;
}
/* 监控入口样式 */
.monitor {
background: rgba(139, 92, 246, 0.08);
}
.monitor .iconWrapper {
background: rgba(139, 92, 246, 0.15);
color: #8B5CF6;
}
.monitor .title {
color: #8B5CF6;
}
/* 图标包装器样式 */
.iconWrapper {
border-radius: 50%;
padding: 1rem;
display: flex;
align-items: center;
justify-content: center;
}
/* 标题样式 */
.title {
font-size: 1.8rem;
font-weight: 500;
margin-bottom: 0.75rem;
}