nodebb-theme-persona 12.1.4 → 13.0.0

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 (247) hide show
  1. package/README.md +14 -14
  2. package/package.json +2 -2
  3. package/public/persona.js +11 -23
  4. package/{less/account.less → scss/account.scss} +13 -97
  5. package/{less/categories.less → scss/categories.scss} +10 -40
  6. package/{less/category.less → scss/category.scss} +26 -75
  7. package/{less/chats.less → scss/chats.scss} +35 -88
  8. package/{less/flags.less → scss/flags.scss} +3 -3
  9. package/{less/footer.less → scss/footer.scss} +0 -1
  10. package/{less/groups.less → scss/groups.scss} +14 -38
  11. package/{less/header.less → scss/header.scss} +63 -139
  12. package/{less/helpers.less → scss/helpers.scss} +0 -0
  13. package/{less/keyframes.less → scss/keyframes.scss} +0 -0
  14. package/{less/mixins.less → scss/mixins.scss} +17 -59
  15. package/{less/mobile.less → scss/mobile.scss} +13 -18
  16. package/{less/modules/alerts.less → scss/modules/alerts.scss} +21 -21
  17. package/{less/modules/composer-default.less → scss/modules/composer-default.scss} +2 -2
  18. package/{less/modules/cookie-consent.less → scss/modules/cookie-consent.scss} +1 -1
  19. package/{less/modules/fab.less → scss/modules/fab.scss} +2 -2
  20. package/{less/modules/morph.less → scss/modules/morph.scss} +1 -1
  21. package/{less/modules/necro-post.less → scss/modules/necro-post.scss} +0 -0
  22. package/scss/modules/nprogress.scss +80 -0
  23. package/{less/modules/taskbar.less → scss/modules/taskbar.scss} +11 -10
  24. package/{less/modules/usercard.less → scss/modules/usercard.scss} +0 -0
  25. package/{less/noscript.less → scss/noscript.scss} +5 -7
  26. package/{less/outgoing.less → scss/outgoing.scss} +0 -0
  27. package/scss/overrides.scss +44 -0
  28. package/{less/persona.less → scss/persona.scss} +1 -13
  29. package/{less/posts_list.less → scss/posts_list.scss} +11 -14
  30. package/{less/register.less → scss/register.scss} +2 -7
  31. package/scss/search.scss +39 -0
  32. package/{less/style.less → scss/style.scss} +23 -47
  33. package/scss/tags.scss +11 -0
  34. package/{less/topic.less → scss/topic.scss} +53 -90
  35. package/scss/topics_list.scss +17 -0
  36. package/{less/variables.less → scss/variables.scss} +3 -3
  37. package/templates/account/blocks.tpl +24 -26
  38. package/templates/account/categories.tpl +6 -6
  39. package/templates/account/consent.tpl +10 -10
  40. package/templates/account/edit/password.tpl +8 -10
  41. package/templates/account/edit/username.tpl +6 -10
  42. package/templates/account/edit.tpl +23 -23
  43. package/templates/account/followers.tpl +3 -3
  44. package/templates/account/following.tpl +3 -3
  45. package/templates/account/groups.tpl +2 -2
  46. package/templates/account/info.tpl +67 -72
  47. package/templates/account/posts.tpl +1 -1
  48. package/templates/account/profile.tpl +20 -18
  49. package/templates/account/sessions.tpl +3 -3
  50. package/templates/account/settings.tpl +93 -81
  51. package/templates/account/topics.tpl +5 -5
  52. package/templates/account/uploads.tpl +2 -2
  53. package/templates/admin/plugins/persona.tpl +3 -3
  54. package/templates/category.tpl +15 -14
  55. package/templates/chat.tpl +16 -9
  56. package/templates/chats.tpl +5 -3
  57. package/templates/flags/detail.tpl +86 -80
  58. package/templates/flags/list.tpl +4 -4
  59. package/templates/footer.tpl +1 -1
  60. package/templates/groups/details.tpl +23 -218
  61. package/templates/groups/list.tpl +11 -9
  62. package/templates/groups/members.tpl +1 -4
  63. package/templates/header.tpl +10 -4
  64. package/templates/ip-blacklist.tpl +22 -20
  65. package/templates/login.tpl +17 -14
  66. package/templates/modules/taskbar.tpl +1 -1
  67. package/templates/modules/usercard.tpl +2 -2
  68. package/templates/notifications.tpl +40 -38
  69. package/templates/partials/acceptTos.tpl +8 -8
  70. package/templates/partials/account/category-item.tpl +6 -5
  71. package/templates/partials/account/header.tpl +2 -2
  72. package/templates/partials/account/menu.tpl +37 -37
  73. package/templates/partials/breadcrumbs.tpl +1 -1
  74. package/templates/partials/buttons/newTopic.tpl +10 -3
  75. package/templates/partials/categories/item.tpl +24 -10
  76. package/templates/partials/categories/lastpost.tpl +3 -3
  77. package/templates/partials/categories/link.tpl +10 -10
  78. package/templates/partials/category/sort.tpl +7 -7
  79. package/templates/partials/category/subcategory.tpl +3 -3
  80. package/templates/partials/category/tags.tpl +3 -5
  81. package/templates/partials/category/tools.tpl +16 -16
  82. package/templates/partials/category/watch.tpl +8 -10
  83. package/templates/partials/category-filter-content.tpl +17 -5
  84. package/templates/partials/category-filter-right.tpl +1 -1
  85. package/templates/partials/category-selector-content.tpl +17 -4
  86. package/templates/partials/category-selector-right.tpl +1 -1
  87. package/templates/partials/chats/message-window.tpl +10 -8
  88. package/templates/partials/chats/message.tpl +11 -11
  89. package/templates/partials/chats/options.tpl +8 -8
  90. package/templates/partials/chats/recent_room.tpl +1 -1
  91. package/templates/partials/chats/system-message.tpl +1 -1
  92. package/templates/partials/chats/user.tpl +1 -1
  93. package/templates/partials/chats-menu.tpl +11 -11
  94. package/templates/partials/cookie-consent.tpl +1 -1
  95. package/templates/partials/flags/filters.tpl +34 -32
  96. package/templates/partials/groups/admin.tpl +195 -0
  97. package/templates/partials/groups/badge.tpl +1 -0
  98. package/templates/partials/groups/list.tpl +6 -6
  99. package/templates/partials/groups/memberlist.tpl +11 -10
  100. package/templates/partials/menu.tpl +149 -156
  101. package/templates/partials/notifications_list.tpl +2 -2
  102. package/templates/partials/paginator.tpl +21 -21
  103. package/templates/partials/post_bar.tpl +4 -4
  104. package/templates/partials/posts_list.tpl +1 -1
  105. package/templates/partials/posts_list_item.tpl +2 -2
  106. package/templates/partials/quick-search-results.tpl +14 -11
  107. package/templates/partials/slideout-menu.tpl +1 -1
  108. package/templates/partials/tags_list.tpl +3 -3
  109. package/templates/partials/thread_tools.tpl +4 -4
  110. package/templates/partials/toast.tpl +14 -0
  111. package/templates/partials/topic/deleted-message.tpl +2 -2
  112. package/templates/partials/topic/event.tpl +26 -0
  113. package/templates/partials/topic/navigation-post.tpl +3 -3
  114. package/templates/partials/topic/navigator.tpl +7 -7
  115. package/templates/partials/topic/necro-post.tpl +1 -1
  116. package/templates/partials/topic/post-menu-list.tpl +26 -23
  117. package/templates/partials/topic/post-menu.tpl +3 -3
  118. package/templates/partials/topic/post.tpl +49 -44
  119. package/templates/partials/topic/quickreply.tpl +3 -3
  120. package/templates/partials/topic/reply-button.tpl +3 -3
  121. package/templates/partials/topic/sort.tpl +5 -5
  122. package/templates/partials/topic/tag.tpl +1 -0
  123. package/templates/partials/topic/tags.tpl +3 -5
  124. package/templates/partials/topic/topic-menu-list.tpl +18 -16
  125. package/templates/partials/topic/watch.tpl +11 -10
  126. package/templates/partials/topic-filters.tpl +12 -0
  127. package/templates/partials/topic-terms.tpl +12 -0
  128. package/templates/partials/topics_list.tpl +27 -25
  129. package/templates/partials/users_list.tpl +22 -10
  130. package/templates/partials/users_list_menu.tpl +19 -9
  131. package/templates/popular.tpl +9 -35
  132. package/templates/post-queue.tpl +42 -35
  133. package/templates/recent.tpl +10 -24
  134. package/templates/register.tpl +17 -17
  135. package/templates/registerComplete.tpl +14 -10
  136. package/templates/reset.tpl +7 -5
  137. package/templates/reset_code.tpl +9 -9
  138. package/templates/search.tpl +100 -87
  139. package/templates/tag.tpl +8 -10
  140. package/templates/tags.tpl +5 -3
  141. package/templates/top.tpl +9 -35
  142. package/templates/topic.tpl +13 -11
  143. package/templates/tos.tpl +4 -4
  144. package/templates/unread.tpl +10 -22
  145. package/templates/users.tpl +7 -20
  146. package/theme.json +6 -6
  147. package/theme.scss +1 -0
  148. package/less/bootstrap/.csscomb.json +0 -297
  149. package/less/bootstrap/.csslintrc +0 -19
  150. package/less/bootstrap/alerts.less +0 -73
  151. package/less/bootstrap/badges.less +0 -66
  152. package/less/bootstrap/bootstrap.less +0 -50
  153. package/less/bootstrap/breadcrumbs.less +0 -26
  154. package/less/bootstrap/button-groups.less +0 -243
  155. package/less/bootstrap/buttons.less +0 -160
  156. package/less/bootstrap/carousel.less +0 -269
  157. package/less/bootstrap/close.less +0 -34
  158. package/less/bootstrap/code.less +0 -69
  159. package/less/bootstrap/component-animations.less +0 -33
  160. package/less/bootstrap/dropdowns.less +0 -214
  161. package/less/bootstrap/forms.less +0 -574
  162. package/less/bootstrap/glyphicons.less +0 -305
  163. package/less/bootstrap/grid.less +0 -84
  164. package/less/bootstrap/input-groups.less +0 -166
  165. package/less/bootstrap/jumbotron.less +0 -50
  166. package/less/bootstrap/labels.less +0 -64
  167. package/less/bootstrap/list-group.less +0 -124
  168. package/less/bootstrap/media.less +0 -61
  169. package/less/bootstrap/mixins/alerts.less +0 -14
  170. package/less/bootstrap/mixins/background-variant.less +0 -8
  171. package/less/bootstrap/mixins/border-radius.less +0 -18
  172. package/less/bootstrap/mixins/buttons.less +0 -52
  173. package/less/bootstrap/mixins/center-block.less +0 -7
  174. package/less/bootstrap/mixins/clearfix.less +0 -22
  175. package/less/bootstrap/mixins/forms.less +0 -85
  176. package/less/bootstrap/mixins/gradients.less +0 -59
  177. package/less/bootstrap/mixins/grid-framework.less +0 -91
  178. package/less/bootstrap/mixins/grid.less +0 -122
  179. package/less/bootstrap/mixins/hide-text.less +0 -21
  180. package/less/bootstrap/mixins/image.less +0 -33
  181. package/less/bootstrap/mixins/labels.less +0 -12
  182. package/less/bootstrap/mixins/list-group.less +0 -29
  183. package/less/bootstrap/mixins/nav-divider.less +0 -10
  184. package/less/bootstrap/mixins/nav-vertical-align.less +0 -9
  185. package/less/bootstrap/mixins/opacity.less +0 -8
  186. package/less/bootstrap/mixins/pagination.less +0 -23
  187. package/less/bootstrap/mixins/panels.less +0 -24
  188. package/less/bootstrap/mixins/progress-bar.less +0 -10
  189. package/less/bootstrap/mixins/reset-filter.less +0 -8
  190. package/less/bootstrap/mixins/resize.less +0 -6
  191. package/less/bootstrap/mixins/responsive-visibility.less +0 -15
  192. package/less/bootstrap/mixins/size.less +0 -10
  193. package/less/bootstrap/mixins/tab-focus.less +0 -9
  194. package/less/bootstrap/mixins/table-row.less +0 -28
  195. package/less/bootstrap/mixins/text-emphasis.less +0 -8
  196. package/less/bootstrap/mixins/text-overflow.less +0 -8
  197. package/less/bootstrap/mixins/vendor-prefixes.less +0 -227
  198. package/less/bootstrap/mixins.less +0 -39
  199. package/less/bootstrap/modals.less +0 -150
  200. package/less/bootstrap/navbar.less +0 -660
  201. package/less/bootstrap/navs.less +0 -242
  202. package/less/bootstrap/normalize.less +0 -427
  203. package/less/bootstrap/pager.less +0 -54
  204. package/less/bootstrap/pagination.less +0 -88
  205. package/less/bootstrap/panels.less +0 -265
  206. package/less/bootstrap/popovers.less +0 -135
  207. package/less/bootstrap/print.less +0 -107
  208. package/less/bootstrap/progress-bars.less +0 -87
  209. package/less/bootstrap/responsive-embed.less +0 -35
  210. package/less/bootstrap/responsive-utilities.less +0 -194
  211. package/less/bootstrap/scaffolding.less +0 -162
  212. package/less/bootstrap/tables.less +0 -234
  213. package/less/bootstrap/theme.less +0 -273
  214. package/less/bootstrap/thumbnails.less +0 -36
  215. package/less/bootstrap/tooltip.less +0 -102
  216. package/less/bootstrap/type.less +0 -302
  217. package/less/bootstrap/utilities.less +0 -55
  218. package/less/bootstrap/variables.less +0 -861
  219. package/less/bootstrap/wells.less +0 -29
  220. package/less/bootstrap-flipped.css +0 -1550
  221. package/less/ip-blacklist.less +0 -7
  222. package/less/modules/bottom-sheet.less +0 -60
  223. package/less/modules/nprogress.less +0 -80
  224. package/less/notifications.less +0 -38
  225. package/less/post-queue.less +0 -19
  226. package/less/rtl.less +0 -132
  227. package/less/search.less +0 -96
  228. package/less/tags.less +0 -37
  229. package/less/topics_list.less +0 -16
  230. package/less/users.less +0 -73
  231. package/templates/alert.tpl +0 -15
  232. package/templates/partials/change_owner_modal.tpl +0 -22
  233. package/templates/partials/delete_posts_modal.tpl +0 -19
  234. package/templates/partials/fork_thread_modal.tpl +0 -22
  235. package/templates/partials/merge_topics_modal.tpl +0 -58
  236. package/templates/partials/modals/change_picture_modal.tpl +0 -73
  237. package/templates/partials/modals/flag_modal.tpl +0 -45
  238. package/templates/partials/modals/manage_room.tpl +0 -11
  239. package/templates/partials/modals/manage_room_users.tpl +0 -7
  240. package/templates/partials/modals/post_history.tpl +0 -36
  241. package/templates/partials/modals/rename_room.tpl +0 -4
  242. package/templates/partials/modals/upload_file_modal.tpl +0 -44
  243. package/templates/partials/modals/upload_picture_from_url_modal.tpl +0 -17
  244. package/templates/partials/modals/votes_modal.tpl +0 -10
  245. package/templates/partials/move_thread_modal.tpl +0 -17
  246. package/templates/partials/topic/badge.tpl +0 -5
  247. package/theme.less +0 -2
