nodebb-theme-harmony 1.0.0-beta.112 → 1.0.0-beta.114
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 +1 -1
- package/scss/chats.scss +9 -0
- package/scss/topic.scss +6 -0
- package/templates/chats.tpl +1 -1
- package/templates/partials/chats/message-window.tpl +1 -1
- package/templates/partials/groups/invited.tpl +1 -1
- package/templates/partials/groups/memberlist.tpl +1 -1
- package/templates/partials/notifications_list.tpl +4 -4
- package/templates/partials/sidebar/notifications.tpl +1 -1
package/package.json
CHANGED
package/scss/chats.scss
CHANGED
|
@@ -79,7 +79,16 @@ body.page-user-chats {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/* Mobile handling of chat page */
|
|
82
|
+
@include media-breakpoint-down(lg) {
|
|
83
|
+
.page-user-chats.chat-loaded {
|
|
84
|
+
padding-bottom: 4.75rem;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
82
88
|
@include media-breakpoint-down(md) {
|
|
89
|
+
.page-user-chats.chat-loaded {
|
|
90
|
+
padding-bottom: initial;
|
|
91
|
+
}
|
|
83
92
|
[component="chat/nav-wrapper"] {
|
|
84
93
|
width: 100%;
|
|
85
94
|
}
|
package/scss/topic.scss
CHANGED
|
@@ -40,6 +40,9 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
[component="post"] {
|
|
43
|
+
&.selected .post-container {
|
|
44
|
+
background-color: mix($body-bg, $body-color, 90%);
|
|
45
|
+
}
|
|
43
46
|
&.deleted .post-container {
|
|
44
47
|
opacity: .5;
|
|
45
48
|
}
|
|
@@ -50,6 +53,9 @@
|
|
|
50
53
|
pre {
|
|
51
54
|
max-height: calc($font-size-base * 24);
|
|
52
55
|
}
|
|
56
|
+
table { // text-break breaks table formatting
|
|
57
|
+
word-break:initial!important;
|
|
58
|
+
}
|
|
53
59
|
}
|
|
54
60
|
|
|
55
61
|
> [component="post/footer"] {
|
package/templates/chats.tpl
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
{{{end}}}
|
|
21
21
|
</div>
|
|
22
22
|
</div>
|
|
23
|
-
<div class="flex-grow-1 ms-md-2 ps-md-2 border-1 border-start-md h-100" component="chat/main-wrapper">
|
|
23
|
+
<div class="flex-grow-1 ms-md-2 ps-md-2 border-1 border-start-md h-100" component="chat/main-wrapper" style="min-width: 0;">
|
|
24
24
|
<!-- IMPORT partials/chats/message-window.tpl -->
|
|
25
25
|
</div>
|
|
26
26
|
<div class="imagedrop"><div>[[topic:composer.drag_and_drop_images]]</div></div>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<div component="chat/composer" class="d-flex flex-column flex-md-row gap-2 border-top pt-2 align-items-start align-items-md-end">
|
|
25
25
|
<div class="w-100 flex-grow-1 position-relative input-group">
|
|
26
26
|
<button component="chat/upload/button" class="btn btn-outline-primary btn-sm align-self-stretch px-3 px-md-2" type="button"><i class="fa fa-fw fa-upload"></i></button>
|
|
27
|
-
<textarea component="chat/input" placeholder="[[modules:chat.placeholder.mobile]]" class="form-control chat-input mousetrap" style="height:0;resize:none;"></textarea>
|
|
27
|
+
<textarea component="chat/input" placeholder="[[modules:chat.placeholder.mobile]]" class="form-control chat-input mousetrap" style="height:0;max-height:30vh;resize:none;"></textarea>
|
|
28
28
|
<span component="chat/message/remaining" class="text-xs text-muted position-absolute me-5 mb-1 end-0 bottom-0">{maximumChatMessageLength}</span>
|
|
29
29
|
<button class="btn btn-primary btn-sm align-self-stretch px-3 px-md-2" type="button" data-action="send"><i class="fa fa-fw fa-paper-plane"></i></button>
|
|
30
30
|
</div>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
</div>
|
|
11
11
|
|
|
12
12
|
<div class="mb-2 clearfix">
|
|
13
|
-
<button class="btn btn-primary btn-sm float-end" component="groups/members/bulk-invite-button">[[groups:bulk-invite]]</button>
|
|
13
|
+
<button type="button" class="btn btn-primary btn-sm float-end" component="groups/members/bulk-invite-button">[[groups:bulk-invite]]</button>
|
|
14
14
|
</div>
|
|
15
15
|
|
|
16
16
|
<table component="groups/invited" class="table table-hover">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div class="d-flex {{{ if group.isOwner }}}justify-content-between{{{ else }}}justify-content-end{{{ end }}} mb-3">
|
|
2
|
-
{{{ if
|
|
2
|
+
{{{ if isAdmin }}}
|
|
3
3
|
<div class="flex-shrink-0">
|
|
4
4
|
<button component="groups/members/add" type="button" class="btn btn-primary btn-sm me-3" title="[[groups:details.add-member]]"><i class="fa fa-user-plus"></i> [[groups:details.add-member]]</button>
|
|
5
5
|
</div>
|
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
{{{ each notifications }}}
|
|
9
9
|
<li class="{./readClass} mb-2 p-1" data-nid="{./nid}" data-path="{./path}" {{{ if ./pid }}}data-pid="{./pid}"{{{ end }}}{{{ if ./tid }}}data-tid="{./tid}"{{{ end }}}>
|
|
10
10
|
<div class="d-flex gap-1 justify-content-between">
|
|
11
|
-
<div class="d-flex gap-
|
|
11
|
+
<div class="btn-ghost-sm d-flex gap-2 flex-grow-1 align-items-start">
|
|
12
12
|
{{{ if ./image }}}
|
|
13
13
|
{{{ if ./from }}}
|
|
14
|
-
<a class="
|
|
14
|
+
<a class="flex-grow-0 flex-shrink-0" href="{config.relative_path}/user/{./user.userslug}"><img class="avatar avatar-rounded" style="--avatar-size: 32px;" src="{./image}" /></a>
|
|
15
15
|
{{{ end }}}
|
|
16
16
|
{{{ else }}}
|
|
17
|
-
<a class="
|
|
17
|
+
<a class="flex-grow-0 flex-shrink-0" href="{config.relative_path}/user/{./user.userslug}"><div class="avatar avatar-rounded" style="--avatar-size: 32px; background-color: {./user.icon:bgColor};">{./user.icon:text}</div></a>
|
|
18
18
|
{{{ end }}}
|
|
19
19
|
<div class="d-flex flex-grow-1 flex-column align-items-start position-relative">
|
|
20
|
-
<a href="{./path}" class="
|
|
20
|
+
<a href="{./path}" class="text-decoration-none d-inline-block text-reset text-break text-sm ff-sans stretched-link">
|
|
21
21
|
{./bodyShort}
|
|
22
22
|
</a>
|
|
23
23
|
<div class="text-xs text-muted">{{{ if ./timeagoLong }}}{./timeagoLong}{{{ else }}}<span class="timeago" title="{./datetimeISO}"></span>{{{ end }}}</div>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
</a>
|
|
11
11
|
<ul class="notifications-dropdown dropdown-menu p-1 shadow">
|
|
12
12
|
<li>
|
|
13
|
-
<ul component="notifications/list" class="list-container notification-list list-unstyled overscroll-behavior-contain ff-base">
|
|
13
|
+
<ul component="notifications/list" class="list-container notification-list list-unstyled overscroll-behavior-contain pe-1 ff-base">
|
|
14
14
|
<li class="mb-2 p-1">
|
|
15
15
|
<div class="d-flex gap-1 justify-content-between">
|
|
16
16
|
<div class="d-flex gap-2 flex-grow-1 placeholder-wave">
|