nodebb-theme-harmony 1.1.74 → 1.1.75

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.1.74",
3
+ "version": "1.1.75",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.5.0"
6
6
  },
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;
@@ -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 py-2 usermenu">
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
- <!-- IMPORT partials/sidebar/logged-out-menu.tpl -->
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>