nodebb-theme-harmony 1.2.20 → 1.2.21

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.2.20",
3
+ "version": "1.2.21",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.5.0"
6
6
  },
@@ -1,8 +1,8 @@
1
1
  ul.topics-list, ul.categories-list {
2
2
  li {
3
3
  &.deleted {
4
- opacity: 0.6;
5
4
  .meta { display: none!important; }
5
+ .title a { text-decoration: line-through;}
6
6
  }
7
7
 
8
8
  &.selected {
package/scss/topic.scss CHANGED
@@ -32,8 +32,9 @@ body.template-topic {
32
32
  &.selected .post-container {
33
33
  background-color: mix($body-bg, $body-color, 90%);
34
34
  }
35
- &.deleted .post-container {
36
- opacity: .5;
35
+ &.deleted .post-container .content {
36
+ opacity: .75;
37
+ text-decoration: line-through;
37
38
  }
38
39
 
39
40
  [component="post/content"] {
@@ -1,7 +1,7 @@
1
1
  <div class="{{{ if config.theme.stickyToolbar }}}sticky-tools{{{ end }}}">
2
2
  <nav class="d-flex flex-nowrap my-2 p-0 border-0 rounded topic-main-buttons">
3
3
  <div class="d-flex flex-row p-2 text-bg-light border rounded w-100 align-items-center">
4
- <div class="d-flex list-unstyled me-auto mb-0 gap-2 align-items-center flex-wrap">
4
+ <div class="d-flex me-auto mb-0 gap-2 align-items-center flex-wrap">
5
5
  {{{ if loggedIn }}}
6
6
  <button component="topic/mark-unread" class="btn-ghost-sm ff-secondary d-flex gap-2 align-items-center">
7
7
  <i class="fa fa-fw fa-inbox text-primary"></i>
@@ -21,11 +21,7 @@
21
21
  </div>
22
22
  <div class="flex-grow-1 d-flex flex-wrap gap-1 position-relative">
23
23
  <h3 component="topic/header" class="title text-break fs-5 fw-semibold m-0 tracking-tight w-100 {{{ if showSelect }}}me-4 me-lg-0{{{ end }}}">
24
- {{{ if topics.noAnchor }}}
25
- <span>{./title}</span>
26
- {{{ else }}}
27
- <a class="text-reset" href="{config.relative_path}/topic/{./slug}{{{ if ./bookmark }}}/{./bookmark}{{{ end }}}">{./title}</a>
28
- {{{ end }}}
24
+ <a class="text-reset" href="{{{ if topics.noAnchor }}}#{{{ else }}}{config.relative_path}/topic/{./slug}{{{ if ./bookmark }}}/{./bookmark}{{{ end }}}{{{ end }}}">{./title}</a>
29
25
  </h3>
30
26
  <span component="topic/labels" class="d-flex flex-wrap gap-1 w-100">
31
27
  <span component="topic/scheduled" class="badge border border-gray-300 text-body {{{ if !./scheduled }}}hidden{{{ end }}}">