mirror of
https://github.com/4cuck/teapawt.git
synced 2026-10-27 09:04:35 +00:00
Search and profiles were paying a new tunnel plus extra X hops on every hit; keep-alive, first-page SWR, and the example config document a reverse-proxied instance without committing live exits.
1246 lines
37 KiB
CSS
1246 lines
37 KiB
CSS
/* A quiet, information-first UI layer. This intentionally sits after the
|
|
component styles so older themes keep working without carrying their old
|
|
layout decisions forward. */
|
|
|
|
html body {
|
|
--page-width: 1040px;
|
|
--feed-width: 680px;
|
|
--sidebar-width: 300px;
|
|
--line: var(--border_grey);
|
|
--surface: var(--bg_panel);
|
|
--surface-raised: var(--bg_elements);
|
|
--text: var(--fg_color);
|
|
--muted: var(--fg_faded);
|
|
font-size: 15px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
*, *::before, *::after { box-sizing: border-box; }
|
|
|
|
:focus-visible {
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
a { color: var(--accent); }
|
|
|
|
nav {
|
|
height: 56px;
|
|
background: color-mix(in srgb, var(--bg_color) 92%, transparent);
|
|
/* border-bottom: 1px solid var(--line); */
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.inner-nav {
|
|
width: min(100%, var(--page-width));
|
|
flex-basis: var(--page-width);
|
|
height: 56px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
/* Compatibility with pages rendered by a server process started before the
|
|
brand markup changed. Its standalone centered logo otherwise consumes a
|
|
third flex column and crowds the controls. */
|
|
.inner-nav > a { display: none; }
|
|
|
|
.site-brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: var(--text);
|
|
min-width: 0;
|
|
}
|
|
|
|
.site-brand:hover { text-decoration: none; }
|
|
.site-logo { width: 40px; height: 28px; object-fit: contain; border-radius: 0; }
|
|
.site-name { color: var(--text); font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
|
|
.nav-item { height: 56px; line-height: normal; }
|
|
.nav-icon { width: 38px; height: 38px; border-radius: 6px; }
|
|
.nav-icon:hover { background: var(--bg_hover); color: var(--text); }
|
|
.inner-nav > .nav-item.right {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
overflow: visible;
|
|
gap: 2px;
|
|
}
|
|
.mobile-nav { display: none; }
|
|
.mobile-nav > summary {
|
|
display: grid;
|
|
width: 38px;
|
|
height: 38px;
|
|
place-items: center;
|
|
/* border: 1px solid var(--line); */
|
|
border-radius: 7px;
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
list-style: none;
|
|
}
|
|
.mobile-nav > summary::-webkit-details-marker { display: none; }
|
|
.mobile-nav[open] > summary { background: var(--bg_hover); color: var(--text); }
|
|
.mobile-nav-menu {
|
|
position: absolute;
|
|
z-index: 1100;
|
|
top: calc(100% + 7px);
|
|
right: 0;
|
|
display: grid;
|
|
width: 180px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--line);
|
|
border-radius: 9px;
|
|
background: var(--surface);
|
|
}
|
|
.mobile-nav-menu a {
|
|
display: grid;
|
|
grid-template-columns: 20px 1fr;
|
|
gap: 10px;
|
|
align-items: center;
|
|
min-height: 42px;
|
|
padding: 0 12px;
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
text-decoration: none;
|
|
}
|
|
.mobile-nav-menu a + a { border-top: 1px solid color-mix(in srgb, var(--line) 65%, transparent); }
|
|
.mobile-nav-menu a:hover { background: var(--bg_hover); }
|
|
.mobile-nav-menu a > :first-child { justify-self: center; }
|
|
|
|
main .container {
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
padding: 80px 20px 48px;
|
|
display: block;
|
|
}
|
|
|
|
/* The nitter search bar sits up into the old banner. Error pages have
|
|
no banner, so that pull-up hid the message under the fixed nav. */
|
|
.error-panel {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.timeline-container {
|
|
width: min(100%, var(--feed-width));
|
|
max-width: var(--feed-width);
|
|
padding: 0;
|
|
}
|
|
|
|
.timeline {
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
background: var(--surface);
|
|
animation: none;
|
|
}
|
|
|
|
.timeline > div:not(:first-child) { border-top: 1px solid var(--line); }
|
|
.timeline-item {
|
|
padding: 16px;
|
|
background: var(--surface);
|
|
animation: none;
|
|
transition: background-color .12s ease;
|
|
}
|
|
.timeline-item:hover { background: var(--bg_hover); }
|
|
.timeline-item:active { background: var(--bg_overlays); }
|
|
|
|
.tweet-body { margin-left: 60px; }
|
|
.tweet-avatar img { width: 46px; height: 46px; margin-left: -60px; object-fit: cover; }
|
|
.tweet-header { margin-bottom: 5px; }
|
|
.tweet-name-row { gap: 10px; align-items: center; }
|
|
.fullname-and-username { align-items: center; min-width: 0; line-height: 20px; }
|
|
.fullname { display: inline-flex; align-items: center; color: var(--text); font-weight: 650; line-height: 20px; }
|
|
.username { display: inline-flex; align-items: center; line-height: 20px; }
|
|
.tweet-date { align-items: center; line-height: 20px; }
|
|
.username, .tweet-date a, .replying-to { color: var(--muted); }
|
|
.verified-icon {
|
|
display: inline-flex;
|
|
width: 15px;
|
|
height: 15px;
|
|
flex: 0 0 15px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 0 0 3px;
|
|
vertical-align: middle;
|
|
}
|
|
.verified-icon svg { display: block; width: 15px; height: 15px; fill: currentColor; }
|
|
.verified-icon.blue { color: var(--verified_blue); }
|
|
.verified-icon.business { color: var(--verified_business); }
|
|
.verified-icon.government { color: var(--verified_government); }
|
|
.tweet-content { color: var(--text); line-height: 1.5; }
|
|
.tweet-stats { margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
|
|
.retweet-header, .pinned { color: var(--muted); font-size: 13px; }
|
|
.tweet-link:hover { background: transparent; }
|
|
.tweet-account-trigger {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex: 0 1 auto;
|
|
min-width: 0;
|
|
margin-left: 6px;
|
|
pointer-events: all;
|
|
}
|
|
.tweet-account-trigger[open] { z-index: 90; }
|
|
.timeline-item:has(.tweet-account-trigger[open]) {
|
|
z-index: 95;
|
|
overflow: visible;
|
|
}
|
|
.timeline-item:has(.tweet-account-trigger[open]) .tweet-body { z-index: 96; }
|
|
.tweet-account-trigger > summary { list-style: none; }
|
|
.tweet-account-trigger > summary::-webkit-details-marker { display: none; }
|
|
.tweet-account-location {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
max-width: 120px;
|
|
padding: 3px 7px;
|
|
overflow: hidden;
|
|
border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
|
|
border-radius: 999px;
|
|
background: color-mix(in srgb, var(--accent) 7%, transparent);
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
font-size: 10px;
|
|
font-weight: 650;
|
|
line-height: 1;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.tweet-account-location:hover { color: var(--text); border-color: var(--accent); }
|
|
.tweet-account-location .account-signal-dot { width: 5px; height: 5px; flex-basis: 5px; }
|
|
.tweet-account-warning { color: var(--tp-accent-red); font-weight: 800; }
|
|
.tweet-account-popover {
|
|
position: absolute;
|
|
z-index: 90;
|
|
top: calc(100% + 7px);
|
|
left: 0;
|
|
display: grid;
|
|
width: 250px;
|
|
max-width: calc(100vw - 32px);
|
|
gap: 6px;
|
|
padding: 12px;
|
|
border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
|
|
border-radius: 8px;
|
|
background: var(--bg_color);
|
|
box-shadow: 0 16px 38px var(--shadow_dark);
|
|
color: var(--text);
|
|
font-size: 11px;
|
|
line-height: 1.4;
|
|
}
|
|
.tweet-account-popover > span:not(.account-context-kicker) { color: var(--muted); }
|
|
.tweet-account-popover .tweet-account-popover-warning { color: var(--tp-accent-red); }
|
|
.tweet-account-popover small { padding-top: 6px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
|
|
|
|
.attachments, .quote, .card, .poll, .community-note { border-radius: 8px; }
|
|
.still-image { cursor: zoom-in; }
|
|
.image-lightbox {
|
|
position: fixed;
|
|
inset: 0;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
max-width: none;
|
|
height: 100%;
|
|
max-height: none;
|
|
margin: 0;
|
|
padding: 18px;
|
|
overflow: hidden;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--text);
|
|
}
|
|
.image-lightbox::backdrop { background: rgba(5, 5, 7, .88); backdrop-filter: blur(5px); }
|
|
.image-lightbox-frame {
|
|
position: relative;
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
padding: 0 54px 42px;
|
|
box-sizing: border-box;
|
|
}
|
|
.image-lightbox-image {
|
|
display: block;
|
|
width: auto;
|
|
height: auto;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
max-width: calc(100vw - 144px);
|
|
max-height: calc(100vh - 84px);
|
|
object-fit: contain;
|
|
border-radius: 7px;
|
|
}
|
|
.image-lightbox-close,
|
|
.image-lightbox-nav {
|
|
z-index: 1;
|
|
display: grid;
|
|
width: 30px;
|
|
height: 30px;
|
|
min-height: 0;
|
|
place-items: center;
|
|
padding: 0;
|
|
border: 1px solid rgba(255,255,255,.18);
|
|
border-radius: 50%;
|
|
background: rgba(20,20,23,.84);
|
|
color: #fff;
|
|
font-size: 18px;
|
|
}
|
|
.image-lightbox-close {
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 5px;
|
|
font-size: 0;
|
|
}
|
|
.image-lightbox-close::before,
|
|
.image-lightbox-close::after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 11px;
|
|
height: 1.5px;
|
|
border-radius: 1px;
|
|
background: currentColor;
|
|
}
|
|
.image-lightbox-close::before { transform: rotate(45deg); }
|
|
.image-lightbox-close::after { transform: rotate(-45deg); }
|
|
.image-lightbox-prev { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
|
|
.image-lightbox-next { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
|
|
.image-lightbox-footer {
|
|
position: absolute;
|
|
right: 54px;
|
|
bottom: 4px;
|
|
left: 54px;
|
|
display: flex;
|
|
gap: 16px;
|
|
justify-content: center;
|
|
min-width: 0;
|
|
padding-top: 10px;
|
|
font-size: 12px;
|
|
}
|
|
.image-lightbox-caption { overflow: hidden; color: #bbb; text-overflow: ellipsis; white-space: nowrap; }
|
|
.image-lightbox-original { flex: 0 0 auto; }
|
|
@media (max-width: 600px) {
|
|
.image-lightbox { padding: 10px; }
|
|
.image-lightbox-frame { padding: 0 38px 38px; }
|
|
.image-lightbox-nav { width: 28px; height: 28px; font-size: 17px; }
|
|
.image-lightbox-close { width: 30px; height: 30px; }
|
|
.image-lightbox-image { max-width: calc(100vw - 96px); max-height: calc(100vh - 68px); }
|
|
.image-lightbox-footer { right: 38px; left: 38px; }
|
|
}
|
|
|
|
.tab {
|
|
position: sticky;
|
|
top: 56px;
|
|
z-index: 20;
|
|
margin: 0 0 12px;
|
|
background: color-mix(in srgb, var(--bg_color) 94%, transparent);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
.tab-item a { padding: 11px 12px 9px; font-size: 13px; }
|
|
.tab-item a.active, .tab-item.active a { border-bottom-color: var(--accent); color: var(--text); }
|
|
|
|
/* Profile tabs sit directly above a bordered feed. A translucent rounded
|
|
frame lets the feed's side rails show through while scrolling, producing
|
|
awkward intersecting lines. Keep this navigation visually flat and opaque. */
|
|
.profile-tabs .tab {
|
|
isolation: isolate;
|
|
border: 0;
|
|
border-bottom: 1px solid var(--line);
|
|
border-radius: 0;
|
|
background: var(--bg_color);
|
|
backdrop-filter: none;
|
|
box-shadow: 0 -10px 0 10px var(--bg_color), 0 8px 12px -12px var(--shadow_dark);
|
|
}
|
|
|
|
.timeline-header { margin-bottom: 12px; text-align: left; }
|
|
.timeline-none, .timeline-protected, .timeline-end {
|
|
margin: 0;
|
|
padding: 28px 20px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--surface);
|
|
color: var(--muted);
|
|
font-size: 15px;
|
|
box-shadow: none;
|
|
}
|
|
.timeline-footer { padding: 0; margin-top: 12px; background: transparent; }
|
|
.timeline .timeline-footer {
|
|
margin: 0;
|
|
border-radius: 0;
|
|
}
|
|
.timeline .timeline-end {
|
|
margin: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
}
|
|
.timeline .top-ref {
|
|
border-radius: 0 0 7px 7px;
|
|
}
|
|
.show-more { padding: 0; }
|
|
.show-more a { display: block; padding: 14px; color: var(--accent); }
|
|
|
|
.profile-tabs {
|
|
width: min(100%, var(--page-width));
|
|
max-width: var(--page-width);
|
|
margin: 0 auto;
|
|
padding: 0;
|
|
display: grid;
|
|
grid-template-columns: var(--sidebar-width) minmax(0, var(--feed-width));
|
|
gap: 28px;
|
|
align-items: start;
|
|
}
|
|
.profile-tab { min-width: 0; }
|
|
.profile-tab.sticky {
|
|
position: sticky;
|
|
top: 76px;
|
|
max-height: none;
|
|
overflow: visible;
|
|
}
|
|
.profile-tabs > .profile-tab:has(.account-context-trigger[open]) { z-index: 100; }
|
|
.profile-tabs > .profile-tab:not(.sticky):has(.account-context-trigger[open]) { position: relative; }
|
|
.profile-banner { border: 1px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0; overflow: hidden; }
|
|
.profile-banner img { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
|
|
.profile-card {
|
|
padding: 18px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--surface);
|
|
box-shadow: none;
|
|
}
|
|
.profile-banner + .profile-card { border-radius: 0 0 8px 8px; }
|
|
.profile-card:hover { box-shadow: none; }
|
|
.profile-card-info { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; overflow: visible; }
|
|
.profile-card-avatar { width: 64px; height: 64px; margin: 0; }
|
|
.profile-card-avatar::after { display: none; }
|
|
.profile-card-avatar img { position: static; width: 64px; height: 64px; object-fit: cover; }
|
|
.profile-card-tabs-name { margin: 0; overflow: visible; }
|
|
.profile-card-fullname { font-family: inherit; font-size: 19px; font-weight: 700; }
|
|
.profile-card-username { font-size: 14px; }
|
|
.account-context-trigger {
|
|
position: relative;
|
|
display: block;
|
|
width: fit-content;
|
|
max-width: 100%;
|
|
margin: 5px 0;
|
|
}
|
|
.account-context-trigger[open] { z-index: 81; }
|
|
.account-context-trigger > summary { list-style: none; cursor: pointer; }
|
|
.account-context-trigger > summary::-webkit-details-marker { display: none; }
|
|
.account-signal {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
width: auto;
|
|
max-width: 100%;
|
|
min-height: 0;
|
|
padding: 3px 0;
|
|
overflow: hidden;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: var(--text);
|
|
font-size: 11px;
|
|
font-weight: 650;
|
|
line-height: 1;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.account-signal-info,
|
|
.account-signal-location {
|
|
display: inline-grid;
|
|
width: 14px;
|
|
height: 14px;
|
|
flex: 0 0 14px;
|
|
place-items: center;
|
|
border: 1px solid var(--accent);
|
|
border-radius: 50%;
|
|
color: var(--accent);
|
|
font-family: ui-monospace, monospace;
|
|
font-size: 8px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
.account-signal-location::before {
|
|
content: "i";
|
|
font-family: ui-monospace, monospace;
|
|
}
|
|
.account-signal strong { color: var(--text); font-size: 10px; font-weight: 600; }
|
|
.account-signal-warning { color: var(--verified_business); font-weight: 800; }
|
|
.account-signal-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
flex: 0 0 6px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent);
|
|
}
|
|
.profile-card-extra { display: block; }
|
|
.profile-card-extra .profile-bio { margin: 16px 0 12px; font-size: 14px; }
|
|
.profile-card-extra-links { margin-top: 14px; padding-top: 12px; }
|
|
.profile-statlist {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 8px;
|
|
width: 100%;
|
|
}
|
|
.profile-statlist li { min-width: 0; padding: 0; overflow: hidden; }
|
|
.profile-statlist li:hover { background: transparent; }
|
|
.profile-stat-header { overflow: hidden; font-size: 11px; text-overflow: ellipsis; }
|
|
.profile-stat-num { font-size: 15px; white-space: nowrap; }
|
|
.account-context {
|
|
position: absolute;
|
|
z-index: 80;
|
|
top: calc(100% + 8px);
|
|
left: 0;
|
|
width: 290px;
|
|
max-width: calc(100vw - 32px);
|
|
margin: 0;
|
|
overflow: hidden;
|
|
border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
|
|
border-radius: 8px;
|
|
background: var(--bg_color);
|
|
box-shadow: 0 18px 45px var(--shadow_dark);
|
|
}
|
|
.account-context::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0 auto 0 0;
|
|
width: 2px;
|
|
background: var(--accent);
|
|
}
|
|
.account-context-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 13px 14px 11px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.account-context-kicker {
|
|
display: block;
|
|
margin-bottom: 2px;
|
|
color: var(--accent);
|
|
font-size: 9px;
|
|
font-weight: 750;
|
|
letter-spacing: .12em;
|
|
text-transform: uppercase;
|
|
}
|
|
.account-context h3 { margin: 0; color: var(--text); font-size: 13px; font-weight: 700; }
|
|
.account-context-mark {
|
|
display: grid;
|
|
width: 22px;
|
|
height: 22px;
|
|
place-items: center;
|
|
border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
|
|
border-radius: 50%;
|
|
color: var(--accent);
|
|
font-family: ui-monospace, monospace;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
}
|
|
.account-context dl { margin: 0; }
|
|
.account-context-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
|
|
gap: 12px;
|
|
padding: 10px 14px;
|
|
}
|
|
.account-context-row + .account-context-row { border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
|
|
.account-context dt { color: var(--muted); font-size: 11px; }
|
|
.account-context dd { margin: 0; color: var(--text); font-size: 11px; font-weight: 650; text-align: right; overflow-wrap: anywhere; }
|
|
.account-context-warning {
|
|
display: flex;
|
|
gap: 7px;
|
|
margin: 0;
|
|
padding: 9px 14px;
|
|
border-top: 1px solid color-mix(in srgb, var(--tp-accent-red) 55%, var(--line));
|
|
background: color-mix(in srgb, var(--tp-accent-red) 13%, var(--bg_color));
|
|
color: var(--text);
|
|
font-size: 10px;
|
|
}
|
|
.account-context-warning span { color: var(--tp-accent-red); font-weight: 800; }
|
|
.account-context-note {
|
|
margin: 0;
|
|
padding: 10px 14px;
|
|
border-top: 1px solid var(--line);
|
|
color: var(--muted);
|
|
font-size: 9px;
|
|
line-height: 1.45;
|
|
}
|
|
.photo-rail-card {
|
|
clear: both;
|
|
margin-top: 14px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--surface);
|
|
overflow: hidden;
|
|
}
|
|
.photo-rail-header {
|
|
min-height: 46px;
|
|
padding: 10px 12px;
|
|
}
|
|
.photo-rail-header a {
|
|
width: 100%;
|
|
gap: 8px;
|
|
}
|
|
.photo-rail-media-badge {
|
|
position: static;
|
|
min-width: 0;
|
|
height: 22px;
|
|
margin-left: auto;
|
|
padding: 0 8px;
|
|
border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
|
|
border-radius: 999px;
|
|
background: color-mix(in srgb, var(--accent) 9%, transparent);
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
font-weight: 650;
|
|
}
|
|
.photo-rail-icon-wrap {
|
|
width: 26px;
|
|
height: 26px;
|
|
flex: 0 0 26px;
|
|
border-radius: 6px;
|
|
background: color-mix(in srgb, var(--accent) 10%, transparent);
|
|
white-space: nowrap;
|
|
}
|
|
/* Keep the header usable while an older server process is still emitting the
|
|
pre-redesign markup with the count nested inside the icon wrapper. */
|
|
.photo-rail-icon-wrap:has(.photo-rail-media-badge) { display: contents; }
|
|
.photo-rail-header a > .photo-rail-icon-wrap:has(.photo-rail-media-badge) .photo-rail-media-icon,
|
|
.photo-rail-header-mobile-inner > .photo-rail-icon-wrap:has(.photo-rail-media-badge) .photo-rail-media-icon {
|
|
order: 1;
|
|
display: grid;
|
|
width: 26px;
|
|
height: 26px;
|
|
place-items: center;
|
|
border-radius: 6px;
|
|
background: color-mix(in srgb, var(--accent) 10%, transparent);
|
|
}
|
|
.photo-rail-header a > .photo-rail-media-label,
|
|
.photo-rail-header-mobile-inner > span:nth-child(2) { order: 2; }
|
|
.photo-rail-header a > .photo-rail-icon-wrap,
|
|
.photo-rail-header-mobile-inner > .photo-rail-icon-wrap { order: 1; }
|
|
.photo-rail-header a > .photo-rail-media-badge,
|
|
.photo-rail-header-mobile-inner > .photo-rail-media-badge { order: 3; }
|
|
.photo-rail-icon-wrap:has(.photo-rail-media-badge) .photo-rail-media-badge { order: 3; margin-left: auto; }
|
|
.photo-rail-media-icon { color: var(--accent); font-size: 14px !important; }
|
|
.photo-rail-media-label { color: var(--text); font-size: 13px; font-weight: 700; }
|
|
.photo-rail-header-mobile-inner { width: auto; flex: 1; }
|
|
.photo-rail-header-mobile-inner > span:nth-child(2) { color: var(--text); font-size: 13px; }
|
|
.photo-rail-header-mobile { gap: 12px; padding-right: 14px; }
|
|
.photo-rail-header-mobile > [class*="icon-"] {
|
|
flex: 0 0 16px;
|
|
width: 16px;
|
|
margin: 0;
|
|
text-align: center;
|
|
}
|
|
.photo-rail-grid { gap: 2px; }
|
|
|
|
button, input[type="text"], input[type="date"], input[type="number"], select {
|
|
min-height: 40px;
|
|
border-radius: 6px;
|
|
font: inherit;
|
|
}
|
|
button {
|
|
padding: 9px 14px;
|
|
background: var(--accent);
|
|
color: var(--icon_text);
|
|
font-weight: 650;
|
|
}
|
|
button:hover { background: var(--accent_light); color: var(--icon_text); }
|
|
input[type="text"], input[type="date"], input[type="number"], select {
|
|
background: var(--bg_color);
|
|
border: 1px solid var(--line);
|
|
color: var(--text);
|
|
box-shadow: none;
|
|
}
|
|
.search-field { gap: 8px; }
|
|
.search-field input[type="text"], .search-field input[type="number"] { height: 40px; background: var(--bg_color); border-color: var(--line); }
|
|
.search-field button { height: 40px; box-shadow: none; }
|
|
.search-field > label { min-height: 40px; padding: 9px 14px; border-radius: 6px; background: var(--surface); }
|
|
/* .search-panel { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); } */
|
|
.search-field #search-panel-toggle:checked ~ .search-panel {
|
|
max-height: 2000px !important;
|
|
overflow: visible;
|
|
}
|
|
.search-toggles { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 4px 12px; }
|
|
|
|
.search-results > .timeline-header { padding: 0; margin: 0 0 12px; }
|
|
.search-results > .timeline-header .search-field {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 42px 42px;
|
|
gap: 8px;
|
|
padding: 8px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
background: var(--surface);
|
|
}
|
|
.search-results > .timeline-header .user-search-field { grid-template-columns: minmax(0, 1fr) 42px; }
|
|
.search-results .search-field > .pref-input { padding: 0; }
|
|
.search-results .search-field input[type="text"] {
|
|
height: 42px;
|
|
padding: 0 12px;
|
|
border: 0;
|
|
background: transparent;
|
|
}
|
|
.search-results .search-field input[type="text"]:focus { box-shadow: none; }
|
|
.search-results .search-field button {
|
|
width: 42px;
|
|
height: 42px;
|
|
min-height: 42px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: var(--accent);
|
|
color: var(--icon_text);
|
|
box-shadow: none;
|
|
}
|
|
.search-results .search-field button:hover { background: var(--accent_light); }
|
|
.search-results .search-field > label {
|
|
width: 42px;
|
|
height: 42px;
|
|
min-height: 42px;
|
|
padding: 0;
|
|
justify-content: center;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--bg_color);
|
|
}
|
|
.search-results .tab { margin-bottom: 12px; }
|
|
.search-results .tab {
|
|
top: 64px;
|
|
background: var(--bg_color);
|
|
backdrop-filter: none;
|
|
box-shadow: 0 -8px 0 var(--bg_color);
|
|
}
|
|
.search-results > .timeline { border: 0; background: transparent; }
|
|
.search-results .search-empty {
|
|
padding: 44px 20px;
|
|
border: 0;
|
|
color: var(--muted);
|
|
text-align: center;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.search-results .search-panel {
|
|
grid-column: 1 / -1;
|
|
margin: 0;
|
|
border: 0;
|
|
/* border-top: 1px solid var(--line); */
|
|
border-radius: 0;
|
|
background: transparent;
|
|
}
|
|
.search-results .search-field #search-panel-toggle:checked ~ .search-panel {
|
|
max-height: 2000px !important;
|
|
overflow: visible;
|
|
}
|
|
.search-filter-groups {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
padding: 16px 8px 8px;
|
|
}
|
|
.search-filter-group {
|
|
margin: 0;
|
|
padding: 14px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--bg_color);
|
|
}
|
|
.search-filter-group legend {
|
|
width: auto;
|
|
margin: 0;
|
|
padding: 0 6px;
|
|
border: 0;
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
.search-filter-group > p { margin: 0 0 10px; color: var(--muted); font-size: 11px; }
|
|
.search-filter-group .search-toggles {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 5px;
|
|
}
|
|
.search-filter-group .checkbox-container {
|
|
min-height: 34px;
|
|
margin: 0;
|
|
padding: 8px 8px 8px 30px;
|
|
border-radius: 6px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
}
|
|
.search-filter-group .checkbox-container:hover { color: var(--text); }
|
|
.search-filter-group .checkbox {
|
|
left: 8px;
|
|
right: auto;
|
|
width: 15px;
|
|
height: 15px;
|
|
border-width: 1px;
|
|
}
|
|
.search-filter-group .checkbox-container .checkbox::after { top: 50%; }
|
|
.search-results .search-row {
|
|
margin: 8px;
|
|
padding: 16px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--bg_color);
|
|
}
|
|
.search-results .search-row .search-title { margin-bottom: 7px; color: var(--muted); font-size: 12px; }
|
|
.search-panel .search-row > div { display: flex; flex-direction: column; }
|
|
.search-panel .search-row .pref-group.pref-input { margin: 0; padding: 0; }
|
|
.search-panel .search-row .pref-group.pref-input input { margin-top: 0; }
|
|
|
|
.landing-page {
|
|
width: min(100%, 760px);
|
|
min-height: calc(100vh - 128px);
|
|
margin: 0 auto;
|
|
padding: clamp(70px, 14vh, 150px) 24px 80px;
|
|
text-align: center;
|
|
}
|
|
.landing-copy { max-width: 650px; margin: 0 auto; }
|
|
.landing-kicker {
|
|
display: inline-block;
|
|
margin-bottom: 16px;
|
|
color: var(--accent);
|
|
font-size: 12px;
|
|
font-weight: 750;
|
|
letter-spacing: .12em;
|
|
text-transform: uppercase;
|
|
}
|
|
.landing-copy h1 {
|
|
display: block;
|
|
margin: 0;
|
|
color: var(--text);
|
|
font-size: clamp(34px, 6vw, 58px);
|
|
font-weight: 760;
|
|
letter-spacing: -.045em;
|
|
line-height: 1.02;
|
|
}
|
|
.landing-copy p {
|
|
max-width: 520px;
|
|
margin: 20px auto 0;
|
|
color: var(--muted);
|
|
font-size: clamp(15px, 2vw, 18px);
|
|
}
|
|
.landing-search { max-width: 650px; margin: 40px auto 0; }
|
|
.landing-search form {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-height: 62px;
|
|
padding: 8px 8px 8px 18px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 12px;
|
|
background: var(--surface);
|
|
box-shadow: 0 18px 50px color-mix(in srgb, var(--shadow_dark) 45%, transparent);
|
|
}
|
|
.landing-search form:focus-within {
|
|
border-color: color-mix(in srgb, var(--accent) 65%, var(--line));
|
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent), 0 18px 50px color-mix(in srgb, var(--shadow_dark) 45%, transparent);
|
|
}
|
|
.landing-search-icon { color: var(--muted); font-size: 16px; }
|
|
.landing-search input[type="text"] {
|
|
width: 100%;
|
|
min-height: 44px;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
color: var(--text);
|
|
font-size: 16px;
|
|
}
|
|
.landing-search input[type="text"]:focus { outline: 0; box-shadow: none; }
|
|
.landing-search button { min-width: 104px; min-height: 46px; border-radius: 8px; }
|
|
.landing-hint { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
|
|
|
|
.preferences-panel {
|
|
position: relative;
|
|
max-width: 720px;
|
|
margin: 0 auto;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--surface);
|
|
box-shadow: none;
|
|
}
|
|
.preferences-header { padding: 24px 24px 8px; color: var(--text); }
|
|
.preferences-header h2 { color: var(--text); }
|
|
.preferences-form { padding: 16px 24px 0; }
|
|
.pref-section { margin-bottom: 28px; }
|
|
.pref-section legend { color: var(--text); font-size: 15px; }
|
|
.checkbox-container { padding: 10px 40px 10px 8px; }
|
|
.pref-grid .pref-group:hover, .checkbox-container:hover { background: var(--bg_hover); }
|
|
.preferences-actions { background: var(--bg_color); }
|
|
.preferences-footer-note { background: transparent; }
|
|
|
|
@media (max-width: 760px) {
|
|
main .container { padding: 68px 0 32px; }
|
|
.inner-nav { padding: 0 12px; }
|
|
.site-name { display: none; }
|
|
.nav-icon { width: 32px; height: 32px; }
|
|
.profile-tabs { display: block; }
|
|
.profile-tab, .profile-tab.sticky { position: static; margin-bottom: 12px; }
|
|
.profile-banner, .profile-card, .photo-rail-card, .tab, .timeline, .timeline-none, .timeline-protected, .timeline-end, .preferences-panel { border-left: 0; border-right: 0; border-radius: 0; }
|
|
.profile-banner + .profile-card { border-radius: 0; }
|
|
.timeline-item { padding: 14px 12px; }
|
|
.tab { top: 56px; margin-left: 0; margin-right: 0; }
|
|
.timeline-header { padding: 0 12px; }
|
|
.search-panel { border-radius: 0; }
|
|
.preferences-panel { max-width: none; margin: 0; }
|
|
.landing-page { min-height: calc(100vh - 100px); padding: 70px 20px 48px; }
|
|
.landing-search { margin-top: 30px; }
|
|
.landing-search form { grid-template-columns: auto minmax(0, 1fr); padding: 8px 14px; }
|
|
.landing-search button { grid-column: 1 / -1; width: 100%; }
|
|
.search-filter-groups { grid-template-columns: 1fr; }
|
|
.search-results .search-field #search-panel-toggle:checked ~ .search-panel { max-height: 3000px !important; }
|
|
.search-field #search-panel-toggle:checked ~ .search-panel { max-height: 3000px !important; }
|
|
}
|
|
|
|
@media (max-width: 430px) {
|
|
.search-filter-group .search-toggles { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
|
|
}
|
|
|
|
/* Conversation paths ----------------------------------------------------- */
|
|
|
|
/* The old connector participated in flex layout, which made long threads
|
|
look like a scrollbar and could squeeze the actual post into a sliver. */
|
|
.thread-line .timeline-item::before,
|
|
.thread-line.timeline-item::before,
|
|
.thread-line .with-header::after {
|
|
content: none;
|
|
display: none;
|
|
}
|
|
|
|
.thread-line {
|
|
position: relative;
|
|
background: var(--surface);
|
|
}
|
|
|
|
.timeline > .thread-line {
|
|
margin: 10px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 6%, var(--surface)), var(--surface) 42%);
|
|
}
|
|
|
|
.timeline > .thread-line > .timeline-item {
|
|
border: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.timeline > .thread-line > .timeline-item + .timeline-item {
|
|
border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
|
|
}
|
|
|
|
.thread-line .timeline-item.thread {
|
|
position: relative;
|
|
padding-left: 18px;
|
|
}
|
|
|
|
/* A connector anchored to the avatars communicates author → reply without
|
|
becoming a second scrollbar. */
|
|
.thread-line .timeline-item.thread:not(.thread-last)::after {
|
|
content: "";
|
|
position: absolute;
|
|
z-index: 2;
|
|
left: 40px;
|
|
top: 62px;
|
|
bottom: -15px;
|
|
width: 2px;
|
|
border-radius: 2px;
|
|
background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 35%, var(--line)));
|
|
pointer-events: none;
|
|
}
|
|
|
|
.thread-line .timeline-item.thread .tweet-avatar img {
|
|
position: relative;
|
|
z-index: 3;
|
|
outline: 3px solid var(--surface);
|
|
box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, var(--line));
|
|
}
|
|
|
|
.thread-line .timeline-item.thread:not(.thread-first) .tweet-header::before {
|
|
content: "reply";
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 18px;
|
|
margin: 0 7px 4px 0;
|
|
padding: 0 6px;
|
|
border-radius: 999px;
|
|
background: color-mix(in srgb, var(--accent) 13%, transparent);
|
|
color: var(--accent);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: .06em;
|
|
text-transform: uppercase;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.thread-line .timeline-item.thread:not(.thread-first) .tweet-name-row {
|
|
display: inline-flex;
|
|
width: calc(100% - 48px);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.thread-line .more-replies-thread {
|
|
min-height: 38px;
|
|
padding: 4px 14px 4px 58px;
|
|
background: color-mix(in srgb, var(--accent) 7%, var(--surface));
|
|
}
|
|
|
|
.thread-line .more-replies-thread .more-replies-text {
|
|
margin: 0;
|
|
padding: 7px 0;
|
|
color: var(--accent);
|
|
font-size: 12px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.thread-line .more-replies-thread .more-replies-text::before {
|
|
content: "···";
|
|
margin-right: 8px;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
.conversation { width: min(100%, var(--feed-width)); max-width: var(--feed-width); }
|
|
.thread-context-bar {
|
|
position: sticky;
|
|
z-index: 45;
|
|
top: 64px;
|
|
display: block;
|
|
height: 0;
|
|
margin: 0;
|
|
overflow: visible;
|
|
}
|
|
.thread-context-link {
|
|
display: grid;
|
|
grid-template-columns: 28px minmax(0, 1fr);
|
|
gap: 9px;
|
|
min-height: 0;
|
|
margin: 0 10px;
|
|
padding: 8px 12px;
|
|
border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
|
|
border-radius: 9px;
|
|
background: color-mix(in srgb, var(--bg_color) 96%, var(--accent));
|
|
box-shadow: none;
|
|
color: inherit;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
text-decoration: none;
|
|
transform: translateY(-6px);
|
|
transition: opacity .16s ease, transform .16s ease;
|
|
visibility: hidden;
|
|
}
|
|
.thread-context-avatar {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 6px;
|
|
object-fit: cover;
|
|
}
|
|
.thread-context-copy { min-width: 0; }
|
|
.thread-context-author {
|
|
display: block;
|
|
overflow: hidden;
|
|
margin-bottom: 1px;
|
|
color: var(--text);
|
|
font-size: 11px;
|
|
line-height: 13px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.thread-context-bar.is-visible .thread-context-link {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
transform: translateY(0);
|
|
visibility: visible;
|
|
}
|
|
.thread-context-link:hover { text-decoration: none; }
|
|
.thread-context-text {
|
|
display: -webkit-box;
|
|
overflow: hidden;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
}
|
|
.thread-context-link:hover .thread-context-text { color: var(--text); }
|
|
.main-tweet:target .timeline-item {
|
|
animation: context-destination 1.1s ease-out;
|
|
}
|
|
@keyframes context-destination {
|
|
0%, 25% { box-shadow: inset 3px 0 0 var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
|
|
100% { box-shadow: inset 3px 0 0 transparent; background: var(--surface); }
|
|
}
|
|
.main-thread, .reply {
|
|
overflow: visible;
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
background: var(--surface);
|
|
}
|
|
.main-thread > :first-child,
|
|
.main-thread > :first-child > .timeline-item:first-child,
|
|
.reply > .timeline-item:first-child {
|
|
border-radius: 9px 9px 0 0;
|
|
}
|
|
.main-thread > :last-child,
|
|
.main-thread > :last-child > .timeline-item:last-child,
|
|
.reply > .timeline-item:last-child {
|
|
border-radius: 0 0 9px 9px;
|
|
}
|
|
.main-thread > :only-child,
|
|
.main-thread > :only-child > .timeline-item:only-child,
|
|
.reply > .timeline-item:only-child {
|
|
border-radius: 9px;
|
|
}
|
|
.main-thread { margin-bottom: 16px; border-top: 3px solid var(--accent); }
|
|
.reply { margin-bottom: 14px; }
|
|
.conversation .replies > .show-more {
|
|
display: flex !important;
|
|
justify-content: center;
|
|
margin: 18px 0 24px;
|
|
padding: 0;
|
|
background: transparent;
|
|
}
|
|
.conversation .replies > .show-more a {
|
|
display: inline-flex;
|
|
width: auto;
|
|
min-height: 36px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 13px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
background: var(--surface);
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 650;
|
|
line-height: 18px;
|
|
}
|
|
.conversation .replies > .show-more a::after {
|
|
content: "";
|
|
width: 6px;
|
|
height: 6px;
|
|
border-right: 1.5px solid var(--accent);
|
|
border-bottom: 1.5px solid var(--accent);
|
|
transform: rotate(45deg) translateY(-1px);
|
|
}
|
|
.conversation .replies > .show-more a:hover {
|
|
border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
|
|
background: var(--bg_hover);
|
|
color: var(--text);
|
|
text-decoration: none;
|
|
}
|
|
.conversation > .timeline-item.show-more {
|
|
display: flex !important;
|
|
justify-content: center;
|
|
margin: -2px 0 14px;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
}
|
|
.conversation > .timeline-item.show-more a {
|
|
display: inline-flex;
|
|
width: auto;
|
|
min-height: 34px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 7px 13px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
background: var(--surface);
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 650;
|
|
}
|
|
.conversation > .timeline-item.show-more a::before {
|
|
content: "";
|
|
width: 6px;
|
|
height: 6px;
|
|
border-right: 1.5px solid var(--accent);
|
|
border-bottom: 1.5px solid var(--accent);
|
|
transform: rotate(225deg) translate(-1px, -1px);
|
|
}
|
|
.conversation > .timeline-item.show-more a:hover {
|
|
border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
|
|
background: var(--bg_hover);
|
|
color: var(--text);
|
|
text-decoration: none;
|
|
}
|
|
.reply.thread-line > .timeline-item + .timeline-item { border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
|
|
.reply.thread-line > .timeline-item.thread { background: transparent; }
|
|
.reply.thread-line > .more-replies,
|
|
.after-tweet.thread-line > .more-replies {
|
|
position: relative;
|
|
display: flex;
|
|
min-height: 52px;
|
|
align-items: center;
|
|
padding: 8px 14px 8px 76px !important;
|
|
border-top: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
|
|
border-radius: 0 0 9px 9px;
|
|
/* background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), var(--surface) 55%); */
|
|
}
|
|
.reply.thread-line > .more-replies::before,
|
|
.after-tweet.thread-line > .more-replies::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 40px;
|
|
top: 0;
|
|
width: 2px;
|
|
height: 15px;
|
|
border-radius: 0 0 2px 2px;
|
|
background: color-mix(in srgb, var(--accent) 55%, var(--line));
|
|
}
|
|
.reply.thread-line > .more-replies .more-replies-text,
|
|
.after-tweet.thread-line > .more-replies .more-replies-text {
|
|
display: inline-flex;
|
|
width: auto;
|
|
align-items: center;
|
|
gap: 9px;
|
|
margin: 0;
|
|
padding: 7px 10px;
|
|
border-radius: 6px;
|
|
color: var(--accent);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
.reply.thread-line > .more-replies .more-replies-text::after,
|
|
.after-tweet.thread-line > .more-replies .more-replies-text::after {
|
|
content: "";
|
|
width: 6px;
|
|
height: 6px;
|
|
border-right: 1.5px solid currentColor;
|
|
border-bottom: 1.5px solid currentColor;
|
|
transform: rotate(-45deg);
|
|
transition: transform .12s ease;
|
|
}
|
|
.reply.thread-line > .more-replies .more-replies-text:hover,
|
|
.after-tweet.thread-line > .more-replies .more-replies-text:hover {
|
|
background: color-mix(in srgb, var(--accent) 10%, transparent);
|
|
text-decoration: none;
|
|
}
|
|
.reply.thread-line > .more-replies .more-replies-text:hover::after,
|
|
.after-tweet.thread-line > .more-replies .more-replies-text:hover::after { transform: translateX(3px) rotate(-45deg); }
|
|
|
|
@media (max-width: 760px) {
|
|
.timeline > .thread-line { margin: 8px 0; border-left: 0; border-right: 0; border-radius: 0; }
|
|
.main-thread, .reply { border-left: 0; border-right: 0; border-radius: 0; }
|
|
.thread-context-bar { top: 64px; }
|
|
.thread-context-link { margin: 0 8px; }
|
|
.thread-line .timeline-item.thread { padding-left: 12px; }
|
|
.thread-line .timeline-item.thread:not(.thread-last)::after { left: 34px; }
|
|
.reply.thread-line > .more-replies,
|
|
.after-tweet.thread-line > .more-replies { padding-left: 62px !important; }
|
|
.reply.thread-line > .more-replies::before,
|
|
.after-tweet.thread-line > .more-replies::before { left: 34px; }
|
|
}
|