nodebb-theme-harmony 3.1.2 → 3.1.4

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": "3.1.2",
3
+ "version": "3.1.4",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.14.0"
6
6
  },
@@ -57,6 +57,13 @@ $font-weight-semibold: 500 !default;
57
57
  $small-font-size: 0.875rem !default;
58
58
 
59
59
  $breadcrumb-divider: quote("→");
60
+ $breadcrumb-divider-rtl: quote("←");
60
61
  $breadcrumb-divider-color: $gray-500 !default;
61
62
  $breadcrumb-active-color: $body-color !default;
62
63
  $breadcrumb-item-padding-x: 12px !default;
64
+
65
+ html[data-dir="rtl"] {
66
+ .breadcrumb-item + .breadcrumb-item::before {
67
+ content: $breadcrumb-divider-rtl;
68
+ }
69
+ }
@@ -1,5 +1,5 @@
1
- <div class="dropend m-2" component="skinSwitcher" title="[[themes/harmony:skins]]">
2
- <a data-bs-toggle="dropdown" href="#" role="button" class="nav-link position-relative" aria-haspopup="true" aria-expanded="false" aria-label="[[themes/harmony:skins]]">
1
+ <div class="dropend m-2" component="skinSwitcher" title="{{tx("themes/harmony:skins")}}">
2
+ <a data-bs-toggle="dropdown" href="#" role="button" class="nav-link position-relative" aria-haspopup="true" aria-expanded="false" aria-label="{{tx("themes/harmony:skins")}}">
3
3
  <span class="justify-content-between w-100">
4
4
  <span class="d-flex gap-2 align-items-center text-nowrap truncate-open">
5
5
  <span>
@@ -31,7 +31,7 @@
31
31
  <form class="mb-3" role="search" method="GET" action="{config.relative_path}/search">
32
32
  <input type="hidden" name="in" value="categories" />
33
33
  <div class="input-group bottom-sheet">
34
- <input class="form-control form-control-lg" component="category-search" name="term" type="text" autocomplete="off" placeholder="[[world:category-search]]" />
34
+ <input class="form-control form-control-lg" component="category-search" name="term" type="text" autocomplete="off" placeholder="{{tx("world:category-search")}}" />
35
35
  <button class="btn btn-outline-secondary dropdown-toggle d-md-none" type="button" data-bs-toggle="dropdown">
36
36
  <i class="fa fa-fw fa-list"></i>
37
37
  </button>
@@ -1,6 +0,0 @@
1
- <div class="position-fixed bottom-0 w-100 px-3 px-md-0 pb-5 mb-5 pb-lg-0 mb-lg-0" style="z-index: 2;">
2
- <div class="cookie-consent d-flex flex-column flex-lg-row gap-2 text-bg-info col-12 col-sm-8 col-lg-6 p-3 mx-auto rounded mb-5 mb-md-3 justify-content-between align-items-center">
3
- <span>{{tx(message)}} <a class="fw-bold" target="_blank" rel="noopener" href="{link_url}">{{tx(link)}}</a></span>
4
- <button class="btn btn-primary text-nowrap">{{tx(dismiss)}}</button>
5
- </div>
6
- </div>