nodebb-theme-harmony 2.2.26 → 2.2.27

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.2.26",
3
+ "version": "2.2.27",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.0.0"
6
6
  },
package/scss/skins.scss CHANGED
@@ -1,6 +1,6 @@
1
1
  .skin-quartz {
2
2
  // $body-bg-image is gradient in quartz
3
- [component="post"] .icon {
3
+ .topic-main-buttons, .topic-list-header, [component="post"] .icon {
4
4
  background-color: transparent !important;
5
5
  }
6
6
  .form-control::placeholder {
@@ -8,7 +8,7 @@
8
8
  {buildCategoryIcon(@value, "60px", "rounded-1 flex-shrink-0")}
9
9
  <div class="d-flex flex-column gap-1">
10
10
  <h1 class="tracking-tight fs-3 fw-semibold mb-0">{./name}</h1>
11
- <div class="d-flex flex-wrap gap-2 {{{ if config.theme.centerHeaderElements }}}justify-content-center{{{ end }}}">
11
+ <div class="d-flex flex-wrap gap-2 align-items-center {{{ if config.theme.centerHeaderElements }}}justify-content-center{{{ end }}}">
12
12
  <span class="badge text-body border border-gray-300 stats text-xs">
13
13
  <span title="{formattedNumber(totalTopicCount)}" class="fw-bold">{humanReadableNumber(totalTopicCount)}</span>
14
14
  <span class="text-lowercase fw-normal">[[global:topics]]</span>
@@ -23,6 +23,9 @@
23
23
  <i class="fa fa-external-link"></i>
24
24
  </a>
25
25
  {{{ end }}}
26
+ {{{ if (!feeds:disableRSS && rssFeedUrl) }}}
27
+ <a class="btn btn-ghost btn-sm border border-gray-300 d-flex align-items-center align-self-stretch" target="_blank" href="{rssFeedUrl}" itemprop="item" title="[[global:rss-feed]]"><i class="fa fa-rss fa-sm text-muted"></i></a>
28
+ {{{ end }}}
26
29
  </div>
27
30
  </div>
28
31
  </div>
@@ -1,16 +1,12 @@
1
1
  <div class="{{{ if config.theme.stickyToolbar }}}sticky-tools{{{ end }}} {{{ if config.theme.topicSidebarTools }}}d-block d-lg-none{{{ end }}}" style="top: {{{ if (config.theme.topMobilebar && !config.theme.autohideBottombar) }}}var(--panel-offset){{{ else }}}0{{{ end }}};">
2
- <nav class="d-flex flex-nowrap my-2 p-0 border-0 rounded topic-main-buttons">
3
- <div class="d-flex flex-row p-2 text-bg-light border rounded w-100 align-items-center">
2
+ <nav class="topic-main-buttons bg-body d-flex flex-nowrap my-2 p-0 border-0 rounded">
3
+ <div class="d-flex flex-row p-2 card card-header border rounded w-100 align-items-center">
4
4
  <div class="d-flex me-auto mb-0 gap-2 align-items-center flex-wrap">
5
5
  <!-- IMPORT partials/topic/mark-unread.tpl -->
6
6
  <!-- IMPORT partials/topic/watch.tpl -->
7
7
  <!-- IMPORT partials/topic/sort.tpl -->
8
8
  <!-- IMPORT partials/topic/crosspost.tpl -->
9
9
  <!-- IMPORT partials/topic/tools.tpl -->
10
-
11
- {{{ if (!feeds:disableRSS && rssFeedUrl) }}}
12
- <a class="btn btn-ghost btn-sm d-none d-lg-flex align-items-center align-self-stretch" target="_blank" href="{rssFeedUrl}" title="[[global:rss-feed]]"><i class="fa fa-rss text-primary"></i></a>
13
- {{{ end }}}
14
10
  </div>
15
11
  <!-- IMPORT partials/topic/reply-button.tpl -->
16
12
  </div>
@@ -1,6 +1,6 @@
1
1
  <div class="{{{ if config.theme.stickyToolbar }}}sticky-tools{{{ end }}} mb-3" style="top: {{{ if (config.theme.topMobilebar && !config.theme.autohideBottombar) }}}var(--panel-offset){{{ else }}}0{{{ end }}};">
2
- <nav class="topic-list-header d-flex flex-nowrap my-2 p-0 border-0 rounded">
3
- <div class="d-flex flex-row p-2 text-bg-light gap-1 border rounded w-100 align-items-center">
2
+ <nav class="topic-list-header bg-body d-flex flex-nowrap my-2 p-0 border-0 rounded">
3
+ <div class="d-flex flex-row p-2 card card-header gap-1 border rounded w-100 align-items-center">
4
4
  <div component="category/controls" class="d-flex flex-wrap align-items-stretch me-auto mb-0 gap-2">
5
5
  {{{ if template.category }}}
6
6
  <!-- IMPORT partials/category/watch.tpl -->
@@ -50,10 +50,6 @@
50
50
 
51
51
  <!-- IMPORT partials/category/tools-dropdown-left.tpl -->
52
52
 
53
- {{{ if (!feeds:disableRSS && rssFeedUrl) }}}
54
- <a class="btn btn-ghost btn-sm d-none d-lg-flex align-items-center align-self-stretch" target="_blank" href="{rssFeedUrl}" itemprop="item" title="[[global:rss-feed]]"><i class="fa fa-rss text-primary"></i></a>
55
- {{{ end }}}
56
-
57
53
  <a href="{{{ if (template.category || template.world) }}}{url}{{{ else }}}{config.relative_path}/{selectedFilter.url}{querystring}{{{ end }}}" class="btn btn-secondary fw-semibold position-absolute top-100 translate-middle-x start-50 mt-1 hide" style="--bs-btn-padding-y: .25rem; --bs-btn-padding-x: .5rem; --bs-btn-font-size: .75rem;" id="new-topics-alert">
58
54
  <i class="fa fa-fw fa-arrow-up"></i> [[recent:load-new-posts]]
59
55
  </a>
@@ -55,6 +55,10 @@
55
55
  {buildCategoryLabel(category, "a", "border")}
56
56
  <div data-tid="{./tid}" component="topic/tags" class="lh-1 tags tag-list d-flex flex-wrap hidden-xs hidden-empty gap-2"><!-- IMPORT partials/topic/tags.tpl --></div>
57
57
  <div class="d-flex gap-2" component="topic/stats"><!-- IMPORT partials/topic/stats.tpl --></div>
58
+
59
+ {{{ if (!feeds:disableRSS && rssFeedUrl) }}}
60
+ <a class="btn btn-ghost btn-sm border border-gray-300 d-flex align-items-center align-self-stretch" target="_blank" href="{rssFeedUrl}" data-bs-toggle="tooltip" title="[[global:rss-feed]]"><i class="fa fa-rss fa-sm text-muted"></i></a>
61
+ {{{ end }}}
58
62
  </div>
59
63
  </div>
60
64
  <div class="flex-shrink-1 d-flex flex-wrap gap-2 align-items-start mt-2 hidden-empty {{{ if greaterthan(thumbs.length, "4") }}}thumbs-collapsed{{{ end }}}" component="topic/thumb/list"><!-- IMPORT partials/topic/thumbs.tpl --></div>