summaryrefslogtreecommitdiff
path: root/src/renderer/src/App.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/src/App.css')
-rw-r--r--src/renderer/src/App.css195
1 files changed, 195 insertions, 0 deletions
diff --git a/src/renderer/src/App.css b/src/renderer/src/App.css
index 9ecaefc..ec9cf88 100644
--- a/src/renderer/src/App.css
+++ b/src/renderer/src/App.css
@@ -1844,3 +1844,198 @@ html, body, #root {
.status-git {
color: #E8DFC0;
}
+
+/* ── Remote Cursors ──────────────────────────────────────────── */
+
+.cm-remote-cursor {
+ position: relative;
+ display: inline;
+ pointer-events: none;
+}
+
+.cm-remote-cursor-line {
+ position: absolute;
+ top: 0;
+ height: 1.2em;
+ border-left: 2px solid;
+ z-index: 10;
+}
+
+.cm-remote-cursor-label {
+ position: absolute;
+ top: -1.4em;
+ left: -1px;
+ font-size: 10px;
+ line-height: 1.4;
+ padding: 0 4px;
+ border-radius: 3px 3px 3px 0;
+ color: white;
+ white-space: nowrap;
+ z-index: 11;
+ font-family: var(--font-sans);
+ font-weight: 500;
+ transition: opacity 0.5s;
+ pointer-events: none;
+}
+
+.cm-remote-cursor-label.faded {
+ opacity: 0;
+}
+
+/* ── Toolbar Users Count ─────────────────────────────────────── */
+
+.toolbar-users {
+ font-size: 11px;
+ color: var(--text-muted);
+ background: var(--bg-hover);
+ padding: 2px 8px;
+ border-radius: 10px;
+ font-weight: 500;
+}
+
+/* ── Chat Panel ──────────────────────────────────────────────── */
+
+.chat-panel {
+ display: flex;
+ flex-direction: column;
+ background: var(--bg-primary);
+ flex: 1;
+ min-height: 0;
+}
+
+.review-sidebar .chat-panel {
+ border-top: 1px solid var(--border);
+}
+
+.chat-header {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ height: 36px;
+ padding: 0 10px;
+ background: var(--bg-secondary);
+ border-bottom: 1px solid var(--border);
+ font-size: 11px;
+ font-weight: 600;
+ text-transform: uppercase;
+ letter-spacing: 0.5px;
+ color: var(--text-muted);
+}
+
+.chat-messages {
+ flex: 1;
+ overflow-y: auto;
+ padding: 8px;
+ display: flex;
+ flex-direction: column;
+ gap: 4px;
+}
+
+.chat-loading,
+.chat-empty {
+ padding: 24px 16px;
+ text-align: center;
+ color: var(--text-muted);
+ font-size: 12px;
+}
+
+.chat-message {
+ display: flex;
+ gap: 8px;
+ padding: 6px 4px;
+ border-radius: var(--radius-sm);
+}
+
+.chat-message:hover {
+ background: var(--bg-secondary);
+}
+
+.chat-avatar {
+ width: 26px;
+ height: 26px;
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 11px;
+ font-weight: 600;
+ color: white;
+ flex-shrink: 0;
+ margin-top: 2px;
+}
+
+.chat-message-body {
+ flex: 1;
+ min-width: 0;
+}
+
+.chat-message-header {
+ display: flex;
+ align-items: baseline;
+ gap: 6px;
+ margin-bottom: 2px;
+}
+
+.chat-user-name {
+ font-size: 11px;
+ font-weight: 600;
+ color: var(--text-primary);
+}
+
+.chat-time {
+ font-size: 10px;
+ color: var(--text-muted);
+}
+
+.chat-message-content {
+ font-size: 12px;
+ color: var(--text-secondary);
+ line-height: 1.5;
+ word-break: break-word;
+ white-space: pre-wrap;
+}
+
+.chat-input-area {
+ display: flex;
+ gap: 4px;
+ padding: 6px 8px;
+ border-top: 1px solid var(--border);
+ background: var(--bg-secondary);
+}
+
+.chat-input {
+ flex: 1;
+ border: 1px solid var(--border);
+ border-radius: var(--radius-sm);
+ padding: 6px 8px;
+ font-size: 12px;
+ font-family: var(--font-sans);
+ background: var(--bg-primary);
+ color: var(--text-primary);
+ outline: none;
+}
+
+.chat-input:focus {
+ border-color: var(--accent);
+}
+
+.chat-send-btn {
+ border: none;
+ background: var(--accent);
+ color: var(--bg-primary);
+ font-size: 11px;
+ padding: 6px 12px;
+ border-radius: var(--radius-sm);
+ cursor: pointer;
+ font-family: var(--font-sans);
+ font-weight: 500;
+}
+
+.chat-send-btn:hover {
+ background: var(--accent-hover);
+}
+
+.chat-send-btn:disabled {
+ opacity: 0.5;
+ cursor: not-allowed;
+}