@@ -1,7 +1,8 @@
1
1
  // Make chats page edge-to-edge
2
2
  .page-user-chats {
3
3
  #content.container {
4
- width: auto;
4
+ @include make-container();
5
+ max-width: unset;
5
6
  padding: 0;
6
7
  }
7
8
 
@@ -22,7 +23,7 @@
22
23
  .chats-full, .chat-modal {
23
24
  display: flex;
24
25
  flex-wrap: nowrap;
25
- height: calc(100vh - var(--panel-offset));
26
+ height: calc(100vh - var(--panel-offset) - $spacer);
26
27
 
27
28
  [component="chat/nav-wrapper"] {
28
29
  flex: 1;
@@ -32,7 +33,7 @@
32
33
  flex: 1;
33
34
  overflow-y: auto;
34
35
  margin-bottom: 0;
35
- height: ~"calc(100% - 5em)";
36
+ height: calc(100% - 5em);
36
37
  }
37
38
 
38
39
  .chat-search {
@@ -41,47 +42,11 @@
41
42
  width: 100%;
42
43
  }
43
44
  }
44
-
45
- [component="chat/search/list"] {
46
- padding: 0;
47
- overflow-x: hidden;
48
- overflow-y: auto;
49
-
50
- li {
51
- position: relative;
52
- clear: both;
53
- list-style-type: none;
54
- padding: .5em;
55
- height: 70px;
56
- cursor: pointer;
57
- border-left: 1px solid;
58
- border-right: 1px solid;
59
- border-bottom: 1px solid;
60
- border-color: @gray-lighter;
61
-
62
- i {
63
- position: relative;
64
- left: -30px;
65
- font-size: 20px;
66
- top: -20px;
67
- }
68
-
69
- img, .user-icon {
70
- .user-icon-style(50px, 2.4rem, 50%);
71
- margin-top: 4px;
72
- margin-right: 13px;
73
- margin-left: .5em;
74
- }
75
- }
76
- }
77
45
  }
