nodebb-theme-persona 12.0.13 → 12.1.1

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 (124) hide show
  1. package/.eslintrc +2 -2
  2. package/README.md +14 -14
  3. package/languages/de/persona.json +3 -3
  4. package/languages/en-US/persona.json +2 -2
  5. package/languages/fr/persona.json +3 -3
  6. package/languages/pl/persona.json +3 -3
  7. package/languages/pt-PT/persona.json +2 -2
  8. package/languages/tr/persona.json +4 -4
  9. package/languages/zh-CN/persona.json +4 -4
  10. package/less/bootstrap-flipped.css +1550 -1550
  11. package/less/categories.less +235 -235
  12. package/less/flags.less +42 -42
  13. package/less/footer.less +17 -17
  14. package/less/header.less +3 -1
  15. package/less/ip-blacklist.less +6 -6
  16. package/less/keyframes.less +152 -152
  17. package/less/modules/composer-default.less +16 -16
  18. package/less/modules/cookie-consent.less +12 -12
  19. package/less/modules/morph.less +268 -268
  20. package/less/modules/necro-post.less +8 -8
  21. package/less/modules/nprogress.less +80 -80
  22. package/less/noscript.less +82 -82
  23. package/less/notifications.less +37 -37
  24. package/less/outgoing.less +8 -8
  25. package/less/persona.less +47 -47
  26. package/less/post-queue.less +19 -19
  27. package/less/register.less +75 -75
  28. package/less/rtl.less +132 -132
  29. package/less/tags.less +36 -36
  30. package/less/users.less +72 -72
  31. package/package.json +1 -1
  32. package/public/.eslintrc +2 -2
  33. package/public/modules/autohidingnavbar.js +220 -220
  34. package/public/settings.js +1 -1
  35. package/templates/account/blocks.tpl +34 -34
  36. package/templates/account/categories.tpl +28 -28
  37. package/templates/account/consent.tpl +68 -68
  38. package/templates/account/edit/email.tpl +30 -30
  39. package/templates/account/edit/password.tpl +31 -31
  40. package/templates/account/edit/username.tpl +29 -29
  41. package/templates/account/followers.tpl +16 -16
  42. package/templates/account/following.tpl +16 -16
  43. package/templates/account/groups.tpl +16 -16
  44. package/templates/account/info.tpl +230 -230
  45. package/templates/account/posts.tpl +18 -18
  46. package/templates/account/sessions.tpl +31 -31
  47. package/templates/account/topics.tpl +30 -30
  48. package/templates/account/uploads.tpl +42 -42
  49. package/templates/admin/plugins/persona.tpl +28 -28
  50. package/templates/alert.tpl +15 -15
  51. package/templates/categories.tpl +31 -31
  52. package/templates/category.tpl +62 -62
  53. package/templates/chats.tpl +16 -16
  54. package/templates/flags/list.tpl +71 -71
  55. package/templates/groups/details.tpl +272 -272
  56. package/templates/groups/list.tpl +46 -46
  57. package/templates/groups/members.tpl +8 -8
  58. package/templates/header.tpl +1 -0
  59. package/templates/ip-blacklist.tpl +55 -55
  60. package/templates/login.tpl +1 -1
  61. package/templates/notifications.tpl +64 -64
  62. package/templates/partials/acceptTos.tpl +8 -8
  63. package/templates/partials/account/category-item.tpl +22 -22
  64. package/templates/partials/buttons/newTopic.tpl +15 -15
  65. package/templates/partials/categories/item.tpl +46 -46
  66. package/templates/partials/categories/lastpost.tpl +26 -26
  67. package/templates/partials/categories/link.tpl +10 -10
  68. package/templates/partials/category/sort.tpl +14 -14
  69. package/templates/partials/category/subcategory.tpl +17 -17
  70. package/templates/partials/category/tags.tpl +4 -4
  71. package/templates/partials/category/tools.tpl +80 -80
  72. package/templates/partials/category/watch.tpl +22 -22
  73. package/templates/partials/category-filter-content.tpl +16 -16
  74. package/templates/partials/category-filter-right.tpl +2 -2
  75. package/templates/partials/category-filter.tpl +2 -2
  76. package/templates/partials/category-selector-right.tpl +2 -2
  77. package/templates/partials/category-selector.tpl +2 -2
  78. package/templates/partials/change_owner_modal.tpl +22 -22
  79. package/templates/partials/chats/messages.tpl +6 -6
  80. package/templates/partials/chats-menu.tpl +40 -40
  81. package/templates/partials/cookie-consent.tpl +4 -4
  82. package/templates/partials/delete_posts_modal.tpl +18 -18
  83. package/templates/partials/fork_thread_modal.tpl +21 -21
  84. package/templates/partials/groups/list.tpl +20 -20
  85. package/templates/partials/groups/memberlist.tpl +39 -39
  86. package/templates/partials/merge_topics_modal.tpl +57 -57
  87. package/templates/partials/modals/flag_modal.tpl +44 -44
  88. package/templates/partials/modals/manage_room.tpl +10 -10
  89. package/templates/partials/modals/manage_room_users.tpl +6 -6
  90. package/templates/partials/modals/post_history.tpl +36 -36
  91. package/templates/partials/modals/rename_room.tpl +3 -3
  92. package/templates/partials/modals/votes_modal.tpl +10 -10
  93. package/templates/partials/move_thread_modal.tpl +16 -16
  94. package/templates/partials/paginator.tpl +44 -44
  95. package/templates/partials/post_bar.tpl +20 -20
  96. package/templates/partials/posts_list.tpl +7 -7
  97. package/templates/partials/quick-search-results.tpl +30 -30
  98. package/templates/partials/slideout-menu.tpl +4 -4
  99. package/templates/partials/tags_list.tpl +4 -4
  100. package/templates/partials/thread_tools.tpl +7 -7
  101. package/templates/partials/topic/badge.tpl +4 -4
  102. package/templates/partials/topic/deleted-message.tpl +10 -10
  103. package/templates/partials/topic/navigation-post.tpl +11 -11
  104. package/templates/partials/topic/necro-post.tpl +2 -2
  105. package/templates/partials/topic/post.tpl +105 -105
  106. package/templates/partials/topic/quickreply.tpl +25 -25
  107. package/templates/partials/topic/reply-button.tpl +26 -26
  108. package/templates/partials/topic/selection-tooltip.tpl +2 -2
  109. package/templates/partials/topic/sort.tpl +9 -9
  110. package/templates/partials/topic/stats.tpl +11 -11
  111. package/templates/partials/topic/tags.tpl +4 -4
  112. package/templates/partials/topic/watch.tpl +20 -20
  113. package/templates/partials/users_list_menu.tpl +10 -10
  114. package/templates/popular.tpl +61 -61
  115. package/templates/recent.tpl +51 -51
  116. package/templates/reset.tpl +23 -23
  117. package/templates/reset_code.tpl +41 -41
  118. package/templates/tag.tpl +35 -35
  119. package/templates/tags.tpl +30 -30
  120. package/templates/top.tpl +61 -61
  121. package/templates/tos.tpl +4 -4
  122. package/templates/unread.tpl +49 -49
  123. package/templates/users.tpl +47 -47
  124. package/theme.json +6 -6
