nodebb-theme-harmony 1.1.24 → 1.1.26

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.1.24",
3
+ "version": "1.1.26",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.3.0"
6
6
  },
@@ -7,10 +7,7 @@
7
7
  {{{ if !isSpider }}}
8
8
  <div class="">
9
9
  <div component="toaster/tray" class="alert-window fixed-bottom mb-5 mb-md-2 me-2 me-md-5 ms-auto" style="width:300px; z-index: 1090;">
10
- <div id="reconnect-alert" class="alert alert-dismissible alert-warning clearfix hide" component="toaster/toast">
11
- <button type="button" class="btn-close float-end" data-bs-dismiss="alert" aria-hidden="true"></button>
12
- <p>[[global:reconnecting-message, {config.siteTitle}]]</p>
13
- </div>
10
+ <!-- IMPORT partials/reconnect-alert.tpl -->
14
11
  </div>
15
12
  </div>
16
13
  {{{ end }}}
@@ -1,14 +1,19 @@
1
- <div id="{alert_id}" role="alert" class="alert alert-dismissible alert-{type}" component="toaster/toast">
2
- <button type="button" class="btn-close float-end" data-bs-dismiss="alert" aria-label="close"></button>
3
- {{{ if image }}}
4
- <img src="{image}">
5
- {{{ end }}}
1
+ <div id="{alert_id}" role="alert" class="alert alert-dismissible alert-{type} fade show" component="toaster/toast">
2
+ <div class="alert-progress position-absolute top-0 start-0 bottom-0 h-100 z-0" style=" opacity:0.1;"></div>
3
+ <div class="d-flex flex-wrap gap-2 position-relative">
4
+ {{{ if image }}}
5
+ <img src="{image}" height="80" style="width: auto;" />
6
+ {{{ end }}}
7
+ <div class="d-flex flex-column gap-2">
8
+ {{{ if title }}}
9
+ <strong>{title}</strong>
10
+ {{{ end }}}
6
11
 
7
- {{{ if title }}}
8
- <strong>{title}</strong>
9
- {{{ end }}}
12
+ {{{ if message }}}
13
+ <p class="m-0">{message}</p>
14
+ {{{ end }}}
15
+ </div>
16
+ </div>
10
17
 
11
- {{{ if message }}}
12
- <p>{message}</p>
13
- {{{ end }}}
18
+ <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="close"></button>
14
19
  </div>