nodebb-theme-harmony 1.0.26 → 1.0.28

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-harmony",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
@@ -25,7 +25,7 @@
25
25
  <div class="w-100 flex-grow-1 flex-nowrap position-relative input-group">
26
26
  <button component="chat/upload/button" class="btn btn-outline-primary btn-sm align-self-stretch px-3 px-md-2" type="button"><i class="fa fa-fw fa-upload"></i></button>
27
27
  <div class="flex-grow-1 position-relative">
28
- <textarea component="chat/input" placeholder="[[modules:chat.placeholder.mobile]]" class="form-control chat-input mousetrap rounded-0" style="height:0;max-height:30vh;resize:none;"></textarea>
28
+ <textarea component="chat/input" placeholder="[[modules:chat.placeholder.mobile]]" class="form-control chat-input mousetrap rounded-0 shadow-none" style="height:0;max-height:30vh;resize:none;"></textarea>
29
29
  <span component="chat/message/remaining" class="text-xs text-muted position-absolute me-1 mb-1 end-0 bottom-0">{maximumChatMessageLength}</span>
30
30
  </div>
31
31
  <button class="btn btn-primary btn-sm align-self-stretch px-3 px-md-2" type="button" data-action="send"><i class="fa fa-fw fa-paper-plane"></i></button>
@@ -1,5 +1,5 @@
1
1
  <div component="chat/recent/room" data-roomid="{./roomId}" data-full="1" class="rounded-1 {{{ if ./unread }}}unread{{{ end }}}">
2
- <div class="d-flex gap-1 justify-content-between p-1">
2
+ <div class="d-flex gap-1 justify-content-between">
3
3
  <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">
4
4
  <div class="main-avatar">
5
5
  {{{ if ./users.length }}}
@@ -42,4 +42,6 @@
42
42
  </div>
43
43
  </div>
44
44
  </div>
45
+ {{{ if !@last }}}
45
46
  <hr class="my-1" />
47
+ {{{ end }}}
@@ -1,12 +1,12 @@
1
1
  {{{ if !notifications.length }}}
2
- <li class="no-notifs text-center p-4 d-flex flex-column">
2
+ <div class="no-notifs text-center p-4 d-flex flex-column">
3
3
  <div class="p-4"><i class="fa-solid fa-wind fs-2 text-muted"></i></div>
4
4
  <div class="text-xs fw-semibold text-muted">[[notifications:no_notifs]]</div>
5
- </li>
5
+ </div>
6
6
  {{{ end }}}
7
7
 
8
8
  {{{ each notifications }}}
9
- <li class="{./readClass} mb-2 p-1" data-nid="{./nid}" data-path="{./path}" {{{ if ./pid }}}data-pid="{./pid}"{{{ end }}}{{{ if ./tid }}}data-tid="{./tid}"{{{ end }}}>
9
+ <div class="{./readClass}" data-nid="{./nid}" data-path="{./path}" {{{ if ./pid }}}data-pid="{./pid}"{{{ end }}}{{{ if ./tid }}}data-tid="{./tid}"{{{ end }}}>
10
10
  <div class="d-flex gap-1 justify-content-between">
11
11
  <div class="btn-ghost-sm d-flex gap-2 flex-grow-1 align-items-start">
12
12
  {{{ if ./image }}}
@@ -32,5 +32,8 @@
32
32
  {{{ end }}}
33
33
  </div>
34
34
  </div>
35
- </li>
35
+ </div>
36
+ {{{ if !@last }}}
37
+ <hr class="my-1" />
38
+ {{{ end }}}
36
39
  {{{end}}}
@@ -10,8 +10,8 @@
10
10
  </a>
11
11
  <ul class="notifications-dropdown dropdown-menu p-1 shadow">
12
12
  <li>
13
- <ul component="notifications/list" class="list-container notification-list list-unstyled overscroll-behavior-contain pe-1 ff-base">
14
- <li class="mb-2 p-1">
13
+ <div component="notifications/list" class="list-container notification-list overscroll-behavior-contain pe-1 ff-base">
14
+ <div class="mb-2 p-1">
15
15
  <div class="d-flex gap-1 justify-content-between">
16
16
  <div class="d-flex gap-2 flex-grow-1 placeholder-wave">
17
17
  <div class="placeholder" style="width: 32px; height: 32px;"></div>
@@ -36,8 +36,8 @@
36
36
  </button>
37
37
  </div>
38
38
  </div>
39
- </li>
40
- </ul>
39
+ </div>
40
+ </div>
41
41
  </li>
42
42
  <li class="dropdown-divider"></li>
43
43
  <li>
@@ -1,5 +0,0 @@
1
- <div class="placeholder-wave w-100 d-flex gap-2">
2
- <button class="btn btn-light btn-sm border placeholder col-3"></button>
3
- <button class="btn btn-light btn-sm border placeholder col-4"></button>
4
- <button class="btn btn-light btn-sm border placeholder col-3"></button>
5
- </div>