nodebb-theme-harmony 1.0.14 → 1.0.16

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.14",
3
+ "version": "1.0.16",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
@@ -1,4 +1,4 @@
1
- <li component="categories/category" data-cid="{./cid}" class="w-100 border-bottom py-3 py-lg-4 gap-1 d-flex flex-column flex-lg-row align-items-start category-{./cid}">
1
+ <li component="categories/category" data-cid="{./cid}" class="w-100 border-bottom py-3 py-lg-4 gap-1 d-flex flex-column flex-lg-row align-items-start category-{./cid} {./unread-class}">
2
2
  <meta itemprop="name" content="{./name}">
3
3
 
4
4
  <div class="d-flex col-lg-7 gap-2 gap-lg-3">
@@ -43,12 +43,12 @@
43
43
  <div class="d-flex col-lg-5 align-content-stretch">
44
44
  <div class="meta stats d-none d-lg-grid col-6 gap-1 pe-2 text-muted" style="grid-template-columns: 1fr 1fr;">
45
45
  <div class="card card-header border-0 p-2 overflow-hidden rounded-1 d-flex flex-column align-items-center">
46
- <span class="{./unread-class} human-readable-number fs-5 ff-secondary lh-1" title="{./totalTopicCount}" data-toFixed="0">{./totalTopicCount}</span>
46
+ <span class="human-readable-number fs-5 ff-secondary lh-1" title="{./totalTopicCount}" data-toFixed="0">{./totalTopicCount}</span>
47
47
  <span class="d-none d-xl-flex text-lowercase text-xs">[[global:topics]]</span>
48
48
  <i class="d-xl-none fa fa-fw text-xs text-muted opacity-75 fa-list"></i>
49
49
  </div>
50
50
  <div class="card card-header border-0 p-2 overflow-hidden rounded-1 d-flex flex-column align-items-center">
51
- <span class="{./unread-class} human-readable-number fs-5 ff-secondary lh-1" title="{./totalPostCount}" data-toFixed="0">{./totalPostCount}</span>
51
+ <span class="human-readable-number fs-5 ff-secondary lh-1" title="{./totalPostCount}" data-toFixed="0">{./totalPostCount}</span>
52
52
  <span class="d-none d-xl-flex text-lowercase text-xs">[[global:posts]]</span>
53
53
  <i class="d-xl-none fa fa-fw text-xs text-muted opacity-75 fa-message"></i>
54
54
  </div>
@@ -5,7 +5,7 @@
5
5
  <li component="post" class="posts-list-item {{{ if ./deleted }}} deleted{{{ else }}}{{{ if ./topic.deleted }}} deleted{{{ end }}}{{{ end }}}{{{ if ./topic.scheduled }}} scheduled{{{ end }}}" data-pid="{./pid}" data-uid="{./uid}">
6
6
  <div class="post-body d-flex flex-column gap-1">
7
7
  <div class="d-flex gap-3 post-info">
8
- <div class="post-author d-flex gap-1">
8
+ <div class="post-author d-flex align-items-center gap-1">
9
9
  <a class="lh-1 text-decoration-none" href="{config.relative_path}/user/{./user.userslug}">{buildAvatar(./user, "16px", true, "not-responsive")}</a>
10
10
  <a class="fw-semibold text-sm" href="{config.relative_path}/user/{./user.userslug}">{../user.displayname}</a>
11
11
  </div>