/* Collapsible cards customization */ .accordion-button:not(.collapsed) { background-color: rgba(32, 107, 196, 0.06); color: #206bc4; } .accordion-button:focus { box-shadow: none; } .markdown-content { overflow-wrap: break-word; } /* Adjust spacing in application cards */ .accordion-button .badge { font-size: 0.7rem; padding: 0.25em 0.5em; } /* Ensure icons are vertically centered */ .accordion-button .ti { vertical-align: middle; } /* Make sure markdown content has proper spacing */ .markdown-content>*:first-child { margin-top: 0; } .markdown-content>*:last-child { margin-bottom: 0; } /* Custom styling for port badges in accordion headers */ .accordion-button .badge { background-color: #206bc4; color: white; } /* Add a bit of hover effect to the accordion items */ .accordion-item:hover { background-color: rgba(32, 107, 196, 0.03); } /* Visual cue for the action buttons */ .accordion-body .btn-outline-primary:hover { background-color: #206bc4; color: white; } .accordion-body .btn-outline-danger:hover { background-color: #d63939; color: white; } /* Markdown content styling */ .markdown-content.theme-styled { color: var(--tblr-body-color); background-color: var(--tblr-card-bg); border-radius: 0.375rem; overflow: hidden; } [data-bs-theme="dark"] .markdown-content.theme-styled { color: #e1e3e6; } .markdown-content.theme-styled h1, .markdown-content.theme-styled h2, .markdown-content.theme-styled h3, .markdown-content.theme-styled h4, .markdown-content.theme-styled h5, .markdown-content.theme-styled h6 { margin-top: 1.5rem; margin-bottom: 0.75rem; color: var(--tblr-primary); font-weight: 600; } .markdown-content.theme-styled h1:first-child, .markdown-content.theme-styled h2:first-child, .markdown-content.theme-styled h3:first-child { margin-top: 0; } .markdown-content.theme-styled p { margin-bottom: 1rem; line-height: 1.6; } .markdown-content.theme-styled a { color: var(--tblr-primary); text-decoration: none; border-bottom: 1px dotted var(--tblr-primary); } .markdown-content.theme-styled a:hover { border-bottom: 1px solid var(--tblr-primary); } .markdown-content.theme-styled ul, .markdown-content.theme-styled ol { margin-bottom: 1rem; padding-left: 2rem; } .markdown-content.theme-styled code { padding: 0.2em 0.4em; background-color: rgba(var(--tblr-primary-rgb), 0.08); border-radius: 3px; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 0.9em; } .markdown-content.theme-styled pre { margin-bottom: 1rem; padding: 1rem; background-color: var(--tblr-dark); border-radius: 0.375rem; overflow-x: auto; } [data-bs-theme="dark"] .markdown-content.theme-styled pre { background-color: rgba(0, 0, 0, 0.2); } .markdown-content.theme-styled pre code { padding: 0; background-color: transparent; color: #e1e3e6; font-size: 0.85rem; line-height: 1.5; } .markdown-content.theme-styled blockquote { margin-left: 0; padding: 0.5rem 1rem; border-left: 4px solid var(--tblr-primary); background-color: rgba(var(--tblr-primary-rgb), 0.05); color: var(--tblr-secondary); } .markdown-content.theme-styled table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; } .markdown-content.theme-styled table th, .markdown-content.theme-styled table td { padding: 0.5rem; border: 1px solid var(--tblr-border-color); } .markdown-content.theme-styled table th { background-color: rgba(var(--tblr-primary-rgb), 0.1); } .app-link { display: inline-flex; align-items: center; transition: color 0.2s; } .app-link:hover { color: var(--tblr-primary-active) !important; } .documentation-wrapper { border-top: 1px solid rgba(255, 255, 255, 0.1); } [data-bs-theme="light"] .documentation-wrapper { border-top: 1px solid rgba(0, 0, 0, 0.1); } /* Markdown admonition styling */ .markdown-content .admonition { padding: 1rem; margin: 1.5rem 0; border-radius: 0.375rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .markdown-content .admonition-title { font-weight: 600; margin: -1rem -1rem 0.8rem -1rem; padding: 0.5rem 1rem; border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; display: flex; align-items: center; } .markdown-content .admonition-title::before { margin-right: 0.5rem; font-family: "tabler-icons"; font-weight: normal; } /* Note styling */ .markdown-content .admonition.note { background-color: rgba(66, 153, 225, 0.1); border-left: 4px solid #4299e1; } .markdown-content .admonition.note .admonition-title { background-color: rgba(66, 153, 225, 0.15); color: #2b6cb0; } .markdown-content .admonition.note .admonition-title::before { content: "\ea67"; /* ti-info-circle */ } /* Tip styling */ .markdown-content .admonition.tip { background-color: rgba(72, 187, 120, 0.1); border-left: 4px solid #48bb78; } .markdown-content .admonition.tip .admonition-title { background-color: rgba(72, 187, 120, 0.15); color: #2f855a; } .markdown-content .admonition.tip .admonition-title::before { content: "\ea4a"; /* ti-bulb */ } /* Important styling */ .markdown-content .admonition.important { background-color: rgba(118, 106, 240, 0.1); border-left: 4px solid #766af0; } .markdown-content .admonition.important .admonition-title { background-color: rgba(118, 106, 240, 0.15); color: #5046e4; } .markdown-content .admonition.important .admonition-title::before { content: "\eaca"; /* ti-star */ } /* Warning styling */ .markdown-content .admonition.warning { background-color: rgba(246, 173, 85, 0.1); border-left: 4px solid #f6ad55; } .markdown-content .admonition.warning .admonition-title { background-color: rgba(246, 173, 85, 0.15); color: #c05621; } .markdown-content .admonition.warning .admonition-title::before { content: "\eb4f"; /* ti-alert-triangle */ } /* Danger/Caution styling */ .markdown-content .admonition.danger { background-color: rgba(245, 101, 101, 0.1); border-left: 4px solid #f56565; } .markdown-content .admonition.danger .admonition-title { background-color: rgba(245, 101, 101, 0.15); color: #c53030; } .markdown-content .admonition.danger .admonition-title::before { content: "\eb50"; /* ti-alert-octagon */ } /* Dark mode adjustments */ [data-bs-theme="dark"] .markdown-content .admonition.note { background-color: rgba(56, 127, 187, 0.15); } [data-bs-theme="dark"] .markdown-content .admonition.tip { background-color: rgba(56, 161, 105, 0.15); } [data-bs-theme="dark"] .markdown-content .admonition.important { background-color: rgba(102, 92, 209, 0.15); } [data-bs-theme="dark"] .markdown-content .admonition.warning { background-color: rgba(221, 155, 76, 0.15); } [data-bs-theme="dark"] .markdown-content .admonition.danger { background-color: rgba(224, 92, 92, 0.15); } /* Make sure the markdown content text color is visible */ .markdown-content { color: var(--tblr-body-color); } [data-bs-theme="dark"] .markdown-content { color: #e1e3e6; } /* Fix the app name in the expanded accordion */ .app-card-header .app-link { font-weight: 600; text-decoration: none; } /* GitHub-style markdown alerts */ .markdown-alert { padding: 0.85rem 1rem; margin: 1rem 0; border-radius: 6px; border-left-width: 4px; border-left-style: solid; } .markdown-alert-title { font-weight: 600; margin-top: 0; margin-bottom: 0.5rem; font-size: 1rem; display: flex; align-items: center; } .markdown-alert-title::before { margin-right: 0.5rem; font-family: "tabler-icons"; font-weight: normal; } /* Note styling - GitHub colors */ .markdown-alert-note { background-color: #eef6ff; border-left-color: #58a6ff; } .markdown-alert-note .markdown-alert-title { color: #0969da; } .markdown-alert-note .markdown-alert-title::before { content: "\ea67"; /* ti-info-circle */ } /* Tip styling - GitHub colors */ .markdown-alert-tip { background-color: #dafbe1; border-left-color: #2da44e; } .markdown-alert-tip .markdown-alert-title { color: #1a7f37; } .markdown-alert-tip .markdown-alert-title::before { content: "\ea4a"; /* ti-bulb */ } /* Important styling - GitHub colors */ .markdown-alert-important { background-color: #fff8c5; border-left-color: #bf8700; } .markdown-alert-important .markdown-alert-title { color: #9a6700; } .markdown-alert-important .markdown-alert-title::before { content: "\eaca"; /* ti-star */ } /* Warning styling - GitHub colors */ .markdown-alert-warning { background-color: #fff8c5; border-left-color: #bf8700; } .markdown-alert-warning .markdown-alert-title { color: #9a6700; } .markdown-alert-warning .markdown-alert-title::before { content: "\eb4f"; /* ti-alert-triangle */ } /* Caution styling - GitHub colors */ .markdown-alert-caution { background-color: #ffebe9; border-left-color: #cf222e; } .markdown-alert-caution .markdown-alert-title { color: #cf222e; } .markdown-alert-caution .markdown-alert-title::before { content: "\eb50"; /* ti-alert-octagon */ } /* Dark mode adjustments using GitHub Dark colors */ [data-bs-theme="dark"] .markdown-alert-note { background-color: rgba(56, 139, 253, 0.15); border-left-color: #58a6ff; } [data-bs-theme="dark"] .markdown-alert-note .markdown-alert-title { color: #58a6ff; } [data-bs-theme="dark"] .markdown-alert-tip { background-color: rgba(46, 160, 67, 0.15); border-left-color: #3fb950; } [data-bs-theme="dark"] .markdown-alert-tip .markdown-alert-title { color: #3fb950; } [data-bs-theme="dark"] .markdown-alert-important { background-color: rgba(219, 171, 9, 0.15); border-left-color: #d29922; } [data-bs-theme="dark"] .markdown-alert-important .markdown-alert-title { color: #d29922; } [data-bs-theme="dark"] .markdown-alert-warning { background-color: rgba(219, 171, 9, 0.15); border-left-color: #d29922; } [data-bs-theme="dark"] .markdown-alert-warning .markdown-alert-title { color: #d29922; } [data-bs-theme="dark"] .markdown-alert-caution { background-color: rgba(248, 81, 73, 0.15); border-left-color: #f85149; } [data-bs-theme="dark"] .markdown-alert-caution .markdown-alert-title { color: #f85149; } /* Fix content inside alerts */ .markdown-alert p { margin-bottom: 0.5rem; } .markdown-alert p:last-child { margin-bottom: 0; } /* Ensure proper spacing for code in alerts */ .markdown-alert code { background-color: rgba(27, 31, 35, 0.05); border-radius: 3px; padding: 0.2em 0.4em; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; } [data-bs-theme="dark"] .markdown-alert code { background-color: rgba(240, 246, 252, 0.15); } /* Fix port display in accordion headers */ .accordion-button .badge { font-size: 0.7rem; padding: 0.25em 0.5em; margin-right: 0.25rem; } /* Integration with GitHub markdown classes */ .markdown-content .markdown-reading-view, .markdown-content .markdown-source-view { width: 100%; color: var(--markdown-text); background-color: transparent; } /* Ensure markdown content adapts to theme */ .markdown-content { color: var(--markdown-text); background-color: transparent; } /* Application Card Styling */ .app-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 0.375rem; overflow: hidden; margin-bottom: 1rem; } .app-card-header { background-color: rgba(0, 0, 0, 0.03); border-bottom: 1px solid var(--border-color); padding: 0.75rem 1rem; display: flex; justify-content: space-between; align-items: center; } [data-bs-theme="dark"] .app-card-header { background-color: rgba(255, 255, 255, 0.03); } .app-card-body { padding: 1rem; } .app-card-footer { border-top: 1px solid var(--border-color); padding: 0.5rem 1rem; background-color: rgba(0, 0, 0, 0.01); } [data-bs-theme="dark"] .app-card-footer { background-color: rgba(255, 255, 255, 0.01); } .app-link { color: var(--text-color); text-decoration: none; font-weight: 600; } .app-link:hover { color: var(--highlight-color); } /* Validation styles */ .is-invalid { border-color: #dc3545 !important; padding-right: calc(1.5em + 0.75rem); background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right calc(0.375em + 0.1875rem) center; background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); } .is-valid { border-color: #198754 !important; padding-right: calc(1.5em + 0.75rem); background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right calc(0.375em + 0.1875rem) center; background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); } .invalid-feedback { display: none; width: 100%; margin-top: 0.25rem; font-size: 0.875em; color: #dc3545; } .invalid-feedback.d-block { display: block !important; } .valid-feedback { display: none; width: 100%; margin-top: 0.25rem; font-size: 0.875em; color: #198754; } .valid-feedback.d-block { display: block !important; } /* Fix position for validation messages in table cells */ td.position-relative { position: relative; } td .feedback { position: absolute; width: 100%; left: 0; top: 100%; z-index: 5; }