nodebb-theme-harmony 1.2.16 → 1.2.18
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
package/scss/overrides.scss
CHANGED
|
@@ -28,13 +28,12 @@ $danger: $red !default;
|
|
|
28
28
|
$light: $gray-100 !default;
|
|
29
29
|
$dark: $gray-900 !default;
|
|
30
30
|
|
|
31
|
-
$body-color:
|
|
32
|
-
$body-bg:
|
|
33
|
-
$body-tertiary-bg:
|
|
34
|
-
$text-muted:
|
|
35
|
-
$border-color:
|
|
36
|
-
|
|
37
|
-
$link-color: #0951be !default;
|
|
31
|
+
$body-color: $gray-800 !default;
|
|
32
|
+
$body-bg: $white !default;
|
|
33
|
+
$body-tertiary-bg: $gray-200 !default;
|
|
34
|
+
$text-muted: $gray-600 !default;
|
|
35
|
+
$border-color: $gray-200 !default;
|
|
36
|
+
$link-color: #0951be !default;
|
|
38
37
|
|
|
39
38
|
// no caret on dropdown-toggle
|
|
40
39
|
$enable-caret: false;
|
package/templates/header.tpl
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
</head>
|
|
25
25
|
|
|
26
26
|
<body class="{bodyClass} skin-{{{if bootswatchSkin}}}{bootswatchSkin}{{{else}}}noskin{{{end}}}">
|
|
27
|
-
<a class="visually-hidden-focusable position-absolute top-0 start-0 p-3 bg-body" style="z-index: 1021;" href="#content">[[global:skip-to-content]]</a>
|
|
27
|
+
<a class="visually-hidden-focusable position-absolute top-0 start-0 p-3 m-3 bg-body" style="z-index: 1021;" href="#content">[[global:skip-to-content]]</a>
|
|
28
28
|
<div class="layout-container d-flex justify-content-between pb-4 pb-md-0">
|
|
29
29
|
<!-- IMPORT partials/sidebar-left.tpl -->
|
|
30
30
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{{{ end }}}
|
|
8
8
|
|
|
9
9
|
<ul component="category/subcategory/container" class="categories-list list-unstyled" itemscope itemtype="http://www.schema.org/ItemList">
|
|
10
|
-
<hr class="text-muted"
|
|
10
|
+
<li><hr class="text-muted"/></li>
|
|
11
11
|
{{{each children}}}
|
|
12
12
|
<!-- IMPORT partials/categories/item.tpl -->
|
|
13
13
|
{{{end}}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
<li class="nav-item mx-2 order-last order-md-first" title="[[global:login]]" role="menuitem">
|
|
3
|
-
<a class="nav-link" href="{relative_path}/login">
|
|
3
|
+
<a class="nav-link" href="{relative_path}/login" aria-label="[[global-login]]">
|
|
4
4
|
<span class="d-flex gap-2 align-items-center text-nowrap truncate-open">
|
|
5
5
|
<span class="position-relative">
|
|
6
6
|
<i class="fa fa-fw fa-sign-in"></i>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
{{{ if allowRegistration }}}
|
|
14
14
|
<li class="nav-item mx-2" title="[[global:register]]" role="menuitem">
|
|
15
15
|
<span class="text-xs visible-open">[[login:dont-have-account]]</span>
|
|
16
|
-
<a class="nav-link" href="{relative_path}/register">
|
|
16
|
+
<a class="nav-link" href="{relative_path}/register" aria-label="[[global:register]]">
|
|
17
17
|
<span class="d-flex gap-2 align-items-center text-nowrap truncate-open">
|
|
18
18
|
<span class="position-relative">
|
|
19
19
|
<i class="fa fa-fw fa-user-plus"></i>
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
{{{ if ./thumbs.length }}}
|
|
77
77
|
<a class="position-relative text-decoration-none flex-shrink-0 d-none d-xl-block" href="{config.relative_path}/topic/{./slug}{{{ if ./bookmark }}}/{./bookmark}{{{ end }}}" aria-label="[[topic:thumb-image]]">
|
|
78
78
|
<img class="topic-thumb rounded-1 bg-light" style="width:auto;max-width: 5.33rem;height: 3.33rem;object-fit: contain;" src="{./thumbs.0.url}" alt=""/>
|
|
79
|
-
<span data-numthumbs="{./thumbs.length}" class="px-1 position-absolute top-0 start-100 translate-middle badge rounded bg-info" style="z-index: 1;">+{increment(./thumbs.length, "-1")}</span>
|
|
79
|
+
<span data-numthumbs="{./thumbs.length}" class="px-1 position-absolute top-0 start-100 translate-middle badge rounded text-bg-info" style="z-index: 1;">+{increment(./thumbs.length, "-1")}</span>
|
|
80
80
|
</a>
|
|
81
81
|
{{{ end }}}
|
|
82
82
|
</div>
|