97ca5e1714
- Add class-settings.php with 40+ customizable settings - Update beep.css to use :root level CSS variables - Add page-level CSS override to fix Elementor purple gradient - Update defaults to Twitter Light mode (white background)
1050 lines
22 KiB
CSS
Executable File
1050 lines
22 KiB
CSS
Executable File
/* ============================================================
|
|
Beep — Twitter/X Dark Mode
|
|
Post and feed styling to match Twitter/X perfectly
|
|
============================================================ */
|
|
|
|
.beep-feed,
|
|
.beep-feed * {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
/* Default Twitter Dark Mode Palette */
|
|
--beep-bg: #15202B;
|
|
--beep-card-bg: #192734;
|
|
--beep-card-hover: #1C2732;
|
|
--beep-text: #E7E9EA;
|
|
--beep-muted: #71767B;
|
|
--beep-border: #2F3336;
|
|
--beep-accent: #1D9BF0;
|
|
--beep-accent-hover: #1A8CD8;
|
|
--beep-like: #F91880;
|
|
--beep-repost: #00BA7C;
|
|
}
|
|
|
|
|
|
.beep-feed {
|
|
/* Twitter Dark Mode Palette */
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
background: var(--beep-bg);
|
|
border-left: 1px solid var(--beep-border);
|
|
border-right: 1px solid var(--beep-border);
|
|
color: var(--beep-text);
|
|
font-size: 15px;
|
|
line-height: 1.4;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* Header */
|
|
.beep-feed-header {
|
|
padding: 16px 20px;
|
|
border-bottom: 1px solid var(--beep-border);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
background: rgba(21, 32, 43, 0.85);
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.beep-feed-header-title {
|
|
font-size: 20px;
|
|
font-weight: 800;
|
|
color: var(--beep-text);
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
/* Nav tabs */
|
|
.beep-top-nav {
|
|
display: flex;
|
|
border-bottom: 1px solid var(--beep-border);
|
|
}
|
|
|
|
.beep-nav-tab {
|
|
flex: 1;
|
|
background: transparent;
|
|
border: 0;
|
|
padding: 16px 0;
|
|
font-family: inherit;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--beep-muted);
|
|
cursor: pointer;
|
|
position: relative;
|
|
text-align: center;
|
|
transition: background-color 0.15s ease, color 0.15s ease;
|
|
}
|
|
|
|
.beep-nav-tab:hover {
|
|
background: var(--beep-card-hover);
|
|
color: var(--beep-text);
|
|
}
|
|
|
|
.beep-nav-tab.is-active {
|
|
color: var(--beep-text);
|
|
}
|
|
|
|
.beep-nav-tab.is-active::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: 4px;
|
|
background: var(--beep-accent);
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
/* Compose area */
|
|
.beep-compose {
|
|
display: flex;
|
|
gap: 12px;
|
|
padding: 16px 20px;
|
|
border-bottom: 1px solid var(--beep-border);
|
|
}
|
|
|
|
.beep-compose-body {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.beep-feed .beep-input {
|
|
width: 100% !important;
|
|
border: 0 !important;
|
|
outline: 0 !important;
|
|
resize: none !important;
|
|
background: transparent !important;
|
|
font-family: inherit !important;
|
|
font-size: 18px !important;
|
|
line-height: 1.5 !important;
|
|
color: var(--beep-text) !important;
|
|
padding: 8px 0 !important;
|
|
min-height: 52px;
|
|
overflow: hidden;
|
|
box-shadow: none !important;
|
|
caret-color: var(--beep-accent);
|
|
}
|
|
|
|
.beep-feed .beep-input::placeholder {
|
|
color: var(--beep-muted) !important;
|
|
}
|
|
|
|
.beep-compose-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-top: 12px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--beep-border);
|
|
}
|
|
|
|
.beep-compose-tools {
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.beep-compose-tool {
|
|
background: transparent;
|
|
border: 0;
|
|
color: var(--beep-accent);
|
|
cursor: pointer;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 9999px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: background-color 0.15s ease;
|
|
}
|
|
|
|
.beep-compose-tool:hover {
|
|
background: rgba(29, 155, 240, 0.15);
|
|
}
|
|
|
|
/* Buttons */
|
|
.beep-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--beep-accent);
|
|
color: #fff;
|
|
border: 0;
|
|
border-radius: 9999px;
|
|
padding: 8px 20px;
|
|
font-weight: 700;
|
|
font-size: 15px;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
transition: background-color 0.15s ease, transform 0.1s ease;
|
|
}
|
|
|
|
.beep-button:hover { background: var(--beep-accent-hover); color: #fff; }
|
|
.beep-button:active { transform: scale(0.96); }
|
|
.beep-button:disabled { opacity: 0.5; cursor: default; }
|
|
|
|
/* Follow button */
|
|
.beep-follow-btn {
|
|
background: var(--beep-text);
|
|
color: var(--beep-bg);
|
|
border: 0;
|
|
border-radius: 9999px;
|
|
padding: 6px 16px;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
transition: opacity 0.15s ease;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.beep-follow-btn:hover { opacity: 0.85; }
|
|
|
|
.beep-following-btn {
|
|
background: transparent;
|
|
color: var(--beep-text);
|
|
border: 1px solid var(--beep-border);
|
|
border-radius: 9999px;
|
|
padding: 6px 16px;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
|
|
}
|
|
|
|
.beep-following-btn:hover {
|
|
border-color: #F4212E;
|
|
color: #F4212E;
|
|
background: rgba(244, 33, 46, 0.1);
|
|
}
|
|
|
|
/* Char counter */
|
|
.beep-char-counter { font-size: 13px; color: var(--beep-muted); font-variant-numeric: tabular-nums; }
|
|
.beep-counter-warn { color: #FFD400; }
|
|
.beep-counter-bad { color: #F4212E; font-weight: 700; }
|
|
|
|
/* Avatars */
|
|
.beep-feed .beep-avatar {
|
|
width: 48px !important;
|
|
height: 48px !important;
|
|
min-width: 48px !important;
|
|
max-width: 48px !important;
|
|
border-radius: 50% !important;
|
|
flex-shrink: 0;
|
|
background: var(--beep-border);
|
|
object-fit: cover !important;
|
|
aspect-ratio: 1 / 1 !important;
|
|
display: block !important;
|
|
border: 0 !important;
|
|
transition: filter 0.15s ease;
|
|
}
|
|
|
|
.beep-feed .beep-avatar:hover { filter: brightness(0.9); }
|
|
|
|
.beep-feed .beep-avatar-sm {
|
|
width: 40px !important;
|
|
height: 40px !important;
|
|
min-width: 40px !important;
|
|
max-width: 40px !important;
|
|
}
|
|
|
|
/* Post list */
|
|
.beep-list { background: var(--beep-bg); }
|
|
|
|
.beep-empty {
|
|
padding: 60px 20px;
|
|
text-align: center;
|
|
color: var(--beep-muted);
|
|
}
|
|
|
|
/* Individual post */
|
|
.beep-post {
|
|
display: flex;
|
|
gap: 12px;
|
|
padding: 14px 20px;
|
|
border-bottom: 1px solid var(--beep-border);
|
|
background: var(--beep-bg);
|
|
transition: background-color 0.15s ease;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.beep-post:hover { background: var(--beep-card-hover); }
|
|
.beep-post:last-child { border-bottom: 0; }
|
|
|
|
.beep-post-body { flex: 1; min-width: 0; }
|
|
|
|
/* Meta line */
|
|
.beep-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 15px;
|
|
line-height: 1.2;
|
|
margin-bottom: 2px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.beep-name {
|
|
font-weight: 700;
|
|
color: var(--beep-text);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.beep-name:hover { text-decoration: underline; cursor: pointer; }
|
|
|
|
.beep-handle,
|
|
.beep-dot,
|
|
.beep-time { color: var(--beep-muted); font-weight: 400; white-space: nowrap; }
|
|
|
|
.beep-time { text-decoration: none; }
|
|
.beep-time:hover { text-decoration: underline; cursor: pointer; }
|
|
|
|
.beep-spacer { flex: 1; }
|
|
|
|
/* Verified badge */
|
|
.beep-verified {
|
|
width: 18px;
|
|
height: 18px;
|
|
fill: var(--beep-accent);
|
|
flex-shrink: 0;
|
|
margin-left: 2px;
|
|
vertical-align: text-bottom;
|
|
}
|
|
|
|
/* Post text */
|
|
.beep-text {
|
|
font-size: 15px;
|
|
line-height: 1.5;
|
|
color: var(--beep-text);
|
|
word-wrap: break-word;
|
|
overflow-wrap: anywhere;
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.beep-tag, .beep-mention { color: var(--beep-text); text-decoration: none; cursor: pointer; }
|
|
.beep-tag:hover, .beep-mention:hover { text-decoration: underline; }
|
|
|
|
.beep-link { color: var(--beep-accent); text-decoration: none; }
|
|
.beep-link:hover { text-decoration: underline; }
|
|
|
|
/* Action bar */
|
|
.beep-actions {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
max-width: 425px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.beep-action {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
background: transparent;
|
|
border: 0;
|
|
color: var(--beep-muted);
|
|
font-size: 13px;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
padding: 6px 8px;
|
|
margin: -6px -8px;
|
|
border-radius: 9999px;
|
|
transition: color 0.15s ease, background-color 0.15s ease;
|
|
}
|
|
|
|
.beep-action svg,
|
|
.beep-action .beep-icon-svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
fill: currentColor;
|
|
display: block;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.beep-count {
|
|
font-variant-numeric: tabular-nums;
|
|
min-width: 20px;
|
|
}
|
|
|
|
/* Reply - blue */
|
|
.beep-action-reply:hover {
|
|
color: var(--beep-accent);
|
|
background: rgba(29, 155, 240, 0.1);
|
|
}
|
|
|
|
/* Retweet - green */
|
|
.beep-action-retweet:hover {
|
|
color: var(--beep-repost);
|
|
background: rgba(0, 186, 124, 0.1);
|
|
}
|
|
|
|
.beep-action.is-reposted { color: var(--beep-repost); }
|
|
|
|
/* Like - pink */
|
|
.beep-action-like:hover {
|
|
color: var(--beep-like);
|
|
background: rgba(249, 24, 128, 0.1);
|
|
}
|
|
|
|
.beep-action.is-liked { color: var(--beep-like); }
|
|
|
|
/* Bookmark - blue */
|
|
.beep-action-bookmark:hover {
|
|
color: var(--beep-accent);
|
|
background: rgba(29, 155, 240, 0.1);
|
|
}
|
|
|
|
.beep-action.is-bookmarked { color: var(--beep-accent); }
|
|
|
|
/* Share - blue */
|
|
.beep-action-share:hover {
|
|
color: var(--beep-accent);
|
|
background: rgba(29, 155, 240, 0.1);
|
|
}
|
|
|
|
/* Heart pop animation */
|
|
.beep-action-like.beep-just-liked .beep-icon-filled {
|
|
animation: beep-heart-pop 0.55s ease;
|
|
}
|
|
|
|
@keyframes beep-heart-pop {
|
|
0% { transform: scale(0.85); }
|
|
40% { transform: scale(1.35); }
|
|
70% { transform: scale(0.9); }
|
|
100% { transform: scale(1); }
|
|
}
|
|
|
|
/* Retweet spin animation */
|
|
.beep-action-retweet.beep-just-retweeted svg {
|
|
animation: beep-retweet-spin 0.4s ease;
|
|
}
|
|
|
|
@keyframes beep-retweet-spin {
|
|
0% { transform: rotate(0deg) scale(1); }
|
|
50% { transform: rotate(180deg) scale(1.2); }
|
|
100% { transform: rotate(360deg) scale(1); }
|
|
}
|
|
|
|
/* Media */
|
|
.beep-media-attachments {
|
|
margin-top: 12px;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--beep-border);
|
|
}
|
|
|
|
.beep-media-attachments img {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
max-height: 400px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
/* Image grid */
|
|
.beep-media-grid {
|
|
display: grid;
|
|
gap: 2px;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--beep-border);
|
|
}
|
|
|
|
.beep-media-grid-2 { grid-template-columns: 1fr 1fr; }
|
|
.beep-media-grid-3 .beep-media-grid-item:first-child { grid-column: span 2; }
|
|
.beep-media-grid-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
|
|
|
|
.beep-media-grid-item {
|
|
overflow: hidden;
|
|
aspect-ratio: 16 / 9;
|
|
}
|
|
|
|
.beep-media-grid-item img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
max-height: none;
|
|
}
|
|
|
|
/* Polls */
|
|
.beep-poll-container {
|
|
margin-top: 12px;
|
|
border: 1px solid var(--beep-border);
|
|
border-radius: 16px;
|
|
padding: 16px;
|
|
background: transparent;
|
|
}
|
|
|
|
.beep-poll-question {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--beep-text);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.beep-poll-options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.beep-poll-option {
|
|
border: 1px solid var(--beep-border);
|
|
border-radius: 9999px;
|
|
padding: 10px 16px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: var(--beep-text);
|
|
background: transparent;
|
|
transition: background-color 0.15s ease, border-color 0.15s ease;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.beep-poll-option:hover {
|
|
background: var(--beep-card-hover);
|
|
border-color: var(--beep-muted);
|
|
}
|
|
|
|
.beep-poll-option.is-voted { border-color: var(--beep-accent); }
|
|
|
|
.beep-poll-result {
|
|
border: 1px solid var(--beep-border);
|
|
border-radius: 9999px;
|
|
padding: 10px 16px;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: var(--beep-text);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.beep-poll-result-bar {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
background: var(--beep-accent);
|
|
opacity: 0.3;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.beep-poll-result.is-voted { border-color: var(--beep-accent); }
|
|
.beep-poll-result-text { position: relative; z-index: 1; }
|
|
.beep-poll-end { font-size: 13px; color: var(--beep-muted); margin-top: 8px; font-weight: 400; }
|
|
|
|
/* Quotes */
|
|
.beep-quoted-container {
|
|
margin-top: 12px;
|
|
border: 1px solid var(--beep-border);
|
|
border-radius: 16px;
|
|
padding: 12px 16px;
|
|
background: transparent;
|
|
}
|
|
|
|
.beep-quoted-post { text-decoration: none; color: inherit; }
|
|
.beep-quoted-post:hover { text-decoration: none; }
|
|
|
|
.beep-quoted-meta { font-size: 13px; color: var(--beep-muted); margin-bottom: 4px; }
|
|
.beep-quoted-meta .beep-name { font-weight: 700; }
|
|
|
|
.beep-quoted-text {
|
|
font-size: 14px;
|
|
color: var(--beep-text);
|
|
line-height: 1.4;
|
|
margin: 0;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Voice note */
|
|
.beep-voice-note {
|
|
margin-top: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
background: var(--beep-card-hover);
|
|
border-radius: 9999px;
|
|
padding: 10px 16px;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.beep-voice-play {
|
|
background: var(--beep-accent);
|
|
border: 0;
|
|
border-radius: 50%;
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.beep-voice-play svg { width: 14px; height: 14px; fill: #fff; }
|
|
|
|
.beep-voice-waveform {
|
|
flex: 1;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
}
|
|
|
|
.beep-voice-bar {
|
|
width: 3px;
|
|
height: 100%;
|
|
background: var(--beep-accent);
|
|
border-radius: 9999px;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.beep-voice-duration { font-size: 13px; color: var(--beep-muted); font-variant-numeric: tabular-nums; }
|
|
|
|
/* Replies */
|
|
.beep-replies {
|
|
margin-top: 8px;
|
|
padding-left: 0;
|
|
border-left: 2px solid var(--beep-border);
|
|
margin-left: 24px;
|
|
}
|
|
|
|
.beep-reply {
|
|
display: flex;
|
|
gap: 10px;
|
|
padding: 10px 16px;
|
|
border-bottom: 1px solid var(--beep-border);
|
|
background: var(--beep-bg);
|
|
transition: background-color 0.15s ease;
|
|
}
|
|
|
|
.beep-reply:last-child { border-bottom: 0; }
|
|
.beep-reply-body { flex: 1; min-width: 0; }
|
|
.beep-reply .beep-text { font-size: 14px; margin-bottom: 0; }
|
|
.beep-reply .beep-meta { font-size: 13px; margin-bottom: 0; }
|
|
.beep-reply .beep-avatar { width: 36px !important; height: 36px !important; min-width: 36px !important; max-width: 36px !important; }
|
|
|
|
/* Reply form */
|
|
.beep-reply-form {
|
|
margin-top: 8px;
|
|
padding: 12px 16px;
|
|
border-top: 1px solid var(--beep-border);
|
|
border-bottom: 1px solid var(--beep-border);
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: flex-start;
|
|
background: var(--beep-bg);
|
|
}
|
|
|
|
.beep-reply-form[hidden] { display: none; }
|
|
.beep-reply-form-body { flex: 1; min-width: 0; }
|
|
|
|
.beep-feed .beep-reply-input {
|
|
width: 100% !important;
|
|
border: 0 !important;
|
|
outline: 0 !important;
|
|
resize: none !important;
|
|
background: transparent !important;
|
|
font-family: inherit !important;
|
|
font-size: 15px !important;
|
|
color: var(--beep-text) !important;
|
|
padding: 6px 0 !important;
|
|
min-height: 36px;
|
|
box-shadow: none !important;
|
|
caret-color: var(--beep-accent);
|
|
}
|
|
|
|
.beep-feed .beep-reply-input::placeholder { color: var(--beep-muted) !important; }
|
|
|
|
.beep-reply-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
/* Animations */
|
|
.beep-new { animation: beep-slide-in 0.3s ease; }
|
|
|
|
@keyframes beep-slide-in {
|
|
from { opacity: 0; transform: translateY(-8px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
/* Post badge */
|
|
.beep-post-badge {
|
|
width: 18px;
|
|
height: 18px;
|
|
flex-shrink: 0;
|
|
opacity: 0.5;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.beep-post-badge:hover { opacity: 0.8; cursor: pointer; }
|
|
|
|
/* Loading */
|
|
.beep-loading { opacity: 0.5; pointer-events: none; }
|
|
|
|
/* Mobile */
|
|
@media (max-width: 640px) {
|
|
.beep-feed { margin: 0; border-left: 0; border-right: 0; }
|
|
.beep-post { padding: 12px 16px; }
|
|
.beep-actions { max-width: none; }
|
|
.beep-compose { padding: 12px 16px; }
|
|
.beep-feed-header { padding: 12px 16px; }
|
|
}
|
|
|
|
/* Delete */
|
|
.beep-delete-row { display: flex; justify-content: flex-end; margin-top: 6px; }
|
|
|
|
.beep-delete-link {
|
|
background: transparent;
|
|
border: 0;
|
|
color: var(--beep-muted);
|
|
font-family: inherit;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
transition: color 0.15s ease, background-color 0.15s ease;
|
|
}
|
|
|
|
.beep-delete-link:hover { color: #F4212E; background: rgba(244, 33, 46, 0.1); }
|
|
|
|
/* Notice */
|
|
.beep-notice { padding: 14px 20px; border-bottom: 1px solid var(--beep-border); font-size: 14px; }
|
|
.beep-notice p { margin: 0; color: var(--beep-muted); }
|
|
.beep-notice-banned { color: #F4212E; font-style: italic; }
|
|
|
|
/* Header post button */
|
|
.beep-post-btn-header {
|
|
background: var(--beep-accent);
|
|
color: #fff;
|
|
border: 0;
|
|
border-radius: 9999px;
|
|
padding: 8px 20px;
|
|
font-weight: 700;
|
|
font-size: 15px;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
transition: background-color 0.15s ease, transform 0.1s ease;
|
|
}
|
|
|
|
.beep-post-btn-header:hover { background: var(--beep-accent-hover); }
|
|
.beep-post-btn-header:active { transform: scale(0.96); }
|
|
|
|
/* Back link */
|
|
.beep-back-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 20px;
|
|
border-bottom: 1px solid var(--beep-border);
|
|
background: var(--beep-bg);
|
|
color: var(--beep-text);
|
|
text-decoration: none;
|
|
font-weight: 700;
|
|
font-size: 19px;
|
|
transition: background-color 0.15s ease;
|
|
}
|
|
|
|
.beep-back-link:hover { background: var(--beep-card-hover); color: var(--beep-text); text-decoration: none; }
|
|
.beep-back-link svg { width: 20px; height: 20px; fill: currentColor; }
|
|
|
|
/* Thread modal */
|
|
.beep-thread-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1000;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
background: rgba(0, 0, 0, 0.4);
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.beep-thread-modal[hidden] { display: none; }
|
|
|
|
.beep-thread-content {
|
|
background: var(--beep-card-bg);
|
|
width: 100%;
|
|
max-width: 600px;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
border-left: 1px solid var(--beep-border);
|
|
border-right: 1px solid var(--beep-border);
|
|
}
|
|
|
|
.beep-thread-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 12px 20px;
|
|
border-bottom: 1px solid var(--beep-border);
|
|
position: sticky;
|
|
top: 0;
|
|
background: var(--beep-card-bg);
|
|
z-index: 1;
|
|
}
|
|
|
|
.beep-thread-close {
|
|
background: transparent;
|
|
border: 0;
|
|
color: var(--beep-text);
|
|
cursor: pointer;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0;
|
|
transition: background-color 0.15s ease;
|
|
}
|
|
|
|
.beep-thread-close:hover { background: var(--beep-card-hover); }
|
|
.beep-thread-close svg { width: 20px; height: 20px; fill: currentColor; }
|
|
.beep-thread-title { font-size: 18px; font-weight: 700; color: var(--beep-text); }
|
|
|
|
/* Tooltip */
|
|
.beep-tip {
|
|
position: absolute;
|
|
margin-left: 8px;
|
|
padding: 4px 10px;
|
|
background: var(--beep-text);
|
|
color: var(--beep-bg);
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
pointer-events: none;
|
|
z-index: 100;
|
|
animation: beep-tip-fade 1.5s ease forwards;
|
|
}
|
|
|
|
@keyframes beep-tip-fade {
|
|
0% { opacity: 0; transform: translateY(-4px); }
|
|
20% { opacity: 1; transform: translateY(0); }
|
|
80% { opacity: 1; }
|
|
100% { opacity: 0; }
|
|
}
|
|
|
|
/* GIF */
|
|
.beep-gif-embed {
|
|
margin-top: 12px;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--beep-border);
|
|
}
|
|
|
|
.beep-gif-embed img {
|
|
width: 100%;
|
|
height: auto;
|
|
max-height: 400px;
|
|
object-fit: cover;
|
|
display: block;
|
|
margin: 0;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
/* Profile header */
|
|
.beep-profile-header { padding: 16px 20px; border-bottom: 1px solid var(--beep-border); }
|
|
.beep-profile-name { font-size: 20px; font-weight: 800; color: var(--beep-text); margin-bottom: 2px; }
|
|
.beep-profile-meta { font-size: 14px; color: var(--beep-muted); }
|
|
.beep-profile-stats { display: flex; gap: 20px; margin-top: 12px; }
|
|
.beep-profile-stat { color: var(--beep-muted); font-size: 14px; cursor: pointer; }
|
|
.beep-profile-stat:hover { text-decoration: underline; }
|
|
.beep-profile-stat strong { color: var(--beep-text); font-weight: 700; }
|
|
|
|
/* Tabs */
|
|
.beep-tabs {
|
|
display: flex;
|
|
border-bottom: 1px solid var(--beep-border);
|
|
background: var(--beep-card-bg);
|
|
}
|
|
|
|
.beep-tab {
|
|
flex: 1;
|
|
background: transparent;
|
|
border: 0;
|
|
padding: 14px 0;
|
|
font-family: inherit;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--beep-muted);
|
|
cursor: pointer;
|
|
position: relative;
|
|
transition: background-color 0.15s ease, color 0.15s ease;
|
|
}
|
|
|
|
.beep-tab:hover { background: var(--beep-card-hover); color: var(--beep-text); }
|
|
.beep-tab.is-active { color: var(--beep-text); }
|
|
.beep-tab.is-active::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 0;
|
|
transform: translateX(-50%);
|
|
width: 56px;
|
|
height: 4px;
|
|
border-radius: 9999px;
|
|
background: var(--beep-accent);
|
|
}
|
|
|
|
/* Focus */
|
|
.beep-feed .beep-input:focus,
|
|
.beep-feed .beep-input:focus-visible,
|
|
.beep-feed .beep-reply-input:focus,
|
|
.beep-feed .beep-reply-input:focus-visible {
|
|
outline: 0 !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.beep-feed .beep-compose:focus-within { background: rgba(29, 155, 240, 0.03); }
|
|
|
|
/* Hidden */
|
|
[hidden] { display: none !important; }
|
|
|
|
|
|
/* Magic Login Form */
|
|
.beep-magic-login {
|
|
padding: 24px;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.beep-magic-login-card {
|
|
background: #192734;
|
|
border-radius: 16px;
|
|
padding: 32px;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
text-align: center;
|
|
}
|
|
|
|
.beep-magic-login-header {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.beep-magic-login-header svg {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.beep-magic-login-header h3 {
|
|
color: #E7E9EA;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
margin: 0 0 8px 0;
|
|
}
|
|
|
|
.beep-magic-login-header p {
|
|
color: #71767B;
|
|
font-size: 14px;
|
|
margin: 0;
|
|
}
|
|
|
|
.beep-magic-login-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.beep-magic-email {
|
|
width: 100%;
|
|
padding: 12px 16px;
|
|
background: #22303C;
|
|
border: 1px solid #333F4D;
|
|
border-radius: 8px;
|
|
color: #E7E9EA;
|
|
font-size: 16px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.beep-magic-email:focus {
|
|
outline: none;
|
|
border-color: #1D9BF0;
|
|
}
|
|
|
|
.beep-magic-email::placeholder {
|
|
color: #71767B;
|
|
}
|
|
|
|
.beep-button.beep-magic-submit {
|
|
width: 100%;
|
|
padding: 12px 24px;
|
|
background: #1D9BF0;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.beep-button.beep-magic-submit:hover {
|
|
background: #1A8CD8;
|
|
}
|
|
|
|
.beep-button.beep-magic-submit:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.beep-magic-success {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 12px;
|
|
background: rgba(0, 186, 124, 0.1);
|
|
border-radius: 8px;
|
|
color: #00BA7C;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.beep-magic-error {
|
|
padding: 12px;
|
|
background: rgba(224, 36, 94, 0.1);
|
|
border-radius: 8px;
|
|
color: #F4212E;
|
|
font-size: 14px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
/* Public feed notice */
|
|
.beep-public-notice {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 12px 16px;
|
|
background: #192734;
|
|
border-bottom: 1px solid #333F4D;
|
|
color: #71767B;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.beep-public-notice a {
|
|
color: #1D9BF0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.beep-public-notice a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|