nodebb-theme-persona 11.2.17 → 11.2.21

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/account.less CHANGED
@@ -77,7 +77,7 @@
77
77
 
78
78
  &:hover {
79
79
  .controls {
80
- .opacity(0.8);
80
+ opacity: 0.8;
81
81
  }
82
82
  }
83
83
 
@@ -85,7 +85,7 @@
85
85
  text-align: center;
86
86
  height: 200px;
87
87
  line-height: 200px;
88
- .opacity(0);
88
+ opacity: 0;
89
89
  .transition(opacity .15s linear);
90
90
  cursor: pointer;
91
91
  pointer-events: none;
@@ -105,7 +105,7 @@
105
105
  border: 1px solid @btn-success-border;
106
106
  color: @btn-success-color;
107
107
  }
108
- }
108
+ }
109
109
  }
110
110
 
111
111
  .fa-stack {
package/less/groups.less CHANGED
@@ -1,202 +1,202 @@
1
- .group-label {
2
- display: inline-block;
3
- text-transform: uppercase;
4
- vertical-align: -5px;
5
- padding: 4px;
6
- border-radius: 2px;
7
- max-width: 150px;
8
- overflow-x: hidden;
9
- text-overflow: ellipsis;
10
- white-space: nowrap;
11
- line-height: 1.1;
12
- }
13
-
14
- .groups.details {
15
- margin-top: 200px;
16
-
17
- [component="groups/cover"] {
18
- background-size: cover;
19
- background-repeat: no-repeat;
20
- min-height: 200px;
21
- position: relative;
22
- margin-bottom: 1em;
23
- background-origin: content-box;
24
- width: 100%;
25
- top: 50px;
26
- position: absolute;
27
- left: auto;
28
- right: 0px;
29
-
30
- &:hover {
31
- .controls {
32
- .opacity(0.8);
33
- }
34
- }
35
-
36
- .controls {
37
- text-align: center;
38
- min-height: 200px;
39
- line-height: 200px;
40
- .opacity(0);
41
- .transition(opacity .15s linear);
42
- cursor: pointer;
43
- pointer-events: none;
44
-
45
- > * {
46
- pointer-events: all;
47
- }
48
-
49
- .fa {
50
- color: white;
51
- background-color: #333;
52
- opacity: 1;
53
- margin: 15px;
54
- padding: 5px;
55
- }
56
- }
57
-
58
- &.active {
59
- &:hover {
60
- cursor: move;
61
- }
62
-
63
- .controls {
64
- > * {
65
- display: none;
66
- }
67
- }
68
-
69
- .save {
70
- display: inline-block;
71
- }
72
- }
73
-
74
- &.saving {
75
- .save {
76
- display: none;
77
- }
78
-
79
- .indicator {
80
- display: inline-block;
81
- }
82
- }
83
-
84
- .save, .indicator {
85
- display: inline-block;
86
- position: absolute;
87
- top: 1em;
88
- right: 2em;
89
- opacity: 1;
90
- background-color: @brand-primary;
91
- color: @gray-lighter;
92
- padding: 0.5em;
93
- font-weight: bold;
94
-
95
- &:hover {
96
- cursor: pointer;
97
- }
98
- }
99
-
100
- .save {
101
- display: none;
102
- }
103
-
104
- .indicator {
105
- display: none;
106
- }
107
- }
108
-
109
- [component="groups/members"] {
110
- tbody {
111
- max-height: 500px;
112
- display:block;
113
- overflow-y: auto;
114
- .member-name {
115
- width: 100%;
116
- }
117
- }
118
- }
119
-
120
- h1 {
121
- overflow-wrap: break-word;
122
- margin-top: 0;
123
- }
124
-
125
- .owner-controls {
126
- margin-top: -6px;
127
- }
128
-
129
- .post-body {
130
- .topic-title, p {
131
- overflow-y: hidden;
132
- display: block;
133
- }
134
- }
135
-
136
- @media (min-width: @screen-md-min) {
137
- margin-top: 300px;
138
-
139
- [component="groups/cover"] {
140
- min-height: 300px;
141
-
142
- .controls {
143
- min-height: 300px;
144
- line-height: 300px;
145
- }
146
- }
147
- }
148
-
149
- .panel-title {
150
- .label {
151
- padding: .2em .3em .1em;
152
- }
153
- }
154
-
155
- .options {
156
- .user-title-option span.label {
157
- .group-label;
158
- }
159
- }
160
- }
161
-
162
- .groups.list {
163
- [component="groups/summary"] {
164
- .panel-body {
165
- min-height: 72px;
166
- }
167
-
168
- .list-cover {
169
- display: block;
170
- background-size: cover;
171
- min-height: 125px;
172
- background-position: 50% 50%;
173
- .pointer;
174
-
175
- h3 {
176
- background-color: rgba(0,0,0,0.5);
177
- display: inline-block;
178
- padding: 0.25em 0.5em;
179
- color: white;
180
- font-weight: bold;
181
- text-transform: capitalize;
182
- white-space: nowrap;
183
- text-overflow: ellipsis;
184
- overflow-x: hidden;
185
- max-width: 100%;
186
- }
187
- }
188
-
189
- .members {
190
- padding-left: 0;
191
-
192
- > li {
193
- list-style-type: none;
194
- display: inline-block;
195
- }
196
-
197
- .truncated {
198
- vertical-align: bottom;
199
- }
200
- }
201
- }
1
+ .group-label {
2
+ display: inline-block;
3
+ text-transform: uppercase;
4
+ vertical-align: -5px;
5
+ padding: 4px;
6
+ border-radius: 2px;
7
+ max-width: 150px;
8
+ overflow-x: hidden;
9
+ text-overflow: ellipsis;
10
+ white-space: nowrap;
11
+ line-height: 1.1;
12
+ }
13
+
14
+ .groups.details {
15
+ margin-top: 200px;
16
+
17
+ [component="groups/cover"] {
18
+ background-size: cover;
19
+ background-repeat: no-repeat;
20
+ min-height: 200px;
21
+ position: relative;
22
+ margin-bottom: 1em;
23
+ background-origin: content-box;
24
+ width: 100%;
25
+ top: 50px;
26
+ position: absolute;
27
+ left: auto;
28
+ right: 0px;
29
+
30
+ &:hover {
31
+ .controls {
32
+ opacity: 0.8;
33
+ }
34
+ }
35
+
36
+ .controls {
37
+ text-align: center;
38
+ min-height: 200px;
39
+ line-height: 200px;
40
+ opacity: 0;
41
+ .transition(opacity .15s linear);
42
+ cursor: pointer;
43
+ pointer-events: none;
44
+
45
+ > * {
46
+ pointer-events: all;
47
+ }
48
+
49
+ .fa {
50
+ color: white;
51
+ background-color: #333;
52
+ opacity: 1;
53
+ margin: 15px;
54
+ padding: 5px;
55
+ }
56
+ }
57
+
58
+ &.active {
59
+ &:hover {
60
+ cursor: move;
61
+ }
62
+
63
+ .controls {
64
+ > * {
65
+ display: none;
66
+ }
67
+ }
68
+
69
+ .save {
70
+ display: inline-block;
71
+ }
72
+ }
73
+
74
+ &.saving {
75
+ .save {
76
+ display: none;
77
+ }
78
+
79
+ .indicator {
80
+ display: inline-block;
81
+ }
82
+ }
83
+
84
+ .save, .indicator {
85
+ display: inline-block;
86
+ position: absolute;
87
+ top: 1em;
88
+ right: 2em;
89
+ opacity: 1;
90
+ background-color: @brand-primary;
91
+ color: @gray-lighter;
92
+ padding: 0.5em;
93
+ font-weight: bold;
94
+
95
+ &:hover {
96
+ cursor: pointer;
97
+ }
98
+ }
99
+
100
+ .save {
101
+ display: none;
102
+ }
103
+
104
+ .indicator {
105
+ display: none;
106
+ }
107
+ }
108
+
109
+ [component="groups/members"] {
110
+ tbody {
111
+ max-height: 500px;
112
+ display:block;
113
+ overflow-y: auto;
114
+ .member-name {
115
+ width: 100%;
116
+ }
117
+ }
118
+ }
119
+
120
+ h1 {
121
+ overflow-wrap: break-word;
122
+ margin-top: 0;
123
+ }
124
+
125
+ .owner-controls {
126
+ margin-top: -6px;
127
+ }
128
+
129
+ .post-body {
130
+ .topic-title, p {
131
+ overflow-y: hidden;
132
+ display: block;
133
+ }
134
+ }
135
+
136
+ @media (min-width: @screen-md-min) {
137
+ margin-top: 300px;
138
+
139
+ [component="groups/cover"] {
140
+ min-height: 300px;
141
+
142
+ .controls {
143
+ min-height: 300px;
144
+ line-height: 300px;
145
+ }
146
+ }
147
+ }
148
+
149
+ .panel-title {
150
+ .label {
151
+ padding: .2em .3em .1em;
152
+ }
153
+ }
154
+
155
+ .options {
156
+ .user-title-option span.label {
157
+ .group-label;
158
+ }
159
+ }
160
+ }
161
+
162
+ .groups.list {
163
+ [component="groups/summary"] {
164
+ .panel-body {
165
+ min-height: 72px;
166
+ }
167
+
168
+ .list-cover {
169
+ display: block;
170
+ background-size: cover;
171
+ min-height: 125px;
172
+ background-position: 50% 50%;
173
+ .pointer;
174
+
175
+ h3 {
176
+ background-color: rgba(0,0,0,0.5);
177
+ display: inline-block;
178
+ padding: 0.25em 0.5em;
179
+ color: white;
180
+ font-weight: bold;
181
+ text-transform: capitalize;
182
+ white-space: nowrap;
183
+ text-overflow: ellipsis;
184
+ overflow-x: hidden;
185
+ max-width: 100%;
186
+ }
187
+ }
188
+
189
+ .members {
190
+ padding-left: 0;
191
+
192
+ > li {
193
+ list-style-type: none;
194
+ display: inline-block;
195
+ }
196
+
197
+ .truncated {
198
+ vertical-align: bottom;
199
+ }
200
+ }
201
+ }
202
202
  }
package/less/mixins.less CHANGED
@@ -27,13 +27,6 @@
27
27
  }
28
28
  }
