- chat: left-aligned discord-style messages with grouped senders, hover actions, an auto-growing composer and file cards - send: render messages and files locally first and replace the placeholder when the worker publishes the real item; failures keep the text with a retry action - navigation: space rail plus a flatter channel list with the space name header and collapsible groups - members: right pane tabs (files / members) grouped by online, offline and pending users, with a prominent invite action and a top bar shortcut - notifications: toast host for invite results; invitees get a toast with an accept action, and the invitation payload now carries the space name and inviter inside the encrypted grant - users over devices: drop device names, the device list and device rename/release; senders show the account (guests show as guest) and the share panel only keeps links - follow contract 7.0.0 (max_members, members_used, members_full, /join) - docs: ui-design and frontend updated for the new layout and concepts
76 lines
1.2 KiB
CSS
76 lines
1.2 KiB
CSS
.pad {
|
|
margin-top: var(--space-2);
|
|
padding: var(--space-1) var(--space-2);
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
|
|
.head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
width: 100%;
|
|
min-height: 40px;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
text-align: left;
|
|
}
|
|
|
|
.head:focus-visible {
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.chev {
|
|
display: inline-flex;
|
|
color: var(--text-dim);
|
|
transition: rotate 0.15s;
|
|
}
|
|
|
|
.open {
|
|
rotate: 90deg;
|
|
}
|
|
|
|
.title {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.preview {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: var(--text-dim);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.editing {
|
|
margin-left: auto;
|
|
color: var(--busy);
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.input {
|
|
width: 100%;
|
|
margin-bottom: var(--space-2);
|
|
padding: var(--space-2) var(--space-3);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface);
|
|
resize: vertical;
|
|
}
|
|
|
|
.input:focus-visible {
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: 1px;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.chev {
|
|
transition: none;
|
|
}
|
|
}
|