nodebb-theme-harmony 2.0.0-pre.36 → 2.0.0-pre.37

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": "2.0.0-pre.36",
3
+ "version": "2.0.0-pre.37",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.7.0"
6
6
  },
@@ -7,22 +7,22 @@
7
7
  <!-- disables autocomplete on FF --><input type="password" style="display:none">
8
8
 
9
9
  {{{ if isSelf }}}
10
- <div class="mb-2">
11
- <label class="form-label fw-semibold text-xm" for="inputCurrentPassword">[[user:current-password]]</label>
10
+ <div class="mb-3">
11
+ <label class="form-label fw-semibold text-sm" for="inputCurrentPassword">[[user:current-password]]</label>
12
12
  <input autocomplete="off" class="form-control" type="password" id="inputCurrentPassword" placeholder="[[user:current-password]]" value="" {{{ if !hasPassword }}} disabled{{{ end }}}>
13
13
  </div>
14
14
  {{{ end }}}
15
15
 
16
- <div class="mb-2">
17
- <label class="form-label fw-semibold text-xm" for="inputNewPassword">[[user:new-password]]</label>
16
+ <div class="mb-3">
17
+ <label class="form-label fw-semibold text-sm" for="inputNewPassword">[[user:new-password]]</label>
18
18
  <input class="form-control" type="password" id="inputNewPassword" placeholder="[[user:password]]" value="">
19
- <span class="form-feedback" id="password-notify"></span>
19
+ <span class="form-text" id="password-notify"></span>
20
20
  </div>
21
21
 
22
- <div class="mb-2">
23
- <label class="form-label fw-semibold text-xm" for="inputNewPasswordAgain">[[user:confirm-password]]</label>
22
+ <div class="mb-3">
23
+ <label class="form-label fw-semibold text-sm" for="inputNewPasswordAgain">[[user:confirm-password]]</label>
24
24
  <input class="form-control" type="password" id="inputNewPasswordAgain" placeholder="[[user:confirm-password]]" value="">
25
- <span class="form-feedback" id="password-confirm-notify"></span>
25
+ <span class="form-text" id="password-confirm-notify"></span>
26
26
  </div>
27
27
 
28
28
  <div class="form-actions">
@@ -4,7 +4,7 @@
4
4
  <div class="row">
5
5
  <div class="col-12 col-lg-4">
6
6
  <form class="edit-form">
7
- <div class="mb-2">
7
+ <div class="mb-3">
8
8
  <label class="form-label fw-semibold text-sm" for="inputNewUsername">[[user:username]]</label>
9
9
  <input class="form-control" type="text" id="inputNewUsername" placeholder="[[user:username]]" value="{username}">
10
10
  </div>
@@ -12,7 +12,7 @@
12
12
  <!-- disables autocomplete on FF --><input type="password" style="display:none">
13
13
 
14
14
  {{{ if isSelf }}}
15
- <div class="mb-2">
15
+ <div class="mb-3">
16
16
  <label class="form-label fw-semibold text-sm" for="inputCurrentPassword">[[user:current-password]]</label>
17
17
  <input autocomplete="off" class="form-control" type="password" id="inputCurrentPassword" placeholder="[[user:current-password]]" value=""{{{ if !hasPassword }}} disabled{{{ end }}}>
18
18
  </div>
@@ -20,7 +20,6 @@
20
20
 
21
21
  <input type="hidden" name="uid" id="inputUID" value="{uid}" />
22
22
 
23
- <br/>
24
23
  <div class="form-actions">
25
24
  <button id="submitBtn" class="btn btn-primary btn-block"><i class="hide fa fa-spinner fa-spin"></i> [[user:change-username]]</button>
26
25
  </div>
@@ -1,6 +1,6 @@
1
1
  {{{each tags}}}
2
2
  <a href="{config.relative_path}/tags/{./valueEncoded}" data-tag="{./valueEscaped}" class="btn btn-ghost ff-base d-flex flex-column gap-1 align-items-start justify-content-start text-truncate p-2">
3
3
  <div class="fw-semibold text-nowrap tag-item w-100 text-start text-truncate">{./valueEscaped}</div>
4
- <div class="text-xs text-muted text-nowrap tag-topic-count">[[global:x-topics, {formattedNumber(./score)}]]</div>
4
+ <div class="text-xs text-muted text-nowrap tag-topic-count">[[global:x-topics, {txEscape(formattedNumber(./score))}]]</div>
5
5
  </a>
6
6
  {{{end}}}
@@ -86,13 +86,13 @@
86
86
 
87
87
  <div class="d-flex">
88
88
  {{{ if !hideReplies }}}
89
- <a component="post/reply-count" data-target-component="post/replies/container" href="#" class="d-flex gap-2 align-items-center mt-2 btn-ghost ff-secondary border rounded-1 p-1 text-muted text-decoration-none text-xs {{{ if (!./replies || shouldHideReplyContainer(@value)) }}}hidden{{{ end }}}">
89
+ <a component="post/reply-count" data-target-component="post/replies/container" href="#" class="d-flex gap-2 align-items-center mt-2 btn btn-ghost ff-secondary border rounded-1 p-1 text-muted text-decoration-none text-xs {{{ if (!./replies || shouldHideReplyContainer(@value)) }}}hidden{{{ end }}}">
90
90
  <span component="post/reply-count/avatars" class="d-flex gap-1 {{{ if posts.replies.hasMore }}}hasMore{{{ end }}}">
91
91
  {{{each posts.replies.users}}}
92
92
  <span>{buildAvatar(posts.replies.users, "20px", true, "avatar-tooltip")}</span>
93
93
  {{{end}}}
94
94
  {{{ if posts.replies.hasMore}}}
95
- <span><i class="fa fa-ellipsis"></i></span>
95
+ <span style="height: 20px; line-height: 20px;"><i class="fa fa-ellipsis"></i></span>
96
96
  {{{ end }}}
97
97
  </span>
98
98
 
@@ -112,7 +112,7 @@
112
112
  <a component="post/quote" href="#" class="btn btn-ghost btn-sm {{{ if !privileges.topics:reply }}}hidden{{{ end }}}" title="[[topic:quote]]"><i class="fa fa-fw fa-quote-right text-primary"></i></a>
113
113
 
114
114
  {{{ if ./announces }}}
115
- <a component="post/announce-count" href="#" class="btn btn-ghost btn-sm" title="[[activitypub:announcers]]"><i class="fa fa-share-alt text-primary"></i> {./announces}</a>
115
+ <a component="post/announce-count" href="#" class="btn btn-ghost btn-sm d-flex gap-2 align-items-center" title="[[activitypub:announcers]]"><i class="fa fa-share-alt text-primary"></i> {./announces}</a>
116
116
  {{{ end }}}
117
117
 
118
118
  {{{ if !reputation:disabled }}}