nodebb-theme-persona 11.2.18 → 11.2.22

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/style.less CHANGED
@@ -1,304 +1,304 @@
1
- html {
2
- overflow-y: scroll;
3
- min-height: 100%;
4
- }
5
-
6
- body {
7
- @media (min-width: 979px)
8
- {
9
- padding-top: 70px;
10
- }
11
-
12
- @media (max-width: 979px)
13
- {
14
- padding-top: 70px;
15
- padding-bottom: 50px;
16
- }
17
-
18
- min-height: 100%;
19
- }
20
-
21
- @media (max-width: @screen-xs-max) {
22
- .slideout-panel {
23
- min-height: 100vh;
24
- }
25
- }
26
-
27
- button, a {
28
- -webkit-tap-highlight-color: rgba(0,0,0,0);
29
- }
30
-
31
- .block, .show {
32
- display: block;
33
- }
34
-
35
- .bold {
36
- font-weight: bold;
37
- }
38
-
39
- a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus {
40
- text-decoration:none;
41
- }
42
-
43
- .alt-logins {
44
- margin: 0 0 0 1em;
45
- padding: 0;
46
- list-style-type: none;
47
-
48
- li {
49
- vertical-align: middle;
50
- background: transparent;
51
- margin: 0.25em;
52
- .pointer;
53
- .inline-block;
54
- }
55
- }
56
-
57
- .jumbotron {
58
- word-wrap: break-word;
59
- }
60
-
61
- #content {
62
- padding-bottom:20px;
63
- -webkit-transition: opacity 150ms linear;
64
- -moz-transition: opacity 150ms linear;
65
- -ms-transition: opacity 150ms linear;
66
- -o-transition: opacity 150ms linear;
67
- transition: opacity 150ms linear;
68
-
69
- &.ajaxifying {
70
- -moz-opacity: 0;
71
- opacity: 0;
72
- -ms-filter:~"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
73
- }
74
- }
75
-
76
- .status {
77
- font-size: 10px;
78
- vertical-align: middle;
79
-
80
- &.online {
81
- color: @material-success;
82
- }
83
-
84
- &.away {
85
- color: @material-warning;
86
- }
87
-
88
- &.dnd {
89
- color: @material-danger;
90
- }
91
-
92
- &.offline {
93
- color: @gray;
94
- }
95
- }
96
-
97
-
98
- .topic .topic-item, .category .category-item {
99
- -webkit-transition: background-color 500ms linear;
100
- -moz-transition: background-color 500ms linear;
101
- -ms-transition: background-color 500ms linear;
102
- -o-transition: background-color 500ms linear;
103
- transition: background-color 500ms linear;
104
- }
105
-
106
- .topic .topic-item.highlight, .category .category-item.highlight {
107
- background-color: lighten(@brand-info, 20%);
108
- }
109
-
110
- .fa-facebook-square {
111
- color:#3b5998;
112
- background:transparent;
113
- }
114
-
115
- .fa-twitter-square {
116
- color:#2fc2ef;
117
- background:transparent;
118
- }
119
-
120
- .fa-google-plus-square {
121
- color:#df5138;
122
- background:transparent;
123
- }
124
-
125
- .category .post-link, .topic .post-link {
126
- display:inline-block;
127
- width:90%;
128
- height:25px;
129
- font-size:10px;
130
- padding:0px;
131
- }
132
-
133
- .menu-icon {
134
- background: transparent;
135
- width: 20px;
136
- height: 20px;
137
- text-align: center;
138
- display: inline-block;
139
- line-height: 20px;
140
- cursor: pointer;
141
- }
142
-
143
- .dropdown-menu {
144
- .badge {
145
- vertical-align: 1px;
146
- }
147
-
148
- a[role="menuitem"]:focus {
149
- outline: none;
150
- }
151
- }
152
-
153
- .fade-out {
154
- position: absolute;
155
- top: 190px;
156
- left: 0;
157
- width: 100%;
158
- margin: 0;
159
- padding: 30px 0;
160
- }
161
-
162
- .skin-default, .skin-cerulean, .skin-cosmo, .skin-flatly, .skin-journal, .skin-lumen, .skin-paper, .skin-readable, .skin-sandstone, .skin-spacelab, .skin-united, .skin-yeti {
163
- .fade-out {
164
- background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, white));
165
- background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), white);
166
- background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), white);
167
- background-image: -ms-linear-gradient(top, transparent, white);
168
- background-image: -o-linear-gradient(top, transparent, white);
169
- }
170
- }
171
-
172
- .skin-cyborg .fade-out {
173
- background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, #060606));
174
- background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #060606);
175
- background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), #060606);
176
- background-image: -ms-linear-gradient(top, transparent, #060606);
177
- background-image: -o-linear-gradient(top, transparent, #060606);
178
- }
179
-
180
- .skin-darkly .fade-out {
181
- background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, #222222));
182
- background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #222222);
183
- background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), #222222);
184
- background-image: -ms-linear-gradient(top, transparent, #222222);
185
- background-image: -o-linear-gradient(top, transparent, #222222);
186
- }
187
-
188
- .skin-simplex .fade-out {
189
- background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, #fcfcfc));
190
- background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #fcfcfc);
191
- background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), #fcfcfc);
192
- background-image: -ms-linear-gradient(top, transparent, #fcfcfc);
193
- background-image: -o-linear-gradient(top, transparent, #fcfcfc);
194
- }
195
-
196
- .skin-slate .fade-out {
197
- background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, #272b30));
198
- background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #272b30);
199
- background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), #272b30);
200
- background-image: -ms-linear-gradient(top, transparent, #272b30);
201
- background-image: -o-linear-gradient(top, transparent, #272b30);
202
- }
203
-
204
- .skin-superhero .fade-out {
205
- background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, #2b3e50));
206
- background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #2b3e50);
207
- background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), #2b3e50);
208
- background-image: -ms-linear-gradient(top, transparent, #2b3e50);
209
- background-image: -o-linear-gradient(top, transparent, #2b3e50);
210
- }
211
-
212
- .skin-darkly, .skin-cyborg {
213
- [component="composer"] {
214
- background: #333;
215
-
216
- .title, .preview, textarea {
217
- background-color: #303030;
218
- color: #fff;
219
- }
220
-
221
- textarea {
222
- outline: none;
223
- border-color: #000;
224
- }
225
-
226
- .formatting-bar .formatting-group li, .formatting-bar span {
227
- color: #fff;
228
- }
229
-
230
- .formatting-bar .formatting-group li:focus, .formatting-bar .formatting-group li:hover {
231
- background-color: #444;
232
- }
233
- }
234
- }
235
-
236
- .icon-container {
237
- .row {
238
- margin: 0;
239
- i {
240
- width:20px;
241
- height:20px;
242
- margin: 1px;
243
- .pointer;
244
- line-height: 20px;
245
- text-align: center;
246
-
247
- &:hover, &.selected {
248
- background: black;
249
- color: white;
250
- }
251
- }
252
- }
253
- }
254
-
255
- .maintenance {
256
- .well {
257
- white-space: pre-line;
258
- }
259
- }
260
-
261
-
262
- .footer {
263
- margin-top: 1em;
264
- }
265
-
266
- a.permalink {
267
- &,
268
- &:hover,
269
- &:focus,
270
- &:active {
271
- color: @gray-light;
272
- text-decoration: underline;
273
- }
274
- }
275
-
276
- .deco-none, .deco-none:link, .deco-none:hover {
277
- color: inherit;
278
- text-decoration: inherit;
279
- }
280
-
281
- .disabled a {
282
- pointer-events: none;
283
- }
284
-
285
- @media (max-width: @screen-sm-max) {
286
- .form-control {
287
- font-size: 16px;
288
- }
289
- }
290
-
291
- .background-link-container {
292
- position: relative;
293
- a {
294
- position: relative;
295
- }
296
-
297
- a.background-link {
298
- position: absolute;
299
- width: 100%;
300
- height: 100%;
301
- top: 0;
302
- left: 0;
303
- }
1
+ html {
2
+ overflow-y: scroll;
3
+ min-height: 100%;
4
+ }
5
+
6
+ body {
7
+ @media (min-width: 979px)
8
+ {
9
+ padding-top: 70px;
10
+ }
11
+
12
+ @media (max-width: 979px)
13
+ {
14
+ padding-top: 70px;
15
+ padding-bottom: 50px;
16
+ }
17
+
18
+ min-height: 100%;
19
+ }
20
+
21
+ @media (max-width: @screen-xs-max) {
22
+ .slideout-panel {
23
+ min-height: 100vh;
24
+ }
25
+ }
26
+
27
+ button, a {
28
+ -webkit-tap-highlight-color: rgba(0,0,0,0);
29
+ }
30
+
31
+ .block, .show {
32
+ display: block;
33
+ }
34
+
35
+ .bold {
36
+ font-weight: bold;
37
+ }
38
+
39
+ a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus {
40
+ text-decoration:none;
41
+ }
42
+
43
+ .alt-logins {
44
+ margin: 0 0 0 1em;
45
+ padding: 0;
46
+ list-style-type: none;
47
+
48
+ li {
49
+ vertical-align: middle;
50
+ background: transparent;
51
+ margin: 0.25em;
52
+ .pointer;
53
+ .inline-block;
54
+ }
55
+ }
56
+
57
+ .jumbotron {
58
+ word-wrap: break-word;
59
+ }
60
+
61
+ #content {
62
+ padding-bottom:20px;
63
+ -webkit-transition: opacity 150ms linear;
64
+ -moz-transition: opacity 150ms linear;
65
+ -ms-transition: opacity 150ms linear;
66
+ -o-transition: opacity 150ms linear;
67
+ transition: opacity 150ms linear;
68
+
69
+ &.ajaxifying {
70
+ -moz-opacity: 0;
71
+ opacity: 0;
72
+ -ms-filter:~"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
73
+ }
74
+ }
75
+
76
+ .status {
77
+ font-size: 10px;
78
+ vertical-align: middle;
79
+
80
+ &.online {
81
+ color: @material-success;
82
+ }
83
+
84
+ &.away {
85
+ color: @material-warning;
86
+ }
87
+
88
+ &.dnd {
89
+ color: @material-danger;
90
+ }
91
+
92
+ &.offline {
93
+ color: @gray;
94
+ }
95
+ }
96
+
97
+
98
+ .topic .topic-item, .category .category-item {
99
+ -webkit-transition: background-color 500ms linear;
100
+ -moz-transition: background-color 500ms linear;
101
+ -ms-transition: background-color 500ms linear;
102
+ -o-transition: background-color 500ms linear;
103
+ transition: background-color 500ms linear;
104
+ }
105
+
106
+ .topic .topic-item.highlight, .category .category-item.highlight {
107
+ background-color: lighten(@brand-info, 20%);
108
+ }
109
+
110
+ .fa-facebook-square {
111
+ color:#3b5998;
112
+ background:transparent;
113
+ }
114
+
115
+ .fa-twitter-square {
116
+ color:#2fc2ef;
117
+ background:transparent;
118
+ }
119
+
120
+ .fa-google-plus-square {
121
+ color:#df5138;
122
+ background:transparent;
123
+ }
124
+
125
+ .category .post-link, .topic .post-link {
126
+ display:inline-block;
127
+ width:90%;
128
+ height:25px;
129
+ font-size:10px;
130
+ padding:0px;
131
+ }
132
+
133
+ .menu-icon {
134
+ background: transparent;
135
+ width: 20px;
136
+ height: 20px;
137
+ text-align: center;
138
+ display: inline-block;
139
+ line-height: 20px;
140
+ cursor: pointer;
141
+ }
142
+
143
+ .dropdown-menu {
144
+ .badge {
145
+ vertical-align: 1px;
146
+ }
147
+
148
+ a[role="menuitem"]:focus {
149
+ outline: none;
150
+ }
151
+ }
152
+
153
+ .fade-out {
154
+ position: absolute;
155
+ top: 190px;
156
+ left: 0;
157
+ width: 100%;
158
+ margin: 0;
159
+ padding: 30px 0;
160
+ }
161
+
162
+ .skin-default, .skin-cerulean, .skin-cosmo, .skin-flatly, .skin-journal, .skin-lumen, .skin-paper, .skin-readable, .skin-sandstone, .skin-spacelab, .skin-united, .skin-yeti {
163
+ .fade-out {
164
+ background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, white));
165
+ background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), white);
166
+ background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), white);
167
+ background-image: -ms-linear-gradient(top, transparent, white);
168
+ background-image: -o-linear-gradient(top, transparent, white);
169
+ }
170
+ }
171
+
172
+ .skin-cyborg .fade-out {
173
+ background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, #060606));
174
+ background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #060606);
175
+ background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), #060606);
176
+ background-image: -ms-linear-gradient(top, transparent, #060606);
177
+ background-image: -o-linear-gradient(top, transparent, #060606);
178
+ }
179
+
180
+ .skin-darkly .fade-out {
181
+ background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, #222222));
182
+ background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #222222);
183
+ background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), #222222);
184
+ background-image: -ms-linear-gradient(top, transparent, #222222);
185
+ background-image: -o-linear-gradient(top, transparent, #222222);
186
+ }
187
+
188
+ .skin-simplex .fade-out {
189
+ background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, #fcfcfc));
190
+ background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #fcfcfc);
191
+ background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), #fcfcfc);
192
+ background-image: -ms-linear-gradient(top, transparent, #fcfcfc);
193
+ background-image: -o-linear-gradient(top, transparent, #fcfcfc);
194
+ }
195
+
196
+ .skin-slate .fade-out {
197
+ background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, #272b30));
198
+ background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #272b30);
199
+ background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), #272b30);
200
+ background-image: -ms-linear-gradient(top, transparent, #272b30);
201
+ background-image: -o-linear-gradient(top, transparent, #272b30);
202
+ }
203
+
204
+ .skin-superhero .fade-out {
205
+ background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, #2b3e50));
206
+ background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #2b3e50);
207
+ background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0), #2b3e50);
208
+ background-image: -ms-linear-gradient(top, transparent, #2b3e50);
209
+ background-image: -o-linear-gradient(top, transparent, #2b3e50);
210
+ }
211
+
212
+ .skin-darkly, .skin-cyborg {
213
+ [component="composer"] {
214
+ background: #333;
215
+
216
+ .title, .preview, textarea {
217
+ background-color: #303030;
218
+ color: #fff;
219
+ }
220
+
221
+ textarea {
222
+ outline: none;
223
+ border-color: #000;
224
+ }
225
+
226
+ .formatting-bar .formatting-group li, .formatting-bar span {
227
+ color: #fff;
228
+ }
229
+
230
+ .formatting-bar .formatting-group li:focus, .formatting-bar .formatting-group li:hover {
231
+ background-color: #444;
232
+ }
233
+ }
234
+ }
235
+
236
+ .icon-container {
237
+ .row {
238
+ margin: 0;
239
+ i {
240
+ width:20px;
241
+ height:20px;
242
+ margin: 1px;
243
+ .pointer;
244
+ line-height: 20px;
245
+ text-align: center;
246
+
247
+ &:hover, &.selected {
248
+ background: black;
249
+ color: white;
250
+ }
251
+ }
252
+ }
253
+ }
254
+
255
+ .maintenance {
256
+ .well {
257
+ white-space: pre-line;
258
+ }
259
+ }
260
+
261
+
262
+ .footer {
263
+ margin-top: 1em;
264
+ }
265
+
266
+ a.permalink {
267
+ &,
268
+ &:hover,
269
+ &:focus,
270
+ &:active {
271
+ color: @gray-light;
272
+ text-decoration: underline;
273
+ }
274
+ }
275
+
276
+ .deco-none, .deco-none:link, .deco-none:hover {
277
+ color: inherit;
278
+ text-decoration: inherit;
279
+ }
280
+
281
+ .disabled a {
282
+ pointer-events: none;
283
+ }
284
+
285
+ @media (max-width: @screen-sm-max) {
286
+ .form-control {
287
+ font-size: 16px;
288
+ }
289
+ }
290
+
291
+ .background-link-container {
292
+ position: relative;
293
+ a {
294
+ position: relative;
295
+ }
296
+
297
+ a.background-link {
298
+ position: absolute;
299
+ width: 100%;
300
+ height: 100%;
301
+ top: 0;
302
+ left: 0;
303
+ }
304
304
  }
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.18",
3
+ "version": "11.2.22",
4
4
  "nbbpm": {
5
5
  "compatibility": "^1.18.0"
6
6
  },
@@ -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 />
@@ -67,7 +67,7 @@
67
67
 
68
68
  <!-- IMPORT partials/topic/post.tpl -->
69
69
  </li>
70
- {renderTopicEvents(@index)}
70
+ {renderTopicEvents(@index, config.topicPostSort)}
71
71
  {{{end}}}
72
72
  </ul>
73
73