:root { /* Spinner colors */ --spinner-color: var(--primary); --spinner-size: 1.2rem; --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue"; --background: hsl(0 0% 100%); --foreground: hsl(222.2 84% 4.9%); --card: hsl(0 0% 100%); --card-foreground: hsl(222.2 84% 4.9%); --popover: hsl(0 0% 100%); --popover-foreground: hsl(222.2 84% 4.9%); --primary: hsl(222.2 47.4% 11.2%); --primary-foreground: hsl(210 40% 98%); --secondary: hsl(210 40% 96.1%); --secondary-foreground: hsl(222.2 47.4% 11.2%); --grayish-blue: hsl(215 20% 65%); --grayish-blue-foreground: hsl(0 0% 100%); --muted: hsl(210 40% 96.1%); --muted-foreground: hsl(215.4 16.3% 46.9%); --accent: hsl(210 40% 96.1%); --accent-foreground: hsl(222.2 47.4% 11.2%); --destructive: hsl(0 84.2% 60.2%); --destructive-foreground: hsl(210 40% 98%); --border: hsl(214.3 31.8% 91.4%); --input: hsl(214.3 31.8% 91.4%); --ring: hsl(222.2 84% 4.9%); --radius: 0.5rem; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: var(--font-sans); background-color: var(--background); color: var(--foreground); line-height: 1.5; } .container { max-width: 1200px; margin: 0 auto; padding: 2rem; } header { margin-bottom: 2rem; } h1 { font-size: 2.5rem; font-weight: 900; letter-spacing: -0.025em; margin-bottom: 0.5rem; } header .header-content { display: flex; align-items: center; gap: 1rem; } header h1 { margin: 0; font-size: 2rem; color: var(--primary); } #target-picker { padding: 0.5rem; border-radius: var(--radius); border: 1px solid var(--border); background-color: var(--background); font-family: var(--font-sans); font-size: 1rem; min-width: 200px; margin-bottom: 0.5rem; } .repo-count { margin-bottom: 0.5rem; color: var(--grayish-blue); } .empty-state { grid-column: 1 / -1; text-align: center; padding: 3rem; background-color: var(--secondary); border-radius: var(--radius); color: var(--muted-foreground); } .repository-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; } .repository-card { background-color: var(--card); border-radius: var(--radius); border: 1px solid var(--border); padding: 1.5rem; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .repository-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); } .repo-name { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; } .repo-name a { color: var(--primary); text-decoration: none; } .repo-name a:hover { text-decoration: underline; } .repo-description { color: var(--muted-foreground); margin-bottom: 0.5rem; min-height: 3rem; font-size: 0.875rem; } .repo-score { margin-bottom: 0.75rem; font-size: 0.75rem; text-align: right; } .repo-score .score-label { background-color: var(--secondary); color: var(--primary); padding: 0.15rem 0.5rem; border-radius: 0.25rem; font-weight: 500; cursor: default; } .stale-label { margin-right: 8px; color: var(--primary-foreground); background-color: #e74c3c; padding: 0.15rem 0.5rem; border-radius: 0.25rem; font-weight: 500; font-size: 0.75rem; cursor: default; } .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1rem; } .stat-item { display: flex; flex-direction: column; align-items: center; background-color: var(--secondary); border-radius: calc(var(--radius) - 2px); padding: 0.5rem; } .stat-label { font-size: 0.75rem; color: var(--muted-foreground); } .stat-value { font-weight: 600; font-size: 1.125rem; } .release-info { border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 0.5rem; font-size: 0.875rem; } .no-release { color: var(--muted-foreground); font-style: italic; } .loading { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 200px; width: 100%; grid-column: 1 / -1; } .htmx-indicator { opacity: 0; transition: opacity 500ms ease-in; } .htmx-request .htmx-indicator { opacity: 1; } .htmx-request.htmx-indicator { opacity: 1; } .spinner { width: 10px; height: 10px; border-radius: 50%; display: block; margin: 15px auto; position: relative; color: var(--primary); left: -100px; box-sizing: border-box; animation: shadowRolling 2s linear infinite; } @keyframes shadowRolling { 0% { box-shadow: 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0); } 12% { box-shadow: 100px 0 var(--primary), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0); } 25% { box-shadow: 110px 0 var(--primary), 100px 0 var(--primary), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0); } 36% { box-shadow: 120px 0 var(--primary), 110px 0 var(--primary), 100px 0 var(--primary), 0px 0 rgba(255, 255, 255, 0); } 50% { box-shadow: 130px 0 var(--primary), 120px 0 var(--primary), 110px 0 var(--primary), 100px 0 var(--primary); } 62% { box-shadow: 200px 0 rgba(255, 255, 255, 0), 130px 0 var(--primary), 120px 0 var(--primary), 110px 0 var(--primary); } 75% { box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 130px 0 var(--primary), 120px 0 var(--primary); } 87% { box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 130px 0 var(--primary); } 100% { box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0); } } footer { margin-top: 2rem; text-align: center; color: var(--muted-foreground); font-size: 0.875rem; } .stats-grid a.stat-item { text-decoration: none; color: inherit; cursor: pointer; transition: background-color 0.2s, transform 0.1s; } .stats-grid a.stat-item:hover { background-color: rgba(0, 0, 0, 0.05); transform: translateY(-2px); } .stats-grid a.stat-item:active { transform: translateY(0); } .release-info a { color: #0366d6; text-decoration: none; transition: text-decoration 0.2s; } a:hover { text-decoration: underline; } .star-count { margin-left: 10px; font-size: 0.9em; color: #586069; text-decoration: none; display: inline-flex; align-items: center; transition: color 0.2s; } .star-count:hover { color: #0366d6; text-decoration: none; } /* Repository Detail View */ .btn-group { margin-bottom: 1.5rem; } .btn-group .btn { margin-right: 0.5rem; } .btn { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary); text-decoration: none; font-size: 0.95rem; padding: 0.5rem 1rem; border-radius: var(--radius); background-color: var(--secondary); transition: all 0.2s ease; border: 1px solid var(--border); } .btn:hover { background-color: var(--accent); transform: translateX(-2px); text-decoration: none; } .btn-icon { font-size: 1.2rem; line-height: 1; margin-right: 0.25rem; } .btn-text strong { font-weight: 600; } .repository-detail { grid-column: 1 / -1; background-color: var(--card); border-radius: var(--radius); border: 1px solid var(--border); padding: 2rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .repository-header { margin-bottom: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; } .repository-header h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.75rem; display: flex; align-items: center; justify-content: space-between; } .repository-header h2 a { color: var(--primary); text-decoration: none; } .repository-header h2 a:hover { text-decoration: underline; } .repo-stats { display: flex; gap: 1.5rem; margin-top: 1rem; } .repo-stats .stat-item { background-color: var(--secondary); border-radius: calc(var(--radius) - 2px); padding: 0.75rem 1.25rem; } .issues-container { margin-top: 1.5rem; } .issues-container h3 { font-size: 1.5rem; margin-bottom: 1.5rem; font-weight: 600; } .no-issues { background-color: var(--secondary); border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--muted-foreground); } /* Issue List */ .issues-list { display: flex; flex-direction: column; gap: 1.25rem; } .issue-card { background-color: var(--background); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; transition: transform 0.2s, box-shadow 0.2s; } .issue-card:hover { transform: translateY(-2px); box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.1); } .issue-header { margin-bottom: 1rem; } .issue-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; } .issue-title a { color: var(--primary); text-decoration: none; } .issue-title a:hover { text-decoration: underline; } .issue-meta { display: flex; gap: 1rem; font-size: 0.875rem; color: var(--muted-foreground); } .issue-stats { display: flex; gap: 1.5rem; margin-bottom: 1rem; flex-wrap: wrap; } .issue-stat { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; } .stat-icon { font-size: 1rem; } .issue-labels { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; } .issue-label { background-color: var(--accent); color: var(--accent-foreground); font-size: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 1rem; font-weight: 500; } .issue-score { margin-top: 0.75rem; font-weight: 600; color: var(--primary); font-size: 0.875rem; text-align: right; } .score-label { background-color: var(--secondary); padding: 0.25rem 0.75rem; border-radius: 0.25rem; } /* Failing Workflows */ .failing-workflows { margin-top: 1rem; border-top: 1px solid var(--border); padding-top: 1rem; font-size: 0.875rem; display: flex; align-items: center; gap: 0.75rem; } .workflow-status { color: var(--destructive); text-decoration: none; text-align: center; padding: 0.25rem 0.75rem; border-radius: var(--radius); background-color: rgba(220, 38, 38, 0.1); transition: background-color 0.2s; } .workflow-status:hover { background-color: rgba(220, 38, 38, 0.15); text-decoration: none; } .workflow-icon { font-size: 1rem; } .workflow-count { font-weight: 600; } .workflow-details { display: flex; flex-wrap: wrap; gap: 0.5rem; } .workflow-item { display: inline-block; } .workflow-name { color: var(--destructive); text-decoration: none; font-size: 0.75rem; padding: 0.15rem 0.5rem; border-radius: 1rem; background-color: rgba(220, 38, 38, 0.05); transition: background-color 0.2s; } .workflow-name:hover { background-color: rgba(220, 38, 38, 0.1); text-decoration: none; } /* Tabs Container Styles */ .tabs-container { margin-top: 1.5rem; width: 100%; } .tabs { display: flex; border-bottom: 1px solid var(--border-color); margin-bottom: 0; overflow-x: auto; scrollbar-width: none; /* Firefox */ } .tabs::-webkit-scrollbar { display: none; /* Chrome, Safari, Edge */ } .tabs button { padding: 0.75rem 1.25rem; background: none; border: none; border-bottom: 2px solid transparent; color: var(--muted-foreground); font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; position: relative; margin-right: 0.5rem; } .tabs button:hover { color: var(--primary); background-color: var(--secondary); border-bottom-color: var(--border); } .tabs button.selected { color: var(--primary); border-bottom: 2px solid var(--primary); font-weight: 600; background-color: transparent; } .tab-content { padding: 1.5rem 0; min-height: 200px; } /* Discussion category styles */ .issue-title-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; } .discussion-category { display: inline-block; padding: 0.25rem 0.5rem; font-size: 0.75rem; font-weight: 500; border-radius: var(--radius-sm); background-color: var(--secondary); color: var(--secondary-foreground); white-space: nowrap; } /* Releases Page Styles */ /* Chart container */ #chart { margin: 2rem 0; border-radius: var(--radius); background-color: var(--card); border: 1px solid var(--border); padding: 1.5rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); } /* Total downloads counter */ .releases-list+div { text-align: center; font-size: 1.25rem; font-weight: 600; color: var(--primary); margin: 1.5rem 0; padding: 1rem; background-color: var(--secondary); border-radius: var(--radius); } /* Releases list container */ .releases-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; } /* Individual release card */ .release-card { background-color: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); } .release-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.1); } /* Release header section */ .release-header { margin-bottom: 1.25rem; border-bottom: 1px solid var(--border); padding-bottom: 1rem; } /* Release title row with tags */ .release-title-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.5rem; } /* Release title */ .release-title { font-size: 1.35rem; font-weight: 600; margin: 0; } .release-title a { color: var(--primary); text-decoration: none; transition: color 0.2s; } .release-title a:hover { text-decoration: underline; color: #0366d6; } /* Release tags (pre-release, draft) */ .release-tag { display: inline-block; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 500; border-radius: 1rem; text-transform: uppercase; letter-spacing: 0.5px; } .release-tag.prerelease { background-color: #0366d6; color: white; } .release-tag.draft { background-color: #6c757d; color: white; } /* Release metadata */ .release-meta { display: flex; gap: 1.25rem; font-size: 0.875rem; color: var(--muted-foreground); flex-wrap: wrap; } .release-author a, .release-created a { color: #0366d6; text-decoration: none; } .release-author a:hover, .release-created a:hover { text-decoration: underline; } /* Release statistics */ .release-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; } .release-stat { display: flex; flex-direction: column; align-items: center; background-color: var(--secondary); border-radius: calc(var(--radius) - 2px); padding: 1rem; min-width: 120px; transition: transform 0.15s, background-color 0.15s; } .release-stat:hover { transform: translateY(-2px); background-color: rgba(0, 0, 0, 0.03); } .stat-icon { font-size: 1.5rem; margin-bottom: 0.5rem; } .stat-value { font-weight: 700; font-size: 1.25rem; color: var(--primary); } .stat-label { font-size: 0.8rem; color: var(--muted-foreground); text-align: center; margin-top: 0.25rem; } /* Empty state */ .no-items { background-color: var(--secondary); border-radius: var(--radius); padding: 3rem 2rem; text-align: center; color: var(--muted-foreground); font-size: 1.1rem; margin: 2rem 0; } /* Assets table styles */ .assets-table { width: 100%; margin-top: 1.5rem; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); } .assets-table thead { background-color: var(--secondary); } .assets-table th { text-align: left; padding: 0.75rem 1rem; font-weight: 600; color: var(--primary); font-size: 0.9rem; } .assets-table td { padding: 0.75rem 1rem; border-top: 1px solid var(--border); font-size: 0.9rem; } .assets-table tr:hover { background-color: rgba(0, 0, 0, 0.02); } .asset-name { font-weight: 500; } .asset-name a { color: #0366d6; text-decoration: none; display: inline-flex; align-items: center; } .asset-name a:hover { text-decoration: underline; } .asset-name a::before { content: "⬇️"; margin-right: 0.5rem; font-size: 0.9rem; } .asset-size { color: var(--muted-foreground); white-space: nowrap; } .asset-downloads { font-weight: 600; color: var(--primary); } /* Release description */ .release-description { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.95rem; line-height: 1.6; color: var(--foreground); } .release-description h1, .release-description h2, .release-description h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; font-weight: 600; } .release-description p { margin-bottom: 1rem; } .release-description ul, .release-description ol { margin-bottom: 1rem; padding-left: 1.5rem; } .release-description li { margin-bottom: 0.5rem; } .release-description code { background-color: var(--secondary); padding: 0.2rem 0.4rem; border-radius: 3px; font-size: 0.85em; font-family: monospace; } .release-description pre { background-color: var(--secondary); padding: 1rem; border-radius: var(--radius); overflow-x: auto; margin-bottom: 1rem; } .release-description pre code { background-color: transparent; padding: 0; } /* ApexCharts customization */ .apexcharts-tooltip { background-color: var(--card) !important; color: var(--foreground) !important; border: 1px solid var(--border) !important; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important; border-radius: var(--radius) !important; } .apexcharts-tooltip-title { background-color: var(--secondary) !important; border-bottom: 1px solid var(--border) !important; font-weight: 600 !important; } .apexcharts-xaxistooltip { background-color: var(--card) !important; border: 1px solid var(--border) !important; color: var(--foreground) !important; border-radius: var(--radius) !important; } .apexcharts-xaxistooltip:before, .apexcharts-xaxistooltip:after { border-bottom-color: var(--border) !important; } /* Responsive adjustments */ @media (max-width: 768px) { .release-stats { flex-direction: column; gap: 1rem; } .release-stat { width: 100%; flex-direction: row; justify-content: space-between; padding: 0.75rem 1rem; } .stat-icon { margin-bottom: 0; margin-right: 0.5rem; } .stat-value { margin-right: 0.5rem; } .release-title { font-size: 1.2rem; } .assets-table { display: block; overflow-x: auto; } } /* Total downloads counter */ .odometer { font-variant-numeric: tabular-nums; transition: color 0.3s ease; } .odometer.animating { color: var(--primary); } /* Release detail stats row */ .release-detail-stats { margin: 1.5rem 0; } .stats-row { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; } .stats-row .release-stat { flex: 1; min-width: 150px; max-width: 250px; } @media (max-width: 768px) { .stats-row { flex-direction: column; align-items: center; } .stats-row .release-stat { width: 100%; max-width: 100%; } } /* Asset Downloads Table */ .asset-downloads-table { margin-top: 2rem; } .asset-downloads-table h4 { margin-bottom: 1rem; color: var(--foreground); font-size: 1.2rem; font-weight: 600; } .downloads-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .downloads-table th, .downloads-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); } .downloads-table th { background: var(--muted); color: var(--muted-foreground); font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; } .downloads-table tbody tr:hover { background: var(--accent); } .downloads-table tbody tr:last-child td { border-bottom: none; } .asset-name { font-family: monospace; font-weight: 500; color: var(--foreground); } .asset-size { color: var(--muted-foreground); font-size: 0.875rem; } .download-btn { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.375rem 0.75rem; background: var(--primary); color: var(--primary-foreground); text-decoration: none; border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; transition: background-color 0.2s; } .download-btn:hover { background: hsl(222.2 47.4% 8%); } @media (max-width: 768px) { .downloads-table { font-size: 0.875rem; } .downloads-table th, .downloads-table td { padding: 0.5rem; } .asset-name { font-size: 0.8rem; } }