nodebb-theme-persona 12.0.10 → 12.0.13

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/account.less CHANGED
@@ -45,7 +45,7 @@
45
45
  border: 4px solid white;
46
46
  border-radius: 50%;
47
47
 
48
- .fab.btn-morph {
48
+ .persona-fab.btn-morph {
49
49
  top: 93px;
50
50
  right: 4px;
51
51
  position: absolute;
@@ -311,7 +311,7 @@
311
311
  background-color: lighten(@brand-primary, 10%);
312
312
  }
313
313
 
314
- .fab {
314
+ .persona-fab {
315
315
  color: white;
316
316
  font-size: 20px;
317
317
  }
@@ -1,4 +1,4 @@
1
- .fab {
1
+ .persona-fab {
2
2
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.156863), 0px 2px 10px 0px rgba(0, 0, 0, 0.117647);
3
3
 
4
4
  background-color: @brand-primary;
@@ -11,11 +11,11 @@
11
11
  width: 55.5px;
12
12
  }
13
13
 
14
- .btn-group.open .dropdown-toggle.fab {
14
+ .btn-group.open .dropdown-toggle.persona-fab {
15
15
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.156863), 0px 2px 10px 0px rgba(0, 0, 0, 0.117647);
16
16
  }
17
17
 
18
- .fab.btn-morph {
18
+ .persona-fab.btn-morph {
19
19
  padding: 0;
20
20
 
21
21
  &.heart {
@@ -57,7 +57,7 @@
57
57
  }
58
58
  }
59
59
 
60
- .fab.btn-morph {
60
+ .persona-fab.btn-morph {
61
61
  top: 75px;
62
62
  right: 15px;
63
63
  position: absolute;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-persona",
3
- "version": "12.0.10",
3
+ "version": "12.0.13",
4
4
  "nbbpm": {
5
5
  "compatibility": "^2.0.0"
6
6
  },
package/public/persona.js CHANGED
@@ -16,6 +16,7 @@ $(document).ready(function () {
16
16
  const headerEl = document.getElementById('header-menu');
17
17
 
18
18
  if (!headerEl) {
19
+ console.warn('[persona/updatePanelOffset] Could not find #header-menu, panel offset unchanged.');
19
20
  return;
20
21
  }
21
22
 
@@ -24,8 +24,8 @@
24
24
  <small>[[global:reputation]]</small>
25
25
  <span class="human-readable-number">{reputation}</span>
26
26
  </div>
27
-
28
- <button class="btn-morph fab <!-- IF banned --> hide<!-- ENDIF banned -->">
27
+
28
+ <button class="btn-morph persona-fab <!-- IF banned --> hide<!-- ENDIF banned -->">
29
29
  <span>
30
30
  <span class="s1"></span>
31
31
  <span class="s2"></span>
@@ -17,7 +17,7 @@
17
17
 
18
18
  <!-- IF loggedIn -->
19
19
  <!-- IF !isSelf -->
20
- <button class="btn-morph fab <!-- IF isFollowing -->heart<!-- ELSE -->plus<!-- ENDIF isFollowing -->" title="<!-- IF isFollowing -->[[global:unfollow]]<!-- ELSE -->[[global:follow]]<!-- ENDIF isFollowing -->">
20
+ <button class="btn-morph persona-fab <!-- IF isFollowing -->heart<!-- ELSE -->plus<!-- ENDIF isFollowing -->" title="<!-- IF isFollowing -->[[global:unfollow]]<!-- ELSE -->[[global:follow]]<!-- ENDIF isFollowing -->">
21
21
  <span>
22
22
  <span class="s1"></span>
23
23
  <span class="s2"></span>
@@ -1,5 +1,5 @@
1
1
  <div class="btn-group account-fab bottom-sheet">
2
- <button type="button" class="fab dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
2
+ <button type="button" class="persona-fab dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
3
3
  <i class="fa fa-ellipsis-v"></i>
4
4
  </button>
5
5
  <ul class="dropdown-menu dropdown-menu-right">
@@ -72,7 +72,7 @@
72
72
  </li>
73
73
  <!-- END -->
74
74
 
75
- <!-- IF config.loggedIn -->
75
+ {{{ if config.loggedIn }}}
76
76
  <li>
77
77
  <a component="post/bookmark" role="menuitem" tabindex="-1" href="#" data-bookmarked="{posts.bookmarked}">
78
78
  <span class="menu-icon">
@@ -83,7 +83,7 @@
83
83
  <span component="post/bookmark-count" class="bookmarkCount badge" data-bookmarks="{posts.bookmarks}">{posts.bookmarks}</span>&nbsp;
84
84
  </a>
85
85
  </li>
86
- <!-- ENDIF config.loggedIn -->
86
+ {{{ end }}}
87
87
 
88
88
  <li>
89
89
  <a role="menuitem" tabindex="-1" href="#" data-clipboard-text="{posts.absolute_url}">
@@ -0,0 +1 @@
1
+ <!-- This partial intentionally left blank; overwritten by nodebb-plugin-reactions -->