/** * Help Components Styles */ .helpModal { .header { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid #e0e0e0; .title { font-size: 18px; font-weight: 600; } .closeButton { cursor: pointer; font-size: 24px; color: #666; background: none; border: none; padding: 4px; &:hover { color: #333; } } } .container { display: flex; height: 600px; gap: 0; } .sidebar { flex: 0 0 250px; border-right: 1px solid #e0e0e0; overflow-y: auto; padding: 16px; .section { margin-bottom: 16px; .sectionHeader { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; cursor: pointer; font-weight: 600; color: #1976d2; border: none; background: none; width: 100%; text-align: left; &:hover { opacity: 0.8; } } .icon { margin-right: 8px; font-size: 16px; } .pages { list-style: none; padding: 0; margin: 8px 0 0 0; margin-left: 12px; .pageItem { padding: 8px 8px; cursor: pointer; border-radius: 4px; transition: background-color 0.2s; &:hover { background-color: #f5f5f5; } &.active { background-color: #e3f2fd; border-left: 3px solid #1976d2; padding-left: 5px; font-weight: 500; } } } } } .content { flex: 1; display: flex; flex-direction: column; .searchBar { padding: 12px 16px; border-bottom: 1px solid #e0e0e0; display: flex; gap: 8px; input { flex: 1; padding: 8px 12px; border: 1px solid #d0d0d0; border-radius: 4px; font-size: 14px; &:focus { outline: none; border-color: #1976d2; box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1); } } button { padding: 8px 16px; cursor: pointer; } } .contentArea { flex: 1; overflow-y: auto; padding: 16px; .emptyState { color: #999; text-align: center; padding: 40px 20px; } } } .footer { padding: 12px 16px; border-top: 1px solid #e0e0e0; display: flex; justify-content: space-between; gap: 8px; button { padding: 8px 16px; cursor: pointer; border-radius: 4px; &:disabled { opacity: 0.5; cursor: not-allowed; } } } } // Content rendering .contentBlock { margin-bottom: 16px; h1, h2, h3, h4, h5, h6 { margin-top: 16px; margin-bottom: 8px; font-weight: 600; } h1 { font-size: 24px; } h2 { font-size: 20px; } h3 { font-size: 18px; } p { line-height: 1.6; margin-bottom: 12px; } ul, ol { margin-left: 20px; margin-bottom: 12px; li { margin-bottom: 6px; } } .codeBlock { background-color: #f5f5f5; border: 1px solid #ddd; border-radius: 4px; padding: 12px; overflow-x: auto; font-family: 'Courier New', monospace; font-size: 13px; line-height: 1.4; margin-bottom: 16px; } .step { display: flex; gap: 12px; margin-bottom: 12px; padding: 12px; background-color: #f9f9f9; border-left: 3px solid #2196f3; border-radius: 4px; .stepIcon { min-width: 32px; font-size: 18px; text-align: center; } .stepContent { flex: 1; } } .callout { padding: 12px; border-left: 4px solid; border-radius: 4px; margin-bottom: 16px; &.info { background-color: #e3f2fd; border-color: #2196f3; } &.warning { background-color: #fff3e0; border-color: #ff9800; } &.error { background-color: #ffebee; border-color: #f44336; } &.success { background-color: #e8f5e9; border-color: #4caf50; } } .table { width: 100%; border-collapse: collapse; margin-bottom: 16px; border: 1px solid #ddd; th { background-color: #f5f5f5; padding: 8px; text-align: left; font-weight: 600; border-bottom: 1px solid #ddd; } td { padding: 8px; border-bottom: 1px solid #eee; } tr:hover { background-color: #f9f9f9; } } } .navigation { .sections { list-style: none; padding: 0; margin: 0; .section { margin-bottom: 12px; .sectionTitle { font-weight: 600; color: #1976d2; padding: 8px 0; } .pages { list-style: none; padding: 0; margin: 8px 0 0 16px; .page { padding: 6px 8px; cursor: pointer; border-radius: 4px; transition: background-color 0.2s; &:hover { background-color: #f0f0f0; } &.active { background-color: #e3f2fd; font-weight: 500; } } } } } }