78
46
 
79
47
  [component="chat/main-wrapper"] {
80
48
  flex: 3;
81
49
  padding-bottom: 15px;
82
- .alert {
83
- margin: 1em;
84
- }
85
50
  }
86
51
 
87
52
  [component="chat/messages"] {
@@ -95,8 +60,7 @@
95
60
  }
96
61
 
97
62
  [component="chat/header"] {
98
- padding: @panel-heading-padding;
99
- border-bottom: 1px solid @modal-header-border-color;
63
+ border-bottom: 1px solid $gray-200;
100
64
 
101
65
  span {
102
66
  font-weight: 500;
@@ -133,7 +97,7 @@
133
97
  flex: 1;
134
98
  box-shadow: none;
135
99
  border: 0;
136
- border: 1px solid @gray-lighter;
100
+ border: 1px solid $gray-200;
137
101
  border-radius: 0;
138
102
  }
139
103
 
@@ -147,7 +111,7 @@
147
111
  right: 5.25em;
148
112
  z-index: 2;
149
113
  bottom: 0;
150
- color: @gray-light;
114
+ color: $gray-600;
151
115
  }
152
116
  }
153
117
  }
@@ -160,7 +124,7 @@
160
124
  padding: 0;
161
125
  overflow-x: hidden;
162
126
  overflow-y: auto;
