Files
ITAM/src/styles/guide.css

189 lines
3.3 KiB
CSS

/* ITAM Guide Modal Styles - Updated to match common modal style */
/* Tab Container (below header) */
.guide-tabs-container {
background: #FAFAFA;
border-bottom: 1px solid var(--border-color);
padding: 0 1.5rem;
flex-shrink: 0;
}
.guide-tabs {
display: flex;
gap: 2px;
overflow-x: auto;
scrollbar-width: none;
}
.guide-tabs::-webkit-scrollbar { display: none; }
.guide-tab {
padding: 0.75rem 1.25rem;
font-size: 13px;
font-weight: 600;
color: var(--text-muted);
cursor: pointer;
border-bottom: 2px solid transparent;
transition: all 0.2s ease;
white-space: nowrap;
}
.guide-tab:hover {
color: var(--primary-color);
background: rgba(30, 81, 73, 0.04);
}
.guide-tab.active {
color: var(--primary-color);
border-bottom-color: var(--primary-color);
background: white;
}
/* Content Area */
.guide-body {
padding-bottom: 2rem;
}
.guide-tab-panel {
display: none;
padding: 1.5rem 0;
animation: guideFadeIn 0.3s ease;
}
.guide-tab-panel.active {
display: block;
}
@keyframes guideFadeIn {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: translateY(0); }
}
/* Section Styles */
.guide-section {
display: flex;
flex-direction: column;
gap: 0.75rem;
margin-bottom: 2rem;
}
.guide-section:last-child {
margin-bottom: 0;
}
.guide-section h3 {
font-size: 1rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid var(--primary-color);
color: var(--primary-color);
margin: 0;
display: flex;
align-items: center;
gap: 8px;
}
.guide-text {
font-size: 13px;
color: var(--text-main);
line-height: 1.7;
margin: 0;
}
/* Flowchart Styles */
.flow-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.75rem;
padding: 1.5rem;
background-color: #f9fafb;
border-radius: 8px;
border: 1px solid var(--border-color);
}
.flow-row {
display: flex;
width: 100%;
gap: 1rem;
align-items: center;
}
.flow-step {
flex: 1;
background: white;
padding: 1rem;
border-radius: 6px;
border: 1px solid var(--border-color);
display: flex;
align-items: flex-start;
gap: 12px;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.flow-step .step-number {
width: 24px;
height: 24px;
min-width: 24px;
border-radius: 50%;
background-color: var(--primary-color);
color: white;
font-size: 12px;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.flow-step .step-label {
font-weight: 700;
color: var(--text-main);
font-size: 13px;
display: block;
}
.flow-step .step-desc {
font-size: 12px;
color: var(--text-muted);
line-height: 1.5;
margin-top: 4px;
}
.flow-arrow-right {
color: var(--text-muted);
display: flex;
align-items: center;
}
/* Info Table Style */
.guide-info-table {
width: 100%;
border-collapse: collapse;
font-size: 13px;
}
.guide-info-table th {
background: #f8faf9;
color: var(--primary-color);
font-weight: 700;
padding: 0.75rem;
text-align: left;
border-bottom: 1px solid var(--border-color);
}
.guide-info-table td {
padding: 0.75rem;
border-bottom: 1px solid #f3f4f6;
color: var(--text-main);
}
/* Tip Box Style */
.guide-tip {
background: var(--primary-light);
border-left: 4px solid var(--primary-color);
padding: 1rem;
font-size: 13px;
color: var(--primary-color);
line-height: 1.6;
}