feat: change entire downloads
This commit is contained in:
@@ -1542,6 +1542,446 @@ h1, h2, h3, h4, h5, h6 {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.release-block {
|
||||
margin-bottom: 3.5rem;
|
||||
}
|
||||
|
||||
.release-block-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 1.25rem;
|
||||
padding-bottom: 1rem;
|
||||
border-bottom: 1px solid var(--glass-border);
|
||||
}
|
||||
|
||||
.release-product-parent {
|
||||
display: block;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--accent-cyan);
|
||||
margin-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
.release-product-name {
|
||||
font-size: 1.35rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.release-channel {
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
|
||||
.release-channel--previous {
|
||||
opacity: 0.82;
|
||||
}
|
||||
|
||||
.release-channel-label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
font-size: 0.76rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
padding: 0.28rem 0.85rem;
|
||||
border-radius: var(--radius-pill);
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.release-channel-label--stable {
|
||||
color: rgb(134, 239, 172);
|
||||
background: rgba(34, 197, 94, 0.1);
|
||||
border: 1px solid rgba(34, 197, 94, 0.2);
|
||||
}
|
||||
|
||||
.release-channel-label--previous {
|
||||
color: var(--text-secondary);
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border: 1px solid var(--glass-border);
|
||||
}
|
||||
|
||||
.download-card--previous {
|
||||
opacity: 0.78;
|
||||
}
|
||||
|
||||
.download-btn--prev {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
padding: 3rem;
|
||||
text-align: center;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
Rich Content (rendered Markdown / HTML / plain descriptions)
|
||||
============================================================ */
|
||||
.rich-content p {
|
||||
margin-bottom: 0.85em;
|
||||
line-height: 1.75;
|
||||
}
|
||||
|
||||
.rich-content p:last-child { margin-bottom: 0; }
|
||||
|
||||
.rich-content h1, .rich-content h2, .rich-content h3,
|
||||
.rich-content h4, .rich-content h5 {
|
||||
font-weight: 700;
|
||||
margin: 1.25em 0 0.5em;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.rich-content h1 { font-size: 1.5rem; }
|
||||
.rich-content h2 { font-size: 1.25rem; }
|
||||
.rich-content h3 { font-size: 1.05rem; }
|
||||
|
||||
.rich-content ul, .rich-content ol {
|
||||
padding-left: 1.5em;
|
||||
margin-bottom: 0.85em;
|
||||
}
|
||||
|
||||
.rich-content li { margin-bottom: 0.3em; line-height: 1.65; }
|
||||
|
||||
.rich-content a {
|
||||
color: var(--accent-blue-light);
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 3px;
|
||||
}
|
||||
|
||||
.rich-content a:hover { color: var(--accent-cyan); }
|
||||
|
||||
.rich-content code {
|
||||
font-family: "SF Mono", "Fira Code", monospace;
|
||||
font-size: 0.88em;
|
||||
background: rgba(79, 142, 247, 0.1);
|
||||
border: 1px solid rgba(79, 142, 247, 0.15);
|
||||
padding: 0.15em 0.45em;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.rich-content pre {
|
||||
background: rgba(0, 0, 0, 0.35);
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: var(--radius-sm);
|
||||
padding: 1rem 1.25rem;
|
||||
overflow-x: auto;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.rich-content pre code {
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
|
||||
.rich-content blockquote {
|
||||
border-left: 3px solid rgba(79, 142, 247, 0.45);
|
||||
padding-left: 1rem;
|
||||
color: var(--text-secondary);
|
||||
margin: 1em 0;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.rich-content table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-bottom: 1em;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.rich-content th, .rich-content td {
|
||||
padding: 0.6rem 0.9rem;
|
||||
border: 1px solid var(--glass-border);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.rich-content th {
|
||||
background: rgba(79, 142, 247, 0.08);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
Sub-Product Inline Downloads
|
||||
============================================================ */
|
||||
.sub-downloads {
|
||||
margin-top: 2rem;
|
||||
background: var(--glass-bg);
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 1.5rem;
|
||||
backdrop-filter: blur(12px);
|
||||
}
|
||||
|
||||
.sub-downloads-title {
|
||||
font-size: 1rem;
|
||||
font-weight: 700;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 1.25rem;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.sub-downloads-channel {
|
||||
margin-bottom: 1.1rem;
|
||||
}
|
||||
|
||||
.sub-downloads-channel--prev {
|
||||
opacity: 0.78;
|
||||
}
|
||||
|
||||
.sub-downloads-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
||||
gap: 0.85rem;
|
||||
margin-top: 0.6rem;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.sub-dl-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.45rem;
|
||||
padding: 0.9rem 0.5rem;
|
||||
border-radius: var(--radius-sm);
|
||||
border: 1px solid var(--glass-border);
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.sub-dl-item--na {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.sub-dl-icon-wrap {
|
||||
width: 100%;
|
||||
min-height: 40px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.sub-dl-icon-wrap .sub-dl-icon,
|
||||
.sub-dl-icon-wrap .sub-dl-source-svg {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.sub-dl-item .btn-primary.btn--sm {
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.sub-dl-source-mark {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--text-muted, #8892a6);
|
||||
}
|
||||
|
||||
.sub-dl-icon {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
.sub-dl-source-svg {
|
||||
color: var(--text-secondary, #aab4c5);
|
||||
}
|
||||
|
||||
.sub-dl-platform {
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.pkg-version-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.pkg-version-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 0.6rem 1rem;
|
||||
padding: 0.75rem 0;
|
||||
border-bottom: 1px solid var(--glass-border);
|
||||
}
|
||||
|
||||
.pkg-version-row:last-child {
|
||||
border-bottom: none;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.pkg-version-row:first-child {
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
|
||||
.pkg-version-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.pkg-stable-inline {
|
||||
font-size: 0.7rem;
|
||||
padding: 0.2rem 0.55rem;
|
||||
}
|
||||
|
||||
.pkg-version-actions {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
flex-wrap: wrap;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.pkg-version-notes {
|
||||
width: 100%;
|
||||
margin: 0.35rem 0 0;
|
||||
font-size: 0.85rem;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.sub-downloads--package .sub-package-stable {
|
||||
margin-top: 0.6rem;
|
||||
}
|
||||
|
||||
.sub-package-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 0.75rem;
|
||||
}
|
||||
|
||||
.sub-release-notes {
|
||||
margin-top: 1rem;
|
||||
font-size: 0.88rem;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.sub-install-extra-resource {
|
||||
margin-top: 0.75rem;
|
||||
margin-bottom: 0;
|
||||
font-size: 0.92rem;
|
||||
}
|
||||
|
||||
.sub-install-extra-resource a {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.sub-older-versions-inner {
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 0;
|
||||
padding-top: 1rem;
|
||||
border-top: 1px solid var(--glass-border);
|
||||
}
|
||||
|
||||
.link-arrow {
|
||||
font-weight: 600;
|
||||
color: var(--accent-strong, var(--accent, #6b9dff));
|
||||
}
|
||||
|
||||
.versions-archive-section {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.versions-empty {
|
||||
padding: 2rem 1.5rem;
|
||||
}
|
||||
|
||||
.versions-table-wrap {
|
||||
padding: 0;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.versions-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.versions-table th,
|
||||
.versions-table td {
|
||||
padding: 0.75rem 1rem;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid var(--glass-border);
|
||||
}
|
||||
|
||||
.versions-table thead th {
|
||||
background: rgba(79, 142, 247, 0.06);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.versions-table-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.versions-table-icon {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.versions-table-text-link {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.versions-notes-row td {
|
||||
background: rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
.versions-notes-label {
|
||||
font-size: 0.72rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
color: var(--text-muted, #8892a6);
|
||||
display: block;
|
||||
margin-bottom: 0.35rem;
|
||||
}
|
||||
|
||||
.versions-notes-body {
|
||||
margin: 0;
|
||||
font-size: 0.87rem;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.versions-package-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.versions-package-card {
|
||||
padding: 1.15rem 1.35rem;
|
||||
}
|
||||
|
||||
.versions-package-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.versions-na {
|
||||
opacity: 0.45;
|
||||
}
|
||||
|
||||
.info-block {
|
||||
padding: 2.5rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user