163
- border-top: 1px solid @gray-lighter;
127
+ border-top: 1px solid $gray-200;
164
128
 
165
129
  > li.no_active {
166
130
  height: initial;
@@ -172,14 +136,12 @@
172
136
  display: flex;
173
137
  position: relative;
174
138
  clear: both;
175
- list-style-type: none;
176
- height: 80px;
177
- .pointer;
139
+ @include pointer;
178
140
 
179
141
  border-left: 1px solid;
180
142
  border-right: 1px solid;
181
143
  border-bottom: 1px solid;
182
- border-color: @gray-lighter;
144
+ border-color: $gray-200;
183
145
 
184
146
  &.typing {
185
147
  .username:after {
@@ -188,7 +150,7 @@
188
150
  }
189
151
 
190
152
  &.unread {
191
- background: lighten(@brand-primary, 35%);
153
+ background: lighten($primary, 35%);
192
154
  border-bottom: 0;
193
155
  }
194
156
 
@@ -214,7 +176,7 @@
214
176
  }
215
177
 
216
178
  &.bg-primary {
217
- background: @brand-primary;
179
+ background: $primary;
218
180
  border-bottom: 0;
219
181
  }
220
182
 
@@ -237,7 +199,7 @@
237
199
  }
238
200
 
239
201
  a {
240
- .text-ellipsis;
202
+ @include text-ellipsis;
241
203
  }
