:root {
--cha-accent: var( --changeloger_brand_color, #6366f1 );
} .cha-hub-panel .cha-changelog-layout--rail {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
gap: 40px;
margin: 0 auto;
padding:70px 12px 24px ;
} .cha-changelog-layout--rail .cha-pagination,
.cha-changelog-layout--rail .cha-no-releases {
flex: 0 0 100%;
width: 100%;
}
.cha-changelog-layout--rail .cha-release-rail {
position: sticky;
top: 90px;
flex: 0 0 200px;
width: 200px;
max-height: calc( 100vh - 110px );
overflow: hidden;
padding-left: 8px;
} .cha-release-rail.cha-is-wheel {
-webkit-mask-image: linear-gradient( to bottom, transparent 0, #000 14%, #000 86%, transparent 100% );
mask-image: linear-gradient( to bottom, transparent 0, #000 14%, #000 86%, transparent 100% );
}
.cha-release-rail .cha-release-rail__list {
list-style: none;
margin: 0;
padding: 0;
position: relative; transition: transform 0.45s cubic-bezier( 0.22, 1, 0.36, 1 );
will-change: transform;
} .cha-release-rail .cha-release-rail__item::before {
content: "";
position: absolute;
left: 5px;
top: 20px;
bottom: 0;
width: 2px;
background: #e5e7eb;
}
.cha-release-rail .cha-release-rail__item:last-child::before {
display: none;
}
.cha-release-rail__list .cha-release-rail__item {
position: relative;
margin: 0;
padding: 0;
}
.cha-release-rail__item .cha-release-rail__link {
position: relative;
display: block;
padding: 0 0 40px 30px;
text-decoration: none !important;
color: #6b7280;
line-height: 1.3;
transition: all 0.15s ease;
} .cha-release-rail__item .cha-release-rail__link::before {
content: "";
position: absolute;
left: 0;
top: 4px;
width: 12px;
height: 12px;
border-radius: 50%;
background: #fff;
border: 2px solid #cbd5e1;
transition: border-color 0.15s ease, background 0.15s ease;
}
.cha-release-rail__link .cha-release-rail__version {
display: block;
font-weight: 600;
font-size: 16px;
text-decoration: none;
}
.cha-release-rail__link .cha-release-rail__date {
display: none;
font-size: 15px;
color: var(--cha-fg-text-muted);
margin-top: 4px;
}
.cha-release-rail__item .cha-release-rail__link:hover {
color: var( --cha-accent );
}
.cha-release-rail__item .cha-release-rail__link.is-active {
color: var( --cha-accent );
padding-bottom: 80px;
}
.cha-release-rail__item .cha-release-rail__link::after {
content: "";
position: absolute;
left: -6px;
top: 10px;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(0, 0, 0, .06);
transform: scale(0);
opacity: 0;
transition: all .3s ease-in-out;
}
.cha-release-rail__item .cha-release-rail__link.is-active::after {
width: 24px;
height: 24px;
transform: scale(1);
opacity: 1;
}
.cha-release-rail__link.is-active .cha-release-rail__version {
font-size: 28px;
font-weight: 700;
}
.cha-release-rail__link.is-active .cha-release-rail__date {
display: block;
}
.cha-release-rail__item .cha-release-rail__link.is-active::before {
background: var( --cha-accent );
border-color: var( --cha-accent );
top: 16px;
} .cha-changelog-layout--rail .cha-changelog-container {
flex: 1;
min-width: 0;
max-width: none;
margin: 0;
padding: 0;
} .cha-changelog-container--rail .cha-release-item {
display: block;
scroll-margin-top: 90px;
padding: 35px;
border-radius:35px ;
border: 0;
margin-bottom: 32px;
transition: background-color 0.2s ease-in;
}
.cha-changelog-container--rail .cha-release-item.is-active {
background-color: #f8f9fc;
}
.cha-changelog-container--rail .cha-release-item:last-child {
border-bottom: 0;
}
.cha-changelog-container--rail .cha-release-left {
display: none;
}
.cha-changelog-container--rail .cha-release-right {
width: 100%;
} .cha-changelog-container--ticker .cha-release-item--ticker {
display: flex;
align-items: stretch;
scroll-margin-top: 90px;
padding: 0;
border: 0;
gap: 0;
}
.cha-release-item--ticker .cha-ticker-date {
flex: 0 0 18%;
max-width: 18%;
text-align: center;
font-size: 14px;
color: #6b7280;
padding-top: 2px;
}
.cha-release-item--ticker .cha-ticker-version {
flex: 0 0 16%;
max-width: 16%;
text-align: center;
position: relative;
}
.cha-ticker-version .cha-ticker-version-tag {
position: relative;
z-index: 1;
display: inline-block;
background: #1d2746;
color: #fff;
padding: 5px 12px;
border-radius: 5px;
font-size: 13px;
font-weight: 600;
min-width: max-content;
transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.cha-ticker-version .cha-ticker-line {
position: absolute;
left: 50%;
top: 0;
transform: translateX( -50% );
width: 2px;
height: 100%;
background: #e2e5ee;
overflow: hidden;
border-radius: 2px;
} .cha-ticker-line .cha-ticker-line__fill {
display: block;
width: 100%;
height: 0;
background: var( --cha-accent );
border-radius: 2px;
} .cha-release-item--ticker.is-active .cha-ticker-version-tag {
background: var( --cha-accent );
transform: scale( 1.06 );
box-shadow: 0 0 0 5px color-mix( in srgb, var( --cha-accent ) 18%, transparent );
} .cha-changelog-container--ticker.cha-ticker--animated .cha-release-item--ticker {
opacity: 0;
transform: translateY( 14px );
transition: opacity 0.5s ease, transform 0.5s ease;
}
.cha-changelog-container--ticker.cha-ticker--animated .cha-release-item--ticker.is-visible {
opacity: 1;
transform: none;
}
.cha-release-item--ticker .cha-ticker-content {
flex: 1 1 auto;
min-width: 0;
padding-bottom: 48px;
}
.cha-changelog-container--ticker .cha-release-item--ticker:last-child .cha-ticker-content {
padding-bottom: 8px;
}
.cha-ticker-content .cha-ticker-row {
display: flex;
align-items: flex-start;
margin: 14px 0 0;
font-size: 16px;
line-height: 1.6;
color: #374151;
}
.cha-ticker-content .cha-ticker-row:first-child {
margin-top: 0;
}
.cha-ticker-row .cha-log-tag {
flex: 0 0 auto;
color: #fff;
padding: 5px;
font-size: 12px;
text-transform: uppercase;
border-radius: 5px;
letter-spacing: 1px;
margin-right: 20px;
margin-top: 4px;
min-width: 100px;
text-align: center;
}
.cha-ticker-row .cha-ticker-change {
flex: 1 1 auto;
min-width: 0;
padding-top: 2px;
} .cha-hub-panel .cha-changelog-container--mosaic {
display: grid;
grid-template-columns: repeat( auto-fill, minmax( 320px, 1fr ) );
gap: 24px;
max-width: 1200px;
}
.cha-changelog-container--mosaic .cha-release-item {
display: flex;
flex-direction: column;
gap: 12px;
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 22px;
box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.04 );
}
.cha-changelog-container--mosaic .cha-release-left {
position: static;
width: 100%;
display: flex;
align-items: center;
gap: 10px;
}
.cha-changelog-container--mosaic .cha-release-right {
width: 100%;
}
.cha-changelog-container--mosaic .cha-release-title {
font-size: 18px;
} .cha-changelog-container--mosaic .cha-no-releases {
grid-column: 1 / -1;
} @media ( max-width: 782px ) {
.cha-hub-panel .cha-changelog-layout--rail {
display: block;
}
.cha-changelog-layout--rail .cha-release-rail {
position: static;
width: 100%;
flex-basis: auto;
max-height: none;
overflow: visible;
margin-bottom: 20px;
padding-right: 0;
} .cha-release-rail .cha-release-rail__list {
display: flex;
gap: 8px;
overflow-x: auto;
padding-bottom: 6px;
}
.cha-release-rail__item .cha-release-rail__link {
padding: 6px 12px;
border: 1px solid #e5e7eb;
border-radius: 8px;
white-space: nowrap;
}
.cha-release-rail__item .cha-release-rail__link::before {
display: none;
}
.cha-release-rail__item .cha-release-rail__link.is-active {
border-color: var( --cha-accent );
}
.cha-changelog-container--ticker .cha-release-item--ticker {
display: block;
}
.cha-release-item--ticker .cha-ticker-date,
.cha-release-item--ticker .cha-ticker-version {
flex: none;
max-width: none;
text-align: left;
display: inline-block;
margin: 0 12px 8px 0;
}
.cha-ticker-version .cha-ticker-line {
display: none;
}
.cha-ticker-content .cha-ticker-row {
flex-direction: column;
gap: 4px;
}
.cha-ticker-row .cha-log-tag {
min-width: 0;
align-self: flex-start;
}
.cha-hub-panel .cha-changelog-container--mosaic {
grid-template-columns: 1fr;
}
}