nodebb-theme-harmony 0.0.13 → 1.0.0-beta.1

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": "0.0.13",
3
+ "version": "1.0.0-beta.1",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
package/scss/mixins.scss CHANGED
@@ -47,7 +47,7 @@
47
47
  }
48
48
 
49
49
  &:last-child {
50
- min-height: 7rem;
50
+ padding-bottom: 2rem;
51
51
 
52
52
  &:after {
53
53
  content: '';
@@ -1,3 +1,7 @@
1
+ body:not(.page-topic) [component="topic/navigator"] {
2
+ display: none!important;
3
+ }
4
+
1
5
  [component="topic/navigator"] {
2
6
  max-height: calc(200px + (2rem * 4));
3
7
  user-select: none;
@@ -1,4 +1,4 @@
1
- <div class="d-none flex-column flex-grow-1 align-items-center mb-2 mx-2 mt-auto" component="topic/navigator">
1
+ <div class="d-sm-flex flex-column flex-grow-1 align-items-center mb-2 mx-2 mt-auto" component="topic/navigator">
2
2
  <a href="#" class="nav-link border-0 p-2" data-action="toTop"><i class="fa fa-fw fa-angles-up"></i></a>
3
3
  <a href="#" class="nav-link border-0 p-2" data-action="scrollUp"><i class="fa fa-fw fa-angle-up"></i></a>
4
4
  <div class="track d-inline-block flex-grow-1 position-relative">
@@ -71,7 +71,7 @@
71
71
 
72
72
  <div class="clearfix">
73
73
  {{{ if !hideReplies }}}
74
- <a component="post/reply-count" data-target-component="post/replies/container" href="#" class="d-flex gap-2 align-items-center mt-2 border rounded-1 p-1 threaded-replies user-select-none float-start text-muted text-decoration-none {{{ if !posts.replies.count }}}hidden{{{ end }}}">
74
+ <a component="post/reply-count" data-target-component="post/replies/container" href="#" class="d-flex gap-2 align-items-center mt-2 btn-outline border rounded-1 p-1 threaded-replies user-select-none float-start text-muted text-decoration-none {{{ if !posts.replies.count }}}hidden{{{ end }}}">
75
75
  <span component="post/reply-count/avatars" class="avatars d-inline-flex gap-1 align-items-top {{{ if posts.replies.hasMore }}}hasMore{{{ end }}}">
76
76
  {{{each posts.replies.users}}}
77
77
  <span>{buildAvatar(posts.replies.users, "20px", true, "")}</span>
@@ -91,7 +91,7 @@
91
91
  {{{ end }}}
92
92
  </div>
93
93
 
94
- <div component="post/replies/container" class="mt-2 col-11 border rounded-1 p-3"></div>
94
+ <div component="post/replies/container" class="my-2 col-11 border rounded-1 p-3"></div>
95
95
 
96
96
  <div component="post/actions" class="d-flex justify-content-end gap-1 post-tools">
97
97
  <!-- IMPORT partials/topic/reactions.tpl -->
@@ -1,5 +1,5 @@
1
1
  <div component="topic/reply/container" class="btn-group action-bar bottom-sheet {{{ if !privileges.topics:reply }}}hidden{{{ end }}}">
2
- <a href="{config.relative_path}/compose?tid={tid}&title={title}" class="d-flex align-items-center btn btn-sm btn-primary px-3 fw-semibold " component="topic/reply" data-ajaxify="false" role="button"><i class="fa fa-reply visible-xs-inline"></i><span class="visible-md-inline visible-lg-inline"> [[topic:reply]]</span></a>
2
+ <a href="{config.relative_path}/compose?tid={tid}&title={title}" class="d-flex align-items-center btn btn-sm btn-primary px-3 fw-semibold " component="topic/reply" data-ajaxify="false" role="button"><i class="fa fa-reply d-sm-block d-md-none"></i><span class="d-none d-md-block"> [[topic:reply]]</span></a>
3
3
  <button type="button" class="btn btn-sm btn-primary dropdown-toggle" data-bs-toggle="dropdown">
4
4
  <span class="caret"></span>
5
5
  </button>