nodebb-theme-persona 13.3.39 → 13.3.41

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-persona",
3
- "version": "13.3.39",
3
+ "version": "13.3.41",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.7.0"
6
6
  },
package/scss/search.scss CHANGED
@@ -11,16 +11,6 @@
11
11
  font-weight: 600;
12
12
  }
13
13
 
14
- .search-result-text {
15
- max-height: 250px;
16
- overflow: hidden;
17
- position: relative;
18
-
19
- h4, p {
20
- overflow-y: hidden;
21
- }
22
- }
23
-
24
14
  .topic-search {
25
15
  position: fixed;
26
16
  top: 60px;
package/scss/style.scss CHANGED
@@ -127,65 +127,6 @@ a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus {
127
127
  border-left: 4px solid transparent;
128
128
  }
129
129
 
130
- .fade-out {
131
- position: absolute;
132
- top: 190px;
133
- left: 0;
134
- width: 100%;
135
- margin: 0;
136
- padding: 30px 0;
137
- }
138
-
139
- .skin-default, .skin-cerulean, .skin-cosmo, .skin-flatly, .skin-journal, .skin-lumen, .skin-paper, .skin-readable, .skin-sandstone, .skin-spacelab, .skin-united, .skin-yeti {
140
- .fade-out {
141
- background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, white));
142
- background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), white);
143
- background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), white);
144
- background-image: -ms-linear-gradient(top, transparent, white);
145
- background-image: -o-linear-gradient(top, transparent, white);
146
- }
147
- }
148
-
149
- .skin-cyborg .fade-out {
150
- background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, #060606));
151
- background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #060606);
152
- background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), #060606);
153
- background-image: -ms-linear-gradient(top, transparent, #060606);
154
- background-image: -o-linear-gradient(top, transparent, #060606);
155
- }
156
-
157
- .skin-darkly .fade-out {
158
- background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, #222222));
159
- background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #222222);
160
- background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), #222222);
161
- background-image: -ms-linear-gradient(top, transparent, #222222);
162
- background-image: -o-linear-gradient(top, transparent, #222222);
163
- }
164
-
165
- .skin-simplex .fade-out {
166
- background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, #fcfcfc));
167
- background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #fcfcfc);
168
- background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), #fcfcfc);
169
- background-image: -ms-linear-gradient(top, transparent, #fcfcfc);
170
- background-image: -o-linear-gradient(top, transparent, #fcfcfc);
171
- }
172
-
173
- .skin-slate .fade-out {
174
- background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, #272b30));
175
- background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #272b30);
176
- background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), #272b30);
177
- background-image: -ms-linear-gradient(top, transparent, #272b30);
178
- background-image: -o-linear-gradient(top, transparent, #272b30);
179
- }
180
-
181
- .skin-superhero .fade-out {
182
- background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, #2b3e50));
183
- background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #2b3e50);
184
- background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), #2b3e50);
185
- background-image: -ms-linear-gradient(top, transparent, #2b3e50);
186
- background-image: -o-linear-gradient(top, transparent, #2b3e50);
187
- }
188
-
189
130
  .icon-container {
190
131
  .row {
191
132
  margin: 0;
@@ -10,7 +10,7 @@
10
10
  {{{each posts}}}
11
11
  <div class="topic-row card clearfix mb-3">
12
12
  <div class="card-body">
13
- <div>
13
+ <div class="mb-2">
14
14
  <a href="{config.relative_path}/user/{./user.userslug}">{buildAvatar(./user, "24px", true)}</a>
15
15
  <span class="search-result-text search-result-title"><a href="{config.relative_path}/post/{posts.pid}">{./topic.title}</a></span>
16
16
  </div>
@@ -18,11 +18,10 @@
18
18
  {{{ if showAsPosts }}}
19
19
  <div class="search-result-text">
20
20
  {./content}
21
- <p class="fade-out"></p>
22
21
  </div>
23
22
  {{{ end }}}
24
23
 
25
- <small class="post-info float-end">
24
+ <small class="post-info">
26
25
  <a href="{config.relative_path}/category/{./category.slug}">
27
26
  <div class="category-item d-inline-block">
28
27
  {buildCategoryIcon(./category, "24px", "rounded-circle")}
@@ -4,6 +4,7 @@
4
4
  <span class="menu-icon"><i class="fa fa-fw fa-pencil"></i></span> [[topic:edit]]
5
5
  </a>
6
6
  </li>
7
+ {{{ if posts.display_delete_tools }}}
7
8
  <li <!-- IF posts.deleted -->hidden<!-- ENDIF posts.deleted -->>
8
9
  <a class="dropdown-item d-flex align-items-center gap-2" component="post/delete" role="menuitem" href="#" class="<!-- IF posts.deleted -->hidden<!-- ENDIF posts.deleted -->">
9
10
  <span class="menu-icon"><i class="fa fa-fw fa-trash-o"></i></span> [[topic:delete]]
@@ -14,6 +15,7 @@
14
15
  <span class="menu-icon"><i class="fa fa-fw fa-history"></i><span> [[topic:restore]]
15
16
  </a>
16
17
  </li>
18
+ {{{ end }}}
17
19
  <!-- IF posts.display_purge_tools -->
18
20
  <li <!-- IF !posts.deleted -->hidden<!-- ENDIF !posts.deleted -->>
19
21
  <a class="dropdown-item d-flex align-items-center gap-2" component="post/purge" role="menuitem" href="#" class="<!-- IF !posts.deleted -->hidden<!-- ENDIF !posts.deleted -->">
@@ -38,6 +40,14 @@
38
40
  </li>
39
41
  <!-- ENDIF posts.display_change_owner_tools -->
40
42
 
43
+ {{{ if posts.display_manage_editors_tools }}}
44
+ <li>
45
+ <a class="dropdown-item d-flex align-items-center gap-2" component="post/manage-editors" role="menuitem" href="#">
46
+ <span class="menu-icon"><i class="fa fa-fw fa-user-pen"></i></span> [[topic:manage-editors]]
47
+ </a>
48
+ </li>
49
+ {{{ end }}}
50
+
41
51
  <!-- IF posts.ip -->
42
52
  <li>
43
53
  <a class="dropdown-item d-flex align-items-center gap-2" component="post/copy-ip" role="menuitem" href="#" data-clipboard-text="{posts.ip}">