nodebb-theme-harmony 1.0.0-beta.112 → 1.0.0-beta.113

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-harmony",
3
- "version": "1.0.0-beta.112",
3
+ "version": "1.0.0-beta.113",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
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
  }
@@ -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>
@@ -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 group.isOwner }}}
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-0 flex-grow-1 align-items-start">
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="btn-ghost-sm p-1 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>
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="btn-ghost-sm p-1 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>
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="btn-ghost-sm d-inline-block text-reset text-break text-sm ff-sans stretched-link">
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">