nodebb-theme-persona 11.3.16 → 11.3.20

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/less/chats.less CHANGED
@@ -1,7 +1,5 @@
1
1
  // Make chats page edge-to-edge
2
2
  .page-user-chats {
3
- padding-top: 50px;
4
-
5
3
  #content.container {
6
4
  width: auto;
7
5
  padding: 0;
@@ -12,7 +10,6 @@
12
10
  }
13
11
 
14
12
  #panel {
15
- padding-top: 0px;
16
13
  padding-bottom: 0px;
17
14
  }
18
15
 
package/less/topic.less CHANGED
@@ -164,21 +164,19 @@
164
164
  display: inline-block;
165
165
  padding: 1rem;
166
166
 
167
- &:first-child {
168
- padding-right: 0.5rem;
169
- }
170
-
171
- &:last-child {
172
- padding-left: 0.5rem;
173
- }
174
-
175
167
  &:focus {
176
168
  text-decoration: none;
177
169
  }
178
170
  }
179
171
 
180
- [component="post/upvote"].upvoted, [component="post/downvote"].downvoted {
181
- color: @brand-primary;
172
+ [component="post/upvote"].upvoted {
173
+ border-radius: 3px;
174
+ border: 1px solid @brand-success;
175
+ }
176
+
177
+ [component="post/downvote"].downvoted {
178
+ border-radius: 3px;
179
+ border: 1px solid @brand-warning;
182
180
  }
183
181
 
184
182
  [component="post/vote-count"] {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-persona",
3
- "version": "11.3.16",
3
+ "version": "11.3.20",
4
4
  "nbbpm": {
5
5
  "compatibility": "^1.18.0"
6
6
  },
@@ -6,11 +6,9 @@
6
6
  <input type="text" class="form-control" autocomplete="off">
7
7
  </div>
8
8
  <ul component="category/list" class="dropdown-menu category-dropdown-menu" role="menu">
9
- {{{ if allCategoriesUrl }}}
10
9
  <li role="presentation" class="category" data-all="all">
11
10
  <a role="menu-item" href="{config.relative_path}/{allCategoriesUrl}"><i component="category/select/icon" class="fa fa-fw fa-check {{{if selectedCategory}}}invisible{{{end}}}"></i> [[unread:all_categories]]</a>
12
11
  </li>
13
- {{{ end }}}
14
12
  {{{each categoryItems}}}
15
13
  <li role="presentation" class="category {{{ if ../disabledClass }}}disabled{{{ end }}}" data-cid="{../cid}" data-parent-cid="{../parentCid}" data-name="{../name}">
16
14
  <a role="menu-item" href="#">{../level}<i component="category/select/icon" class="fa fa-fw fa-check {{{ if !../selected }}}invisible{{{ end }}}"></i><span component="category-markup" style="{{{ if ../match }}}font-weight: bold;{{{end}}}">{{{ if ../icon }}}<span class="fa-stack" style="{function.generateCategoryBackground}"><i class="fa fa-fw fa-stack-1x {../icon}" style="color: {../color};"></i></span>{{{ end }}} {../name}</span></a>
@@ -1,5 +1,5 @@
1
1
  <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
2
- <span component="category-selector-selected">{{{ if selectedCategory }}}<span class="fa-stack" style="{function.generateCategoryBackground, selectedCategory}"><i class="fa fa-fw fa-stack-1x {selectedCategory.icon}" style="color: {selectedCategory.color};"></i></span> {selectedCategory.name}{{{ else }}}
2
+ <span component="category-selector-selected">{{{ if (selectedCategory && !showCategorySelectLabel) }}}<span class="fa-stack" style="{function.generateCategoryBackground, selectedCategory}"><i class="fa fa-fw fa-stack-1x {selectedCategory.icon}" style="color: {selectedCategory.color};"></i></span> {selectedCategory.name}{{{ else }}}
3
3
  <span class="visible-sm-inline visible-md-inline visible-lg-inline">{{{ if selectCategoryLabel }}}{selectCategoryLabel}{{{ else }}}[[topic:thread_tools.select_category]]{{{ end }}}</span><span class="visible-xs-inline"><i class="fa fa-fw {{{ if selectCategoryIcon }}}{selectCategoryIcon}{{{ else }}}fa-list{{{ end }}}"></i></span>
4
4
  {{{ end }}}</span> <span class="caret"></span>
5
5
  </button>