242
204
 
243
205
  p {
@@ -282,9 +244,6 @@
282
244
 
283
245
  .avatar {
284
246
  border: 2px solid white;
285
- width: 28px;
286
- height: 28px;
287
- line-height: 26px;
288
247
  vertical-align: bottom;
289
248
  }
290
249
 
@@ -296,18 +255,16 @@
296
255
 
297
256
  .main-avatar {
298
257
  .avatar {
299
- height: 80px;
300
- width: 80px;
301
- font-size: 40px;
302
- border-radius: 0;
303
- background: @gray-lighter;
258
+ $size: 80px;
259
+ @include user-icon-style($size, calc($size * 0.6), 0);
260
+ background: $gray-200;
304
261
  }
305
262
  }
306
263
  }
307
264
  }
308
265
 
309
266
  .chat-modal {
310
- z-index: @zindex-modal;
267
+ z-index: $zindex-modal;
311
268
  }
312
269
 
313
270
  /* Chat modal specific styles */
@@ -325,7 +282,7 @@
325
282
  vertical-align: center;
326
283
 
327
284
  &.fa-keyboard-o {
328
- .animation(topic-reply-pulse 2s ease-in infinite);
285
+ animation: topic-reply-pulse 2s ease-in infinite;
329
286
  }
330
287
  }
