nodebb-theme-harmony 1.1.108 → 1.2.0

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.
Files changed (56) hide show
  1. package/package.json +1 -1
  2. package/scss/chats.scss +2 -126
  3. package/scss/common.scss +3 -59
  4. package/scss/overrides.scss +0 -14
  5. package/templates/account/categories.tpl +1 -1
  6. package/templates/account/posts.tpl +6 -6
  7. package/templates/account/topics.tpl +3 -3
  8. package/templates/flags/detail.tpl +4 -4
  9. package/templates/groups/list.tpl +3 -3
  10. package/templates/notifications.tpl +1 -1
  11. package/templates/partials/account/sidebar-left.tpl +16 -16
  12. package/templates/partials/category/filter-dropdown-content.tpl +1 -1
  13. package/templates/partials/category/selector-dropdown-content.tpl +1 -1
  14. package/templates/partials/category/sort.tpl +1 -1
  15. package/templates/partials/category/subcategory.tpl +1 -1
  16. package/templates/partials/category/tools.tpl +1 -1
  17. package/templates/partials/category/watch.tpl +1 -1
  18. package/templates/partials/groups/filter-dropdown-content.tpl +1 -1
  19. package/templates/partials/groups/sidebar-left.tpl +5 -5
  20. package/templates/partials/post_bar.tpl +1 -1
  21. package/templates/partials/quick-search-results.tpl +1 -1
  22. package/templates/partials/search-filters.tpl +1 -1
  23. package/templates/partials/tags/filter-dropdown-content.tpl +1 -1
  24. package/templates/partials/tags/watch.tpl +1 -1
  25. package/templates/partials/tags_list.tpl +1 -1
  26. package/templates/partials/topic/navigator.tpl +2 -2
  27. package/templates/partials/topic/post-menu.tpl +1 -1
  28. package/templates/partials/topic/post.tpl +2 -2
  29. package/templates/partials/topic/quickreply.tpl +1 -1
  30. package/templates/partials/topic/sort.tpl +1 -1
  31. package/templates/partials/topic/tools.tpl +1 -1
  32. package/templates/partials/topic/watch.tpl +1 -1
  33. package/templates/partials/topic-filters.tpl +1 -1
  34. package/templates/partials/topic-terms.tpl +1 -1
  35. package/templates/partials/users/filter-dropdown-content.tpl +1 -1
  36. package/templates/partials/users/item.tpl +1 -1
  37. package/templates/partials/users_list_menu.tpl +5 -5
  38. package/templates/post-queue.tpl +2 -2
  39. package/templates/chat.tpl +0 -37
  40. package/templates/chats.tpl +0 -54
  41. package/templates/partials/chats/add-reaction.tpl +0 -1
  42. package/templates/partials/chats/composer.tpl +0 -27
  43. package/templates/partials/chats/dropdown.tpl +0 -10
  44. package/templates/partials/chats/message-window.tpl +0 -43
  45. package/templates/partials/chats/message.tpl +0 -73
  46. package/templates/partials/chats/messages.tpl +0 -7
  47. package/templates/partials/chats/options.tpl +0 -100
  48. package/templates/partials/chats/parent.tpl +0 -13
  49. package/templates/partials/chats/pinned-messages-list.tpl +0 -32
  50. package/templates/partials/chats/pinned-messages.tpl +0 -12
  51. package/templates/partials/chats/reactions.tpl +0 -1
  52. package/templates/partials/chats/recent_room.tpl +0 -55
  53. package/templates/partials/chats/scroll-up-alert.tpl +0 -3
  54. package/templates/partials/chats/system-message.tpl +0 -7
  55. package/templates/partials/chats/user-list.tpl +0 -11
  56. package/templates/partials/chats/user.tpl +0 -1
