nodebb-theme-persona 12.1.5 → 12.1.6

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 -22
  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
@@ -5,7 +5,7 @@
5
5
  }
6
6
  }
7
7
 
8
- .notification-list {
8
+ @mixin notification-list() {
9
9
  overflow-x: hidden;
10
10
  overflow-y: auto;
11
11
  max-height: 250px;
@@ -19,10 +19,6 @@
19
19
  list-style-type: none;
20
20
  padding: .75em 0.5em;
21
21
 
22
- &:hover {
23
- background-color: @dropdown-link-hover-bg;
24
- }
25
-
26
22
  &.loading-text, &.no-notifs {
27
23
  justify-content: center;
28
24
 
@@ -60,11 +56,11 @@
60
56
  }
61
57
 
62
58
  .mark-read {
63
- color: @text-muted;
59
+ color: $text-muted;
64
60
 
65
61
  &:after {
66
62
  font-family: "Font Awesome 5 Free";
67
- content: @fa-var-circle;
63
+ content: fa-content($fa-var-circle);
68
64
  font-weight: 400;
69
65
  padding: 4px 1rem;
70
66
  position: relative;
@@ -72,16 +68,16 @@
72
68
  }
73
69
 
74
70
  &:hover {
75
- color: darken(@text-muted, 10%);
76
- .pointer;
71
+ color: darken($text-muted, 10%);
72
+ @include pointer;
77
73
  }
78
74
  }
79
75
 
80
76
  &.unread {
81
- background-color: @state-warning-bg;
77
+ background-color: $warning;
82
78
 
83
79
  &:hover {
84
- background-color: darken(@state-warning-bg, 5%);
80
+ background-color: darken($warning, 5%);
85
81
  }
86
82
 
87
83
  .mark-read:after {
@@ -91,11 +87,15 @@
91
87
  }
92
88
  }
93
89
 
90
+ .notification-list {
91
+ @include notification-list;
92
+ }
93
+
94
94
  .chat-list {
95
- .notification-list;
95
+ @include notification-list;
96
96
 
97
97
  > li {
98
- .pointer;
98
+ @include pointer;
99
99
  width: 500px;
100
100
  padding: 0;
101
101
  margin: 0;
@@ -114,7 +114,7 @@
114
114
  }
115
115
 
116
116
  &:not(:last-child) {
117
- border-bottom: 1px solid @dropdown-border;
117
+ border-bottom: 1px solid $dropdown-border-color;
118
118
  }
119
119
 
120
120
  &.no_active a {
@@ -146,23 +146,11 @@
146
146
  display: none !important; //temp
147
147
  }
148
148
 
149
- .navbar-toggle {
150
- .notification-icon {
151
- position: absolute;
152
- left: -13px;
153
- top: 14px;
154
-
155
- &:before {
156
- display: none;
157
- }
158
- }
159
- }
160
-
161
149
  #user_dropdown {
162
150
  padding: 9px 15px;
163
151
 
164
152
  img, .user-icon {
165
- .user-icon-style(30px, 1.8rem, 50%);
153
+ @include user-icon-style(30px, 1.8rem, 50%);
166
154
  border: 0px none;
167
155
 
168
156
  span {
@@ -172,22 +160,11 @@
172
160
  }
173
161
  }
174
162
 
175
- .forum-title {
176
- margin: 0px;
177
- }
178
-
179
163
  .forum-logo {
180
- float: left;
181
164
  max-height: 50px;
182
165
  width: auto;
183
166
  }
184
167
 
185
- @media (max-width: @screen-xs-max) {
186
- .forum-logo {
187
- margin-left: 15px;
188
- }
189
- }
190
-
191
168
  .header-topic-title {
192
169
  text-align: right;
193
170
  padding: 15px 15px;
@@ -199,31 +176,16 @@
199
176
  span {
200
177
  text-overflow: ellipsis;
201
178
  white-space: nowrap;
202
- color: @brand-primary;
179
+ color: $primary;
203
180
  }
204
181
  }
205
182
 
206
183
  .notif-dropdown-link {
207
184
  border-top: 1px solid rgba(163, 163, 163, 0.5);
208
- .btn-group-justified {
209
- table-layout: auto;
210
- }
211
185
  a {
212
186
  text-align: center;
213
187
  padding: 0.5em 0.5em;
214
188
  font-weight: 600;
215
- color: @dropdown-link-color;
216
-
217
- &:hover {
218
- color: @dropdown-link-hover-color;
219
- background: @dropdown-link-hover-bg;
220
- }
221
- }
222
- }
223
-
224
- #search-form {
225
- .advanced-search-link {
226
- margin-left: -30px;
227
189
  }
228
190
  }
229
191
  }
@@ -231,9 +193,8 @@
231
193
  .breadcrumb {
232
194
  li {
233
195
  max-width: 100%;
234
- .text-ellipsis;
196
+ @include text-ellipsis;
235
197
  position: relative;
236
- top: calc(16px / 4);
237
198
  }
238
199
 
239
200
  .fa {
@@ -241,11 +202,7 @@
241
202
  color: rgb(153, 153, 153);
242
203
  }
243
204
 
244
- font-size: 16px;
245
- padding: 0;
246
- background: none;
247
-
248
- @media (max-width: @screen-xs-max) {
205
+ @include media-breakpoint-down(sm) {
249
206
  li {
250
207
  display: none;
251
208
  }
@@ -284,29 +241,52 @@
284
241
  width: 350px;
285
242
  }
286
243
  }
287
-
288
- .unread-count:after {
289
- position: absolute;
290
- left: 23px;
291
- top: 10px;
292
- font-size: 10px;
293
- text-align: center;
294
- border: 1px solid #890405;
295
- color: #fff;
296
- font-weight: bold;
297
- min-width: 16px;
298
- -webkit-border-radius: 3px;
299
- -moz-border-radius: 3px;
300
- border-radius: 3px;
301
- background: #c91106;
302
- padding: 1px 2px;
303
- font-family: @font-family-sans-serif;
244
+ .unread-count {
245
+ position: relative;
246
+ &:after {
247
+ position: absolute;
248
+ left: 10px;
249
+ top: -10px;
250
+ font-size: 10px;
251
+ text-align: center;
252
+ border: 1px solid #890405;
253
+ color: #fff;
254
+ font-weight: bold;
255
+ min-width: 16px;
256
+ -webkit-border-radius: 3px;
257
+ -moz-border-radius: 3px;
258
+ border-radius: 3px;
259
+ background: #c91106;
260
+ padding: 1px 2px;
261
+ font-family: $font-family-sans-serif;
262
+ }
304
263
  }
305
264
 
306
265
  .unread-count[data-content]:not([data-content=""]):not([data-content="0"]):after {
307
266
  content: attr(data-content);
308
267
  }
309
268
 
269
+ .navbar-toggler {
270
+ .notification-icon {
271
+ position: absolute;
272
+ &[component="unread/icon"]::after {
273
+ left: -10px;
274
+ }
275
+ &[component="notifications/icon"]:after {
276
+ left: -5px;
277
+ top: -5px;
278
+ }
279
+ &[component="chat/icon"]:after {
280
+ left: 20px;
281
+ top: -5px;
282
+ }
283
+
284
+ &:before {
285
+ display: none;
286
+ }
287
+ }
288
+ }
289
+
310
290
  .slideout-menu .unread-count:after {
311
291
  position: relative;
312
292
  left: -6px;
@@ -315,7 +295,6 @@
315
295
 
316
296
  #search-form {
317
297
  #search-button {
318
- float: right;
319
298
  max-width: 60px;
320
299
  width: auto;
321
300
  transition-property: max-width, padding-left, padding-right;
@@ -331,12 +310,8 @@
331
310
  padding-right: 0;
332
311
  }
333
312
  #search-fields {
334
- width: auto;
335
- max-width: 100%;
336
313
  overflow: hidden;
337
314
  transition: max-width 0.2s ease 0s;
338
- max-height: 42px;
339
- float: right;
340
315
  display: inline-block !important;
341
316
  visibility: visible !important;
342
317
 
@@ -346,20 +321,14 @@
346
321
 
347
322
  input.form-control {
348
323
  white-space: nowrap;
349
- }
350
-
351
- .form-group .advanced-search-link {
352
- margin: 0;
353
- width: 0;
354
- position: relative;
355
- left: -30px;
324
+ outline: none;
325
+ box-shadow: none;
356
326
  }
357
327
  }
358
328
  }
359
329
 
360
330
  body.skin-default .header {
361
331
  .notification-list {
362
-
363
332
  li {
364
333
  a {
365
334
  color: inherit;
@@ -377,44 +346,6 @@ label.dropdown-toggle {
377
346
  display: block;
378
347
  }
379
348
 
380
- .navbar-default {
381
- .navbar-nav {
382
- > li > label {
383
- color: @navbar-default-link-color;
384
-
385
- &:hover,
386
- &:focus {
387
- color: @navbar-default-link-hover-color;
388
- background-color: @navbar-default-link-hover-bg;
389
- }
390
- }
391
- > .active > label {
392
- &,
393
- &:hover,
394
- &:focus {
395
- color: @navbar-default-link-active-color;
396
- background-color: @navbar-default-link-active-bg;
397
- }
398
- }
399
- > .disabled > label {
400
- &,
401
- &:hover,
402
- &:focus {
403
- color: @navbar-default-link-disabled-color;
404
- background-color: @navbar-default-link-disabled-bg;
405
- }
406
- }
407
- > .open > label {
408
- &,
409
- &:hover,
410
- &:focus {
411
- background-color: @navbar-default-link-active-bg;
412
- color: @navbar-default-link-active-color;
413
- }
414
- }
415
- }
416
- }
417
-
418
349
  .dropdown-menu > li > form {
419
350
  > button, > .btn-link {
420
351
  text-align: left;
@@ -425,21 +356,14 @@ label.dropdown-toggle {
425
356
  padding: 3px 20px;
426
357
  clear: both;
427
358
  font-weight: normal;
428
- line-height: @line-height-base;
429
- color: @dropdown-link-color;
359
+ line-height: $line-height-base;
430
360
  white-space: nowrap; // prevent links from randomly breaking onto new lines
431
361
 
432
362
  &:hover,
433
363
  &:focus {
434
364
  text-decoration: none;
435
- color: @dropdown-link-hover-color;
436
- background-color: @dropdown-link-hover-bg;
365
+ color: $dropdown-link-hover-color;
366
+ background-color: $dropdown-link-hover-bg;
437
367
  }
438
368
  }
439
369
  }
440
-
441
- html[data-dir="rtl"] {
442
- .dropdown-menu > li > form > button {
443
- text-align: right;
444
- }
445
- }
File without changes
File without changes
@@ -1,75 +1,34 @@
1
- .no-select {
2
- .user-select(none);
3
- }
4
-
5
- .pointer {
6
- cursor: pointer;
7
- *cursor: hand;
8
- }
9
-
10
- .inline-block {
11
- display: inline-block;
12
- *display: inline;
13
- zoom: 1;
14
- }
15
-
16
- .clear {
17
- clear: both;
18
- }
19
-
20
- .zebra {
21
- &:nth-child(even) {
22
- background: rgba(191,191,191,0.2);
23
- }
24
1
 
25
- &:nth-child(odd) {
26
- background: rgba(223,223,223,0.2);
27
- }
28
- }
29
-
30
- .border-radius (@radius: 5px) {
31
- -webkit-border-radius: @radius;
32
- -moz-border-radius: @radius;
33
- -ms-border-radius: @radius;
34
- -o-border-radius: @radius;
35
- border-radius: @radius;
36
- }
37
-
38
- .text-ellipsis {
39
- overflow: hidden;
40
- text-overflow: ellipsis;
41
- white-space: nowrap;
42
- }
43
-
44
- .timeline-style {
2
+
3
+ @mixin timeline-style() {
45
4
  > [component="post"], .timeline-event {
46
5
  position: relative; // for absolutely positioned pseudo-element, below
47
- border-left: 2px solid lighten(@brand-primary, 30%);
48
- margin-left: 2.5rem;
6
+ border-left: 2px solid lighten($primary, 30%);
7
+ margin-left: 1.5rem;
49
8
 
50
9
  &:not(:last-child) {
51
- padding-bottom: @post-padding;
10
+ padding-bottom: $post-padding;
52
11
  }
53
12
  &:not(:first-child) {
54
- padding-top: @post-padding;
13
+ padding-top: $post-padding;
55
14
  }
56
15
 
57
16
  > div:not(.content) {
58
- margin-left: -2.5rem;
17
+ margin-left: -1.5rem;
59
18
  }
60
19
 
61
20
  .icon .avatar, .timeline-badge {
62
21
  // Opaque ring
63
22
  position: relative;
64
23
  z-index: 1;
65
- box-shadow: 0 0 0 .5rem @body-bg;
24
+ box-shadow: 0 0 0 ($spacer * .5) $body-bg;
66
25
  }
67
26
  }
68
27
 
69
- @media (max-width: @screen-sm-max) {
28
+ @include media-breakpoint-down(sm) {
70
29
  [component="post"] {
71
30
  border: 0;
72
- padding: @post-padding 0;
31
+ padding: $post-padding 0;
73
32
 
74
33
  margin-left: initial;
75
34
  > div:not(.content) {
@@ -90,7 +49,7 @@
90
49
  position: absolute;
91
50
  top: 0;
92
51
  left: calc(-0.5rem - 1px);
93
- border-bottom: 2px solid lighten(@brand-primary, 30%);
52
+ border-bottom: 2px solid lighten($primary, 30%);
94
53
  }
95
54
 
96
55
  &+:not(.timeline-event):before {
@@ -107,7 +66,7 @@
107
66
  }
108
67
  }
109
68
 
110
- @media (min-width: @screen-sm) {
69
+ @include media-breakpoint-up(sm) {
111
70
  .timeline-event {
112
71
  [component="topic/event/delete"] {
113
72
  visibility: hidden;
@@ -118,7 +77,7 @@
118
77
  visibility: visible;
119
78
 
120
79
  &:hover {
121
- color: @brand-danger;
80
+ color: $danger;
122
81
  }
123
82
  }
124
83
  }
@@ -135,7 +94,7 @@
135
94
  position: absolute;
136
95
  bottom: 0;
137
96
  left: calc(-0.5rem - 1px);
138
- border-bottom: 2px solid lighten(@brand-primary, 30%);
97
+ border-bottom: 2px solid lighten($primary, 30%);
139
98
  }
140
99
 
141
100
  [component="topic/event"], [component="topic/necro-post"] {
@@ -156,16 +115,15 @@
156
115
  padding: 0;
157
116
  margin-left: -17px;
158
117
  margin-right: 17px;
159
- color: lighten(@brand-primary, 30%);
160
- background-color: @body-bg;
161
- border: 2px solid lighten(@brand-primary, 30%);
118
+ color: lighten($primary, 30%);
119
+ background-color: $body-bg;
120
+ border: 2px solid lighten($primary, 30%);
162
121
  border-radius: 50%;
163
122
  }
164
123
 
165
124
  .timeline-text {
166
125
  line-height: 32px;
167
126
  text-transform: initial;
168
- color: rgba(127,127,127,.5);
169
127
  }
170
128
  }
171
129
  }
@@ -5,7 +5,7 @@
5
5
  }
6
6
 
7
7
  /* iPhone 5 and other such devices */
8
- @media (max-width: @screen-sm-max) {
8
+ @include media-breakpoint-down(sm) {
9
9
  .chat-modal {
10
10
  width: 100%;
11
11
  height: 100%;
@@ -33,7 +33,7 @@
33
33
  }
34
34
  }
35
35
 
36
- @media (max-width: @screen-md-max) {
36
+ @include media-breakpoint-down(md) {
37
37
  #panel {
38
38
  background-color: inherit;
39
39
  min-height: 100%;
@@ -50,9 +50,6 @@
50
50
  line-height: 30px;
51
51
  border: none;
52
52
 
53
- html[data-dir="rtl"] button& {
54
- margin-left: 0;
55
- }
56
53
  &#mobile-menu {
57
54
  .unread-count::after {
58
55
  left: 32px;
@@ -70,7 +67,7 @@
70
67
  }
71
68
  }
72
69
  }
73
- .navbar-header .navbar-search {
70
+ .navbar .navbar-search {
74
71
  input[name="term"] {
75
72
  width: 150px;
76
73
  }
@@ -98,10 +95,8 @@
98
95
  a {
99
96
  height: 100%;
100
97
  padding-top: 15px;
101
- }
102
- &.active {
103
- a {
104
- background-color: #1D1F20;
98
+ &.active {
99
+ background-color: $dark;
105
100
  }
106
101
  }
107
102
  }
@@ -110,8 +105,7 @@
110
105
 
111
106
  .slideout-menu {
112
107
  z-index: 10000 !important;
113
- background-color: #1D1F20;
114
- background-image: linear-gradient(145deg, #1D1F20, #404348);
108
+ background-color: $dark;
115
109
 
116
110
  a, button {
117
111
  color: #fff;
@@ -121,7 +115,10 @@
121
115
  text-decoration: underline;
122
116
  }
123
117
  }
124
-
118
+ .nav-item .dropdown-menu {
119
+ width: 100%;
120
+ background-color: $dark;
121
+ }
125
122
  .chat-list {
126
123
  max-height: 100%;
127
124
 
@@ -146,10 +143,8 @@
146
143
  left: 0;
147
144
 
148
145
  .avatar {
149
- height: 40px;
150
- width: 40px;
151
- font-size: 20px;
152
- border-radius: 0;
146
+ $size: 40px;
147
+ @include user-icon-style($size, calc($size * 0.6), 0);
153
148
  }
154
149
  }
155
150
 
@@ -315,7 +310,7 @@
315
310
  z-index: 1;
316
311
 
317
312
  img, .user-icon {
318
- .user-icon-style(70px, 4rem);
313
+ @include user-icon-style(70px, 4rem);
319
314
  position: absolute;
320
315
  bottom: -22px;
321
316
  left: 93px;
@@ -25,40 +25,40 @@
25
25
  }
26
26
 
27
27
  &.alert-info::before {
28
- background-color: @material-info;
28
+ background-color: $info;
29
29
  }
30
30
 
31
31
  &.alert-warning::before {
32
- background-color: @material-warning;
32
+ background-color: $warning;
33
33
  }
34
34
 
35
35
  &.alert-success::before {
36
- background-color: @material-success;
36
+ background-color: $success;
37
37
  }
38
38
 
39
39
  &.alert-danger::before {
40
- background-color: @material-danger;
40
+ background-color: $danger;
41
41
  }
42
42
 
43
43
  &.animate {
44
44
  &.alert-info::before {
45
- background-color: lighten(@material-info, 25%);
45
+ background-color: lighten($info, 25%);
46
46
  }
47
-
47
+
48
48
  &.alert-warning::before {
49
- background-color: lighten(@material-warning, 25%);
49
+ background-color: lighten($warning, 25%);
50
50
  }
51
-
51
+
52
52
  &.alert-success::before {
53
- background-color: lighten(@material-success, 25%);
53
+ background-color: lighten($success, 25%);
54
54
  }
55
-
55
+
56
56
  &.alert-danger::before {
57
- background-color: lighten(@material-danger, 25%);
57
+ background-color: lighten($danger, 25%);
58
58
  }
59
-
59
+
60
60
  &::before {
61
- width: ~"calc(100% + 50px)";
61
+ width: calc(100% + 50px);
62
62
  }
63
63
  }
64
64
 
@@ -76,23 +76,23 @@
76
76
  }
77
77
 
78
78
  &.alert-info {
79
- color: @material-info;
80
- border-color: @material-info;
79
+ color: $info;
80
+ border-color: $info;
81
81
  }
82
82
 
83
83
  &.alert-warning {
84
- color: @material-warning;
85
- border-color: @material-warning;
84
+ color: $warning;
85
+ border-color: $warning;
86
86
  }
87
87
 
88
88
  &.alert-success {
89
- color: @material-success;
90
- border-color: @material-success;
89
+ color: $success;
90
+ border-color: $success;
91
91
  }
92
92
 
93
93
  &.alert-danger {
94
- color: @material-danger;
95
- border-color: @material-danger;
94
+ color: $danger;
95
+ border-color: $danger;
96
96
  }
97
97
  }
98
98
  }
@@ -5,10 +5,10 @@
5
5
  p {
6
6
  margin: 0 0 18px;
7
7
  }
8
-
8
+
9
9
  blockquote {
10
10
  font-size: 12px;
11
-
11
+
12
12
  p {
13
13
  margin-bottom: 0px;
14
14
  }
@@ -6,7 +6,7 @@
6
6
  padding-left: 1rem;
7
7
  width: 100%;
8
8
  background: rgba(240,240,240,.8);
9
- z-index: @zindex-navbar-fixed;
9
+ z-index: $zindex-popover;
10
10
  a {
11
11
  font-weight: bold;
12
12
  }