@@ -1,235 +1,235 @@
1
- .categories, .category > ul {
2
- list-style-type: none;
3
- padding: 0;
4
-
5
- > li {
6
-
7
- padding-bottom: 10px;
8
-
9
- @media (max-width: @screen-xs-max) {
10
- border-top: 1px solid @gray-lighter;
11
- &:last-child {
12
- border-bottom: 1px solid @gray-lighter;
13
- };
14
- }
15
-
16
- min-height: 53px;
17
-
18
- .content {
19
- padding: 10px 15px;
20
-
21
- .icon {
22
- font-size: 17px;
23
- line-height: 17px;
24
- padding: 13px;
25
- border-radius: 50%;
26
- margin-right: 15px;
27
- min-width: 46px;
28
- min-height: 46px;
29
- margin-top: 2px;
30
- }
31
-
32
- img, .user-icon {
33
- .user-icon-style(46px, 2.4rem, 50%);
34
- }
35
-
36
- h2 {
37
- display: block;
38
- word-wrap: break-word;
39
- overflow: hidden;
40
- font-size: 18px;
41
- line-height: 22px;
42
- margin: 0;
43
- margin-left: 62px;
44
-
45
- strong {
46
- color: @gray-dark;
47
- }
48
- }
49
- }
50
-
51
- @media (max-width: 500px) {
52
- .teaser {
53
- position: absolute;
54
- right: 4px;
55
- }
56
- }
57
-
58
- .mobile-stat {
59
- padding-left: 0px;
60
- padding-top: 10px;
61
- font-size: 16px;
62
- }
63
-
64
- .card {
65
- border-left: 4px solid #ccc;
66
- text-align: left;
67
- margin-top: 10px;
68
- overflow: hidden;
69
- height: 53px;
70
- font-size: 12px;
71
- line-height: 14px;
72
-
73
- > * {
74
- padding-left: 20px;
75
- }
76
-
77
- img {
78
- border-radius: 50%;
79
- width: 24px;
80
- height: 24px;
81
- }
82
-
83
- p {
84
- margin: 0;
85
- .emoji {
86
- max-width: 12px;
87
- max-height: 12px;
88
- }
89
- }
90
-
91
- .post-content {
92
- overflow: hidden;
93
- blockquote {
94
- display: none;
95
- }
96
- }
97
-
98
- .user-icon {
99
- display: inline-block;
100
- .user-icon-style(24px, 1.5rem, 50%);
101
- }
102
- }
103
-
104
- .category-children {
105
- .category-children-item {
106
- margin-right: 10px;
107
- margin-bottom: 1px;
108
- }
109
- .icon {
110
- min-width: 23px;
111
- min-height: 23px;
112
- font-size: 10px;
113
- line-height: 12px;
114
- padding: 5px;
115
- margin-right: 5px;
116
- }
117
- }
118
-
119
- [component="topic/header"] > i[component="topic/pinned"] {
120
- color: @brand-danger;
121
- }
122
- }
123
-
124
- &.ui-sortable > li .content h2 {
125
- > [component="topic/pinned"] {
126
- &:after {
127
- position: absolute;
128
- top: 0.5rem;
129
- left: calc(62px + 2rem);
130
- width: 4rem;
131
- height: 3rem;
132
- background: rgba(0, 0, 0, 0.5);
133
- color: rgba(255, 255, 255, 0.9);
134
- font-family: "FontAwesome";
135
- content: "\f07d \f255";
136
- text-align: center;
137
- font-size: 1.5rem;
138
- padding-top: 0.66rem;
139
- cursor: move;
140
- opacity: 0;
141
-
142
- -webkit-transition: opacity 100ms linear;
143
- -moz-transition: opacity 100ms linear;
144
- -ms-transition: opacity 100ms linear;
145
- -o-transition: opacity 100ms linear;
146
- transition: opacity 100ms linear;
147
- }
148
- }
149
-
150
- &:hover {
151
- > [component="topic/pinned"] {
152
- &:after {
153
- opacity: 1;
154
- }
155
- }
156
- }
157
- }
158
- }
159
-
160
-
161
- .category-header {
162
- width: 100%;
163
- height: 110px;
164
- text-align: center;
165
- margin: 0;
166
- padding-top:25px;
167
- .pointer;
168
- margin-bottom: 10px;
169
- overflow:hidden;
170
-
171
- &:hover {
172
- filter: brightness(115%);
173
- -webkit-filter: brightness(115%);
174
- }
175
-
176
- .category-box {
177
- height:90px;
178
-
179
- .post-preview {
180
- padding-left:10px;
181
- padding-right:10px;
182
- text-align:left;
183
- img {
184
- width:60px;
185
- height:60px;
186
- padding-right:5px;
187
- }
188
-
189
- p {
190
- overflow: hidden;
191
- text-overflow:ellipsis;
192
- height:60px;
193
- }
194
- }
195
- }
196
- }
197
-
198
- .category-header-image-auto {
199
- -webkit-background-size: auto!important;
200
- -moz-background-size: auto!important;
201
- -o-background-size: auto!important;
202
- background-size: auto!important;
203
- background-position: 0% 0% !important;
204
- }
205
-
206
- .category-header-image-cover {
207
- -webkit-background-size: cover!important;
208
- -moz-background-size: cover!important;
209
- -o-background-size: cover!important;
210
- background-size: cover!important;
211
- background-position: center!important;
212
- }
213
-
214
- .category-header-image-contain {
215
- -webkit-background-size: contain!important;
216
- -moz-background-size: contain!important;
217
- -o-background-size: contain!important;
218
- background-size: contain!important;
219
- background-position: center!important;
220
- }
221
-
222
-
223
- .stats {
224
- font-size: 20px;
225
- text-align: center;
226
- margin-top: 10px;
227
- line-height: 22px;
228
-
229
- small {
230
- text-transform: uppercase;
231
- color: @gray-light;
232
- font-weight: 300;
233
- font-size: 12px;
234
- }
235
- }
1
+ .categories, .category > ul {
2
+ list-style-type: none;
3
+ padding: 0;
4
+
5
+ > li {
6
+
7
+ padding-bottom: 10px;
8
+
9
+ @media (max-width: @screen-xs-max) {
10
+ border-top: 1px solid @gray-lighter;
11
+ &:last-child {
12
+ border-bottom: 1px solid @gray-lighter;
13
+ };
14
+ }
15
+
16
+ min-height: 53px;
17
+
18
+ .content {
19
+ padding: 10px 15px;
20
+
21
+ .icon {
22
+ font-size: 17px;
23
+ line-height: 17px;
24
+ padding: 13px;
25
+ border-radius: 50%;
26
+ margin-right: 15px;
27
+ min-width: 46px;
28
+ min-height: 46px;
29
+ margin-top: 2px;
30
+ }
31
+
32
+ img, .user-icon {
33
+ .user-icon-style(46px, 2.4rem, 50%);
34
+ }
35
+
36
+ h2 {
37
+ display: block;
38
+ word-wrap: break-word;
39
+ overflow: hidden;
40
+ font-size: 18px;
41
+ line-height: 22px;
42
+ margin: 0;
43
+ margin-left: 62px;
44
+
45
+ strong {
46
+ color: @gray-dark;
47
+ }
48
+ }
49
+ }
50
+
51
+ @media (max-width: 500px) {
52
+ .teaser {
53
+ position: absolute;
54
+ right: 4px;
55
+ }
56
+ }
57
+
58
+ .mobile-stat {
59
+ padding-left: 0px;
60
+ padding-top: 10px;
61
+ font-size: 16px;
62
+ }
63
+
64
+ .card {
65
+ border-left: 4px solid #ccc;
66
+ text-align: left;
67
+ margin-top: 10px;
68
+ overflow: hidden;
69
+ height: 53px;
70
+ font-size: 12px;
71
+ line-height: 14px;
72
+
73
+ > * {
74
+ padding-left: 20px;
75
+ }
76
+
77
+ img {
78
+ border-radius: 50%;
79
+ width: 24px;
80
+ height: 24px;
81
+ }
82
+
83
+ p {
84
+ margin: 0;
85
+ .emoji {
86
+ max-width: 12px;
87
+ max-height: 12px;
88
+ }
89
+ }
90
+
91
+ .post-content {
92
+ overflow: hidden;
93
+ blockquote {
94
+ display: none;
95
+ }
96
+ }
97
+
98
+ .user-icon {
99
+ display: inline-block;
100
+ .user-icon-style(24px, 1.5rem, 50%);
101
+ }
102
+ }
103
+
104
+ .category-children {
105
+ .category-children-item {
106
+ margin-right: 10px;
107
+ margin-bottom: 1px;
108
+ }
109
+ .icon {
110
+ min-width: 23px;
111
+ min-height: 23px;
112
+ font-size: 10px;
113
+ line-height: 12px;
114
+ padding: 5px;
115
+ margin-right: 5px;
116
+ }
117
+ }
118
+
119
+ [component="topic/header"] > i[component="topic/pinned"] {
120
+ color: @brand-danger;
121
+ }
122
+ }
123
+
124
+ &.ui-sortable > li .content h2 {
125
+ > [component="topic/pinned"] {
126
+ &:after {
127
+ position: absolute;
128
+ top: 0.5rem;
129
+ left: calc(62px + 2rem);
130
+ width: 4rem;
131
+ height: 3rem;
132
+ background: rgba(0, 0, 0, 0.5);
133
+ color: rgba(255, 255, 255, 0.9);
134
+ font-family: "FontAwesome";
135
+ content: "\f07d \f255";
136
+ text-align: center;
137
+ font-size: 1.5rem;
138
+ padding-top: 0.66rem;
139
+ cursor: move;
140
+ opacity: 0;
141
+
142
+ -webkit-transition: opacity 100ms linear;
143
+ -moz-transition: opacity 100ms linear;
144
+ -ms-transition: opacity 100ms linear;
145
+ -o-transition: opacity 100ms linear;
146
+ transition: opacity 100ms linear;
147
+ }
148
+ }
149
+
150
+ &:hover {
151
+ > [component="topic/pinned"] {
152
+ &:after {
153
+ opacity: 1;
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }
159
+
160
+
161
+ .category-header {
162
+ width: 100%;
163
+ height: 110px;
164
+ text-align: center;
165
+ margin: 0;
166
+ padding-top:25px;
167
+ .pointer;
168
+ margin-bottom: 10px;
169
+ overflow:hidden;
170
+
171
+ &:hover {
172
+ filter: brightness(115%);
173
+ -webkit-filter: brightness(115%);
174
+ }
175
+
176
+ .category-box {
177
+ height:90px;
178
+
179
+ .post-preview {
180
+ padding-left:10px;
181
+ padding-right:10px;
182
+ text-align:left;
183
+ img {
184
+ width:60px;
185
+ height:60px;
186
+ padding-right:5px;
187
+ }
188
+
189
+ p {
190
+ overflow: hidden;
191
+ text-overflow:ellipsis;
192
+ height:60px;
193
+ }
194
+ }
195
+ }
196
+ }
197
+
198
+ .category-header-image-auto {
199
+ -webkit-background-size: auto!important;
200
+ -moz-background-size: auto!important;
201
+ -o-background-size: auto!important;
202
+ background-size: auto!important;
203
+ background-position: 0% 0% !important;
204
+ }
205
+
206
+ .category-header-image-cover {
207
+ -webkit-background-size: cover!important;
208
+ -moz-background-size: cover!important;
209
+ -o-background-size: cover!important;
210
+ background-size: cover!important;
211
+ background-position: center!important;
212
+ }
213
+
214
+ .category-header-image-contain {
215
+ -webkit-background-size: contain!important;
216
+ -moz-background-size: contain!important;
217
+ -o-background-size: contain!important;
218
+ background-size: contain!important;
219
+ background-position: center!important;
220
+ }
221
+
222
+
223
+ .stats {
224
+ font-size: 20px;
225
+ text-align: center;
226
+ margin-top: 10px;
227
+ line-height: 22px;
228
+
229
+ small {
230
+ text-transform: uppercase;
231
+ color: @gray-light;
232
+ font-weight: 300;
233
+ font-size: 12px;
234
+ }
235
+ }
package/less/flags.less CHANGED
@@ -1,43 +1,43 @@
1
- .page-flags {
2
- [component="flags/list"] {
3
- tr {
4
- .pointer;
5
- }
6
- }
7
-
8
- #flags-daily-wrapper + .panel-footer {
9
- .pointer;
10
- }
11
-
12
- [component="flag/reports"] {
13
- blockquote {
14
- margin: 0;
15
- margin-top: 1rem;
16
- overflow-wrap: break-word;
17
- }
18
- }
19
-
20
- [component="flag/notes"] {
21
- .media {
22
- padding: 1rem;
23
- }
24
-
25
- .media-right {
26
- visibility: hidden;
27
-
28
- i {
29
- padding: 1rem;
30
- }
31
- }
32
-
33
- &:hover {
34
- .media-right {
35
- visibility: visible;
36
- }
37
- }
38
-
39
- .editing {
40
- background-color: @state-info-bg;
41
- }
42
- }
1
+ .page-flags {
2
+ [component="flags/list"] {
3
+ tr {
4
+ .pointer;
5
+ }
6
+ }
7
+
8
+ #flags-daily-wrapper + .panel-footer {
9
+ .pointer;
10
+ }
11
+
12
+ [component="flag/reports"] {
13
+ blockquote {
14
+ margin: 0;
15
+ margin-top: 1rem;
16
+ overflow-wrap: break-word;
17
+ }
18
+ }
19
+
20
+ [component="flag/notes"] {
21
+ .media {
22
+ padding: 1rem;
23
+ }
24
+
25
+ .media-right {
26
+ visibility: hidden;
27
+
28
+ i {
29
+ padding: 1rem;
30
+ }
31
+ }
32
+
33
+ &:hover {
34
+ .media-right {
35
+ visibility: visible;
36
+ }
37
+ }
38
+
39
+ .editing {
40
+ background-color: @state-info-bg;
41
+ }
42
+ }
43
43
  }
package/less/footer.less CHANGED
@@ -1,18 +1,18 @@
1
- .footer {
2
- text-align: center;
3
- -webkit-transition: opacity 200ms linear;
4
- -moz-transition: opacity 200ms linear;
5
- -ms-transition: opacity 200ms linear;
6
- -o-transition: opacity 200ms linear;
7
- transition: opacity 200ms linear;
8
-
9
- .copyright {
10
- padding-bottom: 10px;
11
- }
12
-
13
- &.ajaxifying {
14
- -moz-opacity: 0.00;
15
- opacity: 0.00;
16
- -ms-filter:~"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
17
- }
1
+ .footer {
2
+ text-align: center;
3
+ -webkit-transition: opacity 200ms linear;
4
+ -moz-transition: opacity 200ms linear;
5
+ -ms-transition: opacity 200ms linear;
6
+ -o-transition: opacity 200ms linear;
7
+ transition: opacity 200ms linear;
8
+
9
+ .copyright {
10
+ padding-bottom: 10px;
11
+ }
12
+
13
+ &.ajaxifying {
14
+ -moz-opacity: 0.00;
15
+ opacity: 0.00;
16
+ -ms-filter:~"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
17
+ }
18
18
  }
package/less/header.less CHANGED
@@ -205,7 +205,9 @@
205
205
 
206
206
  .notif-dropdown-link {
207
207
  border-top: 1px solid rgba(163, 163, 163, 0.5);
208
-
208
+ .btn-group-justified {
209
+ table-layout: auto;
210
+ }
209
211
  a {
210
212
  text-align: center;
211
213
  padding: 0.5em 0.5em;
@@ -1,7 +1,7 @@
1
- #blacklist-rules {
2
- width: 100%;
3
- height: 357px;
4
- display: block;
5
- border: 1px solid #eee;
6
- padding: 5px 10px;
1
+ #blacklist-rules {
2
+ width: 100%;
3
+ height: 357px;
4
+ display: block;
5
+ border: 1px solid #eee;
6
+ padding: 5px 10px;
7
7
  }