nodebb-theme-harmony 1.0.0-beta.4 → 1.0.0-beta.6

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.0-beta.4",
3
+ "version": "1.0.0-beta.6",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
@@ -1,8 +1,11 @@
1
1
  <div class="text-dark bg-light bottombar p-2 d-flex d-md-none justify-content-between fixed-bottom ff-secondary align-items-center">
2
2
  <div class="">
3
- <button class="btn" data-bs-toggle="dropdown">
4
- <i class="fa fa-bars"></i>
5
- </button>
3
+ <a href="#" role="button" class="nav-link nav-btn d-flex justify-content-between align-items-center position-relative" data-bs-toggle="dropdown">
4
+ <span class="position-relative">
5
+ <i class="fa fa-fw fa-lg fa-bars"></i>
6
+ <span component="unread/count" data-unread-url="{unreadCount.unreadUrl}" class="position-absolute top-0 start-100 translate-middle badge rounded-1 bg-primary {{{ if !unreadCount.mobileUnread }}}hidden{{{ end }}}">{unreadCount.mobileUnread}</span>
7
+ </span>
8
+ </a>
6
9
  <ul class="navigation-dropdown dropdown-menu">
7
10
  {{{ each navigation }}}
8
11
  <!-- IF function.displayMenuItem, @index -->
@@ -9,7 +9,7 @@
9
9
  <form class="flex-grow-1 d-flex flex-column gap-2" method="post" action="{config.relative_path}/compose">
10
10
  <input type="hidden" name="tid" value="{tid}" />
11
11
  <input type="hidden" name="_csrf" value="{config.csrf_token}" />
12
- <div class="quickreply-message">
12
+ <div class="quickreply-message position-relative">
13
13
  <textarea rows="4" name="content" component="topic/quickreply/text" class="form-control mousetrap" placeholder="[[modules:composer.textarea.placeholder]]"></textarea>
14
14
  <div class="imagedrop"><div>[[topic:composer.drag_and_drop_images]]</div></div>
15
15
  </div>
@@ -14,7 +14,7 @@
14
14
  <div class="avatar">
15
15
  <a href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}" class="text-decoration-none">
16
16
  {{{ if ./thumbs.length }}}
17
- <img src="{./thumbs.0.url}" class="not-responsive" />
17
+ <img class="topic-thumb rounded-1" width="80" height="auto" src="{./thumbs.0.url}" class="not-responsive" />
18
18
  {{{ else }}}
19
19
  {buildAvatar(./user, "40px", true, "not-responsive")}
20
20
  {{{ end }}}
@@ -28,7 +28,7 @@
28
28
  <i class="fa fa-arrow-circle-right"></i>
29
29
  {{{ if privileges.isAdminOrMod }}}[[topic:moved-from, {oldCategory.name}]]{{{ else }}}[[topic:moved]]{{{ end }}}
30
30
  </span>
31
- {{{each icons}}}<span class="align-middle">{@value}</span>{{{end}}}
31
+ {{{each icons}}}{@value}{{{end}}}
32
32
  </span>
33
33
  <a class="lh-1" href="{config.relative_path}/category/{category.slug}">{function.buildCategoryLabel, category, "border"}</a>
34
34
  <div class="lh-1 tags tag-list d-flex hidden-xs gap-2"><!-- IMPORT partials/topic/tags.tpl --></div>