nodebb-theme-persona 14.2.38 → 14.2.40
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 +2 -2
- package/scss/topic.scss +9 -3
- package/templates/category.tpl +2 -2
- package/templates/partials/categories/link.tpl +10 -10
- package/package-lock.json +0 -2802
package/package.json
CHANGED
package/scss/topic.scss
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
@use "fontawesome/scss/variables" as fa-vars;
|
|
2
|
+
@use 'fontawesome/scss/solid' as fa-solid;
|
|
3
|
+
@use "fontawesome/scss/mixins" as fa-mixins;
|
|
4
|
+
@use "fontawesome/scss/functions" as fa-functions;
|
|
5
|
+
|
|
6
|
+
|
|
1
7
|
.topic {
|
|
2
8
|
.topic-header {
|
|
3
9
|
top: var(--panel-offset);
|
|
@@ -70,12 +76,12 @@
|
|
|
70
76
|
}
|
|
71
77
|
|
|
72
78
|
[component="post/upvote"].upvoted i {
|
|
73
|
-
@include fa-icon
|
|
79
|
+
@include fa-solid.icon(fa-vars.$var-circle-chevron-up);
|
|
74
80
|
color: $primary;
|
|
75
81
|
}
|
|
76
82
|
|
|
77
83
|
[component="post/downvote"].downvoted i {
|
|
78
|
-
@include fa-icon
|
|
84
|
+
@include fa-solid.icon(fa-vars.$var-circle-chevron-down);
|
|
79
85
|
color: $primary;
|
|
80
86
|
}
|
|
81
87
|
|
|
@@ -364,7 +370,7 @@
|
|
|
364
370
|
background-color: $success;
|
|
365
371
|
-webkit-transition: .2s ease-in-out all;
|
|
366
372
|
transition: .2s ease-in-out all;
|
|
367
|
-
content: fa-content(
|
|
373
|
+
content: fa-functions.fa-content(fa-vars.$var-check);
|
|
368
374
|
padding: 14px;
|
|
369
375
|
border-radius: 50%;
|
|
370
376
|
opacity: 1;
|
package/templates/category.tpl
CHANGED
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
{{{ end }}}
|
|
20
20
|
{{{ end }}}
|
|
21
21
|
|
|
22
|
-
<a href="{url}" class="d-inline-block">
|
|
22
|
+
<a href="{escape(url)}" class="d-inline-block">
|
|
23
23
|
<div class="alert alert-warning h-100 m-0 px-2 py-1 d-flex gap-1 align-items-center hide" id="new-topics-alert"><i class="fa fa-fw fa-rotate-right"></i>[[recent:load-new-posts]]</div>
|
|
24
24
|
</a>
|
|
25
25
|
</div>
|
|
26
26
|
<div component="category/controls" class="d-flex gap-1">
|
|
27
27
|
{{{ if !isNumber(cid) }}}
|
|
28
|
-
<a href="{./url}" class="btn btn-sm d-flex gap-2 align-items-center" data-ajaxify="false">
|
|
28
|
+
<a href="{escape(./url)}" class="btn btn-sm d-flex gap-2 align-items-center" data-ajaxify="false">
|
|
29
29
|
<i class="fa fa-external-link text-primary"></i>
|
|
30
30
|
<span class="fw-semibold">View Original</span>
|
|
31
31
|
</a>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<!-- IF ../isSection -->
|
|
2
|
-
{../name}
|
|
3
|
-
<!-- ELSE -->
|
|
4
|
-
<!-- IF ../link -->
|
|
5
|
-
<a href="{../link}" itemprop="url">
|
|
6
|
-
<!-- ELSE -->
|
|
7
|
-
<a href="{config.relative_path}/category/{../slug}" itemprop="url">
|
|
8
|
-
<!-- ENDIF ../link -->
|
|
9
|
-
{../name}
|
|
10
|
-
</a>
|
|
1
|
+
<!-- IF ../isSection -->
|
|
2
|
+
{../name}
|
|
3
|
+
<!-- ELSE -->
|
|
4
|
+
<!-- IF ../link -->
|
|
5
|
+
<a href="{../link}" itemprop="url">
|
|
6
|
+
<!-- ELSE -->
|
|
7
|
+
<a href="{config.relative_path}/category/{../slug}" itemprop="url">
|
|
8
|
+
<!-- ENDIF ../link -->
|
|
9
|
+
{../name}
|
|
10
|
+
</a>
|
|
11
11
|
<!-- ENDIF ../isSection -->
|