@@ -1,55 +0,0 @@
1
- {{{ if (loadingMore && @first)}}}
2
- <hr class="my-1" />
3
- {{{ end }}}
4
- <div component="chat/recent/room" data-roomid="{./roomId}" data-full="1" class="rounded-1 {{{ if ./unread }}}unread{{{ end }}}">
5
- <div class="d-flex gap-1 justify-content-between">
6
- <div class="chat-room-btn position-relative d-flex flex-grow-1 gap-2 justify-content-start align-items-start btn-ghost-sm ff-sans">
7
- <div class="main-avatar">
8
- {{{ if ./users.length }}}
9
- {{{ if ./groupChat}}}
10
- <div class="position-relative stacked-avatars">
11
- <span class="text-decoration-none position-absolute" href="{config.relative_path}/user/{./users.1.userslug}">{buildAvatar(./users.1, "24px", true)}</span>
12
- <span class="text-decoration-none position-absolute" href="{config.relative_path}/user/{./users.0.userslug}" >{buildAvatar(./users.0, "24px", true)}</span>
13
- </div>
14
- {{{ else }}}
15
- <span href="{config.relative_path}/user/{./users.0.userslug}" class="text-decoration-none">{buildAvatar(./users.0, "32px", true)}</span>
16
- {{{ end }}}
17
- {{{ else }}}
18
- <span class="avatar avatar-rounded text-bg-warning" component="avatar/icon" style="--avatar-size: 32px;">?</span>
19
- {{{ end }}}
20
- </div>
21
-
22
- <div class="d-flex flex-grow-1 flex-column w-100">
23
- <div component="chat/room/title" class="room-name fw-semibold text-xs text-break">
24
- {{{ if ./roomName}}}
25
- {./roomName}
26
- {{{ else }}}
27
- {{{ if !./lastUser.uid }}}
28
- [[modules:chat.no-users-in-room]]
29
- {{{ else }}}
30
- {./usernames}
31
- {{{ end }}}
32
- {{{ end }}}
33
- </div>
34
-
35
- {{{ if ./teaser }}}
36
- <div class="teaser-content text-sm line-clamp-3 text-break">
37
- <span href="#" class="text-decoration-none">{buildAvatar(./teaser.user, "14px", true)}</span>
38
- <strong class="text-xs fw-semibold teaser-username">{./teaser.user.username}:</strong>
39
- {./teaser.content}
40
- </div>
41
- <div class="teaser-timestamp text-muted text-xs">{{{ if ./teaser.timeagoLong }}}{./teaser.timeagoLong}{{{ else }}}<span class="timeago" title="{./teaser.timestampISO}"></span>{{{ end }}}</div>
42
- {{{ end }}}
43
- </div>
44
- </div>
45
- <div>
46
- <button class="mark-read btn-ghost-sm" style="width: 1.5rem; height: 1.5rem;">
47
- <i class="unread fa fa-2xs fa-circle text-primary {{{ if !./unread }}}hidden{{{ end }}}"></i>
48
- <i class="read fa fa-2xs fa-circle-o text-secondary {{{ if ./unread }}}hidden{{{ end }}}"></i>
49
- </button>
50
- </div>
51
- </div>
52
- </div>
53
- {{{ if !@last }}}
54
- <hr class="my-1" />
55
- {{{ end }}}
@@ -1,3 +0,0 @@
1
- <div class="position-relative">
2
- <div component="chat/messages/scroll-up-alert" class="py-1 mt-1 position-absolute start-50 top-50 translate-middle text-sm scroll-up-alert alert alert-info d-none d-md-block text-nowrap hidden" role="button" style="z-index: 500;"><i class="fa fa-fw fa-arrow-down"></i> [[modules:chat.scroll-up-alert]]</div>
3
- </div>
@@ -1,7 +0,0 @@
1
- <li component="chat/system-message" class="system-message text-muted small py-2 gap-3 d-flex align-items-center justify-content-center" data-mid="{messages.messageId}" data-uid="{messages.fromuid}" data-index="{messages.index}" data-self="{messages.self}" data-break="0" data-timestamp="{messages.timestamp}">
2
- <hr class="d-inline-block my-1" style="width: 10%;"/>
3
- <div>
4
- [[modules:chat.system.{messages.content}, {messages.fromUser.username}, {messages.timestampISO}]]
5
- </div>
6
- <hr class="d-inline-block my-1" style="width: 10%;"/>
7
- </li>
@@ -1,11 +0,0 @@
1
- <div component="chat/user/list" class="border-start hidden d-flex flex-column gap-1 p-1 overflow-auto" style="min-width:240px; width: 240px;">
2
- {{{ each users }}}
3
- <a data-index="{./index}" data-uid="{./uid}" class="btn-ghost-sm d-flex justify-content-start align-items-center gap-2 {{{ if ./online }}}online{{{ end}}}" href="{config.relative_path}/uid/{./uid}">
4
- <div>{buildAvatar(users, "24px", true)}</div>
5
- <div class="d-flex gap-1 flex-grow-1 text-nowrap text-truncate">
6
- <span component="chat/user/list/username" class="text-truncate">{./username}</span>
7
- {{{ if ./isOwner }}}<span><i class="fa fa-star text-warning" data-bs-toggle="tooltip" title="[[modules:chat.owner]]"></i></span>{{{ end }}}
8
- </div>
9
- </a>
10
- {{{ end }}}
11
- </div>
@@ -1 +0,0 @@
1
- <a href="{config.relative_path}/user/{rooms.users.userslug}" class="text-decoration-none">{buildAvatar(rooms.users, "32px", true)}</a>