Merge branch 'dev'
This commit is contained in:
commit
76eb197241
|
|
@ -282,10 +282,10 @@ export class FolkCampaignManager extends HTMLElement {
|
||||||
.btn--sm { padding: 0.35rem 0.75rem; font-size: 0.8rem; }
|
.btn--sm { padding: 0.35rem 0.75rem; font-size: 0.8rem; }
|
||||||
.btn--primary { background: var(--rs-primary); color: white; border: none; }
|
.btn--primary { background: var(--rs-primary); color: white; border: none; }
|
||||||
.btn--primary:hover { background: var(--rs-primary-hover); }
|
.btn--primary:hover { background: var(--rs-primary-hover); }
|
||||||
.btn--accent { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: white; border: none; }
|
.btn--accent { background: var(--rs-gradient-primary, linear-gradient(135deg, #6366f1, #8b5cf6)); color: white; border: none; }
|
||||||
.btn--accent:hover { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
|
.btn--accent:hover { opacity: 0.9; }
|
||||||
.btn--outline { background: transparent; color: var(--rs-text-secondary, #94a3b8); border: 1px solid var(--rs-input-border, #334155); }
|
.btn--outline { background: transparent; color: var(--rs-text-secondary, #94a3b8); border: 1px solid var(--rs-input-border, #334155); }
|
||||||
.btn--outline:hover { border-color: var(--rs-primary); color: #c4b5fd; }
|
.btn--outline:hover { border-color: var(--rs-primary); color: var(--rs-primary-hover, #c4b5fd); }
|
||||||
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
|
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
|
||||||
|
|
||||||
/* Preview banner */
|
/* Preview banner */
|
||||||
|
|
|
||||||
|
|
@ -220,7 +220,7 @@ class FolkCampaignsDashboard extends HTMLElement {
|
||||||
|
|
||||||
this.shadow.innerHTML = `
|
this.shadow.innerHTML = `
|
||||||
<style>
|
<style>
|
||||||
:host { display: block; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #e1e1e1; }
|
:host { display: block; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--rs-text-primary, #e1e1e1); }
|
||||||
|
|
||||||
.cd-root { padding: 1.5rem; max-width: 1400px; margin: 0 auto; }
|
.cd-root { padding: 1.5rem; max-width: 1400px; margin: 0 auto; }
|
||||||
|
|
||||||
|
|
@ -231,8 +231,8 @@ class FolkCampaignsDashboard extends HTMLElement {
|
||||||
border: none; border-radius: 6px; padding: 0.5rem 1rem; cursor: pointer;
|
border: none; border-radius: 6px; padding: 0.5rem 1rem; cursor: pointer;
|
||||||
font-size: 0.85rem; font-weight: 500; transition: background 0.15s;
|
font-size: 0.85rem; font-weight: 500; transition: background 0.15s;
|
||||||
}
|
}
|
||||||
.cd-btn--primary { background: #3b82f6; color: #fff; }
|
.cd-btn--primary { background: var(--rs-primary, #3b82f6); color: #fff; }
|
||||||
.cd-btn--primary:hover { background: #2563eb; }
|
.cd-btn--primary:hover { background: var(--rs-primary-hover, #2563eb); }
|
||||||
|
|
||||||
.cd-grid {
|
.cd-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|
@ -241,14 +241,14 @@ class FolkCampaignsDashboard extends HTMLElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
.cd-card {
|
.cd-card {
|
||||||
background: #1e1e2e; border: 1px solid #333; border-radius: 10px;
|
background: var(--rs-bg-surface, #1e1e2e); border: 1px solid var(--rs-border, #333); border-radius: 10px;
|
||||||
overflow: hidden; cursor: pointer; transition: border-color 0.15s, transform 0.15s;
|
overflow: hidden; cursor: pointer; transition: border-color 0.15s, transform 0.15s;
|
||||||
}
|
}
|
||||||
.cd-card:hover { border-color: #3b82f6; transform: translateY(-2px); }
|
.cd-card:hover { border-color: var(--rs-primary, #3b82f6); transform: translateY(-2px); }
|
||||||
|
|
||||||
.cd-card__preview {
|
.cd-card__preview {
|
||||||
height: 160px; background: #14141e; display: flex; align-items: center; justify-content: center;
|
height: 160px; background: var(--rs-bg-surface-sunken, #14141e); display: flex; align-items: center; justify-content: center;
|
||||||
border-bottom: 1px solid #333; padding: 0.5rem;
|
border-bottom: 1px solid var(--rs-border, #333); padding: 0.5rem;
|
||||||
}
|
}
|
||||||
.cd-card__svg { width: 100%; height: 100%; }
|
.cd-card__svg { width: 100%; height: 100%; }
|
||||||
|
|
||||||
|
|
@ -260,25 +260,25 @@ class FolkCampaignsDashboard extends HTMLElement {
|
||||||
font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 99px;
|
font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 99px;
|
||||||
font-weight: 500; text-transform: capitalize;
|
font-weight: 500; text-transform: capitalize;
|
||||||
}
|
}
|
||||||
.cd-badge--enabled { background: #065f46; color: #6ee7b7; }
|
.cd-badge--enabled { background: rgba(34, 197, 94, 0.15); color: var(--rs-success, #6ee7b7); }
|
||||||
.cd-badge--disabled { background: #3f3f46; color: #a1a1aa; }
|
.cd-badge--disabled { background: var(--rs-bg-surface-raised, #3f3f46); color: var(--rs-text-muted, #a1a1aa); }
|
||||||
.cd-badge--success { background: #065f46; color: #6ee7b7; }
|
.cd-badge--success { background: rgba(34, 197, 94, 0.15); color: var(--rs-success, #6ee7b7); }
|
||||||
.cd-badge--error { background: #7f1d1d; color: #fca5a5; }
|
.cd-badge--error { background: rgba(239, 68, 68, 0.15); color: var(--rs-error, #fca5a5); }
|
||||||
.cd-badge--nodes { background: #1e3a5f; color: #93c5fd; }
|
.cd-badge--nodes { background: rgba(59, 130, 246, 0.15); color: var(--rs-primary, #93c5fd); }
|
||||||
.cd-badge--runs { background: #3b1f5e; color: #c4b5fd; }
|
.cd-badge--runs { background: rgba(99, 102, 241, 0.15); color: var(--rs-primary-hover, #c4b5fd); }
|
||||||
|
|
||||||
.cd-card__date { font-size: 0.75rem; color: #888; }
|
.cd-card__date { font-size: 0.75rem; color: var(--rs-text-muted, #888); }
|
||||||
|
|
||||||
.cd-empty {
|
.cd-empty {
|
||||||
text-align: center; padding: 4rem 2rem;
|
text-align: center; padding: 4rem 2rem;
|
||||||
background: #1e1e2e; border: 1px dashed #444; border-radius: 10px;
|
background: var(--rs-bg-surface, #1e1e2e); border: 1px dashed var(--rs-border, #444); border-radius: 10px;
|
||||||
}
|
}
|
||||||
.cd-empty__icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
|
.cd-empty__icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
|
||||||
.cd-empty__title { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.35rem; }
|
.cd-empty__title { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.35rem; }
|
||||||
.cd-empty__subtitle { color: #888; margin-bottom: 1.25rem; }
|
.cd-empty__subtitle { color: var(--rs-text-muted, #888); margin-bottom: 1.25rem; }
|
||||||
.cd-btn--new-empty { font-size: 0.95rem; padding: 0.6rem 1.5rem; }
|
.cd-btn--new-empty { font-size: 0.95rem; padding: 0.6rem 1.5rem; }
|
||||||
|
|
||||||
.cd-loading { text-align: center; padding: 4rem; color: #888; }
|
.cd-loading { text-align: center; padding: 4rem; color: var(--rs-text-muted, #888); }
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="cd-root">
|
<div class="cd-root">
|
||||||
|
|
|
||||||
|
|
@ -1034,12 +1034,12 @@ export class FolkThreadBuilder extends HTMLElement {
|
||||||
return `
|
return `
|
||||||
:host { display: block; }
|
:host { display: block; }
|
||||||
.btn { padding: 0.5rem 1rem; border-radius: 8px; border: none; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.15s; text-decoration: none; display: inline-flex; align-items: center; }
|
.btn { padding: 0.5rem 1rem; border-radius: 8px; border: none; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.15s; text-decoration: none; display: inline-flex; align-items: center; }
|
||||||
.btn--primary { background: #6366f1; color: white; }
|
.btn--primary { background: var(--rs-primary, #6366f1); color: white; }
|
||||||
.btn--primary:hover { background: #818cf8; }
|
.btn--primary:hover { background: var(--rs-primary-hover, #818cf8); }
|
||||||
.btn--outline { background: transparent; color: var(--rs-text-secondary, #94a3b8); border: 1px solid var(--rs-input-border, #334155); }
|
.btn--outline { background: transparent; color: var(--rs-text-secondary, #94a3b8); border: 1px solid var(--rs-input-border, #334155); }
|
||||||
.btn--outline:hover { border-color: #6366f1; color: #c4b5fd; }
|
.btn--outline:hover { border-color: var(--rs-primary, #6366f1); color: var(--rs-primary-hover, #c4b5fd); }
|
||||||
.btn--success { background: #10b981; color: white; }
|
.btn--success { background: var(--rs-success, #10b981); color: white; }
|
||||||
.btn--success:hover { background: #34d399; }
|
.btn--success:hover { opacity: 0.85; }
|
||||||
.btn--postiz { background: #f97316; color: white; }
|
.btn--postiz { background: #f97316; color: white; }
|
||||||
.btn--postiz:hover { background: #fb923c; }
|
.btn--postiz:hover { background: #fb923c; }
|
||||||
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
|
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
|
||||||
|
|
@ -1052,7 +1052,7 @@ export class FolkThreadBuilder extends HTMLElement {
|
||||||
.tweet-card:has(+ .tweet-card) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
|
.tweet-card:has(+ .tweet-card) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
|
||||||
.connector { position: absolute; left: 29px; top: -1px; width: 2px; height: 1rem; background: var(--rs-input-border, #334155); z-index: 1; }
|
.connector { position: absolute; left: 29px; top: -1px; width: 2px; height: 1rem; background: var(--rs-input-border, #334155); z-index: 1; }
|
||||||
.tc-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
|
.tc-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
|
||||||
.tc-avatar { width: 40px; height: 40px; border-radius: 50%; background: #6366f1; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
|
.tc-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--rs-primary, #6366f1); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
|
||||||
.tc-name { font-weight: 700; color: var(--rs-text-primary, #f1f5f9); font-size: 0.9rem; }
|
.tc-name { font-weight: 700; color: var(--rs-text-primary, #f1f5f9); font-size: 0.9rem; }
|
||||||
.tc-handle { color: var(--rs-text-muted, #64748b); font-size: 0.85rem; }
|
.tc-handle { color: var(--rs-text-muted, #64748b); font-size: 0.85rem; }
|
||||||
.tc-dot { color: var(--rs-text-muted, #64748b); font-size: 0.85rem; }
|
.tc-dot { color: var(--rs-text-muted, #64748b); font-size: 0.85rem; }
|
||||||
|
|
@ -1064,8 +1064,8 @@ export class FolkThreadBuilder extends HTMLElement {
|
||||||
.tc-action svg { width: 16px; height: 16px; }
|
.tc-action svg { width: 16px; height: 16px; }
|
||||||
.tc-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--rs-text-muted, #64748b); }
|
.tc-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--rs-text-muted, #64748b); }
|
||||||
.tc-chars { font-variant-numeric: tabular-nums; }
|
.tc-chars { font-variant-numeric: tabular-nums; }
|
||||||
.tc-chars--over { color: #ef4444; font-weight: 600; }
|
.tc-chars--over { color: var(--rs-error, #ef4444); font-weight: 600; }
|
||||||
.tc-thread-num { color: #6366f1; font-weight: 600; }
|
.tc-thread-num { color: var(--rs-primary, #6366f1); font-weight: 600; }
|
||||||
.attached-image { position: relative; margin-top: 0.5rem; border-radius: 8px; overflow: hidden; border: 1px solid var(--rs-input-border, #334155); }
|
.attached-image { position: relative; margin-top: 0.5rem; border-radius: 8px; overflow: hidden; border: 1px solid var(--rs-input-border, #334155); }
|
||||||
.attached-image img { display: block; width: 100%; height: auto; }
|
.attached-image img { display: block; width: 100%; height: auto; }
|
||||||
.image-remove {
|
.image-remove {
|
||||||
|
|
@ -1074,7 +1074,7 @@ export class FolkThreadBuilder extends HTMLElement {
|
||||||
font-size: 0.8rem; cursor: pointer; display: flex; align-items: center;
|
font-size: 0.8rem; cursor: pointer; display: flex; align-items: center;
|
||||||
justify-content: center; line-height: 1; transition: background 0.15s;
|
justify-content: center; line-height: 1; transition: background 0.15s;
|
||||||
}
|
}
|
||||||
.image-remove:hover { background: #ef4444; }
|
.image-remove:hover { background: var(--rs-error, #ef4444); }
|
||||||
|
|
||||||
.export-dropdown { position: relative; }
|
.export-dropdown { position: relative; }
|
||||||
.export-menu {
|
.export-menu {
|
||||||
|
|
@ -1088,7 +1088,7 @@ export class FolkThreadBuilder extends HTMLElement {
|
||||||
background: transparent; color: var(--rs-text-primary, #f1f5f9); font-size: 0.85rem;
|
background: transparent; color: var(--rs-text-primary, #f1f5f9); font-size: 0.85rem;
|
||||||
text-align: left; cursor: pointer; transition: background 0.1s;
|
text-align: left; cursor: pointer; transition: background 0.1s;
|
||||||
}
|
}
|
||||||
.export-menu button:hover { background: rgba(99,102,241,0.15); }
|
.export-menu button:hover { background: var(--rs-bg-hover, rgba(99,102,241,0.15)); }
|
||||||
.export-menu button + button { border-top: 1px solid var(--rs-bg-hover, #334155); }
|
.export-menu button + button { border-top: 1px solid var(--rs-bg-hover, #334155); }
|
||||||
|
|
||||||
.preview { display: flex; flex-direction: column; gap: 0; }
|
.preview { display: flex; flex-direction: column; gap: 0; }
|
||||||
|
|
@ -1108,20 +1108,20 @@ export class FolkThreadBuilder extends HTMLElement {
|
||||||
border-radius: 0.75rem; padding: 1rem; font-family: inherit; font-size: 0.9rem; resize: vertical;
|
border-radius: 0.75rem; padding: 1rem; font-family: inherit; font-size: 0.9rem; resize: vertical;
|
||||||
line-height: 1.6; box-sizing: border-box;
|
line-height: 1.6; box-sizing: border-box;
|
||||||
}
|
}
|
||||||
.compose-textarea:focus { outline: none; border-color: #6366f1; }
|
.compose-textarea:focus { outline: none; border-color: var(--rs-primary, #6366f1); }
|
||||||
.compose-textarea::placeholder { color: var(--rs-text-muted, #64748b); }
|
.compose-textarea::placeholder { color: var(--rs-text-muted, #64748b); }
|
||||||
.compose-fields { display: flex; gap: 0.75rem; }
|
.compose-fields { display: flex; gap: 0.75rem; }
|
||||||
.compose-input {
|
.compose-input {
|
||||||
flex: 1; background: var(--rs-bg-surface, #1e293b); color: var(--rs-text-primary, #f1f5f9); border: 1px solid var(--rs-input-border, #334155);
|
flex: 1; background: var(--rs-bg-surface, #1e293b); color: var(--rs-text-primary, #f1f5f9); border: 1px solid var(--rs-input-border, #334155);
|
||||||
border-radius: 8px; padding: 0.5rem 0.75rem; font-size: 0.85rem; box-sizing: border-box;
|
border-radius: 8px; padding: 0.5rem 0.75rem; font-size: 0.85rem; box-sizing: border-box;
|
||||||
}
|
}
|
||||||
.compose-input:focus { outline: none; border-color: #6366f1; }
|
.compose-input:focus { outline: none; border-color: var(--rs-primary, #6366f1); }
|
||||||
.compose-input::placeholder { color: var(--rs-text-muted, #64748b); }
|
.compose-input::placeholder { color: var(--rs-text-muted, #64748b); }
|
||||||
.compose-title {
|
.compose-title {
|
||||||
width: 100%; background: var(--rs-bg-surface, #1e293b); color: var(--rs-text-primary, #f1f5f9); border: 1px solid var(--rs-input-border, #334155);
|
width: 100%; background: var(--rs-bg-surface, #1e293b); color: var(--rs-text-primary, #f1f5f9); border: 1px solid var(--rs-input-border, #334155);
|
||||||
border-radius: 8px; padding: 0.5rem 0.75rem; font-size: 0.85rem; box-sizing: border-box;
|
border-radius: 8px; padding: 0.5rem 0.75rem; font-size: 0.85rem; box-sizing: border-box;
|
||||||
}
|
}
|
||||||
.compose-title:focus { outline: none; border-color: #6366f1; }
|
.compose-title:focus { outline: none; border-color: var(--rs-primary, #6366f1); }
|
||||||
.compose-title::placeholder { color: var(--rs-text-muted, #64748b); }
|
.compose-title::placeholder { color: var(--rs-text-muted, #64748b); }
|
||||||
|
|
||||||
.drafts-area { grid-column: 1 / -1; }
|
.drafts-area { grid-column: 1 / -1; }
|
||||||
|
|
@ -1137,8 +1137,8 @@ export class FolkThreadBuilder extends HTMLElement {
|
||||||
background: var(--rs-bg-surface, #1e293b); border: 1px solid var(--rs-input-border, #334155); border-radius: 8px;
|
background: var(--rs-bg-surface, #1e293b); border: 1px solid var(--rs-input-border, #334155); border-radius: 8px;
|
||||||
transition: border-color 0.15s; cursor: pointer;
|
transition: border-color 0.15s; cursor: pointer;
|
||||||
}
|
}
|
||||||
.draft-item:hover { border-color: #6366f1; }
|
.draft-item:hover { border-color: var(--rs-primary, #6366f1); }
|
||||||
.draft-item--active { border-color: #6366f1; background: rgba(99,102,241,0.1); }
|
.draft-item--active { border-color: var(--rs-primary, #6366f1); background: rgba(99,102,241,0.1); }
|
||||||
.draft-item__info { flex: 1; min-width: 0; }
|
.draft-item__info { flex: 1; min-width: 0; }
|
||||||
.draft-item__info strong { display: block; font-size: 0.8rem; color: var(--rs-text-primary, #f1f5f9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
.draft-item__info strong { display: block; font-size: 0.8rem; color: var(--rs-text-primary, #f1f5f9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||||
.draft-item__info span { font-size: 0.7rem; color: var(--rs-text-muted, #64748b); }
|
.draft-item__info span { font-size: 0.7rem; color: var(--rs-text-muted, #64748b); }
|
||||||
|
|
@ -1146,15 +1146,15 @@ export class FolkThreadBuilder extends HTMLElement {
|
||||||
background: none; border: none; color: var(--rs-text-muted, #64748b); font-size: 1.2rem; cursor: pointer;
|
background: none; border: none; color: var(--rs-text-muted, #64748b); font-size: 1.2rem; cursor: pointer;
|
||||||
padding: 0 4px; line-height: 1; flex-shrink: 0;
|
padding: 0 4px; line-height: 1; flex-shrink: 0;
|
||||||
}
|
}
|
||||||
.draft-item__delete:hover { color: #ef4444; }
|
.draft-item__delete:hover { color: var(--rs-error, #ef4444); }
|
||||||
|
|
||||||
#share-link-area { grid-column: 1 / -1; }
|
#share-link-area { grid-column: 1 / -1; }
|
||||||
.share-link {
|
.share-link {
|
||||||
display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.75rem;
|
display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.75rem;
|
||||||
background: rgba(99,102,241,0.1); border: 1px solid #6366f1; border-radius: 8px;
|
background: rgba(99,102,241,0.1); border: 1px solid var(--rs-primary, #6366f1); border-radius: 8px;
|
||||||
font-size: 0.8rem; color: #c4b5fd;
|
font-size: 0.8rem; color: var(--rs-primary-hover, #c4b5fd);
|
||||||
}
|
}
|
||||||
.share-link code { font-size: 0.75rem; color: #7dd3fc; }
|
.share-link code { font-size: 0.75rem; color: var(--rs-accent, #7dd3fc); }
|
||||||
.share-link button {
|
.share-link button {
|
||||||
background: none; border: none; color: var(--rs-text-secondary, #94a3b8); cursor: pointer; font-size: 0.75rem; padding: 2px 6px;
|
background: none; border: none; color: var(--rs-text-secondary, #94a3b8); cursor: pointer; font-size: 0.75rem; padding: 2px 6px;
|
||||||
}
|
}
|
||||||
|
|
@ -1168,11 +1168,11 @@ export class FolkThreadBuilder extends HTMLElement {
|
||||||
opacity: 0; transition: opacity 0.15s, border-color 0.15s, color 0.15s;
|
opacity: 0; transition: opacity 0.15s, border-color 0.15s, color 0.15s;
|
||||||
}
|
}
|
||||||
.tweet-card:hover .photo-btn { opacity: 1; }
|
.tweet-card:hover .photo-btn { opacity: 1; }
|
||||||
.photo-btn:hover { border-color: #6366f1; color: #c4b5fd; }
|
.photo-btn:hover { border-color: var(--rs-primary, #6366f1); color: var(--rs-primary-hover, #c4b5fd); }
|
||||||
.photo-btn svg { width: 14px; height: 14px; }
|
.photo-btn svg { width: 14px; height: 14px; }
|
||||||
.photo-plus {
|
.photo-plus {
|
||||||
position: absolute; bottom: -1px; right: -3px; font-size: 10px; font-weight: 700;
|
position: absolute; bottom: -1px; right: -3px; font-size: 10px; font-weight: 700;
|
||||||
color: #6366f1; line-height: 1;
|
color: var(--rs-primary, #6366f1); line-height: 1;
|
||||||
}
|
}
|
||||||
.photo-menu {
|
.photo-menu {
|
||||||
position: absolute; top: 38px; right: 8px; z-index: 10;
|
position: absolute; top: 38px; right: 8px; z-index: 10;
|
||||||
|
|
@ -1185,7 +1185,7 @@ export class FolkThreadBuilder extends HTMLElement {
|
||||||
padding: 0.5rem 0.7rem; border: none; background: transparent;
|
padding: 0.5rem 0.7rem; border: none; background: transparent;
|
||||||
color: var(--rs-text-primary, #f1f5f9); font-size: 0.8rem; cursor: pointer; transition: background 0.1s;
|
color: var(--rs-text-primary, #f1f5f9); font-size: 0.8rem; cursor: pointer; transition: background 0.1s;
|
||||||
}
|
}
|
||||||
.photo-menu button:hover { background: rgba(99,102,241,0.15); }
|
.photo-menu button:hover { background: var(--rs-bg-hover, rgba(99,102,241,0.15)); }
|
||||||
.photo-menu button + button { border-top: 1px solid var(--rs-bg-hover, #334155); }
|
.photo-menu button + button { border-top: 1px solid var(--rs-bg-hover, #334155); }
|
||||||
.photo-menu button svg { width: 14px; height: 14px; }
|
.photo-menu button svg { width: 14px; height: 14px; }
|
||||||
|
|
||||||
|
|
@ -1194,7 +1194,7 @@ export class FolkThreadBuilder extends HTMLElement {
|
||||||
border-radius: 12px; text-decoration: none; color: inherit; margin-top: 0.5rem;
|
border-radius: 12px; text-decoration: none; color: inherit; margin-top: 0.5rem;
|
||||||
transition: border-color 0.15s;
|
transition: border-color 0.15s;
|
||||||
}
|
}
|
||||||
.link-card:hover { border-color: #6366f1; }
|
.link-card:hover { border-color: var(--rs-primary, #6366f1); }
|
||||||
.link-card--loading { opacity: 0.6; }
|
.link-card--loading { opacity: 0.6; }
|
||||||
.link-card__image { width: 120px; min-height: 80px; flex-shrink: 0; overflow: hidden; background: var(--rs-bg-hover, #334155); }
|
.link-card__image { width: 120px; min-height: 80px; flex-shrink: 0; overflow: hidden; background: var(--rs-bg-hover, #334155); }
|
||||||
.link-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
.link-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||||
|
|
@ -1202,7 +1202,7 @@ export class FolkThreadBuilder extends HTMLElement {
|
||||||
.link-card__domain { font-size: 0.7rem; color: var(--rs-text-muted, #64748b); text-transform: lowercase; }
|
.link-card__domain { font-size: 0.7rem; color: var(--rs-text-muted, #64748b); text-transform: lowercase; }
|
||||||
.link-card__title { font-size: 0.82rem; font-weight: 600; color: var(--rs-text-primary, #f1f5f9); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
.link-card__title { font-size: 0.82rem; font-weight: 600; color: var(--rs-text-primary, #f1f5f9); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
||||||
.link-card__desc { font-size: 0.75rem; color: var(--rs-text-secondary, #94a3b8); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
.link-card__desc { font-size: 0.75rem; color: var(--rs-text-secondary, #94a3b8); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
||||||
.tc-link { color: #7dd3fc; text-decoration: none; }
|
.tc-link { color: var(--rs-accent, #7dd3fc); text-decoration: none; }
|
||||||
.tc-link:hover { text-decoration: underline; }
|
.tc-link:hover { text-decoration: underline; }
|
||||||
|
|
||||||
@media (max-width: 700px) {
|
@media (max-width: 700px) {
|
||||||
|
|
@ -1225,7 +1225,7 @@ export class FolkThreadBuilder extends HTMLElement {
|
||||||
.ro-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
|
.ro-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
|
||||||
.toast {
|
.toast {
|
||||||
position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
|
position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
|
||||||
background: var(--rs-bg-surface, #1e293b); border: 1px solid #6366f1; color: #c4b5fd;
|
background: var(--rs-bg-surface, #1e293b); border: 1px solid var(--rs-primary, #6366f1); color: var(--rs-primary-hover, #c4b5fd);
|
||||||
padding: 0.6rem 1.25rem; border-radius: 8px; font-size: 0.85rem;
|
padding: 0.6rem 1.25rem; border-radius: 8px; font-size: 0.85rem;
|
||||||
box-shadow: 0 4px 16px var(--rs-shadow-lg, rgba(0,0,0,0.3)); z-index: 1000;
|
box-shadow: 0 4px 16px var(--rs-shadow-lg, rgba(0,0,0,0.3)); z-index: 1000;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,7 @@ export class FolkThreadGallery extends HTMLElement {
|
||||||
.btn--primary { background: var(--rs-primary); color: white; }
|
.btn--primary { background: var(--rs-primary); color: white; }
|
||||||
.btn--primary:hover { background: var(--rs-primary-hover); }
|
.btn--primary:hover { background: var(--rs-primary-hover); }
|
||||||
.btn--success { background: var(--rs-success); color: white; }
|
.btn--success { background: var(--rs-success); color: white; }
|
||||||
.btn--success:hover { background: #34d399; }
|
.btn--success:hover { opacity: 0.85; }
|
||||||
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
|
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
|
||||||
.empty { color: var(--rs-text-muted, #64748b); text-align: center; padding: 3rem 1rem; font-size: 0.9rem; }
|
.empty { color: var(--rs-text-muted, #64748b); text-align: center; padding: 3rem 1rem; font-size: 0.9rem; }
|
||||||
.card {
|
.card {
|
||||||
|
|
|
||||||
|
|
@ -1,107 +1,107 @@
|
||||||
/* folk-newsletter-manager styles */
|
/* folk-newsletter-manager styles */
|
||||||
:host { display: block; max-width: 960px; margin: 0 auto; padding: 1.5rem; color: #e5e5e5; font-family: system-ui, -apple-system, sans-serif; }
|
:host { display: block; max-width: 960px; margin: 0 auto; padding: 1.5rem; color: var(--rs-text-primary, #e5e5e5); font-family: system-ui, -apple-system, sans-serif; }
|
||||||
|
|
||||||
.nl-header { margin-bottom: 1.5rem; }
|
.nl-header { margin-bottom: 1.5rem; }
|
||||||
.nl-header h2 { font-size: 1.5rem; margin: 0 0 .25rem; }
|
.nl-header h2 { font-size: 1.5rem; margin: 0 0 .25rem; }
|
||||||
.nl-header p { color: #a3a3a3; margin: 0; font-size: .9rem; }
|
.nl-header p { color: var(--rs-text-secondary, #a3a3a3); margin: 0; font-size: .9rem; }
|
||||||
|
|
||||||
/* Not-configured state */
|
/* Not-configured state */
|
||||||
.nl-setup { text-align: center; padding: 3rem 1.5rem; background: #1e1e2e; border: 1px dashed #404040; border-radius: 12px; }
|
.nl-setup { text-align: center; padding: 3rem 1.5rem; background: var(--rs-bg-surface, #1e1e2e); border: 1px dashed var(--rs-border, #404040); border-radius: 12px; }
|
||||||
.nl-setup h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
|
.nl-setup h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
|
||||||
.nl-setup p { color: #a3a3a3; margin: .5rem 0; font-size: .9rem; }
|
.nl-setup p { color: var(--rs-text-secondary, #a3a3a3); margin: .5rem 0; font-size: .9rem; }
|
||||||
.nl-setup .nl-setup-steps { text-align: left; max-width: 420px; margin: 1.5rem auto 0; }
|
.nl-setup .nl-setup-steps { text-align: left; max-width: 420px; margin: 1.5rem auto 0; }
|
||||||
.nl-setup .nl-setup-steps li { color: #a3a3a3; margin-bottom: .5rem; font-size: .85rem; }
|
.nl-setup .nl-setup-steps li { color: var(--rs-text-secondary, #a3a3a3); margin-bottom: .5rem; font-size: .85rem; }
|
||||||
|
|
||||||
/* Tabs */
|
/* Tabs */
|
||||||
.nl-tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; border-bottom: 1px solid #333; padding-bottom: 0; }
|
.nl-tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--rs-border, #333); padding-bottom: 0; }
|
||||||
.nl-tab { padding: .6rem 1.2rem; background: none; border: none; border-bottom: 2px solid transparent; color: #a3a3a3; cursor: pointer; font-size: .9rem; transition: color .15s, border-color .15s; }
|
.nl-tab { padding: .6rem 1.2rem; background: none; border: none; border-bottom: 2px solid transparent; color: var(--rs-text-secondary, #a3a3a3); cursor: pointer; font-size: .9rem; transition: color .15s, border-color .15s; }
|
||||||
.nl-tab:hover { color: #e5e5e5; }
|
.nl-tab:hover { color: var(--rs-text-primary, #e5e5e5); }
|
||||||
.nl-tab.active { color: #14b8a6; border-bottom-color: #14b8a6; }
|
.nl-tab.active { color: var(--rs-accent, #14b8a6); border-bottom-color: var(--rs-accent, #14b8a6); }
|
||||||
|
|
||||||
/* Tables */
|
/* Tables */
|
||||||
.nl-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
|
.nl-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
|
||||||
.nl-table th { text-align: left; padding: .6rem .8rem; color: #a3a3a3; border-bottom: 1px solid #333; font-weight: 500; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
|
.nl-table th { text-align: left; padding: .6rem .8rem; color: var(--rs-text-muted, #a3a3a3); border-bottom: 1px solid var(--rs-border, #333); font-weight: 500; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
|
||||||
.nl-table td { padding: .6rem .8rem; border-bottom: 1px solid #1a1a2e; }
|
.nl-table td { padding: .6rem .8rem; border-bottom: 1px solid var(--rs-border-subtle, #1a1a2e); }
|
||||||
.nl-table tr:hover td { background: #1e1e2e; }
|
.nl-table tr:hover td { background: var(--rs-bg-surface, #1e1e2e); }
|
||||||
|
|
||||||
/* Badges */
|
/* Badges */
|
||||||
.nl-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: .75rem; font-weight: 500; }
|
.nl-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: .75rem; font-weight: 500; }
|
||||||
.nl-badge--active { background: #14b8a622; color: #14b8a6; }
|
.nl-badge--active { background: rgba(20,184,166,0.13); color: var(--rs-accent, #14b8a6); }
|
||||||
.nl-badge--draft { background: #f59e0b22; color: #f59e0b; }
|
.nl-badge--draft { background: rgba(245,158,11,0.13); color: var(--rs-warning, #f59e0b); }
|
||||||
.nl-badge--finished { background: #6366f122; color: #818cf8; }
|
.nl-badge--finished { background: rgba(99,102,241,0.13); color: var(--rs-primary-hover, #818cf8); }
|
||||||
.nl-badge--running { background: #14b8a622; color: #14b8a6; }
|
.nl-badge--running { background: rgba(20,184,166,0.13); color: var(--rs-accent, #14b8a6); }
|
||||||
.nl-badge--paused { background: #ef444422; color: #f87171; }
|
.nl-badge--paused { background: rgba(239,68,68,0.13); color: var(--rs-error, #f87171); }
|
||||||
.nl-badge--enabled { background: #14b8a622; color: #14b8a6; }
|
.nl-badge--enabled { background: rgba(20,184,166,0.13); color: var(--rs-accent, #14b8a6); }
|
||||||
.nl-badge--blocklisted { background: #ef444422; color: #f87171; }
|
.nl-badge--blocklisted { background: rgba(239,68,68,0.13); color: var(--rs-error, #f87171); }
|
||||||
|
|
||||||
/* Buttons */
|
/* Buttons */
|
||||||
.nl-btn { padding: .5rem 1rem; border-radius: 6px; border: 1px solid #333; background: #1e1e2e; color: #e5e5e5; cursor: pointer; font-size: .85rem; transition: background .15s, border-color .15s; }
|
.nl-btn { padding: .5rem 1rem; border-radius: 6px; border: 1px solid var(--rs-border, #333); background: var(--rs-bg-surface, #1e1e2e); color: var(--rs-text-primary, #e5e5e5); cursor: pointer; font-size: .85rem; transition: background .15s, border-color .15s; }
|
||||||
.nl-btn:hover { background: #252538; border-color: #14b8a6; }
|
.nl-btn:hover { background: var(--rs-bg-surface-raised, #252538); border-color: var(--rs-accent, #14b8a6); }
|
||||||
.nl-btn--primary { background: #14b8a6; border-color: #14b8a6; color: #0a0a0a; font-weight: 500; }
|
.nl-btn--primary { background: var(--rs-accent, #14b8a6); border-color: var(--rs-accent, #14b8a6); color: var(--rs-text-inverse, #0a0a0a); font-weight: 500; }
|
||||||
.nl-btn--primary:hover { background: #0d9488; }
|
.nl-btn--primary:hover { background: var(--rs-accent-hover, #0d9488); }
|
||||||
.nl-btn--sm { padding: .3rem .6rem; font-size: .8rem; }
|
.nl-btn--sm { padding: .3rem .6rem; font-size: .8rem; }
|
||||||
|
|
||||||
/* Toolbar */
|
/* Toolbar */
|
||||||
.nl-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; gap: .75rem; flex-wrap: wrap; }
|
.nl-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; gap: .75rem; flex-wrap: wrap; }
|
||||||
.nl-toolbar input[type="search"] { padding: .4rem .8rem; background: #0a0a0a; border: 1px solid #404040; border-radius: 6px; color: #e5e5e5; font-size: .85rem; min-width: 200px; }
|
.nl-toolbar input[type="search"] { padding: .4rem .8rem; background: var(--rs-input-bg, #0a0a0a); border: 1px solid var(--rs-input-border, #404040); border-radius: 6px; color: var(--rs-input-text, #e5e5e5); font-size: .85rem; min-width: 200px; }
|
||||||
|
|
||||||
/* Pagination */
|
/* Pagination */
|
||||||
.nl-pagination { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1rem; font-size: .85rem; color: #a3a3a3; }
|
.nl-pagination { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1rem; font-size: .85rem; color: var(--rs-text-secondary, #a3a3a3); }
|
||||||
|
|
||||||
/* Loading / Empty */
|
/* Loading / Empty */
|
||||||
.nl-loading { text-align: center; padding: 3rem; color: #a3a3a3; }
|
.nl-loading { text-align: center; padding: 3rem; color: var(--rs-text-secondary, #a3a3a3); }
|
||||||
.nl-empty { text-align: center; padding: 2rem; color: #525252; font-size: .9rem; }
|
.nl-empty { text-align: center; padding: 2rem; color: var(--rs-text-muted, #525252); font-size: .9rem; }
|
||||||
|
|
||||||
/* Create campaign form */
|
/* Create campaign form */
|
||||||
.nl-form { background: #1e1e2e; border: 1px solid #333; border-radius: 8px; padding: 1.25rem; margin-bottom: 1.5rem; }
|
.nl-form { background: var(--rs-bg-surface, #1e1e2e); border: 1px solid var(--rs-border, #333); border-radius: 8px; padding: 1.25rem; margin-bottom: 1.5rem; }
|
||||||
.nl-form label { display: block; font-size: .8rem; color: #a3a3a3; margin-bottom: .25rem; }
|
.nl-form label { display: block; font-size: .8rem; color: var(--rs-text-secondary, #a3a3a3); margin-bottom: .25rem; }
|
||||||
.nl-form input, .nl-form select, .nl-form textarea { width: 100%; padding: .45rem .7rem; background: #0a0a0a; border: 1px solid #404040; border-radius: 4px; color: #e5e5e5; font-size: .85rem; margin-bottom: .75rem; box-sizing: border-box; }
|
.nl-form input, .nl-form select, .nl-form textarea { width: 100%; padding: .45rem .7rem; background: var(--rs-input-bg, #0a0a0a); border: 1px solid var(--rs-input-border, #404040); border-radius: 4px; color: var(--rs-input-text, #e5e5e5); font-size: .85rem; margin-bottom: .75rem; box-sizing: border-box; }
|
||||||
.nl-form textarea { min-height: 80px; resize: vertical; font-family: inherit; }
|
.nl-form textarea { min-height: 80px; resize: vertical; font-family: inherit; }
|
||||||
.nl-form-row { display: flex; gap: .75rem; }
|
.nl-form-row { display: flex; gap: .75rem; }
|
||||||
.nl-form-row > * { flex: 1; }
|
.nl-form-row > * { flex: 1; }
|
||||||
|
|
||||||
/* Danger button */
|
/* Danger button */
|
||||||
.nl-btn--danger { border-color: #ef4444; color: #f87171; }
|
.nl-btn--danger { border-color: var(--rs-error, #ef4444); color: var(--rs-error, #f87171); }
|
||||||
.nl-btn--danger:hover { background: #ef444422; border-color: #f87171; }
|
.nl-btn--danger:hover { background: rgba(239,68,68,0.13); border-color: var(--rs-error, #f87171); }
|
||||||
.nl-btn--send { background: #6366f1; border-color: #6366f1; color: #fff; font-weight: 500; }
|
.nl-btn--send { background: var(--rs-primary, #6366f1); border-color: var(--rs-primary, #6366f1); color: #fff; font-weight: 500; }
|
||||||
.nl-btn--send:hover { background: #4f46e5; }
|
.nl-btn--send:hover { background: var(--rs-primary-hover, #4f46e5); }
|
||||||
|
|
||||||
/* Actions cell */
|
/* Actions cell */
|
||||||
.nl-actions-cell { white-space: nowrap; }
|
.nl-actions-cell { white-space: nowrap; }
|
||||||
.nl-actions-cell .nl-btn { margin-right: .25rem; }
|
.nl-actions-cell .nl-btn { margin-right: .25rem; }
|
||||||
|
|
||||||
/* Error */
|
/* Error */
|
||||||
.nl-error { padding: .75rem 1rem; background: #ef444422; border: 1px solid #ef4444; border-radius: 6px; color: #f87171; font-size: .85rem; margin-bottom: 1rem; }
|
.nl-error { padding: .75rem 1rem; background: rgba(239,68,68,0.13); border: 1px solid var(--rs-error, #ef4444); border-radius: 6px; color: var(--rs-error, #f87171); font-size: .85rem; margin-bottom: 1rem; }
|
||||||
|
|
||||||
/* ── Editor ── */
|
/* ── Editor ── */
|
||||||
.nl-editor-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
|
.nl-editor-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
|
||||||
.nl-editor-header h2 { font-size: 1.3rem; margin: 0; }
|
.nl-editor-header h2 { font-size: 1.3rem; margin: 0; }
|
||||||
|
|
||||||
.nl-editor-fields { margin-bottom: 1rem; }
|
.nl-editor-fields { margin-bottom: 1rem; }
|
||||||
.nl-editor-fields label { display: block; font-size: .8rem; color: #a3a3a3; margin-bottom: .25rem; }
|
.nl-editor-fields label { display: block; font-size: .8rem; color: var(--rs-text-secondary, #a3a3a3); margin-bottom: .25rem; }
|
||||||
.nl-editor-fields input { width: 100%; padding: .45rem .7rem; background: #0a0a0a; border: 1px solid #404040; border-radius: 4px; color: #e5e5e5; font-size: .85rem; margin-bottom: .75rem; box-sizing: border-box; }
|
.nl-editor-fields input { width: 100%; padding: .45rem .7rem; background: var(--rs-input-bg, #0a0a0a); border: 1px solid var(--rs-input-border, #404040); border-radius: 4px; color: var(--rs-input-text, #e5e5e5); font-size: .85rem; margin-bottom: .75rem; box-sizing: border-box; }
|
||||||
|
|
||||||
/* List selector */
|
/* List selector */
|
||||||
.nl-list-selector { display: flex; flex-wrap: wrap; gap: .5rem; padding: .5rem; background: #1e1e2e; border: 1px solid #333; border-radius: 6px; margin-bottom: 1rem; min-height: 2.5rem; align-items: center; }
|
.nl-list-selector { display: flex; flex-wrap: wrap; gap: .5rem; padding: .5rem; background: var(--rs-bg-surface, #1e1e2e); border: 1px solid var(--rs-border, #333); border-radius: 6px; margin-bottom: 1rem; min-height: 2.5rem; align-items: center; }
|
||||||
.nl-list-option { display: flex; align-items: center; gap: .4rem; padding: .3rem .6rem; background: #0a0a0a; border: 1px solid #333; border-radius: 4px; cursor: pointer; font-size: .82rem; transition: border-color .15s; }
|
.nl-list-option { display: flex; align-items: center; gap: .4rem; padding: .3rem .6rem; background: var(--rs-input-bg, #0a0a0a); border: 1px solid var(--rs-border, #333); border-radius: 4px; cursor: pointer; font-size: .82rem; transition: border-color .15s; }
|
||||||
.nl-list-option:hover { border-color: #14b8a6; }
|
.nl-list-option:hover { border-color: var(--rs-accent, #14b8a6); }
|
||||||
.nl-list-option input[type="checkbox"] { accent-color: #14b8a6; }
|
.nl-list-option input[type="checkbox"] { accent-color: var(--rs-accent, #14b8a6); }
|
||||||
.nl-list-count { color: #a3a3a3; font-size: .75rem; margin-left: .25rem; }
|
.nl-list-count { color: var(--rs-text-secondary, #a3a3a3); font-size: .75rem; margin-left: .25rem; }
|
||||||
|
|
||||||
/* Editor body + preview */
|
/* Editor body + preview */
|
||||||
.nl-editor { display: flex; gap: 1rem; margin-bottom: 1rem; }
|
.nl-editor { display: flex; gap: 1rem; margin-bottom: 1rem; }
|
||||||
.nl-editor__body { flex: 1; display: flex; flex-direction: column; }
|
.nl-editor__body { flex: 1; display: flex; flex-direction: column; }
|
||||||
.nl-editor__body label { font-size: .8rem; color: #a3a3a3; margin-bottom: .25rem; }
|
.nl-editor__body label { font-size: .8rem; color: var(--rs-text-secondary, #a3a3a3); margin-bottom: .25rem; }
|
||||||
.nl-editor__body textarea { flex: 1; min-height: 300px; padding: .6rem .8rem; background: #0a0a0a; border: 1px solid #404040; border-radius: 4px; color: #e5e5e5; font-size: .85rem; font-family: 'Fira Code', 'Cascadia Code', monospace; resize: vertical; box-sizing: border-box; line-height: 1.5; }
|
.nl-editor__body textarea { flex: 1; min-height: 300px; padding: .6rem .8rem; background: var(--rs-input-bg, #0a0a0a); border: 1px solid var(--rs-input-border, #404040); border-radius: 4px; color: var(--rs-input-text, #e5e5e5); font-size: .85rem; font-family: 'Fira Code', 'Cascadia Code', monospace; resize: vertical; box-sizing: border-box; line-height: 1.5; }
|
||||||
.nl-editor__preview { flex: 1; display: flex; flex-direction: column; }
|
.nl-editor__preview { flex: 1; display: flex; flex-direction: column; }
|
||||||
.nl-editor__preview label { font-size: .8rem; color: #a3a3a3; margin-bottom: .25rem; }
|
.nl-editor__preview label { font-size: .8rem; color: var(--rs-text-secondary, #a3a3a3); margin-bottom: .25rem; }
|
||||||
.nl-preview-frame { flex: 1; min-height: 300px; border: 1px solid #404040; border-radius: 4px; background: #fff; }
|
.nl-preview-frame { flex: 1; min-height: 300px; border: 1px solid var(--rs-input-border, #404040); border-radius: 4px; background: #fff; }
|
||||||
|
|
||||||
/* Editor action bar */
|
/* Editor action bar */
|
||||||
.nl-editor-actions { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; padding-top: .75rem; border-top: 1px solid #333; }
|
.nl-editor-actions { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; padding-top: .75rem; border-top: 1px solid var(--rs-border, #333); }
|
||||||
.nl-editor-actions__left, .nl-editor-actions__right { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
|
.nl-editor-actions__left, .nl-editor-actions__right { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
|
||||||
.nl-schedule-group { display: flex; align-items: center; gap: .35rem; }
|
.nl-schedule-group { display: flex; align-items: center; gap: .35rem; }
|
||||||
.nl-schedule-group input[type="datetime-local"] { padding: .4rem .5rem; background: #0a0a0a; border: 1px solid #404040; border-radius: 4px; color: #e5e5e5; font-size: .82rem; }
|
.nl-schedule-group input[type="datetime-local"] { padding: .4rem .5rem; background: var(--rs-input-bg, #0a0a0a); border: 1px solid var(--rs-input-border, #404040); border-radius: 4px; color: var(--rs-input-text, #e5e5e5); font-size: .82rem; }
|
||||||
|
|
||||||
/* Responsive: stack editor panes vertically on narrow screens */
|
/* Responsive: stack editor panes vertically on narrow screens */
|
||||||
@media (max-width: 700px) {
|
@media (max-width: 700px) {
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
background: var(--rs-bg-surface); border: 1px solid var(--rs-input-border); border-radius: 0.75rem; padding: 1rem;
|
background: var(--rs-bg-surface); border: 1px solid var(--rs-input-border); border-radius: 0.75rem; padding: 1rem;
|
||||||
transition: border-color 0.15s;
|
transition: border-color 0.15s;
|
||||||
}
|
}
|
||||||
.campaign-post:hover { border-color: #6366f1; }
|
.campaign-post:hover { border-color: var(--rs-primary); }
|
||||||
.campaign-post__header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
|
.campaign-post__header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
|
||||||
.campaign-post__platform {
|
.campaign-post__platform {
|
||||||
width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
|
width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
|
||||||
|
|
@ -34,22 +34,22 @@
|
||||||
.campaign-post__meta { flex: 1; min-width: 0; }
|
.campaign-post__meta { flex: 1; min-width: 0; }
|
||||||
.campaign-post__meta strong { display: block; font-size: 0.8rem; color: var(--rs-text-primary); text-transform: capitalize; }
|
.campaign-post__meta strong { display: block; font-size: 0.8rem; color: var(--rs-text-primary); text-transform: capitalize; }
|
||||||
.campaign-post__date { font-size: 0.7rem; color: var(--rs-text-muted); }
|
.campaign-post__date { font-size: 0.7rem; color: var(--rs-text-muted); }
|
||||||
.campaign-post__step { font-size: 0.65rem; color: #6366f1; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
|
.campaign-post__step { font-size: 0.65rem; color: var(--rs-primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
|
||||||
.campaign-status { font-size: 0.6rem; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; font-weight: 600; letter-spacing: 0.05em; white-space: nowrap; }
|
.campaign-status { font-size: 0.6rem; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; font-weight: 600; letter-spacing: 0.05em; white-space: nowrap; }
|
||||||
.campaign-status--scheduled { background: rgba(16,185,129,0.15); color: #34d399; }
|
.campaign-status--scheduled { background: rgba(34,197,94,0.15); color: var(--rs-success, #34d399); }
|
||||||
.campaign-status--draft { background: rgba(251,191,36,0.15); color: #fbbf24; }
|
.campaign-status--draft { background: rgba(251,191,36,0.15); color: var(--rs-warning, #fbbf24); }
|
||||||
.campaign-post__content { font-size: 0.8rem; color: var(--rs-text-secondary); line-height: 1.5; margin: 0 0 0.5rem; }
|
.campaign-post__content { font-size: 0.8rem; color: var(--rs-text-secondary); line-height: 1.5; margin: 0 0 0.5rem; }
|
||||||
.campaign-post__tags { display: flex; flex-wrap: wrap; gap: 0.25rem; }
|
.campaign-post__tags { display: flex; flex-wrap: wrap; gap: 0.25rem; }
|
||||||
.campaign-tag { font-size: 0.65rem; color: #7dd3fc; }
|
.campaign-tag { font-size: 0.65rem; color: var(--rs-accent, #7dd3fc); }
|
||||||
.campaign-page__actions { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; }
|
.campaign-page__actions { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; }
|
||||||
.campaign-action-btn {
|
.campaign-action-btn {
|
||||||
padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
|
padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
|
||||||
cursor: pointer; transition: all 0.15s; text-decoration: none; display: inline-flex; align-items: center;
|
cursor: pointer; transition: all 0.15s; text-decoration: none; display: inline-flex; align-items: center;
|
||||||
}
|
}
|
||||||
.campaign-action-btn--primary { background: #6366f1; color: white; border: none; }
|
.campaign-action-btn--primary { background: var(--rs-primary); color: white; border: none; }
|
||||||
.campaign-action-btn--primary:hover { background: #818cf8; }
|
.campaign-action-btn--primary:hover { background: var(--rs-primary-hover); }
|
||||||
.campaign-action-btn--outline { background: transparent; color: var(--rs-text-secondary); border: 1px solid var(--rs-input-border); }
|
.campaign-action-btn--outline { background: transparent; color: var(--rs-text-secondary); border: 1px solid var(--rs-input-border); }
|
||||||
.campaign-action-btn--outline:hover { border-color: #6366f1; color: #c4b5fd; }
|
.campaign-action-btn--outline:hover { border-color: var(--rs-primary); color: var(--rs-primary-hover, #c4b5fd); }
|
||||||
.campaign-modal-overlay {
|
.campaign-modal-overlay {
|
||||||
position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex;
|
position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex;
|
||||||
align-items: center; justify-content: center; z-index: 1000;
|
align-items: center; justify-content: center; z-index: 1000;
|
||||||
|
|
@ -71,14 +71,14 @@
|
||||||
border-radius: 8px; padding: 0.75rem; font-family: inherit; font-size: 0.85rem; resize: vertical;
|
border-radius: 8px; padding: 0.75rem; font-family: inherit; font-size: 0.85rem; resize: vertical;
|
||||||
line-height: 1.5; box-sizing: border-box;
|
line-height: 1.5; box-sizing: border-box;
|
||||||
}
|
}
|
||||||
.campaign-modal__textarea:focus { outline: none; border-color: #6366f1; }
|
.campaign-modal__textarea:focus { outline: none; border-color: var(--rs-primary); }
|
||||||
.campaign-modal__textarea::placeholder { color: var(--rs-text-muted); }
|
.campaign-modal__textarea::placeholder { color: var(--rs-text-muted); }
|
||||||
.campaign-modal__row { display: flex; gap: 0.75rem; align-items: center; }
|
.campaign-modal__row { display: flex; gap: 0.75rem; align-items: center; }
|
||||||
.campaign-modal__select {
|
.campaign-modal__select {
|
||||||
flex: 1; background: var(--rs-input-bg); color: var(--rs-input-text); border: 1px solid var(--rs-input-border);
|
flex: 1; background: var(--rs-input-bg); color: var(--rs-input-text); border: 1px solid var(--rs-input-border);
|
||||||
border-radius: 8px; padding: 0.5rem 0.75rem; font-size: 0.85rem;
|
border-radius: 8px; padding: 0.5rem 0.75rem; font-size: 0.85rem;
|
||||||
}
|
}
|
||||||
.campaign-modal__select:focus { outline: none; border-color: #6366f1; }
|
.campaign-modal__select:focus { outline: none; border-color: var(--rs-primary); }
|
||||||
|
|
||||||
/* ── Thread builder ── */
|
/* ── Thread builder ── */
|
||||||
|
|
||||||
|
|
@ -87,12 +87,12 @@
|
||||||
.thread-page__header h1 { margin: 0; font-size: 1.5rem; color: var(--rs-text-primary); background: linear-gradient(135deg, #7dd3fc, #c4b5fd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
|
.thread-page__header h1 { margin: 0; font-size: 1.5rem; color: var(--rs-text-primary); background: linear-gradient(135deg, #7dd3fc, #c4b5fd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
|
||||||
.thread-page__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
|
.thread-page__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
|
||||||
.thread-btn { padding: 0.5rem 1rem; border-radius: 8px; border: none; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.15s; }
|
.thread-btn { padding: 0.5rem 1rem; border-radius: 8px; border: none; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.15s; }
|
||||||
.thread-btn--primary { background: #6366f1; color: white; }
|
.thread-btn--primary { background: var(--rs-primary); color: white; }
|
||||||
.thread-btn--primary:hover { background: #818cf8; }
|
.thread-btn--primary:hover { background: var(--rs-primary-hover); }
|
||||||
.thread-btn--outline { background: transparent; color: var(--rs-text-secondary); border: 1px solid var(--rs-input-border); }
|
.thread-btn--outline { background: transparent; color: var(--rs-text-secondary); border: 1px solid var(--rs-input-border); }
|
||||||
.thread-btn--outline:hover { border-color: #6366f1; color: #c4b5fd; }
|
.thread-btn--outline:hover { border-color: var(--rs-primary); color: var(--rs-primary-hover, #c4b5fd); }
|
||||||
.thread-btn--success { background: #10b981; color: white; }
|
.thread-btn--success { background: var(--rs-success); color: white; }
|
||||||
.thread-btn--success:hover { background: #34d399; }
|
.thread-btn--success:hover { opacity: 0.85; }
|
||||||
.thread-btn:disabled { opacity: 0.5; cursor: not-allowed; }
|
.thread-btn:disabled { opacity: 0.5; cursor: not-allowed; }
|
||||||
.thread-compose { position: sticky; top: 1rem; align-self: start; display: flex; flex-direction: column; gap: 1rem; }
|
.thread-compose { position: sticky; top: 1rem; align-self: start; display: flex; flex-direction: column; gap: 1rem; }
|
||||||
.thread-compose__textarea {
|
.thread-compose__textarea {
|
||||||
|
|
@ -100,20 +100,20 @@
|
||||||
border-radius: 0.75rem; padding: 1rem; font-family: inherit; font-size: 0.9rem; resize: vertical;
|
border-radius: 0.75rem; padding: 1rem; font-family: inherit; font-size: 0.9rem; resize: vertical;
|
||||||
line-height: 1.6; box-sizing: border-box;
|
line-height: 1.6; box-sizing: border-box;
|
||||||
}
|
}
|
||||||
.thread-compose__textarea:focus { outline: none; border-color: #6366f1; }
|
.thread-compose__textarea:focus { outline: none; border-color: var(--rs-primary); }
|
||||||
.thread-compose__textarea::placeholder { color: var(--rs-text-muted); }
|
.thread-compose__textarea::placeholder { color: var(--rs-text-muted); }
|
||||||
.thread-compose__fields { display: flex; gap: 0.75rem; }
|
.thread-compose__fields { display: flex; gap: 0.75rem; }
|
||||||
.thread-compose__input {
|
.thread-compose__input {
|
||||||
flex: 1; background: var(--rs-bg-surface); color: var(--rs-text-primary); border: 1px solid var(--rs-input-border);
|
flex: 1; background: var(--rs-bg-surface); color: var(--rs-text-primary); border: 1px solid var(--rs-input-border);
|
||||||
border-radius: 8px; padding: 0.5rem 0.75rem; font-size: 0.85rem; box-sizing: border-box;
|
border-radius: 8px; padding: 0.5rem 0.75rem; font-size: 0.85rem; box-sizing: border-box;
|
||||||
}
|
}
|
||||||
.thread-compose__input:focus { outline: none; border-color: #6366f1; }
|
.thread-compose__input:focus { outline: none; border-color: var(--rs-primary); }
|
||||||
.thread-compose__input::placeholder { color: var(--rs-text-muted); }
|
.thread-compose__input::placeholder { color: var(--rs-text-muted); }
|
||||||
.thread-compose__title {
|
.thread-compose__title {
|
||||||
width: 100%; background: var(--rs-bg-surface); color: var(--rs-text-primary); border: 1px solid var(--rs-input-border);
|
width: 100%; background: var(--rs-bg-surface); color: var(--rs-text-primary); border: 1px solid var(--rs-input-border);
|
||||||
border-radius: 8px; padding: 0.5rem 0.75rem; font-size: 0.85rem; box-sizing: border-box;
|
border-radius: 8px; padding: 0.5rem 0.75rem; font-size: 0.85rem; box-sizing: border-box;
|
||||||
}
|
}
|
||||||
.thread-compose__title:focus { outline: none; border-color: #6366f1; }
|
.thread-compose__title:focus { outline: none; border-color: var(--rs-primary); }
|
||||||
.thread-compose__title::placeholder { color: var(--rs-text-muted); }
|
.thread-compose__title::placeholder { color: var(--rs-text-muted); }
|
||||||
.thread-drafts { grid-column: 1 / -1; }
|
.thread-drafts { grid-column: 1 / -1; }
|
||||||
.thread-drafts__toggle { cursor: pointer; user-select: none; }
|
.thread-drafts__toggle { cursor: pointer; user-select: none; }
|
||||||
|
|
@ -128,8 +128,8 @@
|
||||||
background: var(--rs-bg-surface); border: 1px solid var(--rs-input-border); border-radius: 8px;
|
background: var(--rs-bg-surface); border: 1px solid var(--rs-input-border); border-radius: 8px;
|
||||||
transition: border-color 0.15s; cursor: pointer;
|
transition: border-color 0.15s; cursor: pointer;
|
||||||
}
|
}
|
||||||
.thread-draft-item:hover { border-color: #6366f1; }
|
.thread-draft-item:hover { border-color: var(--rs-primary); }
|
||||||
.thread-draft-item--active { border-color: #6366f1; background: rgba(99,102,241,0.1); }
|
.thread-draft-item--active { border-color: var(--rs-primary); background: rgba(99,102,241,0.1); }
|
||||||
.thread-draft-item__info { flex: 1; min-width: 0; }
|
.thread-draft-item__info { flex: 1; min-width: 0; }
|
||||||
.thread-draft-item__info strong { display: block; font-size: 0.8rem; color: var(--rs-text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
.thread-draft-item__info strong { display: block; font-size: 0.8rem; color: var(--rs-text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||||
.thread-draft-item__info span { font-size: 0.7rem; color: var(--rs-text-muted); }
|
.thread-draft-item__info span { font-size: 0.7rem; color: var(--rs-text-muted); }
|
||||||
|
|
@ -137,7 +137,7 @@
|
||||||
background: none; border: none; color: var(--rs-text-muted); font-size: 1.2rem; cursor: pointer;
|
background: none; border: none; color: var(--rs-text-muted); font-size: 1.2rem; cursor: pointer;
|
||||||
padding: 0 4px; line-height: 1; flex-shrink: 0;
|
padding: 0 4px; line-height: 1; flex-shrink: 0;
|
||||||
}
|
}
|
||||||
.thread-draft-item__delete:hover { color: #ef4444; }
|
.thread-draft-item__delete:hover { color: var(--rs-error); }
|
||||||
.thread-image-section { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
|
.thread-image-section { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
|
||||||
.thread-image-preview { border-radius: 8px; overflow: hidden; border: 1px solid var(--rs-input-border); }
|
.thread-image-preview { border-radius: 8px; overflow: hidden; border: 1px solid var(--rs-input-border); }
|
||||||
.thread-image-preview[hidden] { display: none; }
|
.thread-image-preview[hidden] { display: none; }
|
||||||
|
|
@ -145,10 +145,10 @@
|
||||||
#share-link-area { grid-column: 1 / -1; }
|
#share-link-area { grid-column: 1 / -1; }
|
||||||
.thread-share-link {
|
.thread-share-link {
|
||||||
display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.75rem;
|
display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.75rem;
|
||||||
background: rgba(99,102,241,0.1); border: 1px solid #6366f1; border-radius: 8px;
|
background: rgba(99,102,241,0.1); border: 1px solid var(--rs-primary); border-radius: 8px;
|
||||||
font-size: 0.8rem; color: #c4b5fd;
|
font-size: 0.8rem; color: var(--rs-primary-hover, #c4b5fd);
|
||||||
}
|
}
|
||||||
.thread-share-link code { font-size: 0.75rem; color: #7dd3fc; }
|
.thread-share-link code { font-size: 0.75rem; color: var(--rs-accent, #7dd3fc); }
|
||||||
.thread-share-link button {
|
.thread-share-link button {
|
||||||
background: none; border: none; color: var(--rs-text-secondary); cursor: pointer; font-size: 0.75rem; padding: 2px 6px;
|
background: none; border: none; color: var(--rs-text-secondary); cursor: pointer; font-size: 0.75rem; padding: 2px 6px;
|
||||||
}
|
}
|
||||||
|
|
@ -167,7 +167,7 @@
|
||||||
}
|
}
|
||||||
.tweet-card__header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
|
.tweet-card__header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
|
||||||
.tweet-card__avatar {
|
.tweet-card__avatar {
|
||||||
width: 40px; height: 40px; border-radius: 50%; background: #6366f1;
|
width: 40px; height: 40px; border-radius: 50%; background: var(--rs-primary);
|
||||||
display: flex; align-items: center; justify-content: center; color: white;
|
display: flex; align-items: center; justify-content: center; color: white;
|
||||||
font-weight: 700; font-size: 1rem; flex-shrink: 0;
|
font-weight: 700; font-size: 1rem; flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
@ -182,8 +182,8 @@
|
||||||
.tweet-card__action svg { width: 16px; height: 16px; }
|
.tweet-card__action svg { width: 16px; height: 16px; }
|
||||||
.tweet-card__meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--rs-text-muted); }
|
.tweet-card__meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--rs-text-muted); }
|
||||||
.tweet-card__chars { font-variant-numeric: tabular-nums; }
|
.tweet-card__chars { font-variant-numeric: tabular-nums; }
|
||||||
.tweet-card__chars--over { color: #ef4444; font-weight: 600; }
|
.tweet-card__chars--over { color: var(--rs-error); font-weight: 600; }
|
||||||
.tweet-card__thread-num { color: #6366f1; font-weight: 600; }
|
.tweet-card__thread-num { color: var(--rs-primary); font-weight: 600; }
|
||||||
@media (max-width: 700px) {
|
@media (max-width: 700px) {
|
||||||
.thread-page { grid-template-columns: 1fr; }
|
.thread-page { grid-template-columns: 1fr; }
|
||||||
.thread-compose { position: static; }
|
.thread-compose { position: static; }
|
||||||
|
|
@ -201,7 +201,7 @@
|
||||||
background: transparent; color: var(--rs-text-primary); font-size: 0.85rem;
|
background: transparent; color: var(--rs-text-primary); font-size: 0.85rem;
|
||||||
text-align: left; cursor: pointer; transition: background 0.1s;
|
text-align: left; cursor: pointer; transition: background 0.1s;
|
||||||
}
|
}
|
||||||
.thread-export-menu button:hover { background: rgba(99,102,241,0.15); }
|
.thread-export-menu button:hover { background: var(--rs-bg-hover); }
|
||||||
.thread-export-menu button + button { border-top: 1px solid var(--rs-bg-hover); }
|
.thread-export-menu button + button { border-top: 1px solid var(--rs-bg-hover); }
|
||||||
.tweet-card__photo-btn {
|
.tweet-card__photo-btn {
|
||||||
position: absolute; top: 8px; right: 8px; z-index: 5;
|
position: absolute; top: 8px; right: 8px; z-index: 5;
|
||||||
|
|
@ -211,11 +211,11 @@
|
||||||
opacity: 0; transition: opacity 0.15s, border-color 0.15s, color 0.15s;
|
opacity: 0; transition: opacity 0.15s, border-color 0.15s, color 0.15s;
|
||||||
}
|
}
|
||||||
.tweet-card:hover .tweet-card__photo-btn { opacity: 1; }
|
.tweet-card:hover .tweet-card__photo-btn { opacity: 1; }
|
||||||
.tweet-card__photo-btn:hover { border-color: #6366f1; color: #c4b5fd; }
|
.tweet-card__photo-btn:hover { border-color: var(--rs-primary); color: var(--rs-primary-hover, #c4b5fd); }
|
||||||
.tweet-card__photo-btn svg { width: 14px; height: 14px; }
|
.tweet-card__photo-btn svg { width: 14px; height: 14px; }
|
||||||
.tweet-card__photo-btn .photo-btn-plus {
|
.tweet-card__photo-btn .photo-btn-plus {
|
||||||
position: absolute; bottom: -1px; right: -3px; font-size: 10px; font-weight: 700;
|
position: absolute; bottom: -1px; right: -3px; font-size: 10px; font-weight: 700;
|
||||||
color: #6366f1; line-height: 1;
|
color: var(--rs-primary); line-height: 1;
|
||||||
}
|
}
|
||||||
.tweet-card__photo-menu {
|
.tweet-card__photo-menu {
|
||||||
position: absolute; top: 38px; right: 8px; z-index: 10;
|
position: absolute; top: 38px; right: 8px; z-index: 10;
|
||||||
|
|
@ -228,7 +228,7 @@
|
||||||
padding: 0.5rem 0.7rem; border: none; background: transparent;
|
padding: 0.5rem 0.7rem; border: none; background: transparent;
|
||||||
color: var(--rs-text-primary); font-size: 0.8rem; cursor: pointer; transition: background 0.1s;
|
color: var(--rs-text-primary); font-size: 0.8rem; cursor: pointer; transition: background 0.1s;
|
||||||
}
|
}
|
||||||
.tweet-card__photo-menu button:hover { background: rgba(99,102,241,0.15); }
|
.tweet-card__photo-menu button:hover { background: var(--rs-bg-hover); }
|
||||||
.tweet-card__photo-menu button + button { border-top: 1px solid var(--rs-bg-hover); }
|
.tweet-card__photo-menu button + button { border-top: 1px solid var(--rs-bg-hover); }
|
||||||
.tweet-card__photo-menu button svg { width: 14px; height: 14px; }
|
.tweet-card__photo-menu button svg { width: 14px; height: 14px; }
|
||||||
.tweet-card__attached-image { position: relative; margin-top: 0.5rem; border-radius: 8px; overflow: hidden; border: 1px solid var(--rs-input-border); }
|
.tweet-card__attached-image { position: relative; margin-top: 0.5rem; border-radius: 8px; overflow: hidden; border: 1px solid var(--rs-input-border); }
|
||||||
|
|
@ -239,7 +239,7 @@
|
||||||
font-size: 0.8rem; cursor: pointer; display: flex; align-items: center;
|
font-size: 0.8rem; cursor: pointer; display: flex; align-items: center;
|
||||||
justify-content: center; line-height: 1; transition: background 0.15s;
|
justify-content: center; line-height: 1; transition: background 0.15s;
|
||||||
}
|
}
|
||||||
.tweet-card__image-remove:hover { background: #ef4444; }
|
.tweet-card__image-remove:hover { background: var(--rs-error); }
|
||||||
|
|
||||||
/* ── Thread read-only ── */
|
/* ── Thread read-only ── */
|
||||||
|
|
||||||
|
|
@ -257,7 +257,7 @@
|
||||||
.thread-ro__cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
|
.thread-ro__cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
|
||||||
.thread-export-toast {
|
.thread-export-toast {
|
||||||
position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
|
position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
|
||||||
background: var(--rs-bg-surface); border: 1px solid #6366f1; color: #c4b5fd;
|
background: var(--rs-bg-surface); border: 1px solid var(--rs-primary); color: var(--rs-primary-hover, #c4b5fd);
|
||||||
padding: 0.6rem 1.25rem; border-radius: 8px; font-size: 0.85rem;
|
padding: 0.6rem 1.25rem; border-radius: 8px; font-size: 0.85rem;
|
||||||
box-shadow: 0 4px 16px var(--rs-shadow-lg); z-index: 1000;
|
box-shadow: 0 4px 16px var(--rs-shadow-lg); z-index: 1000;
|
||||||
transition: opacity 0.2s;
|
transition: opacity 0.2s;
|
||||||
|
|
@ -283,7 +283,7 @@
|
||||||
display: flex; flex-direction: column; gap: 0.75rem;
|
display: flex; flex-direction: column; gap: 0.75rem;
|
||||||
text-decoration: none; color: inherit;
|
text-decoration: none; color: inherit;
|
||||||
}
|
}
|
||||||
.thread-card:hover { border-color: #6366f1; transform: translateY(-2px); }
|
.thread-card:hover { border-color: var(--rs-primary); transform: translateY(-2px); }
|
||||||
.thread-card__title { font-size: 1rem; font-weight: 700; color: var(--rs-text-primary); margin: 0; line-height: 1.3; }
|
.thread-card__title { font-size: 1rem; font-weight: 700; color: var(--rs-text-primary); margin: 0; line-height: 1.3; }
|
||||||
.thread-card__preview {
|
.thread-card__preview {
|
||||||
font-size: 0.85rem; color: var(--rs-text-secondary); line-height: 1.5;
|
font-size: 0.85rem; color: var(--rs-text-secondary); line-height: 1.5;
|
||||||
|
|
@ -292,7 +292,7 @@
|
||||||
.thread-card__meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--rs-text-muted); margin-top: auto; }
|
.thread-card__meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--rs-text-muted); margin-top: auto; }
|
||||||
.thread-card__author { display: flex; align-items: center; gap: 0.4rem; }
|
.thread-card__author { display: flex; align-items: center; gap: 0.4rem; }
|
||||||
.thread-card__avatar-sm {
|
.thread-card__avatar-sm {
|
||||||
width: 20px; height: 20px; border-radius: 50%; background: #6366f1;
|
width: 20px; height: 20px; border-radius: 50%; background: var(--rs-primary);
|
||||||
display: flex; align-items: center; justify-content: center;
|
display: flex; align-items: center; justify-content: center;
|
||||||
color: white; font-weight: 700; font-size: 0.55rem; flex-shrink: 0;
|
color: white; font-weight: 700; font-size: 0.55rem; flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
@ -310,7 +310,7 @@
|
||||||
}
|
}
|
||||||
.rsocials-demo-badge {
|
.rsocials-demo-badge {
|
||||||
font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em;
|
font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em;
|
||||||
background: #6366f1; color: white;
|
background: var(--rs-primary); color: white;
|
||||||
-webkit-text-fill-color: white;
|
-webkit-text-fill-color: white;
|
||||||
padding: 2px 8px; border-radius: 4px;
|
padding: 2px 8px; border-radius: 4px;
|
||||||
text-transform: uppercase; line-height: 1.6;
|
text-transform: uppercase; line-height: 1.6;
|
||||||
|
|
@ -350,7 +350,7 @@
|
||||||
}
|
}
|
||||||
.rsocials-item-content { margin: 0 0 0.75rem; color: var(--rs-text-primary); line-height: 1.6; font-size: 0.9rem; }
|
.rsocials-item-content { margin: 0 0 0.75rem; color: var(--rs-text-primary); line-height: 1.6; font-size: 0.9rem; }
|
||||||
.rsocials-item-link {
|
.rsocials-item-link {
|
||||||
display: block; font-size: 0.8rem; color: #7dd3fc;
|
display: block; font-size: 0.8rem; color: var(--rs-accent, #7dd3fc);
|
||||||
text-decoration: none; margin-bottom: 0.5rem; word-break: break-all;
|
text-decoration: none; margin-bottom: 0.5rem; word-break: break-all;
|
||||||
}
|
}
|
||||||
.rsocials-item-link:hover { text-decoration: underline; }
|
.rsocials-item-link:hover { text-decoration: underline; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue