nodebb-theme-persona 13.0.21 → 13.0.23

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-persona",
3
- "version": "13.0.21",
3
+ "version": "13.0.23",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
package/scss/topic.scss CHANGED
@@ -169,9 +169,8 @@
169
169
 
170
170
  .threaded-replies {
171
171
  margin-left: 60px;
172
- margin-top: 10px;
172
+ padding: 1rem 0px;
173
173
  text-decoration: none;
174
- font-size: 11px;
175
174
 
176
175
  img, .user-icon {
177
176
  @include user-icon-style(16px, 10px, 50%);
@@ -192,22 +191,6 @@
192
191
 
193
192
  .avatars {
194
193
  position: relative;
195
-
196
- &.hasMore > *:last-child:after {
197
- content: "\2022\2022\2022";
198
- width: 16px;
199
- height: 16px;
200
- line-height: 16px;
201
- background: #000;
202
- opacity: .6;
203
- color: white;
204
- position: absolute;
205
- right: 2px;
206
- border-radius: 50%;
207
- bottom: -1px;
208
- text-align: center;
209
- font-size: 12px;
210
- }
211
194
  }
212
195
  }
213
196
 
@@ -216,7 +199,7 @@
216
199
  margin-top: $post-padding;
217
200
  border-left: 5px solid #eee;
218
201
  padding-left: 20px;
219
-
202
+ .timeline-event { display: none; }
220
203
  [component="post"]:last-child > hr {
221
204
  display: none;
222
205
  }
@@ -263,7 +246,6 @@
263
246
  }
264
247
 