29
29
 
30
- .opacity(@opacity: 1) {
31
- -moz-opacity: @opacity;
32
- opacity: @opacity;
33
- -ms-filter: ~`"progid:DXImageTransform.Microsoft.Alpha(opacity=(" + "@{opacity}" * 100 + "))"`;
34
- filter: ~`"alpha(opacity = (" + "@{opacity}" * 100 + "))"`;
35
- }
36
-
37
30
  .border-radius (@radius: 5px) {
38
31
  -webkit-border-radius: @radius;
39
32
  -moz-border-radius: @radius;
package/less/topic.less CHANGED
@@ -413,7 +413,7 @@
413
413
 
414
414
  .topic {
415
415
  &.deleted {
416
- .opacity(0.3);
416
+ opacity: 0.3;
417
417
 
418
418
  .votes {
419
419
  display: none;
@@ -438,7 +438,7 @@
438
438
 
439
439
  &.deleted {
440
440
  > .content {
441
- .opacity(0.3);
441
+ opacity: 0.3;
442
442
  }
443
443
 
444
444
  .votes {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-persona",
3
- "version": "11.2.17",
3
+ "version": "11.2.21",
4
4
  "nbbpm": {
5
5
  "compatibility": "^1.18.0"
6
6
  },
@@ -1,14 +1,6 @@
1
1
  </div><!-- /.container#content -->
2
2
  </main>
3
3
  <!-- IF !isSpider -->
4
- <div class="topic-search hidden">
5
- <div class="btn-group">
6
- <button type="button" class="btn btn-default count"></button>
7
- <button type="button" class="btn btn-default prev"><i class="fa fa-fw fa-angle-up"></i></button>
8
- <button type="button" class="btn btn-default next"><i class="fa fa-fw fa-angle-down"></i></button>
9
- </div>
10
- </div>
11
-
12
4
  <div component="toaster/tray" class="alert-window">
13
5
  <div id="reconnect-alert" class="alert alert-dismissable alert-warning clearfix hide" component="toaster/toast">
14
6
  <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
@@ -202,16 +202,24 @@
202
202
  <ul id="main-nav" class="nav navbar-nav">
203
203
  {{{each navigation}}}
204
204
  <!-- IF function.displayMenuItem, @index -->
205
- <li class="{navigation.class}">
206
- <a class="navigation-link" href="{navigation.route}" title="{navigation.title}" <!-- IF navigation.id -->id="{navigation.id}"<!-- ENDIF navigation.id --><!-- IF navigation.properties.targetBlank --> target="_blank"<!-- ENDIF navigation.properties.targetBlank -->>
207
- <!-- IF navigation.iconClass -->
205
+ <li class="{navigation.class}{{{ if navigation.dropdown }}} dropdown{{{ end }}}">
206
+ <a title="{navigation.title}" class="navigation-link {{{ if navigation.dropdown }}}dropdown-toggle{{{ end }}}"
207
+ {{{ if navigation.dropdown }}} href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" {{{ else }}} href="{navigation.route}"{{{ end }}} {{{ if navigation.id }}}id="{navigation.id}"{{{ end }}}{{{ if navigation.properties.targetBlank }}} target="_blank"{{{ end }}}>
208
+ {{{ if navigation.iconClass }}}
208
209
  <i class="fa fa-fw {navigation.iconClass}" data-content="{navigation.content}"></i>
209
- <!-- ENDIF navigation.iconClass -->
210
-
211
- <!-- IF navigation.text -->
210
+ {{{ end }}}
211
+ {{{ if navigation.text }}}
212
212
  <span class="{navigation.textClass}">{navigation.text}</span>
213
- <!-- ENDIF navigation.text -->
213
+ {{{ end }}}
214
+ {{{ if navigation.dropdown}}}
215
+ <i class="fa fa-caret-down"></i>
216
+ {{{ end }}}
214
217
  </a>
218
+ {{{ if navigation.dropdown }}}
219
+ <ul class="dropdown-menu">
220
+ {navigation.dropdownContent}
221
+ </ul>
222
+ {{{ end }}}
215
223
  </li>
216
224
  <!-- ENDIF function.displayMenuItem -->
217
225
  {{{end}}}
@@ -11,7 +11,7 @@
11
11
  <small class="topic-category"><a href="{config.relative_path}/category/{../category.slug}">[[global:posted_in, {../category.name}]]</a></small>
12
12
 
13
13
  <div class="post-info">
14
- <a href="{config.relative_path}/user/{../user.userslug}">{buildAvatar(../user, "md", true, "user-img")}</a>
14
+ <a href="{config.relative_path}/user/{../user.userslug}">{buildAvatar(../user, "md", true, "user-img not-responsive")}</a>
15
15
 
16
16
  <div class="post-author">
17
17
  <a href="{config.relative_path}/user/{../user.userslug}">{../user.displayname}</a><br />