nodebb-theme-persona 13.3.28 → 13.3.31

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.
Files changed (146) hide show
  1. package/.eslintrc +2 -2
  2. package/README.md +20 -20
  3. package/lib/controllers.js +24 -24
  4. package/library.js +97 -97
  5. package/package.json +52 -52
  6. package/plugin.json +20 -20
  7. package/public/.eslintrc +2 -2
  8. package/public/admin.js +15 -15
  9. package/public/modules/autohidingnavbar.js +220 -220
  10. package/public/modules/mobile-menu.js +190 -190
  11. package/public/modules/taskbar.js +65 -65
  12. package/public/persona.js +257 -257
  13. package/public/settings.js +53 -53
  14. package/scss/account.scss +336 -336
  15. package/scss/categories.scss +205 -205
  16. package/scss/category.scss +161 -161
  17. package/scss/chats.scss +14 -14
  18. package/scss/flags.scss +42 -42
  19. package/scss/footer.scss +16 -16
  20. package/scss/groups.scss +166 -166
  21. package/scss/header.scss +361 -361
  22. package/scss/keyframes.scss +152 -152
  23. package/scss/mixins.scss +129 -129
  24. package/scss/mobile.scss +331 -331
  25. package/scss/modules/composer.scss +20 -20
  26. package/scss/modules/cookie-consent.scss +12 -12
  27. package/scss/modules/fab.scss +32 -32
  28. package/scss/modules/morph.scss +268 -268
  29. package/scss/modules/necro-post.scss +8 -8
  30. package/scss/modules/nprogress.scss +80 -80
  31. package/scss/modules/taskbar.scss +160 -160
  32. package/scss/modules/user-menu.scss +7 -7
  33. package/scss/modules/usercard.scss +64 -64
  34. package/scss/noscript.scss +80 -80
  35. package/scss/overrides.scss +39 -39
  36. package/scss/persona.scss +34 -35
  37. package/scss/posts_list.scss +127 -127
  38. package/scss/search.scss +48 -48
  39. package/scss/style.scss +270 -270
  40. package/scss/tags.scss +10 -10
  41. package/scss/topic.scss +571 -571
  42. package/scss/topics_list.scss +16 -16
  43. package/scss/variables.scss +6 -6
  44. package/templates/account/blocks.tpl +46 -46
  45. package/templates/account/categories.tpl +28 -28
  46. package/templates/account/consent.tpl +68 -68
  47. package/templates/account/edit/password.tpl +29 -29
  48. package/templates/account/edit/username.tpl +25 -25
  49. package/templates/account/edit.tpl +136 -136
  50. package/templates/account/followers.tpl +17 -17
  51. package/templates/account/following.tpl +17 -17
  52. package/templates/account/groups.tpl +16 -16
  53. package/templates/account/info.tpl +291 -291
  54. package/templates/account/posts.tpl +18 -18
  55. package/templates/account/profile.tpl +166 -166
  56. package/templates/account/sessions.tpl +31 -31
  57. package/templates/account/settings.tpl +251 -251
  58. package/templates/account/tags.tpl +9 -9
  59. package/templates/account/theme.tpl +25 -25
  60. package/templates/account/topics.tpl +29 -29
  61. package/templates/account/uploads.tpl +42 -42
  62. package/templates/admin/plugins/persona.tpl +24 -24
  63. package/templates/categories.tpl +31 -31
  64. package/templates/category.tpl +63 -63
  65. package/templates/flags/detail.tpl +208 -208
  66. package/templates/flags/list.tpl +71 -71
  67. package/templates/footer.tpl +11 -11
  68. package/templates/groups/details.tpl +77 -77
  69. package/templates/groups/list.tpl +48 -48
  70. package/templates/groups/members.tpl +5 -5
  71. package/templates/header.tpl +47 -47
  72. package/templates/modules/taskbar.tpl +2 -2
  73. package/templates/modules/usercard.tpl +36 -36
  74. package/templates/notifications.tpl +66 -66
  75. package/templates/partials/account/category-item.tpl +23 -23
  76. package/templates/partials/account/header.tpl +47 -47
  77. package/templates/partials/account/menu.tpl +108 -108
  78. package/templates/partials/breadcrumbs.tpl +18 -18
  79. package/templates/partials/buttons/newTopic.tpl +22 -22
  80. package/templates/partials/categories/item.tpl +60 -60
  81. package/templates/partials/categories/lastpost.tpl +26 -26
  82. package/templates/partials/category/filter-dropdown-content.tpl +31 -31
  83. package/templates/partials/category/selector-dropdown-content.tpl +32 -32
  84. package/templates/partials/category/sort.tpl +14 -14
  85. package/templates/partials/category/subcategory.tpl +17 -17
  86. package/templates/partials/category/tags.tpl +3 -3
  87. package/templates/partials/category/tools.tpl +86 -86
  88. package/templates/partials/category/watch.tpl +55 -55
  89. package/templates/partials/chats-menu.tpl +40 -40
  90. package/templates/partials/cookie-consent.tpl +4 -4
  91. package/templates/partials/flags/filters.tpl +173 -173
  92. package/templates/partials/groups/admin.tpl +200 -200
  93. package/templates/partials/groups/filter-dropdown-content.tpl +24 -24
  94. package/templates/partials/groups/list.tpl +20 -20
  95. package/templates/partials/groups/memberlist.tpl +42 -42
  96. package/templates/partials/header/chats.tpl +18 -18
  97. package/templates/partials/header/notifications.tpl +18 -18
  98. package/templates/partials/header/search.tpl +24 -24
  99. package/templates/partials/header/user-menu.tpl +96 -96
  100. package/templates/partials/menu.tpl +128 -128
  101. package/templates/partials/notifications_list.tpl +30 -30
  102. package/templates/partials/paginator.tpl +44 -44
  103. package/templates/partials/post_bar.tpl +20 -20
  104. package/templates/partials/posts_list.tpl +7 -7
  105. package/templates/partials/posts_list_item.tpl +31 -31
  106. package/templates/partials/quick-search-results.tpl +33 -33
  107. package/templates/partials/search-filters.tpl +183 -183
  108. package/templates/partials/search-results.tpl +54 -54
  109. package/templates/partials/slideout-menu.tpl +4 -4
  110. package/templates/partials/tags/filter-dropdown-content.tpl +33 -33
  111. package/templates/partials/tags/watch.tpl +35 -35
  112. package/templates/partials/tags_list.tpl +4 -4
  113. package/templates/partials/toast.tpl +19 -19
  114. package/templates/partials/topic/event.tpl +12 -12
  115. package/templates/partials/topic/navigation-post.tpl +11 -11
  116. package/templates/partials/topic/navigator.tpl +39 -39
  117. package/templates/partials/topic/necro-post.tpl +2 -2
  118. package/templates/partials/topic/post-menu-list.tpl +132 -132
  119. package/templates/partials/topic/post-menu.tpl +4 -4
  120. package/templates/partials/topic/post.tpl +128 -128
  121. package/templates/partials/topic/quickreply.tpl +28 -28
  122. package/templates/partials/topic/reply-button.tpl +26 -26
  123. package/templates/partials/topic/selection-tooltip.tpl +2 -2
  124. package/templates/partials/topic/sort.tpl +9 -9
  125. package/templates/partials/topic/stats.tpl +11 -11
  126. package/templates/partials/topic/tags.tpl +2 -2
  127. package/templates/partials/topic/tools.tpl +7 -7
  128. package/templates/partials/topic/topic-menu-list.tpl +74 -74
  129. package/templates/partials/topic/watch.tpl +47 -47
  130. package/templates/partials/topic-filters.tpl +11 -11
  131. package/templates/partials/topic-terms.tpl +11 -11
  132. package/templates/partials/topics_list.tpl +117 -117
  133. package/templates/partials/users/filter-dropdown-content.tpl +20 -20
  134. package/templates/partials/users/item.tpl +43 -43
  135. package/templates/partials/users_list.tpl +14 -14
  136. package/templates/partials/users_list_menu.tpl +20 -20
  137. package/templates/popular.tpl +35 -35
  138. package/templates/recent.tpl +37 -37
  139. package/templates/search.tpl +47 -47
  140. package/templates/tag.tpl +34 -34
  141. package/templates/tags.tpl +32 -32
  142. package/templates/top.tpl +35 -35
  143. package/templates/topic.tpl +129 -129
  144. package/templates/unread.tpl +37 -37
  145. package/templates/users.tpl +34 -34
  146. package/scss/register.scss +0 -71