265
248
  .moderator-tools {
266
- margin-left: 10px;
267
249
  font-size: 14px;
268
250
 
269
251
  > a {
@@ -24,6 +24,4 @@
24
24
  </div>
25
25
  </div>
26
26
 
27
- <button id="save" class="floating-button mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored">
28
- <i class="material-icons">save</i>
29
- </button>
27
+ <!-- IMPORT admin/partials/save_button.tpl -->
@@ -1,9 +1,9 @@
1
- <div class="form-group">
2
- <label for="agree-terms">[[register:terms_of_use]]</label>
3
- <div class="tos">{termsOfUse}</div>
4
- <div class="checkbox">
5
- <label>
6
- <input type="checkbox" name="agree-terms" id="agree-terms"> [[register:agree_to_terms_of_use]]
7
- </label>
8
- </div>
1
+ <div class="form-group">
2
+ <label for="agree-terms">[[register:terms_of_use]]</label>
3
+ <div class="tos">{termsOfUse}</div>
4
+ <div class="checkbox">
5
+ <label>
6
+ <input type="checkbox" name="agree-terms" id="agree-terms"> [[register:agree_to_terms_of_use]]
7
+ </label>
8
+ </div>
9
9
  </div>
@@ -1,11 +1,11 @@
1
- <!-- IF ../isSection -->
2
- {../name}
3
- <!-- ELSE -->
4
- <!-- IF ../link -->
5
- <a href="{../link}" itemprop="url">
6
- <!-- ELSE -->
7
- <a href="{config.relative_path}/category/{../slug}" itemprop="url">
8
- <!-- ENDIF ../link -->
9
- {../name}
10
- </a>
1
+ <!-- IF ../isSection -->
2
+ {../name}
3
+ <!-- ELSE -->
4
+ <!-- IF ../link -->
5
+ <a href="{../link}" itemprop="url">
6
+ <!-- ELSE -->
7
+ <a href="{config.relative_path}/category/{../slug}" itemprop="url">
8
+ <!-- ENDIF ../link -->
9
+ {../name}
10
+ </a>
11
11
  <!-- ENDIF ../isSection -->
@@ -14,7 +14,7 @@
14
14
  </div>
15
15
  <ul component="category/list" class="dropdown-menu category-dropdown-menu" role="menu">
16
16
  <li component="category/no-matches" role="presentation" class="category hidden">
17
- <a role="menu-item">[[search:no-matches]]</a>
17
+ <a class="dropdown-item" role="menu-item">[[search:no-matches]]</a>
18
18
  </li>
19
19
  {{{each categoryItems}}}
20
20
  <li role="presentation" class="category {{{ if ../disabledClass }}}disabled {{{ end }}}" data-cid="{../cid}" data-name="{../name}" data-parent-cid="{../parentCid}">
@@ -66,14 +66,17 @@
66
66
  <div class="clearfix">
67
67
  {{{ if !hideReplies }}}
68
68
  <a component="post/reply-count" data-target-component="post/replies/container" href="#" class="threaded-replies user-select-none float-start text-muted {{{ if !posts.replies.count }}}hidden{{{ end }}}">
69
- <span component="post/reply-count/avatars" class="avatars {{{ if posts.replies.hasMore }}}hasMore{{{ end }}}">
69
+ <span component="post/reply-count/avatars" class="avatars d-inline-flex gap-1 align-items-top hidden-xs {{{ if posts.replies.hasMore }}}hasMore{{{ end }}}">
70
70
  {{{each posts.replies.users}}}
71
- {buildAvatar(posts.replies.users, "16px", true, "")}
71
+ <span>{buildAvatar(posts.replies.users, "16px", true, "")}</span>
72
72
  {{{end}}}
73
+ {{{ if posts.replies.hasMore}}}
74
+ <span><i class="fa fa-ellipsis"></i></span>
75
+ {{{ end }}}
73
76
  </span>
74
77
 
75
- <span class="replies-count" component="post/reply-count/text" data-replies="{posts.replies.count}">{posts.replies.text}</span>
76
- <span class="replies-last hidden-xs">[[topic:last_reply_time]] <span class="timeago" title="{posts.replies.timestampISO}"></span></span>
78
+ <span class="replies-count small" component="post/reply-count/text" data-replies="{posts.replies.count}">{posts.replies.text}</span>
79
+ <span class="replies-last hidden-xs small">[[topic:last_reply_time]] <span class="timeago" title="{posts.replies.timestampISO}"></span></span>
77
80
 
78
81
  <i class="fa fa-fw fa-chevron-right" component="post/replies/open"></i>
79
82
  <i class="fa fa-fw fa-chevron-down hidden" component="post/replies/close"></i>
@@ -62,14 +62,9 @@
62
62
  </span>
63
63
  {{{ end }}}
64
64
 
65
- <span class="hidden-xs"><span class="timeago text-muted" title="{topics.timestampISO}"></span> &bull; <a class="text-muted" href="<!-- IF topics.user.userslug -->{config.relative_path}/user/{topics.user.userslug}<!-- ELSE -->#<!-- ENDIF topics.user.userslug -->">{topics.user.displayname}</a></span>
66
- <span class="visible-xs-inline">
67
- <!-- IF topics.teaser.timestamp -->
68
- <span class="timeago" title="{topics.teaser.timestampISO}"></span>
69
- <!-- ELSE -->
70
- <span class="timeago" title="{topics.timestampISO}"></span>
71
- <!-- ENDIF topics.teaser.timestamp -->
72
- </span>
65
+ <span class="hidden-xs"><span class="timeago text-muted" title="{./timestampISO}"></span> &bull; <a class="text-muted" href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}">{./user.displayname}</a></span>
66
+
67
+ <span class="visible-xs-inline timeago text-muted" title="{{{ if ./teaser.timestampISO }}}{./teaser.timestampISO}{{{ else }}}{./timestampISO}{{{ end }}}"></span>
73
68
  </div>
74
69
  </div>
75
70
 
package/templates/tos.tpl CHANGED
@@ -1,4 +1,4 @@
1
- <h3>[[register:terms_of_use]]</h3>
2
- <hr/>
3
-
4
- {termsOfUse}
1
+ <h3>[[register:terms_of_use]]</h3>
2
+ <hr/>
3
+
4
+ {termsOfUse}
package/theme.json CHANGED
@@ -1,7 +1,7 @@
1
- {
2
- "id": "nodebb-theme-persona",
3
- "name": "Persona",
4
- "description": "The default theme for NodeBB. Uses a standard approach to forum design.",
5
- "url": "https://github.com/psychobunny/nodebb-theme-persona",
6
- "screenshot": "screenshot.png"
1
+ {
2
+ "id": "nodebb-theme-persona",
3
+ "name": "Persona",
4
+ "description": "The default theme for NodeBB. Uses a standard approach to forum design.",
5
+ "url": "https://github.com/psychobunny/nodebb-theme-persona",
6
+ "screenshot": "screenshot.png"
7
7
  }