@devchitchat/chat 4.2.0 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pages/public/themes/base.css +52 -5
package/package.json
CHANGED
|
@@ -85,6 +85,7 @@ details summary {
|
|
|
85
85
|
align-items: center;
|
|
86
86
|
border-bottom: solid 2px transparent;
|
|
87
87
|
border-top: solid 2px transparent;
|
|
88
|
+
position: relative;
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
.channel-item a {
|
|
@@ -95,9 +96,11 @@ details summary {
|
|
|
95
96
|
display: flex;
|
|
96
97
|
align-items: center;
|
|
97
98
|
padding-left: .7rem;
|
|
99
|
+
padding-right: .7rem;
|
|
98
100
|
user-select: none;
|
|
99
101
|
-webkit-user-select: none;
|
|
100
102
|
-webkit-touch-callout: none;
|
|
103
|
+
transition: color var(--transition), background var(--transition);
|
|
101
104
|
}
|
|
102
105
|
|
|
103
106
|
.channel-item a:hover {
|
|
@@ -106,6 +109,22 @@ details summary {
|
|
|
106
109
|
|
|
107
110
|
.channel-item.active a {
|
|
108
111
|
color: var(--text-primary);
|
|
112
|
+
background: var(--bg-active);
|
|
113
|
+
font-weight: 600;
|
|
114
|
+
border-radius: var(--radius-sm);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* Left accent bar on selected channel */
|
|
118
|
+
.channel-item.active::before {
|
|
119
|
+
content: '';
|
|
120
|
+
position: absolute;
|
|
121
|
+
left: 0;
|
|
122
|
+
top: 50%;
|
|
123
|
+
transform: translateY(-50%);
|
|
124
|
+
width: 3px;
|
|
125
|
+
height: 1.4rem;
|
|
126
|
+
background: var(--accent);
|
|
127
|
+
border-radius: 0 2px 2px 0;
|
|
109
128
|
}
|
|
110
129
|
|
|
111
130
|
/* ── Channel + hub drag-and-drop reordering (desktop) ───────────────────── */
|
|
@@ -174,6 +193,7 @@ details summary {
|
|
|
174
193
|
.dm-item {
|
|
175
194
|
display: flex;
|
|
176
195
|
align-items: center;
|
|
196
|
+
position: relative;
|
|
177
197
|
}
|
|
178
198
|
|
|
179
199
|
.dm-link {
|
|
@@ -203,6 +223,19 @@ details summary {
|
|
|
203
223
|
font-weight: 600;
|
|
204
224
|
}
|
|
205
225
|
|
|
226
|
+
/* Left accent bar on selected DM — mirrors selected channel */
|
|
227
|
+
.dm-item.dm-selected::before {
|
|
228
|
+
content: '';
|
|
229
|
+
position: absolute;
|
|
230
|
+
left: 0;
|
|
231
|
+
top: 50%;
|
|
232
|
+
transform: translateY(-50%);
|
|
233
|
+
width: 3px;
|
|
234
|
+
height: 1.4rem;
|
|
235
|
+
background: var(--accent);
|
|
236
|
+
border-radius: 0 2px 2px 0;
|
|
237
|
+
}
|
|
238
|
+
|
|
206
239
|
.dm-name {
|
|
207
240
|
flex: 1;
|
|
208
241
|
overflow: hidden;
|
|
@@ -212,7 +245,16 @@ details summary {
|
|
|
212
245
|
|
|
213
246
|
/* Unread dot on DM/channel items — blue for normal mentions, red for urgent.
|
|
214
247
|
Uses data attributes instead of classes so rdbljs className re-renders
|
|
215
|
-
(which only touch el.className) never wipe the dot state.
|
|
248
|
+
(which only touch el.className) never wipe the dot state.
|
|
249
|
+
Text is also brightened and bolded so the indicator is hard to miss. */
|
|
250
|
+
.channel-item[data-mention] .channel-link,
|
|
251
|
+
.channel-item[data-urgent] .channel-link,
|
|
252
|
+
.dm-item[data-mention] .dm-link,
|
|
253
|
+
.dm-item[data-urgent] .dm-link {
|
|
254
|
+
color: var(--text-primary);
|
|
255
|
+
font-weight: 600;
|
|
256
|
+
}
|
|
257
|
+
|
|
216
258
|
.dm-item[data-mention] .dm-link::after,
|
|
217
259
|
.channel-item[data-mention] .channel-link::after {
|
|
218
260
|
content: '';
|
|
@@ -499,7 +541,10 @@ details summary {
|
|
|
499
541
|
font-size: 1rem;
|
|
500
542
|
margin-bottom: 7px;
|
|
501
543
|
}
|
|
502
|
-
.chat-topic {
|
|
544
|
+
.chat-topic {
|
|
545
|
+
color: var(--text-secondary);
|
|
546
|
+
display: none; /* don't show this for now.*/
|
|
547
|
+
}
|
|
503
548
|
.chat-header-actions { margin-left: auto; display: flex; gap: 6px; }
|
|
504
549
|
|
|
505
550
|
.search-bar { padding: 8px 20px; background: var(--bg-topbar); border-bottom: 1px solid var(--border); }
|
|
@@ -848,8 +893,11 @@ details summary {
|
|
|
848
893
|
}
|
|
849
894
|
.btn-primary:hover { opacity: 0.85; }
|
|
850
895
|
.btn-ghost {
|
|
851
|
-
|
|
852
|
-
|
|
896
|
+
border: none;
|
|
897
|
+
padding: 6px 12px;
|
|
898
|
+
border-radius: var(--radius-sm);
|
|
899
|
+
color: var(--text-muted);
|
|
900
|
+
cursor: pointer;
|
|
853
901
|
}
|
|
854
902
|
.btn-ghost:hover { background: var(--bg-hover); color: var(--text-primary); }
|
|
855
903
|
.btn-icon {
|
|
@@ -1508,7 +1556,6 @@ body:has(.admin-topbar) main {
|
|
|
1508
1556
|
border: 1px solid var(--border);
|
|
1509
1557
|
border-radius: 6px;
|
|
1510
1558
|
margin-bottom: 8px;
|
|
1511
|
-
overflow: hidden;
|
|
1512
1559
|
}
|
|
1513
1560
|
|
|
1514
1561
|
.hub-group__summary {
|