package/scss/topic.scss CHANGED
@@ -1,571 +1,571 @@
1
- .topic {
2
- [component="post/header"] {
3
- margin-top: 0px;
4
- line-height: 40px;
5
-
6
- .topic-title {
7
- word-wrap: break-word;
8
- color:inherit;
9
- }
10
-
11
- > span {
12
- text-transform: uppercase;
13
- color: $gray-600;
14
- display: inline-block;
15
- margin-top: 8px;
16
- }
17
-
18
- .topic-title {
19
- text-transform: initial;
20
- }
21
- }
22
-
23
- [component="topic/labels"] {
24
- font-size: 20px;
25
- color: $text-muted;
26
- }
27
-
28
- [component="topic/browsing-users"] {
29
- margin-bottom: -5px;
30
- }
31
- .topic-header {
32
- top: var(--panel-offset);
33
- background-color: $body-bg;
34
- z-index: $zindex-dropdown; // allows for top nav dropdowns to appear on top
35
- }
36
-
37
- .topic-info {
38
- border-bottom: 1px solid $post-border-color;
39
- }
40
-
41
- .posts {
42
- h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
43
- margin-top: 0px;
44
- }
45
-
46
- .icon {
47
- position: relative;
48
- border-radius: 50%;
49
- min-width: 46px;
50
- min-height: 46px;
51
- margin-top: 2px;
52
-
53
-
54
- > a > .status {
55
- position: absolute;
56
- right: 12px;
57
- font-size: 12px;
58
- top: 0px;
59
- z-index: 1;
60
-
61
- @include media-breakpoint-up(md) {
62
- top: 2px;
63
- font-size: 16px;
64
- }
65
- }
66
-
67
- .avatar {
68
- margin-right: 15px;
69
- }
70
- }
71
-
72
- .status {
73
- vertical-align: 0%;
74
- }
75
- }
76
-
77
- .login-required {
78
- display: inline-block;
79
- padding: 0 0.5em;
80
- border: 1px dashed $gray-600;
81
- }
82
-
83
- .bookmarked {
84
- font-size: 16px;
85
- color: darken($post-highlight, 20%);
86
- opacity: 0;
87
- @include transition(0.75s ease-in-out opacity);
88
- margin-left: 5px;
89
- }
90
-
91
- [component="post/anchor"] {
92
- position: relative;
93
- top: -$post-padding;
94
- }
95
-
96
- [component="post/upvote"], [component="post/downvote"] {
97
- display: inline-block;
98
- padding: 1rem;
99
- color: $text-muted;
100
-
101
- &:focus {
102
- text-decoration: none;
103
- }
104
- }
105
-
106
- [component="post/upvote"].upvoted i {
107
- @include fa-icon-solid($fa-var-circle-chevron-up);
108
- color: $primary;
109
- }
110
-
111
- [component="post/downvote"].downvoted i {
112
- @include fa-icon-solid($fa-var-circle-chevron-down);
113
- color: $primary;
114
- }
115
-
116
- [component="post/vote-count"] {
117
- display: inline-block;
118
- padding: 1rem 0.5rem;
119
- }
120
-
121
- [component="post/parent"] {
122
- border: 0;
123
- font-size: 10px;
124
- }
125
-
126
- .threaded-replies {
127
- margin-left: 60px;
128
- padding: 1rem 0px;
129
- text-decoration: none;
130
-
131
- img, .user-icon {
132
- @include user-icon-style(16px, 10px, 50%);
133
- vertical-align: 1px;
134
- }
135
-
136
- img {
137
- vertical-align: -4px;
138
- }
139
-
140
- .replies-count {
141
- margin-left: 3px;
142
- }
143
-
144
- .fa {
145
- font-size: 80%;
146
- }
147
-
148
- .avatars {
149
- position: relative;
150
- }
151
- }
152
-
153
- [component="post/replies"] {
154
- margin-left: 61px;
155
- margin-top: $post-padding;
156
- border-left: 5px solid #eee;
157
- padding-left: 20px;
158
- .timeline-event { display: none; }
159
- [component="post"]:last-child > hr {
160
- display: none;
161
- }
162
- }
163
-
164
- .stats {
165
- font-size: 12px;
166
- margin: 0px 2px 0px 2px;
167
- display: inline-block;
168
- }
169
-
170
- .title {
171
- p {
172
- margin-bottom: 4px;
173
- }
174
-
175
- small {
176
- margin-top: 2px;
177
- display: block;
178
-
179
- color: $gray-600;
180
-
181
- strong {
182
- color: $gray-800;
183
- }
184
- }
185
- }
186
-
187
- .content {
188
- margin-top: $post-padding;
189
- padding-bottom: 1px;
190
- margin-top: -43px;
191
- margin-left: 38px;
192
- word-wrap: break-word;
193
- overflow: hidden;
194
- min-height: 60px;
195
- }
196
-
197
- .post-tools {
198
- a {
199
- padding: 1rem 10px;
200
- @include pointer;
201
- }
202
- }
203
-
204
- [component="post/tools"] {
205
- font-size: 14px;
206
-
207
- > a {
208
- padding: 1rem;
209
- }
210
-
211
- // temporary until we build component toggling
212
- .favourite.btn-warning, .follow.btn-success {
213
- background: white !important;
214
- color: #333;
215
- &:hover {
216
- background: $primary !important;
217
- }
218
- }
219
- }
220
-
221
- h1 {
222
- .btn-group, .btn {
223
- margin-left: 15px;
224
- }
225
-
226
- .btn {
227
- background: $body-bg;
228
- text-transform: uppercase;
229
- font-weight: 600;
230
- box-shadow: none !important;
231
- font-size: 11px;
232
- color: $gray-600;
233
- padding: 0;
234
- }
235
- }
236
-
237
- .post-signature {
238
- font-size: 12px;
239
- border-top: 1px dashed #dedede;
240
- padding: 1px;
241
- padding-top: 5px;
242
- display: block;
243
- font-style: italic;
244
- margin-left: 61px;
245
- max-width: 100%;
246
- word-wrap: break-word;
247
- }
248
-
249
- @include media-breakpoint-down(sm) {
250
- .content {
251
- margin-left: 0;
252
- margin-top: -10px;
253
-
254
- .table {
255
- overflow-x: auto;
256
- display: block;
257
- }
258
- }
259
-
260
- .post-signature {
261
- margin-left: 0px;
262
- }
263
-
264
- .posts .icon {
265
- min-width: 0;
266
- min-height: 0;
267
- margin-top: 0px;
268
-
269
- .avatar {
270
- @include user-icon-style(23px, calc(23px * 0.6), 50%);
271
- }
272
- }
273
-
274
- [component="post/reply-count"] {
275
- margin-left: 0;
276
- }
277
-
278
- [component="post/replies"] {
279
- margin-left: 1px;
280
- }
281
- }
282
-
283
- .quick-reply {
284
- position: relative;
285
- .icon {
286
- position: relative;
287
- border-radius: 50%;
288
- min-width: 46px;
289
- min-height: 46px;
290
- margin-top: 2px;
291
-
292
- > a > .status {
293
- position: absolute;
294
- right: 12px;
295
- font-size: 12px;
296
- top: 0px;
297
-
298
- @include media-breakpoint-up(md) {
299
- top: 2px;
300
- font-size: 16px;
301
- }
302
- }
303
-
304
- .avatar {
305
- margin-right: 15px;
306
- }
307
- }
308
-
309
- .quickreply-message {
310
- margin-left: 63px;
311
- margin-bottom: 5px;
312
-
313
- @include media-breakpoint-down(sm) {
314
- margin-left: 0;
315
-
316
- [component="topic/quickreply/text"] {
317
- font-size: 16px;
318
- padding: 10px;
319
- }
320
- }
321
- }
322
- }
323
- }
324
-
325
-
326
- .topic {
327
- &.deleted {
328
- opacity: 0.3;
329
-
330
- .votes {
331
- display: none;
332
- }
333
- }
334
-
335
- .posts {
336
- &.timeline {
337
- @include timeline-style;
338
- }
339
-
340
- list-style-type: none;
341
- padding: 0;
342
-
343
- [component="post"] {
344
- position: relative;
345
- @include transition(0.75s ease-in-out border-color);
346
-
347
- .edit-icon {
348
- vertical-align: -2%;
349
- }
350
-
351
- &.deleted {
352
- > .content {
353
- opacity: 0.3;
354
- }
355
-
356
- .votes {
357
- display: none;
358
- }
359
- }
360
-
361
- &.highlight {
362
- border-color: darken($post-highlight, 20%);
363
- box-shadow: 0px 2px 2px -2px $post-highlight;
364
-
365
- .bookmarked {
366
- opacity: 1;
367
- }
368
- }
369
- }
370
-
371
- .content {
372
- @include fix-lists;
373
-
374
- > blockquote {
375
- > blockquote {
376
- > *:not(.blockquote) {
377
- display: none;
378
- }
379
- }
380
-
381
- > blockquote.uncollapsed {
382
- > *:not(.blockquote) {
383
- display: block;
384
- }
385
- }
386
- }
387
-
388
- iframe, .img-fluid {
389
- max-width: 85%;
390
- display: inline;
391
- }
392
-
393
- pre {
394
- max-height: 350px;
395
-
396
- code {
397
- white-space: pre;
398
- word-wrap: normal;
399
- min-width: 100%;
400
- }
401
- }
402
-
403
- @include media-breakpoint-down(sm) {
404
- pre {
405
- max-height: 250px;
406
- }
407
- }
408
- }
409
- }
410
-
411
- .pagination-block {
412
- position: fixed;
413
- bottom: 0px;
414
- right: 0px;
415
- z-index: 100;
416
- transition: opacity 250ms ease-in;
417
- opacity: 0;
418
-
419
- .pagination-text {
420
- position: relative;
421
- top: -3px;
422
- font-weight: bolder;
423
- }
424
-
425
- &.ready {
426
- opacity: 1;
427
- }
428
-
429
- .wrapper {
430
- padding: 5px 0px 5px 0px;
431
- .dropdown-toggle {
432
- padding-left: 20px;
433
- padding-right: 20px;
434
- padding-top: 10px;
435
- }
436
- .dropdown-menu {
437
- width: 475px;
438
-
439
- li {
440
- padding: 15px;
441
- }
442
- .post-content {
443
- height: 350px;
444
- overflow: hidden;
445
- }
446
- .scroller-container {
447
- height: 300px;
448
- border-right: 3px solid $gray-200;
449
- margin-right: 3px;
450
- cursor: pointer;
451
- .scroller-thumb {
452
- height: 40px;
453
- position: relative;
454
- right: -6px;
455
- padding-right: 15px;
456
- margin-right: -15px;
457
-
458
-
459
- .scroller-thumb-icon {
460
- width: 9px;
461
- height: 40px;
462
- background-color: $primary;
463
- position: relative;
464
- display: inline-block;
465
- border-radius: 3px;
466
- }
467
- .thumb-text {
468
- font-weight: bolder;
469
- user-select: none;
470
- position: relative;
471
- top: -15px;
472
- padding-right: 10px;
473
- }
474
- }
475
- }
476
- }
477
- @include media-breakpoint-down(sm) {
478
- .dropdown-menu {
479
- width: 100%;
480
- }
481
- }
482
- }
483
- .progress-bar {
484
- display:block;
485
- z-index: -1;
486
- position: absolute;
487
- transition: width 50ms ease-in;
488
- height: 100%;
489
- }
490
- }
491
- @include media-breakpoint-down(sm) {
492
- .pagination-block {
493
- width: 100%;
494
- }
495
- }
496
- }
497
-
498
- .thread_active_users {
499
- text-transform: initial;
500
-
501
- a[data-uid] {
502
- position: relative;
503
-
504
- img, .user-icon {
505
- @include user-icon-style(20px, 1rem, 50%);
506
- vertical-align: middle;
507
- margin: 0 7px;
508
- }
509
-
510
- &::after {
511
- position: absolute;
512
- z-index: 0;
513
- opacity: 0;
514
-
515
- font-family: "FontAwesome";
516
- content: "\f11c";
517
- padding: 4px 0.25em;
518
- top: -36px;
519
- left: 7px;
520
-
521
- @include transition("opacity ease 250ms, top ease 250ms")
522
- }
523
-
524
- &.replying::after {
525
- opacity: 1;
526
- top: -50px;
527
- animation: topic-reply-pulse 2s ease-in infinite;
528
- }
529
- }
530
-
531
- .anonymous-box {
532
- border: 1px solid #ddd;
533
- width: 24px;
534
- height: 24px;
535
- position: relative;
536
- text-align: center;
537
- }
538
- }
539
-
540
- [component="post"] {
541
- >.post-header [component="user/picture"], >.post-header [component="user/status"] {
542
- opacity: 1;
543
- }
544
-
545
- >.post-header .icon:before {
546
- opacity: 0;
547
- }
548
-
549
- &.selected {
550
- background-color: initial;
551
-
552
- >.post-header .icon:before {
553
- border: 1px solid $success;
554
- color: $white;
555
- background-color: $success;
556
- -webkit-transition: .2s ease-in-out all;
557
- transition: .2s ease-in-out all;
558
- content: fa-content($fa-var-check);
559
- padding: 14px;
560
- border-radius: 50%;
561
- opacity: 1;
562
- position: absolute;
563
- display: inline-block;
564
- font: normal normal normal 14px/1 FontAwesome;
565
- }
566
-
567
- >.post-header [component="user/picture"], >.post-header [component="user/status"] {
568
- opacity: 0;
569
- }
570
- }
571
- }
1
+ .topic {
2
+ [component="post/header"] {
3
+ margin-top: 0px;
4
+ line-height: 40px;
5
+
6
+ .topic-title {
7
+ word-wrap: break-word;
8
+ color:inherit;
9
+ }
10
+
11
+ > span {
12
+ text-transform: uppercase;
13
+ color: $gray-600;
14
+ display: inline-block;
15
+ margin-top: 8px;
16
+ }
17
+
18
+ .topic-title {
19
+ text-transform: initial;
20
+ }
21
+ }
22
+
23
+ [component="topic/labels"] {
24
+ font-size: 20px;
25
+ color: $text-muted;
26
+ }
27
+
28
+ [component="topic/browsing-users"] {
29
+ margin-bottom: -5px;
30
+ }
31
+ .topic-header {
32
+ top: var(--panel-offset);
33
+ background-color: $body-bg;
34
+ z-index: $zindex-dropdown; // allows for top nav dropdowns to appear on top
35
+ }
36
+
37
+ .topic-info {
38
+ border-bottom: 1px solid $post-border-color;
39
+ }
40
+
41
+ .posts {
42
+ h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
43
+ margin-top: 0px;
44
+ }
45
+
46
+ .icon {
47
+ position: relative;
48
+ border-radius: 50%;
49
+ min-width: 46px;
50
+ min-height: 46px;
51
+ margin-top: 2px;
52
+
53
+
54
+ > a > .status {
55
+ position: absolute;
56
+ right: 12px;
57
+ font-size: 12px;
58
+ top: 0px;
59
+ z-index: 1;
60
+
61
+ @include media-breakpoint-up(md) {
62
+ top: 2px;
63
+ font-size: 16px;
64
+ }
65
+ }
66
+
67
+ .avatar {
68
+ margin-right: 15px;
69
+ }
70
+ }
71
+
72
+ .status {
73
+ vertical-align: 0%;
74
+ }
75
+ }
76
+
77
+ .login-required {
78
+ display: inline-block;
79
+ padding: 0 0.5em;
80
+ border: 1px dashed $gray-600;
81
+ }
82
+
83
+ .bookmarked {
84
+ font-size: 16px;
85
+ color: darken($post-highlight, 20%);
86
+ opacity: 0;
87
+ @include transition(0.75s ease-in-out opacity);
88
+ margin-left: 5px;
89
+ }
90
+
91
+ [component="post/anchor"] {
92
+ position: relative;
93
+ top: -$post-padding;
94
+ }
95
+
96
+ [component="post/upvote"], [component="post/downvote"] {
97
+ display: inline-block;
98
+ padding: 1rem;
99
+ color: $text-muted;
100
+
101
+ &:focus {
102
+ text-decoration: none;
103
+ }
104
+ }
105
+
106
+ [component="post/upvote"].upvoted i {
107
+ @include fa-icon-solid($fa-var-circle-chevron-up);
108
+ color: $primary;
109
+ }
110
+
111
+ [component="post/downvote"].downvoted i {
112
+ @include fa-icon-solid($fa-var-circle-chevron-down);
113
+ color: $primary;
114
+ }
115
+
116
+ [component="post/vote-count"] {
117
+ display: inline-block;
118
+ padding: 1rem 0.5rem;
119
+ }
120
+
121
+ [component="post/parent"] {
122
+ border: 0;
123
+ font-size: 10px;
124
+ }
125
+
126
+ .threaded-replies {
127
+ margin-left: 60px;
128
+ padding: 1rem 0px;
129
+ text-decoration: none;
130
+
131
+ img, .user-icon {
132
+ @include user-icon-style(16px, 10px, 50%);
133
+ vertical-align: 1px;
134
+ }
135
+
136
+ img {
137
+ vertical-align: -4px;
138
+ }
139
+
140
+ .replies-count {
141
+ margin-left: 3px;
142
+ }
143
+
144
+ .fa {
145
+ font-size: 80%;
146
+ }
147
+
148
+ .avatars {
149
+ position: relative;
150
+ }
151
+ }
152
+
153
+ [component="post/replies"] {
154
+ margin-left: 61px;
155
+ margin-top: $post-padding;
156
+ border-left: 5px solid #eee;
157
+ padding-left: 20px;
158
+ .timeline-event { display: none; }
159
+ [component="post"]:last-child > hr {
160
+ display: none;
161
+ }
162
+ }
163
+
164
+ .stats {
165
+ font-size: 12px;
166
+ margin: 0px 2px 0px 2px;
167
+ display: inline-block;
168
+ }
169
+
170
+ .title {
171
+ p {
172
+ margin-bottom: 4px;
173
+ }
174
+
175
+ small {
176
+ margin-top: 2px;
177
+ display: block;
178
+
179
+ color: $gray-600;
180
+
181
+ strong {
182
+ color: $gray-800;
183
+ }
184
+ }
185
+ }
186
+
187
+ .content {
188
+ margin-top: $post-padding;
189
+ padding-bottom: 1px;
190
+ margin-top: -43px;
191
+ margin-left: 38px;
192
+ word-wrap: break-word;
193
+ overflow: hidden;
194
+ min-height: 60px;
195
+ }
196
+
197
+ .post-tools {
198
+ a {
199
+ padding: 1rem 10px;
200
+ @include pointer;
201
+ }
202
+ }
203
+
204
+ [component="post/tools"] {
205
+ font-size: 14px;
206
+
207
+ > a {
208
+ padding: 1rem;
209
+ }
210
+
211
+ // temporary until we build component toggling
212
+ .favourite.btn-warning, .follow.btn-success {
213
+ background: white !important;
214
+ color: #333;
215
+ &:hover {
216
+ background: $primary !important;
217
+ }
218
+ }
219
+ }
220
+
221
+ h1 {
222
+ .btn-group, .btn {
223
+ margin-left: 15px;
224
+ }
225
+
226
+ .btn {
227
+ background: $body-bg;
228
+ text-transform: uppercase;
229
+ font-weight: 600;
230
+ box-shadow: none !important;
231
+ font-size: 11px;
232
+ color: $gray-600;
233
+ padding: 0;
234
+ }
235
+ }
236
+
237
+ .post-signature {
238
+ font-size: 12px;
239
+ border-top: 1px dashed #dedede;
240
+ padding: 1px;
241
+ padding-top: 5px;
242
+ display: block;
243
+ font-style: italic;
244
+ margin-left: 61px;
245
+ max-width: 100%;
246
+ word-wrap: break-word;
247
+ }
248
+
249
+ @include media-breakpoint-down(sm) {
250
+ .content {
251
+ margin-left: 0;
252
+ margin-top: -10px;
253
+
254
+ .table {
255
+ overflow-x: auto;
256
+ display: block;
257
+ }
258
+ }
259
+
260
+ .post-signature {
261
+ margin-left: 0px;
262
+ }
263
+
264
+ .posts .icon {
265
+ min-width: 0;
266
+ min-height: 0;
267
+ margin-top: 0px;
268
+
269
+ .avatar {
270
+ @include user-icon-style(23px, calc(23px * 0.6), 50%);
271
+ }
272
+ }
273
+
274
+ [component="post/reply-count"] {
275
+ margin-left: 0;
276
+ }
277
+
278
+ [component="post/replies"] {
279
+ margin-left: 1px;
280
+ }
281
+ }
282
+
283
+ .quick-reply {
284
+ position: relative;
285
+ .icon {
286
+ position: relative;
287
+ border-radius: 50%;
288
+ min-width: 46px;
289
+ min-height: 46px;
290
+ margin-top: 2px;
291
+
292
+ > a > .status {
293
+ position: absolute;
294
+ right: 12px;
295
+ font-size: 12px;
296
+ top: 0px;
297
+
298
+ @include media-breakpoint-up(md) {
299
+ top: 2px;
300
+ font-size: 16px;
301
+ }
302
+ }
303
+
304
+ .avatar {
305
+ margin-right: 15px;
306
+ }
307
+ }
308
+
309
+ .quickreply-message {
310
+ margin-left: 63px;
311
+ margin-bottom: 5px;
312
+
313
+ @include media-breakpoint-down(sm) {
314
+ margin-left: 0;
315
+
316
+ [component="topic/quickreply/text"] {
317
+ font-size: 16px;
318
+ padding: 10px;
319
+ }
320
+ }
321
+ }
322
+ }
323
+ }
324
+
325
+
326
+ .topic {
327
+ &.deleted {
328
+ opacity: 0.3;
329
+
330
+ .votes {
331
+ display: none;
332
+ }
333
+ }
334
+
335
+ .posts {
336
+ &.timeline {
337
+ @include timeline-style;
338
+ }
339
+
340
+ list-style-type: none;
341
+ padding: 0;
342
+
343
+ [component="post"] {
344
+ position: relative;
345
+ @include transition(0.75s ease-in-out border-color);
346
+
347
+ .edit-icon {
348
+ vertical-align: -2%;
349
+ }
350
+
351
+ &.deleted {
352
+ > .content {
353
+ opacity: 0.3;
354
+ }
355
+
356
+ .votes {
357
+ display: none;
358
+ }
359
+ }
360
+
361
+ &.highlight {
362
+ border-color: darken($post-highlight, 20%);
363
+ box-shadow: 0px 2px 2px -2px $post-highlight;
364
+
365
+ .bookmarked {
366
+ opacity: 1;
367
+ }
368
+ }
369
+ }
370
+
371
+ .content {
372
+ @include fix-lists;
373
+
374
+ > blockquote {
375
+ > blockquote {
376
+ > *:not(.blockquote) {
377
+ display: none;
378
+ }
379
+ }
380
+
381
+ > blockquote.uncollapsed {
382
+ > *:not(.blockquote) {
383
+ display: block;
384
+ }
385
+ }
386
+ }
387
+
388
+ iframe, .img-fluid {
389
+ max-width: 85%;
390
+ display: inline;
391
+ }
392
+
393
+ pre {
394
+ max-height: 350px;
395
+
396
+ code {
397
+ white-space: pre;
398
+ word-wrap: normal;
399
+ min-width: 100%;
400
+ }
401
+ }
402
+
403
+ @include media-breakpoint-down(sm) {
404
+ pre {
405
+ max-height: 250px;
406
+ }
407
+ }
408
+ }
409
+ }
410
+
411
+ .pagination-block {
412
+ position: fixed;
413
+ bottom: 0px;
414
+ right: 0px;
415
+ z-index: 100;
416
+ transition: opacity 250ms ease-in;
417
+ opacity: 0;
418
+
419
+ .pagination-text {
420
+ position: relative;
421
+ top: -3px;
422
+ font-weight: bolder;
423
+ }
424
+
425
+ &.ready {
426
+ opacity: 1;
427
+ }
428
+
429
+ .wrapper {
430
+ padding: 5px 0px 5px 0px;
431
+ .dropdown-toggle {
432
+ padding-left: 20px;
433
+ padding-right: 20px;
434
+ padding-top: 10px;
435
+ }
436
+ .dropdown-menu {
437
+ width: 475px;
438
+
439
+ li {
440
+ padding: 15px;
441
+ }
442
+ .post-content {
443
+ height: 350px;
444
+ overflow: hidden;
445
+ }
446
+ .scroller-container {
447
+ height: 300px;
448
+ border-right: 3px solid $gray-200;
449
+ margin-right: 3px;
450
+ cursor: pointer;
451
+ .scroller-thumb {
452
+ height: 40px;
453
+ position: relative;
454
+ right: -6px;
455
+ padding-right: 15px;
456
+ margin-right: -15px;
457
+
458
+
459
+ .scroller-thumb-icon {
460
+ width: 9px;
461
+ height: 40px;
462
+ background-color: $primary;
463
+ position: relative;
464
+ display: inline-block;
465
+ border-radius: 3px;
466
+ }
467
+ .thumb-text {
468
+ font-weight: bolder;
469
+ user-select: none;
470
+ position: relative;
471
+ top: -15px;
472
+ padding-right: 10px;
473
+ }
474
+ }
475
+ }
476
+ }
477
+ @include media-breakpoint-down(sm) {
478
+ .dropdown-menu {
479
+ width: 100%;
480
+ }
481
+ }
482
+ }
483
+ .progress-bar {
484
+ display:block;
485
+ z-index: -1;
486
+ position: absolute;
487
+ transition: width 50ms ease-in;
488
+ height: 100%;
489
+ }
490
+ }
491
+ @include media-breakpoint-down(sm) {
492
+ .pagination-block {
493
+ width: 100%;
494
+ }
495
+ }
496
+ }
497
+
498
+ .thread_active_users {
499
+ text-transform: initial;
500
+
501
+ a[data-uid] {
502
+ position: relative;
503
+
504
+ img, .user-icon {
505
+ @include user-icon-style(20px, 1rem, 50%);
506
+ vertical-align: middle;
507
+ margin: 0 7px;
508
+ }
509
+
510
+ &::after {
511
+ position: absolute;
512
+ z-index: 0;
513
+ opacity: 0;
514
+
515
+ font-family: "FontAwesome";
516
+ content: "\f11c";
517
+ padding: 4px 0.25em;
518
+ top: -36px;
519
+ left: 7px;
520
+
521
+ @include transition("opacity ease 250ms, top ease 250ms")
522
+ }
523
+
524
+ &.replying::after {
525
+ opacity: 1;
526
+ top: -50px;
527
+ animation: topic-reply-pulse 2s ease-in infinite;
528
+ }
529
+ }
530
+
531
+ .anonymous-box {
532
+ border: 1px solid #ddd;
533
+ width: 24px;
534
+ height: 24px;
535
+ position: relative;
536
+ text-align: center;
537
+ }
538
+ }
539
+
540
+ [component="post"] {
541
+ >.post-header [component="user/picture"], >.post-header [component="user/status"] {
542
+ opacity: 1;
543
+ }
544
+
545
+ >.post-header .icon:before {
546
+ opacity: 0;
547
+ }
548
+
549
+ &.selected {
550
+ background-color: initial;
551
+
552
+ >.post-header .icon:before {
553
+ border: 1px solid $success;
554
+ color: $white;
555
+ background-color: $success;
556
+ -webkit-transition: .2s ease-in-out all;
557
+ transition: .2s ease-in-out all;
558
+ content: fa-content($fa-var-check);
559
+ padding: 14px;
560
+ border-radius: 50%;
561
+ opacity: 1;
562
+ position: absolute;
563
+ display: inline-block;
564
+ font: normal normal normal 14px/1 FontAwesome;
565
+ }
566
+
567
+ >.post-header [component="user/picture"], >.post-header [component="user/status"] {
568
+ opacity: 0;
569
+ }
570
+ }
571
+ }