nodebb-theme-harmony 1.0.0-beta.76 → 1.0.0-beta.78

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.76",
3
+ "version": "1.0.0-beta.78",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
package/scss/groups.scss CHANGED
@@ -3,8 +3,8 @@
3
3
  }
4
4
 
5
5
  .group-hover-bg {
6
- $hover-color: mix($light, $dark, 97);
7
- $border-color: mix($light, $dark, 90);
6
+ $hover-color: mix($light, $dark, 97%);
7
+ $border-color: mix($light, $dark, 90%);
8
8
  .card-body {
9
9
  border-color: $border-color!important;
10
10
  }
@@ -39,7 +39,7 @@ $text-muted: $gray-600 !default;
39
39
  $border-color: $gray-200 !default;
40
40
  $link-color: shade-color($blue, 20%) !default;
41
41
 
42
- $btn-ghost-hover-color: mix($light, $dark, 90);
42
+ $btn-ghost-hover-color: mix($light, $dark, 90%);
43
43
 
44
44
  // no caret on dropdown-toggle
45
45
  $enable-caret: false;
package/scss/sidebar.scss CHANGED
@@ -13,7 +13,7 @@
13
13
  }
14
14
 
15
15
  .sidebar {
16
- $hover-color: mix($light, $dark, 90);
16
+ $hover-color: mix($light, $dark, 90%);
17
17
 
18
18
  @include media-breakpoint-up(lg) {
19
19
  &.open {
@@ -22,13 +22,11 @@
22
22
  <!-- IMPORT partials/chats/messages.tpl -->
23
23
  </ul>
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
- <div class="w-100 flex-grow-1 position-relative">
25
+ <div class="w-100 flex-grow-1 position-relative input-group">
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>
26
27
  <textarea component="chat/input" placeholder="[[modules:chat.placeholder.mobile]]" class="form-control chat-input mousetrap" style="height:0;resize:none;"></textarea>
27
- <span component="chat/message/remaining" class="text-xs text-muted position-absolute me-1 mb-1" style="right: 0px; bottom:0px;">{maximumChatMessageLength}</span>
28
- </div>
29
- <div class="d-flex justify-content-between align-self-stretch gap-2">
30
- <button component="chat/upload/button" class="btn btn-light btn-sm align-self-end px-3 px-md-2" type="button"><i class="fa fa-fw fa-upload"></i></button>
31
- <button class="btn btn-primary btn-sm align-self-end px-3 px-md-2" type="button" data-action="send"><i class="fa fa-fw fa-paper-plane"></i></button>
28
+ <span component="chat/message/remaining" class="text-xs text-muted position-absolute me-5 mb-1 end-0 bottom-0">{maximumChatMessageLength}</span>
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>
32
30
  </div>
33
31
  <form class="hidden" component="chat/upload" method="post" enctype="multipart/form-data">
34
32
  <input type="file" name="files[]" multiple class="hidden"/>
@@ -14,7 +14,7 @@
14
14
  <a class="text-decoration-none" 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>
15
15
  {{{ end }}}
16
16
  <div class=" d-flex flex-column">
17
- <a href="{./path}" class="text-decoration-none text-reset text text-sm">
17
+ <a href="{./path}" class="text-decoration-none text-reset text-break text-sm">
18
18
  {./bodyShort}
19
19
  </a>
20
20
  <div class="text-xs text-muted">{{{ if ./timeagoLong }}}{./timeagoLong}{{{ else }}}<span class="timeago" title="{./datetimeISO}"></span>{{{ end }}}</div>
@@ -59,7 +59,7 @@
59
59
  <strong>[[post-queue:user]]</strong>
60
60
  <div>
61
61
  {{{ if posts.user.userslug}}}
62
- <a href="{config.relative_path}/uid/{posts.user.uid}">{buildAvatar(posts.user, "24px", true, "not-responsive")} {posts.user.username}</a>
62
+ <a class="text-decoration-none" href="{config.relative_path}/uid/{posts.user.uid}">{buildAvatar(posts.user, "24px", true, "not-responsive")} {posts.user.username}</a>
63
63
  {{{ else }}}
64
64
  {posts.user.username}
65
65
  {{{ end }}}