Files
谢宇宁andClaude Opus 5.5 3639d2184a Initial commit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 14:47:17 +07:00

272 lines
6.2 KiB
CSS

.pagination {
align-self: stretch;
width: 100%;
overflow: hidden;
justify-content: center;
align-items: center;
gap: 8px;
display: flex;
}
.pagination-btn {
width: 36px;
min-width: 36px;
height: 32px;
padding: 0;
background: rgba(255, 255, 255, 0.05);
overflow: hidden;
border-radius: 16px;
justify-content: center;
align-items: center;
display: flex;
border: none;
cursor: pointer;
color: #A3A3A3;
font-size: 12px;
font-family: PingFang SC, sans-serif;
font-weight: 400;
line-height: 18px;
text-decoration: none;
box-sizing: border-box;
flex-shrink: 0;
}
a.pagination-btn:hover {
color: #F5F5F5;
}
.pagination-btn.is-disabled {
opacity: 0.4;
cursor: default;
pointer-events: none;
}
.pagination-btn--wide {
width: 42px;
min-width: 42px;
}
.pagination-btn--active {
background: #EC237F;
color: #181818;
}
.pagination-btn--arrow {
width: 36px;
min-width: 36px;
padding: 0;
}
.pagination-arrow {
width: 18px;
height: 18px;
display: block;
}
.pagination-ellipsis {
color: #A3A3A3;
font-size: 12px;
font-family: PingFang SC, sans-serif;
font-weight: 400;
line-height: 18px;
word-wrap: break-word;
flex-shrink: 0;
}
.pagination-jump {
overflow: hidden;
justify-content: center;
align-items: center;
gap: 8px;
display: flex;
margin: 0;
padding: 0;
border: none;
background: transparent;
flex-shrink: 0;
}
.pagination-jump-label {
color: #A3A3A3;
font-size: 12px;
font-family: "Noto Sans SC", "PingFang SC", sans-serif;
font-weight: 400;
line-height: 18px;
word-wrap: break-word;
flex-shrink: 0;
}
.pagination-jump-input {
width: 48px;
height: 32px;
padding: 0;
background: rgba(255, 255, 255, 0.05);
overflow: hidden;
border: none;
border-radius: 16px;
border: none;
color: #A3A3A3;
font-size: 12px;
font-family: "Noto Sans SC", "PingFang SC", sans-serif;
font-weight: 400;
line-height: 18px;
text-align: center;
box-sizing: border-box;
}
.pagination-jump-input::-webkit-outer-spin-button,
.pagination-jump-input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.pagination-jump-input:focus,
.pagination-jump-input:focus-visible {
color: #F5F5F5;
outline: none;
outline-color: transparent;
box-shadow: none;
}
.pagination-jump-submit {
width: 60px;
height: 32px;
padding: 0;
background: #EC237F;
overflow: hidden;
border: none;
border-radius: 16px;
color: #181818;
font-size: 12px;
font-family: "Noto Sans SC", "PingFang SC", sans-serif;
font-weight: 400;
line-height: 18px;
cursor: pointer;
justify-content: center;
align-items: center;
display: flex;
box-sizing: border-box;
}
.pagination-jump-submit:hover {
background: #ffe56a;
}
/* H5 Figma: 343 宽条、space-between、30 圆钮 / 箭头 pill
使用页面容器前缀覆盖 list/rank/topic 等页面的 PC 尺寸规则 */
@media (max-width: 767px) {
.pagination,
.list-hero .pagination,
.rank-hero .pagination,
.more-hero .pagination,
.theme-index-page .pagination,
.search-inner .pagination,
.today-update-hero .pagination,
.collect-pagination .pagination,
.history-pagination .pagination {
width: 100%;
max-width: 343px;
margin-left: auto;
margin-right: auto;
padding: 0;
overflow: hidden;
justify-content: space-between;
align-items: center;
gap: 0;
flex-wrap: nowrap;
display: flex;
align-self: center;
}
.pagination-btn,
.pagination-btn--wide,
.list-hero .pagination-btn,
.list-hero .pagination-btn--wide,
.rank-hero .pagination-btn,
.rank-hero .pagination-btn--wide,
.more-hero .pagination-btn,
.more-hero .pagination-btn--wide,
.theme-index-page .pagination-btn,
.theme-index-page .pagination-btn--wide,
.search-inner .pagination-btn,
.search-inner .pagination-btn--wide,
.today-update-hero .pagination-btn,
.collect-pagination .pagination-btn,
.history-pagination .pagination-btn {
width: 30px;
min-width: 30px;
height: 30px;
padding: 0 4px;
background: rgba(255, 255, 255, 0.1);
border-radius: 999px;
color: rgba(255, 255, 255, 0.55);
font-size: 14px;
line-height: 20px;
}
.pagination-btn--active,
.list-hero .pagination-btn--active,
.rank-hero .pagination-btn--active,
.more-hero .pagination-btn--active,
.theme-index-page .pagination-btn--active,
.search-inner .pagination-btn--active {
background: #ec237f;
color: #fff;
}
.pagination-btn--arrow,
.list-hero .pagination-btn--arrow,
.rank-hero .pagination-btn--arrow,
.more-hero .pagination-btn--arrow,
.theme-index-page .pagination-btn--arrow,
.search-inner .pagination-btn--arrow {
width: auto;
min-width: 0;
height: 30px;
padding: 6px 7px;
gap: 10px;
}
.pagination-arrow,
.list-hero .pagination-arrow,
.rank-hero .pagination-arrow,
.more-hero .pagination-arrow,
.theme-index-page .pagination-arrow,
.search-inner .pagination-arrow {
width: 16px;
height: 16px;
}
.pagination-ellipsis,
.list-hero .pagination-ellipsis,
.rank-hero .pagination-ellipsis,
.more-hero .pagination-ellipsis,
.theme-index-page .pagination-ellipsis,
.search-inner .pagination-ellipsis {
display: inline-flex;
justify-content: center;
align-items: center;
width: auto;
min-width: 20px;
height: 30px;
padding: 0 4px;
border-radius: 999px;
color: rgba(255, 255, 255, 0.55);
font-size: 14px;
line-height: 20px;
background: transparent;
box-sizing: border-box;
text-align: center;
}
.pagination-jump,
.list-hero .pagination-jump,
.rank-hero .pagination-jump,
.more-hero .pagination-jump,
.theme-index-page .pagination-jump,
.search-inner .pagination-jump,
.today-update-hero .pagination-jump {
display: none;
}
}