nodebb-theme-harmony 1.0.0-beta.54 → 1.0.0-beta.55

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.54",
3
+ "version": "1.0.0-beta.55",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
package/scss/common.scss CHANGED
@@ -2,6 +2,15 @@
2
2
  body {
3
3
  overflow-y: scroll;
4
4
  }
5
+
6
+ // fixes chrome font boosting :/ https://stackoverflow.com/questions/13430897/how-to-override-font-boosting-in-mobile-chrome
7
+ body * {
8
+ max-height:1000000px;
9
+ text-size-adjust: none;
10
+ -webkit-text-size-adjust: none;
11
+ -moz-text-size-adjust: none;
12
+ }
13
+
5
14
  .ff-base {
6
15
  font-family: $font-family-base;
7
16
  }
@@ -1,5 +1,5 @@
1
- <div class="d-flex justify-content-center position-fixed start-0 bottom-0 w-100 mb-5 mb-md-0">
2
- <div class="cookie-consent text-bg-info w-50 p-3 rounded d-flex gap-2 mb-5 mb-md-3 justify-content-between align-items-center">
1
+ <div class="row d-flex justify-content-center position-fixed start-0 bottom-0 vw-100 pb-5 mb-5 pb-md-0 mb-md-0" style="z-index: 2;">
2
+ <div class="cookie-consent text-bg-info col-10 col-sm-8 col-lg-6 p-3 rounded d-flex gap-2 mb-5 mb-md-3 justify-content-between align-items-center">
3
3
  <span>{message} <a class="fw-bold" target="_blank" rel="noopener" href="{link_url}">{link}</a></span>
4
4
  <button class="btn btn-primary text-nowrap">{dismiss}</button>
5
5
  </div>
@@ -20,26 +20,4 @@
20
20
  <a class="page-link rounded fw-secondary px-3" href="?{pagination.next.qs}" data-page="{pagination.next.page}"> <i class="fa fa-chevron-right"></i></a>
21
21
  </li>
22
22
  </ul>
23
-
24
- <ul class="pagination pagination-sm hidden-md hidden-lg justify-content-center">
25
- <li class="page-item first{{{ if !pagination.prev.active }}} disabled{{{ end }}}">
26
- <a class="page-link fw-secondary href="?{pagination.first.qs}" data-page="1"><i class="fa fa-fast-backward"></i> </a>
27
- </li>
28
-
29
- <li class="page-item previous{{{ if !pagination.prev.active }}} disabled{{{ end }}}">
30
- <a class="page-link fw-secondary href="?{pagination.prev.qs}" data-page="{pagination.prev.page}"><i class="fa fa-chevron-left"></i> </a>
31
- </li>
32
-
33
- <li component="pagination/select-page" class="page-item page select-page">
34
- <a class="page-link fw-secondary href="#">{pagination.currentPage} / {pagination.pageCount}</a>
35
- </li>
36
-
37
- <li class="page-item next{{{ if !pagination.next.active }}} disabled{{{ end }}}">
38
- <a class="page-link fw-secondary href="?{pagination.next.qs}" data-page="{pagination.next.page}"> <i class="fa fa-chevron-right"></i></a>
39
- </li>
40
-
41
- <li class="page-item last{{{ if !pagination.next.active }}} disabled{{{ end }}}">
42
- <a class="page-link fw-secondary href="?{pagination.last.qs}" data-page="{pagination.pageCount}"><i class="fa fa-fast-forward"></i> </a>
43
- </li>
44
- </ul>
45
23
  </div>
@@ -4,16 +4,30 @@
4
4
  <div class="progress-bar rounded-1 bg-info d-block position-absolute" style="height:28px;"></div>
5
5
  </div>
6
6
  <div class="wrapper dropup-center d-flex align-items-center justify-content-between w-100 h-100" style="padding: 5px 0px;">
7
- <div class="lh-1 px-2">
8
- <i class="fa fa-angle-double-up pointer fa-fw pagetop fs-5" style="z-index: 1;"></i>
7
+ <div class="d-flex">
8
+ <div class="lh-1 px-2">
9
+ <i class="fa fa-angles-left pointer fa-fw pagetop fs-5" style="z-index: 1;"></i>
10
+ </div>
11
+ {{{ if config.usePagination }}}
12
+ <div class="lh-1 px-2">
13
+ <i class="fa fa-angle-left pointer fa-fw pageprev fs-5" style="z-index: 1;"></i>
14
+ </div>
15
+ {{{ end }}}
9
16
  </div>
10
17
 
11
18
  <a href="#" class="text-reset dropdown-toggle d-inline-block px-3 text-decoration-none" data-bs-toggle="dropdown">
12
- <span class="pagination-text position-relative fw-bold"></span>
19
+ <span class="d-inline-flex gap-2 align-items-center pagination-text position-relative fw-bold"></span>
13
20
  </a>
14
21
 
15
- <div class="lh-1 px-2">
16
- <i class="fa fa-angle-double-down pointer fa-fw pagebottom fs-5" style="z-index: 1;"></i>
22
+ <div class="d-flex">
23
+ {{{ if config.usePagination }}}
24
+ <div class="lh-1 px-2">
25
+ <i class="fa fa-angle-right pointer fa-fw pagenext fs-5" style="z-index: 1;"></i>
26
+ </div>
27
+ {{{ end }}}
28
+ <div class="lh-1 px-2">
29
+ <i class="fa fa-angles-right pointer fa-fw pagebottom fs-5" style="z-index: 1;"></i>
30
+ </div>
17
31
  </div>
18
32
 
19
33
  <ul class="dropdown-menu p-0" role="menu" style="width: 100%;">