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
@@ -1,161 +1,161 @@
1
- .category {
2
-
3
- .topic-list {
4
- overflow: visible;
5
- }
6
-
7
- > ul {
8
- > li {
9
- list-style: none;
10
-
11
- &:not(.unread) {
12
- .lastpost {
13
- border-color: lighten($gray-600, 20%) !important;
14
- }
15
-
16
- h2 a {
17
- color: $text-muted;
18
- }
19
- }
20
- .info {
21
- margin-left: 62px;
22
- font-size: 0.75rem;
23
- }
24
- &.deleted {
25
- -moz-opacity: 0.30;
26
- opacity: 0.30;
27
- }
28
-
29
- &.scheduled {
30
- opacity: 0.7;
31
- }
32
-
33
- .select {
34
- position: relative;
35
- @include pointer;
36
-
37
- &:before {
38
- content: "";
39
- display: none;
40
- }
41
-
42
- .fa-check {
43
- padding: 14.5px; /* 14.5*2 + 15 + 2px border = 46px */
44
- border-radius: 50%;
45
- position: absolute;
46
- font-size: 15px;
47
- opacity: 0;
48
- top: 0px;
49
- left: 0px;
50
- border: 1px solid transparent;
51
- background: $white;
52
- width: 100%;
53
- height: 100%;
54
- padding: 14px;
55
-
56
- &:before {
57
- @include pointer;
58
- }
59
- }
60
-
61
- .avatar {
62
- opacity: 1;
63
- }
64
-
65
- .fa-check, .avatar {
66
- @include transition(.2s ease-in-out all);
67
- }
68
-
69
- float: left;
70
- }
71
-
72
- .avatar .select {
73
- .fa-check {
74
- border: 1px solid $success;
75
- color: $success;
76
- }
77
- }
78
-
79
- .avatar .select:hover {
80
- .avatar {
81
- opacity: 0;
82
- }
83
-
84
- .fa-check {
85
- border: 1px solid $success;
86
- color: $success;
87
- opacity: 1;
88
- }
89
- }
90
-
91
- &.selected {
92
- .select .avatar {
93
- opacity: 0;
94
- }
95
-
96
- .avatar .select {
97
- .fa-check {
98
- opacity: 1;
99
- background-color: $success;
100
- border: 1px solid $success;
101
- color: $white;
102
- @include transition(all .15s ease-in-out);
103
- }
104
-
105
- &:hover .fa-check {
106
- background-color: $success;
107
- border: 1px solid $success;
108
- color: $white;
109
- }
110
- }
111
- }
112
-
113
- .lastpost .user-icon {
114
- display: inline-block;
115
- @include user-icon-style(24px, 1.5rem, 50%);
116
- }
117
- }
118
-
119
- &:last-child li {
120
- border-bottom: 0;
121
- }
122
- }
123
-
124
- .unread {
125
- .title {
126
- font-weight: bold;
127
- }
128
- }
129
-
130
- .subcategory {
131
- margin-bottom: 10px;
132
- }
133
- }
134
-
135
- .category, .categories, .subcategory {
136
- > p {
137
- text-transform: uppercase;
138
- }
139
-
140
- .description {
141
- font-weight: normal;
142
- line-height: 1.2;
143
- margin-top: 5px;
144
- min-height: 25px
145
- }
146
-
147
- .title, .description, .category-children {
148
- margin-left: 62px;
149
- }
150
- }
151
-
152
- .categories-title {
153
- text-transform: uppercase;
154
- margin: 0 0 10px;
155
- font-size: 14px;
156
- font-weight: normal;
157
- line-height: 1.42857143;
158
- }
159
-
160
-
161
-
1
+ .category {
2
+
3
+ .topic-list {
4
+ overflow: visible;
5
+ }
6
+
7
+ > ul {
8
+ > li {
9
+ list-style: none;
10
+
11
+ &:not(.unread) {
12
+ .lastpost {
13
+ border-color: lighten($gray-600, 20%) !important;
14
+ }
15
+
16
+ h2 a {
17
+ color: $text-muted;
18
+ }
19
+ }
20
+ .info {
21
+ margin-left: 62px;
22
+ font-size: 0.75rem;
23
+ }
24
+ &.deleted {
25
+ -moz-opacity: 0.30;
26
+ opacity: 0.30;
27
+ }
28
+
29
+ &.scheduled {
30
+ opacity: 0.7;
31
+ }
32
+
33
+ .select {
34
+ position: relative;
35
+ @include pointer;
36
+
37
+ &:before {
38
+ content: "";
39
+ display: none;
40
+ }
41
+
42
+ .fa-check {
43
+ padding: 14.5px; /* 14.5*2 + 15 + 2px border = 46px */
44
+ border-radius: 50%;
45
+ position: absolute;
46
+ font-size: 15px;
47
+ opacity: 0;
48
+ top: 0px;
49
+ left: 0px;
50
+ border: 1px solid transparent;
51
+ background: $white;
52
+ width: 100%;
53
+ height: 100%;
54
+ padding: 14px;
55
+
56
+ &:before {
57
+ @include pointer;
58
+ }
59
+ }
60
+
61
+ .avatar {
62
+ opacity: 1;
63
+ }
64
+
65
+ .fa-check, .avatar {
66
+ @include transition(.2s ease-in-out all);
67
+ }
68
+
69
+ float: left;
70
+ }
71
+
72
+ .avatar .select {
73
+ .fa-check {
74
+ border: 1px solid $success;
75
+ color: $success;
76
+ }
77
+ }
78
+
79
+ .avatar .select:hover {
80
+ .avatar {
81
+ opacity: 0;
82
+ }
83
+
84
+ .fa-check {
85
+ border: 1px solid $success;
86
+ color: $success;
87
+ opacity: 1;
88
+ }
89
+ }
90
+
91
+ &.selected {
92
+ .select .avatar {
93
+ opacity: 0;
94
+ }
95
+
96
+ .avatar .select {
97
+ .fa-check {
98
+ opacity: 1;
99
+ background-color: $success;
100
+ border: 1px solid $success;
101
+ color: $white;
102
+ @include transition(all .15s ease-in-out);
103
+ }
104
+
105
+ &:hover .fa-check {
106
+ background-color: $success;
107
+ border: 1px solid $success;
108
+ color: $white;
109
+ }
110
+ }
111
+ }
112
+
113
+ .lastpost .user-icon {
114
+ display: inline-block;
115
+ @include user-icon-style(24px, 1.5rem, 50%);
116
+ }
117
+ }
118
+
119
+ &:last-child li {
120
+ border-bottom: 0;
121
+ }
122
+ }
123
+
124
+ .unread {
125
+ .title {
126
+ font-weight: bold;
127
+ }
128
+ }
129
+
130
+ .subcategory {
131
+ margin-bottom: 10px;
132
+ }
133
+ }
134
+
135
+ .category, .categories, .subcategory {
136
+ > p {
137
+ text-transform: uppercase;
138
+ }
139
+
140
+ .description {
141
+ font-weight: normal;
142
+ line-height: 1.2;
143
+ margin-top: 5px;
144
+ min-height: 25px
145
+ }
146
+
147
+ .title, .description, .category-children {
148
+ margin-left: 62px;
149
+ }
150
+ }
151
+
152
+ .categories-title {
153
+ text-transform: uppercase;
154
+ margin: 0 0 10px;
155
+ font-size: 14px;
156
+ font-weight: normal;
157
+ line-height: 1.42857143;
158
+ }
159
+
160
+
161
+
package/scss/chats.scss CHANGED
@@ -1,14 +1,14 @@
1
- body.page-user-chats {
2
- $calcHeight: calc(100vh - var(--panel-offset));
3
-
4
- > #panel {
5
- height: $calcHeight;
6
- > .container {
7
- height: 100%;
8
- }
9
- }
10
- #content.container {
11
- padding-top: 0 !important;
12
- padding-bottom: 0 !important;
13
- }
14
- }
1
+ body.page-user-chats {
2
+ $calcHeight: calc(100vh - var(--panel-offset));
3
+
4
+ > #panel {
5
+ height: $calcHeight;
6
+ > .container {
7
+ height: 100%;
8
+ }
9
+ }
10
+ #content.container {
11
+ padding-top: 0 !important;
12
+ padding-bottom: 0 !important;
13
+ }
14
+ }
package/scss/flags.scss CHANGED
@@ -1,43 +1,43 @@
1
- .page-flags {
2
- [component="flags/list"] {
3
- tr {
4
- @include pointer;
5
- }
6
- }
7
-
8
- #flags-daily-wrapper + .panel-footer {
9
- @include 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: $info;
41
- }
42
- }
1
+ .page-flags {
2
+ [component="flags/list"] {
3
+ tr {
4
+ @include pointer;
5
+ }
6
+ }
7
+
8
+ #flags-daily-wrapper + .panel-footer {
9
+ @include 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: $info;
41
+ }
42
+ }
43
43
  }
package/scss/footer.scss CHANGED
@@ -1,17 +1,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
- }
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
+ }
17
17
  }