nodebb-theme-harmony 1.1.74 → 1.1.76
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
package/scss/sidebar.scss
CHANGED
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
}
|
|
165
165
|
left: 0!important;
|
|
166
166
|
right: 0!important;
|
|
167
|
-
bottom: $spacer!important;
|
|
167
|
+
bottom: $spacer*0.5!important;
|
|
168
168
|
box-shadow: none!important;
|
|
169
169
|
max-height: 60vh!important;
|
|
170
170
|
overflow: auto!important;
|
|
@@ -176,7 +176,6 @@
|
|
|
176
176
|
.search-dropdown, .chats-dropdown, .notifications-dropdown, .drafts-dropdown {
|
|
177
177
|
left: 0 !important;
|
|
178
178
|
right: 0 !important;
|
|
179
|
-
bottom: $spacer * 0.7 !important;
|
|
180
179
|
box-shadow: none!important;
|
|
181
180
|
|
|
182
181
|
border-left: 0;
|
package/templates/category.tpl
CHANGED
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
{buildCategoryIcon(@value, "40px", "rounded-1 flex-shrink-0")}
|
|
5
5
|
<h1 class="tracking-tight fs-2 fw-semibold mb-0 text-center">{./name}</h1>
|
|
6
6
|
</div>
|
|
7
|
+
{{{ if ./descriptionParsed }}}
|
|
8
|
+
<div class="description text-muted text-sm w-100">
|
|
9
|
+
{./descriptionParsed}
|
|
10
|
+
</div>
|
|
11
|
+
{{{ end }}}
|
|
7
12
|
<div class="d-flex flex-wrap gap-2 {{{ if config.theme.centerHeaderElements }}}justify-content-center{{{ end }}}">
|
|
8
13
|
<span class="badge text-body border border-gray-300 stats text-xs">
|
|
9
14
|
<span title="{totalTopicCount}" class="fw-bold">{humanReadableNumber(totalTopicCount)}</span>
|
|
@@ -66,13 +66,31 @@
|
|
|
66
66
|
<!-- IMPORT partials/sidebar/drafts.tpl -->
|
|
67
67
|
</li>
|
|
68
68
|
|
|
69
|
-
<li id="user_label" class="nav-item m-0
|
|
69
|
+
<li id="user_label" class="nav-item m-0 usermenu">
|
|
70
70
|
<!-- IMPORT partials/sidebar/user-menu.tpl -->
|
|
71
71
|
</li>
|
|
72
72
|
</ul>
|
|
73
73
|
{{{ else }}}
|
|
74
74
|
<ul id="logged-out-menu" class="list-unstyled d-flex w-100 gap-3 mb-0 logged-out-menu">
|
|
75
|
-
|
|
75
|
+
{{{ if (config.searchEnabled && user.privileges.search:content) }}}
|
|
76
|
+
<li component="sidebar/search" class="nav-item mx-2 search">
|
|
77
|
+
<!-- IMPORT partials/sidebar/search-mobile.tpl -->
|
|
78
|
+
</li>
|
|
79
|
+
{{{ end }}}
|
|
80
|
+
|
|
81
|
+
{{{ if allowRegistration }}}
|
|
82
|
+
<li class="nav-item mx-2" title="[[global:register]]">
|
|
83
|
+
<a class="nav-link nav-btn" href="{relative_path}/register">
|
|
84
|
+
<i class="fa fa-fw fa-user-plus"></i>
|
|
85
|
+
</a>
|
|
86
|
+
</li>
|
|
87
|
+
{{{ end }}}
|
|
88
|
+
|
|
89
|
+
<li class="nav-item mx-2" title="[[global:login]]">
|
|
90
|
+
<a class="nav-link nav-btn" href="{relative_path}/login">
|
|
91
|
+
<i class="fa fa-fw fa-sign-in"></i>
|
|
92
|
+
</a>
|
|
93
|
+
</li>
|
|
76
94
|
</ul>
|
|
77
95
|
{{{ end }}}
|
|
78
96
|
</div>
|