feat(widgets): complete phase 3 atomic integration
This commit is contained in:
@@ -1,277 +0,0 @@
|
||||
/**
|
||||
* Batch3 widgets: iframe, combo info, text title, and user lists.
|
||||
* @package AKSRT
|
||||
*/
|
||||
|
||||
/* ---- Iframe embed ---- */
|
||||
.aksrt-iframe-embed {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.aksrt-iframe-ratio {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 0;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
background: var(--surface-2, #f3f4f6);
|
||||
}
|
||||
.aksrt-iframe-ratio iframe,
|
||||
.aksrt-iframe-el {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* ---- Combo info cards ---- */
|
||||
.aksrt-combo-info {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(var(--aksrt-zci-pc, 4), minmax(0, 1fr));
|
||||
gap: 14px;
|
||||
margin-bottom: 16px;
|
||||
--aksrt-zci-radius: 12px;
|
||||
--aksrt-zci-band-h: 70px;
|
||||
}
|
||||
@media (max-width: 991.98px) {
|
||||
.aksrt-combo-info {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
@media (max-width: 575.98px) {
|
||||
.aksrt-combo-info {
|
||||
grid-template-columns: repeat(var(--aksrt-zci-m, 1), minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
.aksrt-zci-card {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-radius: var(--aksrt-zci-radius);
|
||||
background: var(--surface-1, #fff);
|
||||
border: 1px solid var(--color-line, #e5e7eb);
|
||||
padding: 18px 16px 16px;
|
||||
overflow: hidden;
|
||||
min-height: 100%;
|
||||
}
|
||||
.aksrt-combo-info.has-band .aksrt-zci-card::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
height: 4px;
|
||||
background: var(--color-primary, #3b82f6);
|
||||
}
|
||||
.aksrt-zci-band-blue::before { background: #3b82f6; }
|
||||
.aksrt-zci-band-cyan::before { background: #06b6d4; }
|
||||
.aksrt-zci-band-green::before { background: #22c55e; }
|
||||
.aksrt-zci-band-yellow::before { background: #eab308; }
|
||||
.aksrt-zci-band-pink::before { background: #ec4899; }
|
||||
.aksrt-zci-band-purple::before { background: #a855f7; }
|
||||
.aksrt-zci-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
margin-bottom: 14px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 28px;
|
||||
color: var(--color-primary, #3b82f6);
|
||||
}
|
||||
.aksrt-zci-icon img {
|
||||
max-width: 48px;
|
||||
max-height: 48px;
|
||||
object-fit: contain;
|
||||
}
|
||||
.aksrt-zci-title {
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
margin-bottom: 8px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.aksrt-zci-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.aksrt-zci-tag {
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
padding: 2px 10px;
|
||||
border-radius: 999px;
|
||||
background: var(--surface-2, #f3f4f6);
|
||||
color: var(--color-ink-3, #666);
|
||||
}
|
||||
.aksrt-zci-desc {
|
||||
font-size: 13px;
|
||||
color: var(--muted-2-color, #888);
|
||||
line-height: 1.5;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
flex: 1;
|
||||
}
|
||||
.aksrt-zci-cta {
|
||||
margin-top: 14px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--color-primary, #3b82f6);
|
||||
text-decoration: none;
|
||||
}
|
||||
.aksrt-zci-cta:hover i {
|
||||
transform: translateX(3px);
|
||||
}
|
||||
.aksrt-zci-cta i {
|
||||
transition: transform .2s ease;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* ---- Text title ---- */
|
||||
.aksrt-text-title {
|
||||
margin: 8px 0 18px;
|
||||
--aksrt-tt-title-size: 22px;
|
||||
--aksrt-tt-desc-size: 14px;
|
||||
}
|
||||
.aksrt-text-title.align-center { text-align: center; }
|
||||
.aksrt-text-title.align-left { text-align: left; }
|
||||
.aksrt-text-title.align-right { text-align: right; }
|
||||
.aksrt-text-title__main {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: var(--aksrt-tt-title-size);
|
||||
font-weight: 700;
|
||||
color: var(--aksrt-tt-title-color, inherit);
|
||||
line-height: 1.3;
|
||||
}
|
||||
.aksrt-text-title.align-center .aksrt-text-title__main {
|
||||
justify-content: center;
|
||||
}
|
||||
.aksrt-text-title__desc {
|
||||
margin-top: 8px;
|
||||
font-size: var(--aksrt-tt-desc-size);
|
||||
color: var(--aksrt-tt-desc-color, var(--muted-2-color, #888));
|
||||
line-height: 1.5;
|
||||
}
|
||||
.aksrt-text-title__icon {
|
||||
display: inline-flex;
|
||||
opacity: .85;
|
||||
}
|
||||
|
||||
/* ---- User lists ---- */
|
||||
.aksrt-user-lists {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 12px 8px;
|
||||
text-align: center;
|
||||
padding: 4px 0 8px;
|
||||
}
|
||||
.aksrt-user-lists.is-bare {
|
||||
padding: 0;
|
||||
}
|
||||
@media (max-width: 575.98px) {
|
||||
.aksrt-user-lists {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
.aksrt-user-lists__item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
min-width: 0;
|
||||
}
|
||||
.aksrt-user-lists__avatar {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
background: var(--surface-2, #eee);
|
||||
}
|
||||
.aksrt-user-lists__name {
|
||||
font-size: 12px;
|
||||
max-width: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/* ---- FAQ ---- */
|
||||
.aksrt-faq { margin-bottom: 16px; }
|
||||
.aksrt-faq__search { display: flex; gap: 8px; margin-bottom: 14px; }
|
||||
.aksrt-faq__search-input {
|
||||
flex: 1;
|
||||
border: 1px solid var(--color-line, #e5e7eb);
|
||||
border-radius: 8px;
|
||||
padding: 8px 12px;
|
||||
}
|
||||
.aksrt-faq__search-btn {
|
||||
border: 0;
|
||||
border-radius: 8px;
|
||||
padding: 8px 14px;
|
||||
background: var(--color-primary, #3b82f6);
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
}
|
||||
.aksrt-faq__item {
|
||||
border: 1px solid var(--color-line, #e5e7eb);
|
||||
border-radius: 10px;
|
||||
padding: 0;
|
||||
margin-bottom: 10px;
|
||||
background: var(--surface-1, #fff);
|
||||
}
|
||||
.aksrt-faq__q {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 12px 14px;
|
||||
cursor: pointer;
|
||||
font-weight: 600;
|
||||
}
|
||||
.aksrt-faq__q::-webkit-details-marker { display: none; }
|
||||
.aksrt-faq__num {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 8px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 12px;
|
||||
background: var(--surface-2, #f3f4f6);
|
||||
color: var(--color-primary, #3b82f6);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.aksrt-faq__a {
|
||||
padding: 0 14px 14px 52px;
|
||||
font-size: 13px;
|
||||
color: var(--muted-2-color, #666);
|
||||
line-height: 1.6;
|
||||
}
|
||||
.aksrt-faq__aside { display: grid; gap: 12px; margin-top: 14px; }
|
||||
.aksrt-faq__doc, .aksrt-faq__help {
|
||||
border-radius: 10px;
|
||||
border: 1px solid var(--color-line, #e5e7eb);
|
||||
padding: 14px;
|
||||
background: var(--surface-2, #f8fafc);
|
||||
}
|
||||
.aksrt-faq__help-btn {
|
||||
display: inline-block;
|
||||
margin-top: 8px;
|
||||
padding: 6px 12px;
|
||||
border-radius: 999px;
|
||||
background: var(--color-primary, #3b82f6);
|
||||
color: #fff !important;
|
||||
text-decoration: none;
|
||||
font-size: 13px;
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
/**
|
||||
* Batch3c: highlights.
|
||||
*/
|
||||
|
||||
.aksrt-highlights { margin-bottom: 16px; display: flex; flex-direction: column; gap: 12px; }
|
||||
.aksrt-highlights__row {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
.aksrt-highlights__row.is-large { grid-template-columns: 1fr; }
|
||||
.aksrt-highlights__row.is-medium { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
.aksrt-highlights__row.is-small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
||||
@media (max-width: 767.98px) {
|
||||
.aksrt-highlights__row.is-medium,
|
||||
.aksrt-highlights__row.is-small { grid-template-columns: 1fr; }
|
||||
}
|
||||
.aksrt-hl-card {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid var(--color-line, #e5e7eb);
|
||||
background: var(--surface-1, #fff);
|
||||
padding: 14px;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
overflow: hidden;
|
||||
min-height: 100%;
|
||||
}
|
||||
.aksrt-hl-card.color-blue { --hl: #3b82f6; }
|
||||
.aksrt-hl-card.color-pink { --hl: #ec4899; }
|
||||
.aksrt-hl-card.color-purple { --hl: #a855f7; }
|
||||
.aksrt-hl-card.color-green { --hl: #22c55e; }
|
||||
.aksrt-hl-card.color-orange { --hl: #f97316; }
|
||||
.aksrt-hl-card.color-cyan { --hl: #06b6d4; }
|
||||
.aksrt-hl-card.size-large { min-height: 140px; }
|
||||
.aksrt-hl-card__media {
|
||||
width: 96px;
|
||||
flex-shrink: 0;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
background: var(--surface-2, #f3f4f6);
|
||||
}
|
||||
.aksrt-hl-card.size-large .aksrt-hl-card__media { width: 160px; }
|
||||
.aksrt-hl-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 80px; }
|
||||
.aksrt-hl-card__body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
|
||||
.aksrt-hl-card__icon { color: var(--hl, #3b82f6); font-size: 22px; margin-bottom: 8px; }
|
||||
.aksrt-hl-card__title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
|
||||
.aksrt-hl-card__desc { font-size: 12px; color: var(--muted-2-color, #888); line-height: 1.5; }
|
||||
@@ -1,29 +0,0 @@
|
||||
/**
|
||||
* Batch3d: term cards.
|
||||
*/
|
||||
|
||||
.aksrt-term-cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(var(--aksrt-tc-cols, 2), minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.aksrt-term-card {
|
||||
display: block;
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--color-line, #e5e7eb);
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
background: var(--surface-1, #fff);
|
||||
}
|
||||
.aksrt-term-card__cover {
|
||||
height: 88px;
|
||||
background: var(--surface-2, #f3f4f6) center/cover no-repeat;
|
||||
}
|
||||
.aksrt-term-card__cover.is-empty {
|
||||
background: linear-gradient(135deg, #dbeafe, #eff6ff);
|
||||
}
|
||||
.aksrt-term-card__body { padding: 10px 12px 12px; }
|
||||
.aksrt-term-card__name { font-weight: 700; font-size: 14px; }
|
||||
.aksrt-term-card__count { font-size: 12px; color: var(--muted-2-color, #888); margin-top: 2px; }
|
||||
@@ -1,78 +0,0 @@
|
||||
/**
|
||||
* Batch3e: author card.
|
||||
*/
|
||||
|
||||
.aksrt-author-card {
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--color-line, #e5e7eb);
|
||||
background: var(--surface-1, #fff);
|
||||
margin-bottom: 0;
|
||||
text-align: center;
|
||||
}
|
||||
.aksrt-author-card__cover {
|
||||
height: 139px;
|
||||
min-height: 139px;
|
||||
max-height: 139px;
|
||||
background: linear-gradient(135deg, #93c5fd, #c4b5fd) center/cover no-repeat;
|
||||
}
|
||||
.aksrt-author-card__body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 0 14px 16px;
|
||||
}
|
||||
.aksrt-author-card__body .user-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
.aksrt-author-card__avatar {
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
margin: -38px auto 0;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
border: 3px solid var(--surface-1, #fff);
|
||||
width: 76px;
|
||||
height: 76px;
|
||||
}
|
||||
.aksrt-author-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||
.aksrt-author-card__name {
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
.aksrt-author-card__bio {
|
||||
margin-top: 6px;
|
||||
font-size: 12px;
|
||||
color: var(--muted-2-color, #888);
|
||||
line-height: 1.5;
|
||||
}
|
||||
.aksrt-author-card__stats {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 16px;
|
||||
margin-top: 12px;
|
||||
font-size: 12px;
|
||||
color: var(--muted-2-color, #888);
|
||||
}
|
||||
.aksrt-author-card__stats b {
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
color: var(--color-ink, #111);
|
||||
}
|
||||
.aksrt-author-card__btn {
|
||||
display: inline-block;
|
||||
margin-top: 12px;
|
||||
padding: 6px 16px;
|
||||
border-radius: 999px;
|
||||
background: var(--color-primary, #3b82f6);
|
||||
color: #fff !important;
|
||||
text-decoration: none;
|
||||
font-size: 13px;
|
||||
}
|
||||
@@ -1,278 +0,0 @@
|
||||
/**
|
||||
* Batch3f: oneline posts + tilt cases.
|
||||
*/
|
||||
|
||||
.aksrt-oneline { margin-bottom: 12px; }
|
||||
.aksrt-oneline__track {
|
||||
display: grid;
|
||||
grid-auto-flow: column;
|
||||
grid-auto-columns: minmax(180px, 220px);
|
||||
gap: 12px;
|
||||
overflow-x: auto;
|
||||
scroll-snap-type: x mandatory;
|
||||
padding-bottom: 6px;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
.aksrt-oneline.style-mini .aksrt-oneline__track {
|
||||
grid-auto-columns: minmax(140px, 160px);
|
||||
}
|
||||
.aksrt-oneline__item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--color-line, #e5e7eb);
|
||||
background: var(--surface-1, #fff);
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
scroll-snap-align: start;
|
||||
min-width: 0;
|
||||
}
|
||||
.aksrt-oneline.style-list .aksrt-oneline__item {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 8px;
|
||||
}
|
||||
.aksrt-oneline__thumb {
|
||||
height: 110px;
|
||||
background: var(--surface-2, #f3f4f6) center/cover no-repeat;
|
||||
overflow: hidden;
|
||||
}
|
||||
.aksrt-oneline.style-mini .aksrt-oneline__thumb { height: 90px; }
|
||||
.aksrt-oneline.style-list .aksrt-oneline__thumb {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
border-radius: 8px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.aksrt-oneline__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||
.aksrt-oneline__thumb.is-empty { background: linear-gradient(135deg, #e2e8f0, #f8fafc); }
|
||||
.aksrt-oneline__body { padding: 10px 12px 12px; min-width: 0; }
|
||||
.aksrt-oneline.style-list .aksrt-oneline__body { padding: 0; }
|
||||
.aksrt-oneline__title {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
.aksrt-oneline__meta { margin-top: 4px; font-size: 11px; color: var(--muted-2-color, #999); }
|
||||
|
||||
.aksrt-tilt {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1.1fr;
|
||||
gap: 28px;
|
||||
align-items: center;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
@media (max-width: 991.98px) {
|
||||
.aksrt-tilt { grid-template-columns: 1fr; }
|
||||
}
|
||||
.aksrt-tilt__badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 12px;
|
||||
padding: 4px 10px;
|
||||
border-radius: 999px;
|
||||
background: #eff6ff;
|
||||
color: #2563eb;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.aksrt-tilt__title {
|
||||
font-size: 30px;
|
||||
line-height: 1.25;
|
||||
margin: 0 0 12px;
|
||||
}
|
||||
.aksrt-tilt__hl {
|
||||
font-style: normal;
|
||||
background: linear-gradient(90deg, #3b82f6, #a855f7);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
color: transparent;
|
||||
}
|
||||
.aksrt-tilt__subtitle {
|
||||
font-size: 14px;
|
||||
color: var(--muted-2-color, #666);
|
||||
line-height: 1.7;
|
||||
margin: 0 0 14px;
|
||||
}
|
||||
.aksrt-tilt__features {
|
||||
list-style: none;
|
||||
margin: 0 0 16px;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px 14px;
|
||||
font-size: 13px;
|
||||
}
|
||||
.aksrt-tilt__features i { color: var(--color-primary, #3b82f6); margin-right: 4px; }
|
||||
.aksrt-tilt__actions { display: flex; flex-wrap: wrap; gap: 10px; }
|
||||
.aksrt-tilt__btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 8px 16px;
|
||||
border-radius: 999px;
|
||||
background: var(--color-primary, #3b82f6);
|
||||
color: #fff !important;
|
||||
text-decoration: none;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.aksrt-tilt__showcase {
|
||||
position: relative;
|
||||
min-height: 260px;
|
||||
}
|
||||
.aksrt-tilt__img {
|
||||
position: absolute;
|
||||
border-radius: 14px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 16px 40px rgba(0,0,0,.12);
|
||||
background: var(--surface-2, #f3f4f6);
|
||||
}
|
||||
.aksrt-tilt__img.is-main {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
aspect-ratio: 4/3;
|
||||
}
|
||||
.aksrt-tilt__img:not(.is-main) {
|
||||
width: 42%;
|
||||
aspect-ratio: 4/3;
|
||||
right: -4%;
|
||||
bottom: -8%;
|
||||
z-index: 2;
|
||||
}
|
||||
.aksrt-tilt__img:nth-child(3) {
|
||||
left: -4%;
|
||||
top: -6%;
|
||||
right: auto;
|
||||
bottom: auto;
|
||||
width: 38%;
|
||||
z-index: 1;
|
||||
}
|
||||
.aksrt-tilt__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||
.aksrt-tilt__img.is-empty { background: linear-gradient(135deg, #dbeafe, #ede9fe); }
|
||||
|
||||
|
||||
/* Check-in details modal */
|
||||
.aksrt-checkin-modal { padding: 4px 2px 8px; }
|
||||
.aksrt-checkin-modal__head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 16px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.aksrt-checkin-modal__head .aksrt-modal-runtime__close {
|
||||
margin-left: auto;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
font-size: 22px;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
opacity: .55;
|
||||
}
|
||||
.aksrt-checkin-modal__user {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.aksrt-checkin-modal__avatar {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
}
|
||||
.aksrt-checkin-modal__name { font-weight: 700; }
|
||||
.aksrt-checkin-modal__sub { font-size: 12px; color: var(--muted-2-color, #888); }
|
||||
.aksrt-checkin-modal__wallet { margin-bottom: 12px; }
|
||||
.aksrt-checkin-modal__wallet-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 10px 12px;
|
||||
border-radius: 10px;
|
||||
background: var(--surface-2, #f3f4f6);
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
.aksrt-checkin-modal__card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 12px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid var(--color-line, #e5e7eb);
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.aksrt-checkin-modal__card-title { font-size: 13px; margin-bottom: 6px; }
|
||||
.aksrt-checkin-modal__badge {
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
padding: 2px 8px;
|
||||
border-radius: 999px;
|
||||
background: #ecfdf5;
|
||||
color: #059669;
|
||||
}
|
||||
.aksrt-checkin-modal__done { text-align: right; color: #2563eb; font-size: 13px; }
|
||||
.aksrt-checkin-modal__btn { white-space: nowrap; }
|
||||
.aksrt-checkin-modal__streak-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-size: 13px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.aksrt-checkin-modal__ladder {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, minmax(0, 1fr));
|
||||
gap: 6px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.aksrt-checkin-modal__day {
|
||||
text-align: center;
|
||||
border-radius: 8px;
|
||||
padding: 8px 2px;
|
||||
background: var(--surface-2, #f8fafc);
|
||||
border: 1px solid transparent;
|
||||
font-size: 11px;
|
||||
}
|
||||
.aksrt-checkin-modal__day.is-done {
|
||||
background: #eff6ff;
|
||||
border-color: #bfdbfe;
|
||||
color: #1d4ed8;
|
||||
}
|
||||
.aksrt-checkin-modal__day-n { font-weight: 700; margin-bottom: 2px; }
|
||||
.aksrt-checkin-modal__cal-title {
|
||||
font-size: 13px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.aksrt-signin-calendar__grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(10, minmax(0, 1fr));
|
||||
gap: 4px;
|
||||
}
|
||||
.aksrt-signin-calendar__day {
|
||||
aspect-ratio: 1;
|
||||
border-radius: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 11px;
|
||||
background: var(--surface-2, #f3f4f6);
|
||||
color: #999;
|
||||
}
|
||||
.aksrt-signin-calendar__day.is-signed {
|
||||
background: #dbeafe;
|
||||
color: #1d4ed8;
|
||||
font-weight: 700;
|
||||
}
|
||||
.aksrt-signin-calendar__day.is-today {
|
||||
outline: 1px solid var(--color-primary, #3b82f6);
|
||||
}
|
||||
.aksrt-header-checkin-details { text-decoration: none; }
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,93 +0,0 @@
|
||||
/**
|
||||
* Widget slider (AKSRT 幻灯片).
|
||||
* @package AKSRT
|
||||
*/
|
||||
.aksrt-widget-slider {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-radius: 8px;
|
||||
background: var(--surface-2, #f3f4f6);
|
||||
}
|
||||
.aksrt-widget-slider__track {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: var(--aksrt-slider-h, 220px);
|
||||
}
|
||||
.aksrt-widget-slider__slide {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity .35s ease;
|
||||
}
|
||||
.aksrt-widget-slider__slide.is-active {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
z-index: 1;
|
||||
}
|
||||
.aksrt-widget-slider__slide img,
|
||||
.aksrt-widget-slider__link {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
.aksrt-widget-slider__caption {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding: 10px 12px;
|
||||
background: linear-gradient(transparent, rgba(0,0,0,.55));
|
||||
color: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
font-size: 13px;
|
||||
}
|
||||
.aksrt-widget-slider__caption strong {
|
||||
font-size: 14px;
|
||||
}
|
||||
.aksrt-widget-slider__prev,
|
||||
.aksrt-widget-slider__next {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
z-index: 2;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border: 0;
|
||||
border-radius: 50%;
|
||||
background: rgba(0,0,0,.35);
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
line-height: 28px;
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
}
|
||||
.aksrt-widget-slider__prev { left: 8px; }
|
||||
.aksrt-widget-slider__next { right: 8px; }
|
||||
.aksrt-widget-slider__dots {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 8px;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
pointer-events: none;
|
||||
}
|
||||
.aksrt-widget-slider__dot {
|
||||
pointer-events: auto;
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border-radius: 50%;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
background: rgba(255,255,255,.45);
|
||||
cursor: pointer;
|
||||
}
|
||||
.aksrt-widget-slider__dot.is-active {
|
||||
background: #fff;
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
@import url("widgets/part-1.css");
|
||||
@import url("widgets/part-2.css");
|
||||
@import url("widgets/part-3.css");
|
||||
@import url("widgets/part-4.css");
|
||||
@import url("widget-slider.css");
|
||||
@import url("widget-batch3.css");
|
||||
@import url("widget-batch3c.css");
|
||||
@import url("widget-batch3d.css");
|
||||
@import url("widget-batch3e.css");
|
||||
@import url("widget-batch3f.css");
|
||||
@import url("widget-batch5.css");
|
||||
@@ -1,299 +0,0 @@
|
||||
/* ========== 侧栏小工具(模仿 zibll .zib-widget) ========== */
|
||||
.content-layout__aside .widget,
|
||||
.widget-card,
|
||||
.zib-widget {
|
||||
clear: both;
|
||||
background: var(--surface-1);
|
||||
padding: var(--card-padding);
|
||||
box-shadow: var(--shadow-sm);
|
||||
border-radius: var(--radius);
|
||||
margin-bottom: 20px;
|
||||
border: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
/* Custom HTML widgets: de-card (no background, no padding — matches Zibll) */
|
||||
.widget_custom_html,
|
||||
.zib-widget.widget_custom_html {
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Zibll zib-widget-sm / noshadow modifier */
|
||||
.zib-widget-sm,
|
||||
.zib-widget.noshadow {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.widget-title {
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
margin: 0 0 10px;
|
||||
padding-bottom: 8px;
|
||||
position: relative;
|
||||
color: var(--color-ink);
|
||||
border-bottom: none;
|
||||
text-transform: none;
|
||||
letter-spacing: normal;
|
||||
}
|
||||
|
||||
/* 标题下划线装饰(模仿 zibll) */
|
||||
.widget-title::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 3px;
|
||||
width: 40px;
|
||||
height: 3px;
|
||||
background: var(--color-primary);
|
||||
border-radius: 5px;
|
||||
box-shadow: 1px 1px 3px -1px var(--color-primary);
|
||||
transition: transform 0.4s ease;
|
||||
transform-origin: left;
|
||||
}
|
||||
|
||||
/* 暗色模式 */
|
||||
.theme-dark .content-layout__aside .widget,
|
||||
html.dark .content-layout__aside .widget,
|
||||
.theme-dark .widget-card,
|
||||
html.dark .widget-card,
|
||||
.theme-dark .zib-widget,
|
||||
html.dark .zib-widget {
|
||||
background: var(--surface-1);
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.author-card {
|
||||
text-align: center;
|
||||
padding: 28px 20px;
|
||||
border-radius: var(--radius-lg);
|
||||
background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
|
||||
color: #fff;
|
||||
box-shadow: var(--shadow-md);
|
||||
border: none;
|
||||
}
|
||||
|
||||
.author-card img {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border-radius: var(--radius-avatar);
|
||||
border: 3px solid rgba(255, 255, 255, 0.35);
|
||||
margin-bottom: 14px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.author-card h3 {
|
||||
margin: 0 0 8px;
|
||||
color: #fff;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
|
||||
.author-card p {
|
||||
margin: 0 0 16px;
|
||||
font-size: 0.875rem;
|
||||
opacity: 0.92;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.author-card .social-row,
|
||||
.author-card .profile-social-links {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.profile-social-links {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.profile-social-links a,
|
||||
.social-icon-link {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: var(--radius-avatar);
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #fff;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.profile-social-links a i,
|
||||
.social-icon-link i {
|
||||
font-size: 18px;
|
||||
line-height: 1;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
.profile-social-links a:hover,
|
||||
.social-icon-link:hover {
|
||||
background: rgba(255, 255, 255, 0.35);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.widget_search .search-form {
|
||||
display: flex;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.widget_search label {
|
||||
position: absolute;
|
||||
left: 16px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
.widget_search .search-field {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
padding: 0 16px 0 44px;
|
||||
border-radius: var(--radius-btn);
|
||||
border: 1px solid var(--color-line);
|
||||
background: var(--surface-3);
|
||||
color: var(--color-ink);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.widget_search .search-field:focus {
|
||||
outline: none;
|
||||
border-color: var(--color-primary);
|
||||
box-shadow: 0 0 0 3px var(--color-primary-50);
|
||||
}
|
||||
|
||||
.widget_search .search-submit {
|
||||
position: absolute;
|
||||
right: 4px;
|
||||
top: 4px;
|
||||
height: 36px;
|
||||
padding: 0 14px;
|
||||
border-radius: 6px;
|
||||
border: none;
|
||||
background: var(--color-primary);
|
||||
color: #fff;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.widget-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.widget-list li {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid var(--color-line);
|
||||
font-size: 14px;
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
|
||||
.widget-list li:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.widget-list li a {
|
||||
flex: 1;
|
||||
transition: color 0.2s, padding 0.2s;
|
||||
}
|
||||
|
||||
.widget-list li a:hover {
|
||||
color: var(--color-primary);
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
.widget-list li span {
|
||||
color: var(--color-ink-4);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.widget_recent_entries li,
|
||||
.recent-posts-row {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
align-items: flex-start;
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
.widget_recent_entries li:last-child,
|
||||
.recent-posts-row:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.recent-posts-row img {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: var(--radius-btn);
|
||||
object-fit: cover;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tag-cloud {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.tag-cloud a {
|
||||
padding: 6px 12px;
|
||||
border-radius: var(--radius-pill);
|
||||
border: 1px solid var(--color-line);
|
||||
font-weight: 500;
|
||||
color: var(--color-ink-3);
|
||||
transition: background 0.2s, border-color 0.2s, color 0.2s;
|
||||
}
|
||||
|
||||
.tag-cloud a:hover {
|
||||
border-color: var(--color-primary);
|
||||
background: var(--color-primary);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.content-layout__aside .widget:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* 热榜文章小工具 — v4.0 Zibll-Inspired
|
||||
* ============================================================ */
|
||||
.widget-hot-posts {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.hot-post-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
.hot-post-item:last-child {
|
||||
border-bottom: none;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.hot-post-item:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.hot-post-item__rank {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
min-width: 22px;
|
||||
border-radius: 4px;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
background: var(--surface-3);
|
||||
color: var(--color-ink-4);
|
||||
@@ -1,312 +0,0 @@
|
||||
flex-shrink: 0;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
/* 前三名高亮 */
|
||||
.hot-post-item.rank-top .hot-post-item__rank {
|
||||
background: var(--color-primary);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.hot-post-item__info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.hot-post-item__title {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
color: var(--color-ink);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
transition: color 0.15s ease;
|
||||
}
|
||||
|
||||
.hot-post-item__title:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.hot-post-item__meta {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
font-size: 11px;
|
||||
color: var(--color-ink-4);
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.hot-post-item__meta span {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.hot-post-item__meta i {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* 多栏目 Tab 切换小工具 — v4.0 Zibll-Inspired
|
||||
* ============================================================ */
|
||||
.widget-tab-posts__nav {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
margin: 0 0 12px;
|
||||
padding: 0;
|
||||
gap: 2px;
|
||||
border-bottom: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
.widget-tab-posts__nav li {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.widget-tab-posts__tab {
|
||||
display: inline-block;
|
||||
padding: 6px 14px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: var(--color-ink-4);
|
||||
background: none;
|
||||
border: none;
|
||||
border-bottom: 2px solid transparent;
|
||||
cursor: pointer;
|
||||
transition: color 0.15s ease, border-color 0.15s ease;
|
||||
margin-bottom: -1px;
|
||||
}
|
||||
|
||||
.widget-tab-posts__tab:hover {
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.widget-tab-posts__tab.active {
|
||||
color: var(--color-primary);
|
||||
border-bottom-color: var(--color-primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.widget-tab-posts__panel {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.widget-tab-posts__panel.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.widget-tab-posts__list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.widget-tab-posts__item {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
padding: 8px 0;
|
||||
border-bottom: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
.widget-tab-posts__item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.widget-tab-posts__thumb {
|
||||
width: 56px;
|
||||
height: 42px;
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.widget-tab-posts__thumb img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.widget-tab-posts__info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.widget-tab-posts__title {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
color: var(--color-ink);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
transition: color 0.15s ease;
|
||||
}
|
||||
|
||||
.widget-tab-posts__title:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.widget-tab-posts__meta {
|
||||
font-size: 11px;
|
||||
color: var(--color-ink-4);
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .widget-tab-posts__list--mini,
|
||||
.aksrt-homepage__aside .aksrt-home-widget__sidebar-list {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .posts-mini {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
width: 100% !important;
|
||||
gap: 12px;
|
||||
padding: 10px 0;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .widget-tab-posts__list--mini .posts-mini + .posts-mini,
|
||||
.aksrt-homepage__aside .aksrt-home-widget__sidebar-list .posts-mini + .posts-mini {
|
||||
border-top: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .widget-tab-posts__list--mini .posts-mini:first-of-type,
|
||||
.aksrt-homepage__aside .aksrt-home-widget__sidebar-list .posts-mini:first-of-type {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .widget-tab-posts__list--mini .posts-mini:last-of-type,
|
||||
.aksrt-homepage__aside .aksrt-home-widget__sidebar-list .posts-mini:last-of-type {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .posts-mini-con {
|
||||
flex: auto;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .posts-mini .item-thumbnail {
|
||||
display: block;
|
||||
position: relative;
|
||||
flex: 0 0 96px;
|
||||
width: 96px;
|
||||
min-width: 96px;
|
||||
height: 0;
|
||||
padding-bottom: var(--posts-list-scale, 70%);
|
||||
border-radius: var(--radius, 8px);
|
||||
overflow: hidden;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .posts-mini .item-thumbnail img {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .posts-mini .item-heading {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
line-height: 1.45;
|
||||
max-height: 2.9em;
|
||||
overflow: hidden;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .posts-mini .item-heading a {
|
||||
color: var(--color-ink);
|
||||
text-decoration: none;
|
||||
transition: color 0.15s ease;
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .posts-mini .item-heading a:hover {
|
||||
color: var(--color-primary, var(--color-primary));
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .posts-mini .item-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin-top: 6px;
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .posts-mini .item-meta .meta-dot {
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
min-width: 3px;
|
||||
border-radius: 50%;
|
||||
background: currentColor;
|
||||
opacity: 0.55;
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .posts-mini .item-meta .meta-item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .posts-mini .item-meta i {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .widget-hot-posts--mini .hot-post-item {
|
||||
align-items: stretch;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .widget-hot-posts--mini .hot-post-item .posts-mini {
|
||||
flex: 1;
|
||||
align-items: flex-start;
|
||||
min-width: 0;
|
||||
width: auto !important;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .widget-hot-posts--mini .hot-post-item .posts-mini-con {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.aksrt-homepage__aside .widget-hot-posts--mini .hot-post-item__rank {
|
||||
margin-top: 2px;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.widget-empty {
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-4);
|
||||
padding: 16px 0;
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
|
||||
|
||||
.aksrt-null--widget {
|
||||
padding: 12px 0 !important;
|
||||
}
|
||||
.aksrt-null--widget .aksrt-null__img {
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
}
|
||||
.aksrt-null .separator {
|
||||
border: 0;
|
||||
}
|
||||
@@ -1,332 +0,0 @@
|
||||
* Homepage content widgets
|
||||
* ============================================================ */
|
||||
.aksrt-home-widget {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__header--tabs {
|
||||
align-items: flex-end;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__title {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
padding-left: 16px;
|
||||
color: var(--color-ink);
|
||||
font: 700 15px/1.4 var(--font-ui, var(--font-ui));
|
||||
}
|
||||
|
||||
.aksrt-home-widget__title::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 10%;
|
||||
bottom: 10%;
|
||||
left: 2px;
|
||||
width: 4px;
|
||||
border-radius: 5px;
|
||||
background: var(--color-primary);
|
||||
box-shadow: 1px 1px 3px -1px var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-home-widget__more {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 30px;
|
||||
padding: 0 12px;
|
||||
border-radius: 20px;
|
||||
background: var(--surface-3);
|
||||
color: var(--color-ink-3);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
transition: background 0.2s ease, color 0.2s ease;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__more:hover {
|
||||
background: var(--color-primary);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__footer {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__tab-nav.widget-tab-posts__nav {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
gap: 4px;
|
||||
border-bottom: 0;
|
||||
flex: 1 1 auto;
|
||||
justify-content: flex-end;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__tab-nav .widget-tab-posts__tab {
|
||||
padding: 5px 12px;
|
||||
margin-bottom: 0;
|
||||
border: 0;
|
||||
border-radius: 20px;
|
||||
background: var(--surface-3);
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
|
||||
.aksrt-home-widget__tab-nav .widget-tab-posts__tab:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-home-widget__tab-nav .widget-tab-posts__tab.active {
|
||||
background: var(--color-primary);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__post-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__post-grid--list {
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.aksrt-home-widget__post-grid--card,
|
||||
.aksrt-home-widget__post-grid--grid-cms {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.aksrt-home-widget__post-grid--card,
|
||||
.aksrt-home-widget__post-grid--grid-cms {
|
||||
grid-template-columns: repeat(var(--aksrt-widget-columns, 3), minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
.aksrt-home-widget__post-grid .posts-item.card {
|
||||
height: 100%;
|
||||
border: 1px solid var(--color-line);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__post-grid .posts-item.card:hover {
|
||||
transform: none;
|
||||
box-shadow: 0 0 10px var(--main-shadow, rgba(116, 116, 116, 0.08));
|
||||
}
|
||||
|
||||
/* Category block uses the unified renderer's .posts-row wrapper. Keep its card
|
||||
* layout horizontal and wrap according to the configured column count. */
|
||||
.zib-widget.widget_aksrt_category_block .posts-row.post-grid--card,
|
||||
.zib-widget[id^="aksrt_category_block-"] .posts-row.post-grid--card {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 16px;
|
||||
margin: 0;
|
||||
font-size: initial;
|
||||
}
|
||||
|
||||
.zib-widget.widget_aksrt_category_block .posts-row.post-grid--card > .posts-item.card,
|
||||
.zib-widget[id^="aksrt_category_block-"] .posts-row.post-grid--card > .posts-item.card {
|
||||
width: auto;
|
||||
display: block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.zib-widget.widget_aksrt_category_block .posts-row.post-grid--card,
|
||||
.zib-widget[id^="aksrt_category_block-"] .posts-row.post-grid--card {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.zib-widget.widget_aksrt_category_block .posts-row.post-grid--card,
|
||||
.zib-widget[id^="aksrt_category_block-"] .posts-row.post-grid--card {
|
||||
grid-template-columns: repeat(var(--aksrt-widget-columns, 3), minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
.aksrt-home-widget__post-grid .posts-item.list {
|
||||
border-bottom: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
.aksrt-home-widget__post-grid .posts-item.list:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__post-grid .item-heading {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__post-grid .item-tags {
|
||||
gap: 0;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__post-grid .item-tags .badge {
|
||||
margin-right: 5px;
|
||||
padding: 2px 5px;
|
||||
font-size: 11px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__post-grid .item-meta {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__sidebar-list {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__sidebar-list .widget-tab-posts__item:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.aksrt-category-recommend__grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.aksrt-category-recommend__grid {
|
||||
grid-template-columns: repeat(var(--aksrt-recommend-columns, 2), minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
background: var(--surface-page);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__card:hover {
|
||||
transform: none;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__hero {
|
||||
position: relative;
|
||||
aspect-ratio: 16 / 9;
|
||||
overflow: hidden;
|
||||
background: var(--surface-3);
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__hero > a {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__cover {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__card:hover .aksrt-category-recommend__cover {
|
||||
transform: scale(1.04);
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__badge,
|
||||
.aksrt-category-recommend__views {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
z-index: 2;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
min-height: 24px;
|
||||
padding: 0 9px;
|
||||
border-radius: 20px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: #fff;
|
||||
background: rgba(17, 24, 39, 0.72);
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__badge {
|
||||
left: 10px;
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__views {
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__body {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__meta {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__name {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__name a {
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__name a:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__desc {
|
||||
margin: 0;
|
||||
color: var(--color-ink-4);
|
||||
font-size: 13px;
|
||||
line-height: 1.55;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__posts {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-top: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__post {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
justify-content: space-between;
|
||||
@@ -1,95 +0,0 @@
|
||||
padding: 9px 0;
|
||||
border-bottom: 1px dashed var(--color-line);
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__post:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__post-link {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
font-size: 13px;
|
||||
line-height: 1.45;
|
||||
color: var(--color-ink);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__post-link:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-category-recommend__date {
|
||||
flex: 0 0 auto;
|
||||
color: var(--color-ink-4);
|
||||
font-size: 11px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
.aksrt-home-widget__header,
|
||||
.aksrt-home-widget__header--tabs {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.aksrt-home-widget__tab-nav.widget-tab-posts__nav {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* 流体挂件区(Fluid Widget Areas)
|
||||
* 模仿 zibll 的 all_top_fluid / single_top_fluid 等全宽挂载位
|
||||
* ============================================================ */
|
||||
.aksrt-fluid-widget {
|
||||
width: 100%;
|
||||
max-width: var(--container-wide, 1440px);
|
||||
margin: 0 auto;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.aksrt-fluid-widget {
|
||||
padding: 0 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.aksrt-fluid-widget .widget {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.aksrt-fluid-widget--all-top {
|
||||
padding-top: 16px;
|
||||
}
|
||||
|
||||
.aksrt-fluid-widget--all-bottom {
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
|
||||
.aksrt-fluid-widget--home-top {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.aksrt-fluid-widget--single-top {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.aksrt-fluid-widget--single-bottom {
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.aksrt-fluid-widget--archive-bottom {
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
/* 流体挂件区内无边框无背景(全宽展示) */
|
||||
.aksrt-fluid-widget .widget_custom_html {
|
||||
background: transparent;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user