331
288
  }
@@ -352,7 +309,7 @@
352
309
 
353
310
  .expanded-chat, .chat-modal {
354
311
  .chat-content {
355
- .fix-lists;
312
+ @include fix-lists;
356
313
  overflow-y: auto;
357
314
  overflow-x: hidden;
358
315
  resize: none;
@@ -363,9 +320,6 @@
363
320
  li.chat-message {
364
321
  position: relative;
365
322
  list-style-type: none;
366
- font-weight: 300;
367
- padding: 0 1.428rem;
368
- margin-right: 1.428rem;
369
323
  transition: opacity .5s ease;
370
324
 
371
325
  &:first-child {
@@ -379,7 +333,7 @@
379
333
  &[data-break="true"] {
380
334
  padding-top: 1rem;
381
335
  margin-top: 1rem;
382
- border-top: 1px solid @gray-lighter;
336
+ border-top: 1px solid $gray-200;
383
337
  }
384
338
 
385
339
  &[data-break="true"]:first-child {
@@ -404,7 +358,7 @@
404
358
  }
405
359
 
406
360
  .chat-user-image {
407
- .user-icon-style(32px, 1.6rem, 50%);
361
+ @include user-icon-style(32px, 1.6rem, 50%);
408
362
  float: left;
409
363
  }
410
364
 
@@ -413,16 +367,13 @@
413
367
  margin-left: 13px;
414
368
 
415
369
  a {
416
- color: @text-color;
370
+ color: $body-color;
417
371
  }
418
372
  }
419
373
 
420
374
  .chat-timestamp {
421
- color: @gray-light;
422
- font-size: 1rem;
423
375
  display: inline-block;
424
- margin-left: 10px;
425
- .user-select(none);
376
+ user-select: none;
426
377
  }
427
378
 
428
379
  .chat-edited {
@@ -459,10 +410,10 @@
459
410
  display: none;
460
411
 
461
412
  position: absolute;
462
- bottom: 5px;
463
- right: 30px;
464
- border: 1px solid @dropdown-border;
465
- .box-shadow(0 6px 12px rgba(0,0,0,.175));
413
+ bottom: 7px;
414
+ right: 14px;
415
+ border: 1px solid $gray-200;
416
+ box-shadow: 0 6px 12px rgba(0,0,0,.175);
466
417
 
467
418
  [data-action="restore"] {
468
419
  display: none;
@@ -471,7 +422,8 @@
471
422
 
472
423
  &:hover {
473
424
  .message-body {
474
- background: @dropdown-link-hover-bg;
425
+ color: $dropdown-link-hover-color;
426
+ background: $dropdown-link-hover-bg;
475
427
  }
476
428
 
477
429
  .controls {
@@ -484,15 +436,13 @@
484
436
  li.system-message {
485
437
  list-style-type: none;
486
438
  text-align: center;
487
- color: @gray-light;
488
- font-size: 1.25rem;
489
- padding: 1rem 0;
439
+ color: $gray-600;
490
440
 
491
441
  &::before, &::after {
492
442
  display: inline-block;
493
443
  width: 10%;
494
444
  content: '';
495
- border-top: 1px solid @gray-lighter;
445
+ border-top: 1px solid $gray-200;
496
446
  position: relative;
497
447
  top: -0.3rem;
498
448
  margin: 0 2rem;
@@ -501,7 +451,7 @@
501
451
  }
502
452
 
503
453
  .user-typing {
504
- color: @gray-light;
454
+ color: $gray-600;
505
455
  margin: 1.428rem 0;
506
456
  }
507
457
 
@@ -554,7 +504,7 @@
554
504
  }
555
505
 
556
506
  /* Mobile handling of chat page */
557
- @media (max-width: @screen-sm) {
507
+ @include media-breakpoint-down(sm) {
558
508
  .page-user-chats {
559
509
  padding-bottom: 0;
560
510
 
@@ -566,9 +516,6 @@
566
516
  display: none;
567
517
  }
568
518
 
569
- .chats-full, .chat-modal {
570
- height: calc(100vh - var(--panel-offset));
571
- }
572
519
  [component="chat/messages"] {
573
520
  width: calc(100vw);
574
521
  }
@@ -580,8 +527,8 @@
580
527
  }
581
528
 
582
529
  /* Mobile handling of chat modal */
583
- @media (max-width: @screen-sm-max) {
530
+ @include media-breakpoint-down(sm) {
584
531
  .chat-modal {
585
- z-index: @zindex-popover + 10;
532
+ z-index: $zindex-popover + 10;
586
533
  }
587
534
  }
@@ -1,12 +1,12 @@
1
1
  .page-flags {
2
2
  [component="flags/list"] {
3
3
  tr {
4
- .pointer;
4
+ @include pointer;
5
5
  }
6
6
  }
7
7
 
8
8
  #flags-daily-wrapper + .panel-footer {
9
- .pointer;
9
+ @include pointer;
10
10
  }
11
11
 
12
12
  [component="flag/reports"] {
@@ -37,7 +37,7 @@
37
37
  }
38
38
 
39
39
  .editing {
40
- background-color: @state-info-bg;
40
+ background-color: $info;
41
41
  }
42
42
  }
43
43
  }
@@ -13,6 +13,5 @@
13
13
  &.ajaxifying {
14
14
  -moz-opacity: 0.00;
15
15
  opacity: 0.00;
16
- -ms-filter:~"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
17
16
  }
18
17
  }
@@ -1,31 +1,21 @@
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
1
  .groups.details {
15
2
  margin-top: 200px;
16
3
 
17
4
  [component="groups/cover"] {
18
5
  background-size: cover;
19
6
  background-repeat: no-repeat;
20
- min-height: 200px;
21
- position: relative;
22
- margin-bottom: 1em;
23
7
  background-origin: content-box;
8
+
9
+ min-height: 200px;
24
10
  width: 100%;
25
- top: calc(var(--panel-offset) - 20px);
11
+ margin-bottom: 1em;
12
+ padding-left: 0;
13
+ padding-right: 0;
14
+
26
15
  position: absolute;
16
+ top: var(--panel-offset);
17
+ right: 0;
27
18
  left: auto;
28
- right: 0px;
29
19
 
30
20
  &:hover {
31
21
  .controls {
@@ -38,7 +28,7 @@
38
28
  min-height: 200px;
39
29
  line-height: 200px;
40
30
  opacity: 0;
41
- .transition(opacity .15s linear);
31
+ @include transition(opacity .15s linear);
42
32
  cursor: pointer;
43
33
  pointer-events: none;
44
34
 
@@ -87,8 +77,8 @@
87
77
  top: 1em;
88
78
  right: 2em;
89
79
  opacity: 1;
90
- background-color: @brand-primary;
91
- color: @gray-lighter;
80
+ background-color: $primary;
81
+ color: $gray-200;
92
82
  padding: 0.5em;
93
83
  font-weight: bold;
94
84
 
@@ -122,10 +112,6 @@
122
112
  margin-top: 0;
123
113
  }
124
114
 
125
- .owner-controls {
126
- margin-top: -6px;
127
- }
128
-
129
115
  .post-body {
130
116
  .topic-title, p {
131
117
  overflow-y: hidden;
@@ -133,7 +119,7 @@
133
119
  }
134
120
  }
135
121
 
136
- @media (min-width: @screen-md-min) {
122
+ @include media-breakpoint-up(md) {
137
123
  margin-top: 300px;
138
124
 
139
125
  [component="groups/cover"] {
@@ -151,28 +137,18 @@
151
137
  padding: .2em .3em .1em;
152
138
  }
153
139
  }
154
-
155
- .options {
156
- .user-title-option span.label {
157
- .group-label;
158
- }
159
- }
160
140
  }
161
141
 
162
142
  .groups.list {
163
143
  [component="groups/summary"] {
164
- .panel-body {
165
- min-height: 72px;
166
- }
167
-
168
144
  .list-cover {
169
145
  display: block;
170
146
  background-size: cover;
171
147
  min-height: 125px;
172
148
  background-position: 50% 50%;
173
- .pointer;
149
+ @include pointer;
174
150
 
175
- h3 {
151
+ h5 {
176
152
  background-color: rgba(0,0,0,0.5);
177
153
  display: inline-block;
178
154
  padding: 0.25em 0.5em;