Mercurial > libervia-templates
diff sat_templates/templates/bulma/static/chat.css @ 413:0190a0d32909 default tip
Forum: Major redesign of forums:
Forums have been redesigned. They follow the new general design with 2 or 3 panels,
allowing to have directly a forum if one is found/set up, and a panel on the left to
search/discover other ones.
Categories have been rewritten to be usable with pubsub relationships, a XEP-0277 type
node is used for topics, and each item has a comments node for the threads.
The thread view is set in `forum/show_messages.html` template. It has a header with a
search box and a button to (un)subscribe.
Items are displayed with the same macros as for the blog items.
Below a room is set for editor, tags and attachments.
rel 463
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 05 Sep 2025 21:54:09 +0200 |
parents | f7a434581872 |
children |
line wrap: on
line diff
--- a/sat_templates/templates/bulma/static/chat.css Sun Aug 31 12:38:49 2025 +0200 +++ b/sat_templates/templates/bulma/static/chat.css Fri Sep 05 21:54:09 2025 +0200 @@ -105,11 +105,6 @@ opacity: 1; } -.attachments { - overflow-x: auto; - white-space: nowrap; -} - .message-core:hover, .message-core.has-popup-focus { background-color: #f5f5f5; box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); @@ -141,34 +136,6 @@ transition: box-shadow 0.3s ease; } -/* Attachments */ - -.attachments { - opacity: 1; - max-height: 1000px; - transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out, padding 0.5s ease-in-out, margin 0.5s ease-in-out; - overflow-x: auto; - overflow-y: hidden; - padding: 1.25rem 0; - margin: 0; -} - -.attachments.is-contracted { - opacity: 0; - max-height: 0; - padding: 0; -} - -.attachment-preview { - position: relative; - border: 1px solid #dbdbdb; - padding: 0.3rem 0.5rem; - border-radius: 4px; - background-color: #f5f5f5; - width: 9rem; - height: 6rem; -} - /* Reply to indicator */ #reply-to {