nodebb-theme-harmony 1.0.0-beta.66 → 1.0.0-beta.67
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
|
@@ -3,11 +3,29 @@
|
|
|
3
3
|
.scroller-container {
|
|
4
4
|
height: 300px;
|
|
5
5
|
border-left: 2px solid $border-color;
|
|
6
|
+
|
|
6
7
|
.scroller-thumb {
|
|
8
|
+
&:not(.active) {
|
|
9
|
+
transition: top 100ms linear;
|
|
10
|
+
}
|
|
7
11
|
cursor: grab;
|
|
8
12
|
&.active {
|
|
9
13
|
cursor: grabbing;
|
|
10
14
|
}
|
|
11
15
|
}
|
|
16
|
+
|
|
17
|
+
.unread {
|
|
18
|
+
width: 1px;
|
|
19
|
+
height: 0; // initial
|
|
20
|
+
bottom: 0;
|
|
21
|
+
background: $primary;
|
|
22
|
+
transition: $transition-base;
|
|
23
|
+
left: -1px;
|
|
24
|
+
|
|
25
|
+
.meta {
|
|
26
|
+
left: 5px;
|
|
27
|
+
font-size: 13px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
12
30
|
}
|
|
13
31
|
}
|
package/scss/topic.scss
CHANGED
|
@@ -7,14 +7,13 @@
|
|
|
7
7
|
<div class="scroller-thumb-icon bg-primary rounded d-inline-block" style="width:9px; height: 40px;"></div>
|
|
8
8
|
<div>
|
|
9
9
|
<p class="small thumb-text d-none d-md-inline-block ff-secondary fw-semibold user-select-none mb-0"></p>
|
|
10
|
-
<p class="meta thumb-timestamp timeago text-xs text-muted ff-secondary fw-semibold mb-0"></p>
|
|
10
|
+
<p class="meta thumb-timestamp timeago text-xs text-muted ff-secondary fw-semibold mb-0 user-select-none"></p>
|
|
11
11
|
</div>
|
|
12
12
|
</div>
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
<a href="{url}"></a>
|
|
14
|
+
<div class="unread d-inline-block position-absolute bottom-0">
|
|
15
|
+
<div class="meta small position-absolute top-50 translate-middle-y text-nowrap fw-semibold ms-2">
|
|
16
|
+
<a class="text-decoration-none" href="{url}"></a>
|
|
18
17
|
</div>
|
|
19
18
|
</div>
|
|
20
19
|
</div>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</a>
|
|
15
15
|
</div>
|
|
16
16
|
|
|
17
|
-
<div class="d-flex flex-grow-1 flex-column w-100" style="min-width: 0;">
|
|
17
|
+
<div class="post-container d-flex flex-grow-1 flex-column w-100" style="min-width: 0;">
|
|
18
18
|
<div class="d-flex align-items-center gap-1 flex-wrap w-100 post-header mt-1">
|
|
19
19
|
<div class="icon bg-body d-sm-none">
|
|
20
20
|
<a class="d-inline-block position-relative text-decoration-none" href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}">
|