nodebb-theme-persona 12.0.3 → 12.0.6
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/less/header.less +6 -1
- package/package.json +1 -1
- package/public/persona.js +2 -6
- package/templates/partials/menu.tpl +12 -4
package/less/header.less
CHANGED
|
@@ -205,10 +205,15 @@
|
|
|
205
205
|
border-top: 1px solid rgba(163, 163, 163, 0.5);
|
|
206
206
|
|
|
207
207
|
a {
|
|
208
|
-
display: block;
|
|
209
208
|
text-align: center;
|
|
210
209
|
padding: 0.5em 0.5em;
|
|
211
210
|
font-weight: 600;
|
|
211
|
+
color: @dropdown-link-color;
|
|
212
|
+
|
|
213
|
+
&:hover {
|
|
214
|
+
color: @dropdown-link-hover-color;
|
|
215
|
+
background: @dropdown-link-hover-bg;
|
|
216
|
+
}
|
|
212
217
|
}
|
|
213
218
|
}
|
|
214
219
|
|
package/package.json
CHANGED
package/public/persona.js
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
$(document).ready(function () {
|
|
4
4
|
setupNProgress();
|
|
5
|
+
setupTaskbar();
|
|
5
6
|
setupEditedByIcon();
|
|
7
|
+
setupMobileMenu();
|
|
6
8
|
setupQuickReply();
|
|
7
9
|
configureNavbarHiding();
|
|
8
10
|
updatePanelOffset();
|
|
@@ -10,13 +12,7 @@ $(document).ready(function () {
|
|
|
10
12
|
$(window).on('resize', utils.debounce(configureNavbarHiding, 200));
|
|
11
13
|
$(window).on('resize', updatePanelOffset);
|
|
12
14
|
|
|
13
|
-
$(window).on('action:app.load', function () {
|
|
14
|
-
setupTaskbar();
|
|
15
|
-
setupMobileMenu();
|
|
16
|
-
});
|
|
17
|
-
|
|
18
15
|
function updatePanelOffset() {
|
|
19
|
-
var env = utils.findBootstrapEnvironment();
|
|
20
16
|
const headerEl = document.getElementById('header-menu');
|
|
21
17
|
|
|
22
18
|
if (!headerEl) {
|
|
@@ -57,8 +57,12 @@
|
|
|
57
57
|
</li>
|
|
58
58
|
</ul>
|
|
59
59
|
</li>
|
|
60
|
-
<li class="notif-dropdown-link"
|
|
61
|
-
|
|
60
|
+
<li class="notif-dropdown-link">
|
|
61
|
+
<div class="btn-group btn-group-justified">
|
|
62
|
+
<a role="button" href="#" class="btn btn-secondary mark-all-read"><i class="fa fa-check-double"></i> [[notifications:mark_all_read]]</a>
|
|
63
|
+
<a class="btn btn-secondary" href="{relative_path}/notifications"><i class="fa fa-list"></i> [[notifications:see_all]]</a>
|
|
64
|
+
</div>
|
|
65
|
+
</li>
|
|
62
66
|
</ul>
|
|
63
67
|
</li>
|
|
64
68
|
|
|
@@ -75,8 +79,12 @@
|
|
|
75
79
|
</li>
|
|
76
80
|
</ul>
|
|
77
81
|
</li>
|
|
78
|
-
<li class="notif-dropdown-link"
|
|
79
|
-
|
|
82
|
+
<li class="notif-dropdown-link">
|
|
83
|
+
<div class="btn-group btn-group-justified">
|
|
84
|
+
<a class="btn btn-secondary mark-all-read" href="#" component="chats/mark-all-read"><i class="fa fa-check-double"></i> [[modules:chat.mark_all_read]]</a>
|
|
85
|
+
<a class="btn btn-secondary" href="{relative_path}/user/{user.userslug}/chats"><i class="fa fa-comments"></i> [[modules:chat.see_all]]</a>
|
|
86
|
+
</div>
|
|
87
|
+
</li>
|
|
80
88
|
</ul>
|
|
81
89
|
</li>
|
|
82
90
|
<!-- ENDIF canChat -->
|