nodebb-theme-persona 12.1.4 → 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.
- package/README.md +14 -14
- package/package.json +2 -2
- package/public/persona.js +11 -23
- package/{less/account.less → scss/account.scss} +13 -97
- package/{less/categories.less → scss/categories.scss} +10 -40
- package/{less/category.less → scss/category.scss} +26 -75
- package/{less/chats.less → scss/chats.scss} +35 -88
- package/{less/flags.less → scss/flags.scss} +3 -3
- package/{less/footer.less → scss/footer.scss} +0 -1
- package/{less/groups.less → scss/groups.scss} +14 -38
- package/{less/header.less → scss/header.scss} +63 -139
- package/{less/helpers.less → scss/helpers.scss} +0 -0
- package/{less/keyframes.less → scss/keyframes.scss} +0 -0
- package/{less/mixins.less → scss/mixins.scss} +17 -59
- package/{less/mobile.less → scss/mobile.scss} +13 -18
- package/{less/modules/alerts.less → scss/modules/alerts.scss} +21 -21
- package/{less/modules/composer-default.less → scss/modules/composer-default.scss} +2 -2
- package/{less/modules/cookie-consent.less → scss/modules/cookie-consent.scss} +1 -1
- package/{less/modules/fab.less → scss/modules/fab.scss} +2 -2
- package/{less/modules/morph.less → scss/modules/morph.scss} +1 -1
- package/{less/modules/necro-post.less → scss/modules/necro-post.scss} +0 -0
- package/scss/modules/nprogress.scss +80 -0
- package/{less/modules/taskbar.less → scss/modules/taskbar.scss} +11 -10
- package/{less/modules/usercard.less → scss/modules/usercard.scss} +0 -0
- package/{less/noscript.less → scss/noscript.scss} +5 -7
- package/{less/outgoing.less → scss/outgoing.scss} +0 -0
- package/scss/overrides.scss +44 -0
- package/{less/persona.less → scss/persona.scss} +1 -13
- package/{less/posts_list.less → scss/posts_list.scss} +11 -14
- package/{less/register.less → scss/register.scss} +2 -7
- package/scss/search.scss +39 -0
- package/{less/style.less → scss/style.scss} +23 -47
- package/scss/tags.scss +11 -0
- package/{less/topic.less → scss/topic.scss} +53 -90
- package/scss/topics_list.scss +17 -0
- package/{less/variables.less → scss/variables.scss} +3 -3
- package/templates/account/blocks.tpl +24 -26
- package/templates/account/categories.tpl +6 -6
- package/templates/account/consent.tpl +10 -10
- package/templates/account/edit/password.tpl +8 -10
- package/templates/account/edit/username.tpl +6 -10
- package/templates/account/edit.tpl +23 -23
- package/templates/account/followers.tpl +3 -3
- package/templates/account/following.tpl +3 -3
- package/templates/account/groups.tpl +2 -2
- package/templates/account/info.tpl +67 -72
- package/templates/account/posts.tpl +1 -1
- package/templates/account/profile.tpl +20 -18
- package/templates/account/sessions.tpl +3 -3
- package/templates/account/settings.tpl +93 -81
- package/templates/account/topics.tpl +5 -5
- package/templates/account/uploads.tpl +2 -2
- package/templates/admin/plugins/persona.tpl +3 -3
- package/templates/category.tpl +15 -14
- package/templates/chat.tpl +16 -9
- package/templates/chats.tpl +5 -3
- package/templates/flags/detail.tpl +86 -80
- package/templates/flags/list.tpl +4 -4
- package/templates/footer.tpl +1 -1
- package/templates/groups/details.tpl +23 -218
- package/templates/groups/list.tpl +11 -9
- package/templates/groups/members.tpl +1 -4
- package/templates/header.tpl +10 -4
- package/templates/ip-blacklist.tpl +22 -20
- package/templates/login.tpl +17 -14
- package/templates/modules/taskbar.tpl +1 -1
- package/templates/modules/usercard.tpl +2 -2
- package/templates/notifications.tpl +40 -38
- package/templates/partials/acceptTos.tpl +8 -8
- package/templates/partials/account/category-item.tpl +6 -5
- package/templates/partials/account/header.tpl +2 -2
- package/templates/partials/account/menu.tpl +37 -37
- package/templates/partials/breadcrumbs.tpl +1 -1
- package/templates/partials/buttons/newTopic.tpl +10 -3
- package/templates/partials/categories/item.tpl +24 -10
- package/templates/partials/categories/lastpost.tpl +3 -3
- package/templates/partials/categories/link.tpl +10 -10
- package/templates/partials/category/sort.tpl +7 -7
- package/templates/partials/category/subcategory.tpl +3 -3
- package/templates/partials/category/tags.tpl +3 -5
- package/templates/partials/category/tools.tpl +16 -16
- package/templates/partials/category/watch.tpl +8 -10
- package/templates/partials/category-filter-content.tpl +17 -5
- package/templates/partials/category-filter-right.tpl +1 -1
- package/templates/partials/category-selector-content.tpl +17 -4
- package/templates/partials/category-selector-right.tpl +1 -1
- package/templates/partials/chats/message-window.tpl +10 -8
- package/templates/partials/chats/message.tpl +11 -11
- package/templates/partials/chats/options.tpl +8 -8
- package/templates/partials/chats/recent_room.tpl +1 -1
- package/templates/partials/chats/system-message.tpl +1 -1
- package/templates/partials/chats/user.tpl +1 -1
- package/templates/partials/chats-menu.tpl +11 -11
- package/templates/partials/cookie-consent.tpl +1 -1
- package/templates/partials/flags/filters.tpl +34 -32
- package/templates/partials/groups/admin.tpl +195 -0
- package/templates/partials/groups/badge.tpl +1 -0
- package/templates/partials/groups/list.tpl +6 -6
- package/templates/partials/groups/memberlist.tpl +11 -10
- package/templates/partials/menu.tpl +149 -156
- package/templates/partials/notifications_list.tpl +2 -2
- package/templates/partials/paginator.tpl +21 -21
- package/templates/partials/post_bar.tpl +4 -4
- package/templates/partials/posts_list.tpl +1 -1
- package/templates/partials/posts_list_item.tpl +2 -2
- package/templates/partials/quick-search-results.tpl +14 -11
- package/templates/partials/slideout-menu.tpl +1 -1
- package/templates/partials/tags_list.tpl +3 -3
- package/templates/partials/thread_tools.tpl +4 -4
- package/templates/partials/toast.tpl +14 -0
- package/templates/partials/topic/deleted-message.tpl +2 -2
- package/templates/partials/topic/event.tpl +26 -0
- package/templates/partials/topic/navigation-post.tpl +3 -3
- package/templates/partials/topic/navigator.tpl +7 -7
- package/templates/partials/topic/necro-post.tpl +1 -1
- package/templates/partials/topic/post-menu-list.tpl +26 -23
- package/templates/partials/topic/post-menu.tpl +3 -3
- package/templates/partials/topic/post.tpl +49 -44
- package/templates/partials/topic/quickreply.tpl +3 -3
- package/templates/partials/topic/reply-button.tpl +3 -3
- package/templates/partials/topic/sort.tpl +5 -5
- package/templates/partials/topic/tag.tpl +1 -0
- package/templates/partials/topic/tags.tpl +3 -5
- package/templates/partials/topic/topic-menu-list.tpl +18 -16
- package/templates/partials/topic/watch.tpl +11 -10
- package/templates/partials/topic-filters.tpl +12 -0
- package/templates/partials/topic-terms.tpl +12 -0
- package/templates/partials/topics_list.tpl +27 -25
- package/templates/partials/users_list.tpl +22 -10
- package/templates/partials/users_list_menu.tpl +19 -9
- package/templates/popular.tpl +9 -35
- package/templates/post-queue.tpl +42 -35
- package/templates/recent.tpl +10 -24
- package/templates/register.tpl +17 -17
- package/templates/registerComplete.tpl +14 -10
- package/templates/reset.tpl +7 -5
- package/templates/reset_code.tpl +9 -9
- package/templates/search.tpl +100 -87
- package/templates/tag.tpl +8 -10
- package/templates/tags.tpl +5 -3
- package/templates/top.tpl +9 -35
- package/templates/topic.tpl +13 -11
- package/templates/tos.tpl +4 -4
- package/templates/unread.tpl +10 -22
- package/templates/users.tpl +7 -20
- package/theme.json +6 -6
- package/theme.scss +1 -0
- package/less/bootstrap/.csscomb.json +0 -297
- package/less/bootstrap/.csslintrc +0 -19
- package/less/bootstrap/alerts.less +0 -73
- package/less/bootstrap/badges.less +0 -66
- package/less/bootstrap/bootstrap.less +0 -50
- package/less/bootstrap/breadcrumbs.less +0 -26
- package/less/bootstrap/button-groups.less +0 -243
- package/less/bootstrap/buttons.less +0 -160
- package/less/bootstrap/carousel.less +0 -269
- package/less/bootstrap/close.less +0 -34
- package/less/bootstrap/code.less +0 -69
- package/less/bootstrap/component-animations.less +0 -33
- package/less/bootstrap/dropdowns.less +0 -214
- package/less/bootstrap/forms.less +0 -574
- package/less/bootstrap/glyphicons.less +0 -305
- package/less/bootstrap/grid.less +0 -84
- package/less/bootstrap/input-groups.less +0 -166
- package/less/bootstrap/jumbotron.less +0 -50
- package/less/bootstrap/labels.less +0 -64
- package/less/bootstrap/list-group.less +0 -124
- package/less/bootstrap/media.less +0 -61
- package/less/bootstrap/mixins/alerts.less +0 -14
- package/less/bootstrap/mixins/background-variant.less +0 -8
- package/less/bootstrap/mixins/border-radius.less +0 -18
- package/less/bootstrap/mixins/buttons.less +0 -52
- package/less/bootstrap/mixins/center-block.less +0 -7
- package/less/bootstrap/mixins/clearfix.less +0 -22
- package/less/bootstrap/mixins/forms.less +0 -85
- package/less/bootstrap/mixins/gradients.less +0 -59
- package/less/bootstrap/mixins/grid-framework.less +0 -91
- package/less/bootstrap/mixins/grid.less +0 -122
- package/less/bootstrap/mixins/hide-text.less +0 -21
- package/less/bootstrap/mixins/image.less +0 -33
- package/less/bootstrap/mixins/labels.less +0 -12
- package/less/bootstrap/mixins/list-group.less +0 -29
- package/less/bootstrap/mixins/nav-divider.less +0 -10
- package/less/bootstrap/mixins/nav-vertical-align.less +0 -9
- package/less/bootstrap/mixins/opacity.less +0 -8
- package/less/bootstrap/mixins/pagination.less +0 -23
- package/less/bootstrap/mixins/panels.less +0 -24
- package/less/bootstrap/mixins/progress-bar.less +0 -10
- package/less/bootstrap/mixins/reset-filter.less +0 -8
- package/less/bootstrap/mixins/resize.less +0 -6
- package/less/bootstrap/mixins/responsive-visibility.less +0 -15
- package/less/bootstrap/mixins/size.less +0 -10
- package/less/bootstrap/mixins/tab-focus.less +0 -9
- package/less/bootstrap/mixins/table-row.less +0 -28
- package/less/bootstrap/mixins/text-emphasis.less +0 -8
- package/less/bootstrap/mixins/text-overflow.less +0 -8
- package/less/bootstrap/mixins/vendor-prefixes.less +0 -227
- package/less/bootstrap/mixins.less +0 -39
- package/less/bootstrap/modals.less +0 -150
- package/less/bootstrap/navbar.less +0 -660
- package/less/bootstrap/navs.less +0 -242
- package/less/bootstrap/normalize.less +0 -427
- package/less/bootstrap/pager.less +0 -54
- package/less/bootstrap/pagination.less +0 -88
- package/less/bootstrap/panels.less +0 -265
- package/less/bootstrap/popovers.less +0 -135
- package/less/bootstrap/print.less +0 -107
- package/less/bootstrap/progress-bars.less +0 -87
- package/less/bootstrap/responsive-embed.less +0 -35
- package/less/bootstrap/responsive-utilities.less +0 -194
- package/less/bootstrap/scaffolding.less +0 -162
- package/less/bootstrap/tables.less +0 -234
- package/less/bootstrap/theme.less +0 -273
- package/less/bootstrap/thumbnails.less +0 -36
- package/less/bootstrap/tooltip.less +0 -102
- package/less/bootstrap/type.less +0 -302
- package/less/bootstrap/utilities.less +0 -55
- package/less/bootstrap/variables.less +0 -861
- package/less/bootstrap/wells.less +0 -29
- package/less/bootstrap-flipped.css +0 -1550
- package/less/ip-blacklist.less +0 -7
- package/less/modules/bottom-sheet.less +0 -60
- package/less/modules/nprogress.less +0 -80
- package/less/notifications.less +0 -38
- package/less/post-queue.less +0 -19
- package/less/rtl.less +0 -132
- package/less/search.less +0 -96
- package/less/tags.less +0 -37
- package/less/topics_list.less +0 -16
- package/less/users.less +0 -73
- package/templates/alert.tpl +0 -15
- package/templates/partials/change_owner_modal.tpl +0 -22
- package/templates/partials/delete_posts_modal.tpl +0 -19
- package/templates/partials/fork_thread_modal.tpl +0 -22
- package/templates/partials/merge_topics_modal.tpl +0 -58
- package/templates/partials/modals/change_picture_modal.tpl +0 -73
- package/templates/partials/modals/flag_modal.tpl +0 -45
- package/templates/partials/modals/manage_room.tpl +0 -11
- package/templates/partials/modals/manage_room_users.tpl +0 -7
- package/templates/partials/modals/post_history.tpl +0 -36
- package/templates/partials/modals/rename_room.tpl +0 -4
- package/templates/partials/modals/upload_file_modal.tpl +0 -44
- package/templates/partials/modals/upload_picture_from_url_modal.tpl +0 -17
- package/templates/partials/modals/votes_modal.tpl +0 -10
- package/templates/partials/move_thread_modal.tpl +0 -17
- package/templates/partials/topic/badge.tpl +0 -5
- package/theme.less +0 -2
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
Persona theme for NodeBB
|
|
2
|
-
====================
|
|
3
|
-
|
|
4
|
-
Persona is the new default theme for NodeBB as of v0.7.1
|
|
5
|
-
|
|
6
|
-
## Addons
|
|
7
|
-
|
|
8
|
-
[Recent Cards](https://github.com/psychobunny/nodebb-plugin-recent-cards)
|
|
9
|
-
|
|
10
|
-
## Screenshots
|
|
11
|
-
|
|
12
|
-

|
|
13
|
-
|
|
14
|
-

|
|
1
|
+
Persona theme for NodeBB
|
|
2
|
+
====================
|
|
3
|
+
|
|
4
|
+
Persona is the new default theme for NodeBB as of v0.7.1
|
|
5
|
+
|
|
6
|
+
## Addons
|
|
7
|
+
|
|
8
|
+
[Recent Cards](https://github.com/psychobunny/nodebb-plugin-recent-cards)
|
|
9
|
+
|
|
10
|
+
## Screenshots
|
|
11
|
+
|
|
12
|
+

|
|
13
|
+
|
|
14
|
+

|
package/package.json
CHANGED
package/public/persona.js
CHANGED
|
@@ -7,30 +7,21 @@ $(document).ready(function () {
|
|
|
7
7
|
setupMobileMenu();
|
|
8
8
|
setupQuickReply();
|
|
9
9
|
configureNavbarHiding();
|
|
10
|
-
updatePanelOffset();
|
|
11
10
|
|
|
12
11
|
$(window).on('resize', utils.debounce(configureNavbarHiding, 200));
|
|
13
12
|
$(window).on('resize', updatePanelOffset);
|
|
14
13
|
|
|
15
14
|
function updatePanelOffset() {
|
|
16
|
-
const
|
|
15
|
+
const header = document.getElementById('header-menu');
|
|
17
16
|
|
|
18
|
-
if (!
|
|
17
|
+
if (!header) {
|
|
19
18
|
console.warn('[persona/updatePanelOffset] Could not find #header-menu, panel offset unchanged.');
|
|
20
19
|
return;
|
|
21
20
|
}
|
|
22
21
|
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
let offset =
|
|
27
|
-
headerRect.y + headerRect.height +
|
|
28
|
-
(parseInt(headerStyle.marginTop, 10) || 0) +
|
|
29
|
-
(parseInt(headerStyle.marginBottom, 10) || 0);
|
|
30
|
-
|
|
31
|
-
offset = Math.max(0, offset);
|
|
22
|
+
const rect = header.getBoundingClientRect();
|
|
23
|
+
const offset = Math.max(0, rect.bottom);
|
|
32
24
|
document.documentElement.style.setProperty('--panel-offset', `${offset}px`);
|
|
33
|
-
localStorage.setItem('panelOffset', offset);
|
|
34
25
|
}
|
|
35
26
|
|
|
36
27
|
var lastBSEnv = '';
|
|
@@ -63,7 +54,6 @@ $(document).ready(function () {
|
|
|
63
54
|
return data;
|
|
64
55
|
})
|
|
65
56
|
.on('action:navigator.scrolled', () => {
|
|
66
|
-
console.warn('reenabling', navbarEl);
|
|
67
57
|
navbarEl.autoHidingNavbar('setDisableAutohide', false);
|
|
68
58
|
});
|
|
69
59
|
|
|
@@ -188,7 +178,7 @@ $(document).ready(function () {
|
|
|
188
178
|
}
|
|
189
179
|
|
|
190
180
|
icon = el.closest('[data-pid]').find('.edit-icon').first();
|
|
191
|
-
icon.prop('title', el.text()).tooltip(
|
|
181
|
+
icon.prop('title', el.text()).tooltip().removeClass('hidden');
|
|
192
182
|
});
|
|
193
183
|
}
|
|
194
184
|
|
|
@@ -198,7 +188,7 @@ $(document).ready(function () {
|
|
|
198
188
|
return parseInt($(el).closest('[data-pid]').attr('data-pid'), 10) === parseInt(data.post.pid, 10);
|
|
199
189
|
});
|
|
200
190
|
var el = parent.find('[component="post/editor"]').first();
|
|
201
|
-
icon.prop('title', el.text()).tooltip(
|
|
191
|
+
icon.prop('title', el.text()).tooltip().removeClass('hidden');
|
|
202
192
|
});
|
|
203
193
|
|
|
204
194
|
$(window).on('action:topic.loaded', activateEditedTooltips);
|
|
@@ -222,8 +212,8 @@ $(document).ready(function () {
|
|
|
222
212
|
var margin = window.innerWidth;
|
|
223
213
|
|
|
224
214
|
if (swapped) {
|
|
225
|
-
$('#mobile-menu').removeClass('
|
|
226
|
-
$('#mobile-chats').addClass('
|
|
215
|
+
$('#mobile-menu').removeClass('float-start');
|
|
216
|
+
$('#mobile-chats').addClass('float-start');
|
|
227
217
|
}
|
|
228
218
|
|
|
229
219
|
if (document.documentElement.getAttribute('data-dir') === 'rtl') {
|
|
@@ -353,8 +343,8 @@ $(document).ready(function () {
|
|
|
353
343
|
});
|
|
354
344
|
}
|
|
355
345
|
|
|
356
|
-
const searchInputEl = $('.navbar
|
|
357
|
-
const searchButton = $('.navbar
|
|
346
|
+
const searchInputEl = $('.navbar .navbar-search input[name="term"]');
|
|
347
|
+
const searchButton = $('.navbar .navbar-search button[type="button"]');
|
|
358
348
|
searchButton.off('click').on('click', function () {
|
|
359
349
|
if (!config.loggedIn && !app.user.privileges['search:content']) {
|
|
360
350
|
alerts.alert({
|
|
@@ -376,7 +366,7 @@ $(document).ready(function () {
|
|
|
376
366
|
search.enableQuickSearch({
|
|
377
367
|
searchElements: {
|
|
378
368
|
inputEl: searchInputEl,
|
|
379
|
-
resultEl: $('.navbar
|
|
369
|
+
resultEl: $('.navbar .navbar-search .quick-search-container'),
|
|
380
370
|
},
|
|
381
371
|
searchOptions: {
|
|
382
372
|
in: config.searchDefaultInQuick,
|
|
@@ -501,8 +491,6 @@ $(document).ready(function () {
|
|
|
501
491
|
}
|
|
502
492
|
});
|
|
503
493
|
}
|
|
504
|
-
|
|
505
|
-
$('.topic-main-buttons [title]').tooltip();
|
|
506
494
|
}
|
|
507
495
|
});
|
|
508
496
|
}
|
|
@@ -11,14 +11,13 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
> .row {
|
|
14
|
-
max-width: @screen-lg-min;
|
|
15
14
|
margin-left: auto;
|
|
16
15
|
margin-right: auto;
|
|
17
16
|
|
|
18
17
|
.fullname {
|
|
19
18
|
text-align: center;
|
|
20
19
|
font-size: 20px;
|
|
21
|
-
color:
|
|
20
|
+
color: $gray-600;
|
|
22
21
|
font-weight: 300;
|
|
23
22
|
margin-bottom: 24px;
|
|
24
23
|
}
|
|
@@ -32,7 +31,7 @@
|
|
|
32
31
|
margin-bottom: 1em;
|
|
33
32
|
background-origin: content-box;
|
|
34
33
|
width: 100%;
|
|
35
|
-
top:
|
|
34
|
+
top: var(--panel-offset);
|
|
36
35
|
position: absolute;
|
|
37
36
|
left: auto;
|
|
38
37
|
right: 0px;
|
|
@@ -86,7 +85,7 @@
|
|
|
86
85
|
height: 200px;
|
|
87
86
|
line-height: 200px;
|
|
88
87
|
opacity: 0;
|
|
89
|
-
|
|
88
|
+
@include transition(opacity .15s linear);
|
|
90
89
|
cursor: pointer;
|
|
91
90
|
pointer-events: none;
|
|
92
91
|
|
|
@@ -135,8 +134,8 @@
|
|
|
135
134
|
top: 1em;
|
|
136
135
|
right: 2em;
|
|
137
136
|
opacity: 1;
|
|
138
|
-
background-color:
|
|
139
|
-
color:
|
|
137
|
+
background-color: $primary;
|
|
138
|
+
color: $gray-200;
|
|
140
139
|
padding: 0.5em;
|
|
141
140
|
font-weight: bold;
|
|
142
141
|
|
|
@@ -166,7 +165,7 @@
|
|
|
166
165
|
}
|
|
167
166
|
}
|
|
168
167
|
|
|
169
|
-
@media
|
|
168
|
+
@include media-breakpoint-up(md) {
|
|
170
169
|
margin-top: 300px;
|
|
171
170
|
|
|
172
171
|
.cover, .container {
|
|
@@ -202,7 +201,7 @@
|
|
|
202
201
|
max-width: 75%;
|
|
203
202
|
margin-left: auto;
|
|
204
203
|
margin-right: auto;
|
|
205
|
-
color:
|
|
204
|
+
color: $gray-600;
|
|
206
205
|
}
|
|
207
206
|
|
|
208
207
|
.profile-meta {
|
|
@@ -232,7 +231,7 @@
|
|
|
232
231
|
.stat-label {
|
|
233
232
|
font-size: 12px;
|
|
234
233
|
text-transform: uppercase;
|
|
235
|
-
color:
|
|
234
|
+
color: $gray-600;
|
|
236
235
|
}
|
|
237
236
|
}
|
|
238
237
|
}
|
|
@@ -308,7 +307,7 @@
|
|
|
308
307
|
bottom: -26px;
|
|
309
308
|
|
|
310
309
|
.open #profile {
|
|
311
|
-
background-color: lighten(
|
|
310
|
+
background-color: lighten($primary, 10%);
|
|
312
311
|
}
|
|
313
312
|
|
|
314
313
|
.persona-fab {
|
|
@@ -317,8 +316,7 @@
|
|
|
317
316
|
}
|
|
318
317
|
}
|
|
319
318
|
|
|
320
|
-
|
|
321
|
-
@media (max-width: @screen-md-min) {
|
|
319
|
+
@include media-breakpoint-down(md) {
|
|
322
320
|
.account > .row {
|
|
323
321
|
overflow: hidden;
|
|
324
322
|
}
|
|
@@ -329,15 +327,8 @@
|
|
|
329
327
|
}
|
|
330
328
|
|
|
331
329
|
|
|
332
|
-
//
|
|
333
|
-
|
|
334
330
|
.account-picture-block{
|
|
335
331
|
vertical-align:top;
|
|
336
|
-
margin-bottom:20px;
|
|
337
|
-
|
|
338
|
-
div {
|
|
339
|
-
margin-bottom: 10px;
|
|
340
|
-
}
|
|
341
332
|
|
|
342
333
|
.dropdown-toggle {
|
|
343
334
|
cursor: pointer;
|
|
@@ -354,84 +345,10 @@
|
|
|
354
345
|
font-weight:bold;
|
|
355
346
|
}
|
|
356
347
|
|
|
357
|
-
.picture-switcher {
|
|
358
|
-
img, .user-icon {
|
|
359
|
-
.user-icon-style(46px, 2.4rem, 50%);
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
@media (max-width: @screen-sm) {
|
|
363
|
-
img, .user-icon {
|
|
364
|
-
display: none;
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
h4 {
|
|
369
|
-
line-height: 46px;
|
|
370
|
-
margin: 0;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
.modal-body .btn {
|
|
374
|
-
padding: 10px 5px;
|
|
375
|
-
font-size: 13px;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
label {
|
|
379
|
-
vertical-align: top;
|
|
380
|
-
line-height: 26px;
|
|
381
|
-
|
|
382
|
-
> input[type="radio"] {
|
|
383
|
-
display: none;
|
|
384
|
-
|
|
385
|
-
&:checked {
|
|
386
|
-
+ span:before {
|
|
387
|
-
border-radius: 50%;
|
|
388
|
-
border: 2px solid @brand-primary;
|
|
389
|
-
position: relative;
|
|
390
|
-
top: -4px;
|
|
391
|
-
left: -4px;
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
&[value="transparent"] {
|
|
396
|
-
&:checked + span:before {
|
|
397
|
-
padding-top: 2px;
|
|
398
|
-
padding-left: 2px;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
+ span:before {
|
|
402
|
-
content: '\f05e';
|
|
403
|
-
font-family: FontAwesome;
|
|
404
|
-
color: @gray-lighter;
|
|
405
|
-
font-size: 28px;
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
span {
|
|
411
|
-
display: inline-block;
|
|
412
|
-
width: 24px;
|
|
413
|
-
height: 24px;
|
|
414
|
-
border-radius: 50%;
|
|
415
|
-
margin-right: .5em;
|
|
416
|
-
|
|
417
|
-
&:before {
|
|
418
|
-
content: '';
|
|
419
|
-
display: inline-block;
|
|
420
|
-
width: 32px;
|
|
421
|
-
height: 32px;
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
|
|
427
348
|
.page-user-info {
|
|
428
349
|
.recent-flags {
|
|
429
350
|
padding-left: 0;
|
|
430
351
|
|
|
431
|
-
li {
|
|
432
|
-
list-style-type: none;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
352
|
.title {
|
|
436
353
|
font-weight: bold;
|
|
437
354
|
}
|
|
@@ -439,7 +356,7 @@
|
|
|
439
356
|
.timestamp {
|
|
440
357
|
font-size: 1.25rem;
|
|
441
358
|
font-style: italic;
|
|
442
|
-
color:
|
|
359
|
+
color: $gray-600;
|
|
443
360
|
}
|
|
444
361
|
}
|
|
445
362
|
|
|
@@ -447,15 +364,14 @@
|
|
|
447
364
|
padding-left: 0;
|
|
448
365
|
|
|
449
366
|
li {
|
|
450
|
-
|
|
451
|
-
border-bottom: 1px solid @gray-lighter;
|
|
367
|
+
border-bottom: 1px solid $gray-200;
|
|
452
368
|
margin-bottom: 1rem;
|
|
453
369
|
}
|
|
454
370
|
|
|
455
371
|
.expiry {
|
|
456
372
|
font-size: 1.25rem;
|
|
457
373
|
font-style: italic;
|
|
458
|
-
color:
|
|
374
|
+
color: $gray-600;
|
|
459
375
|
}
|
|
460
376
|
}
|
|
461
377
|
}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
padding-bottom: 10px;
|
|
8
8
|
|
|
9
|
-
@media
|
|
10
|
-
border-top: 1px solid
|
|
9
|
+
@include media-breakpoint-down(sm) {
|
|
10
|
+
border-top: 1px solid $gray-200;
|
|
11
11
|
&:last-child {
|
|
12
|
-
border-bottom: 1px solid
|
|
12
|
+
border-bottom: 1px solid $gray-200;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -18,19 +18,8 @@
|
|
|
18
18
|
.content {
|
|
19
19
|
padding: 10px 15px;
|
|
20
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
21
|
img, .user-icon {
|
|
33
|
-
|
|
22
|
+
@include user-icon-style(46px, 2.4rem, 50%);
|
|
34
23
|
}
|
|
35
24
|
|
|
36
25
|
h2 {
|
|
@@ -39,12 +28,6 @@
|
|
|
39
28
|
overflow: hidden;
|
|
40
29
|
font-size: 18px;
|
|
41
30
|
line-height: 22px;
|
|
42
|
-
margin: 0;
|
|
43
|
-
margin-left: 62px;
|
|
44
|
-
|
|
45
|
-
strong {
|
|
46
|
-
color: @gray-dark;
|
|
47
|
-
}
|
|
48
31
|
}
|
|
49
32
|
}
|
|
50
33
|
|
|
@@ -61,7 +44,7 @@
|
|
|
61
44
|
font-size: 16px;
|
|
62
45
|
}
|
|
63
46
|
|
|
64
|
-
.
|
|
47
|
+
.lastpost {
|
|
65
48
|
border-left: 4px solid #ccc;
|
|
66
49
|
text-align: left;
|
|
67
50
|
margin-top: 10px;
|
|
@@ -74,12 +57,6 @@
|
|
|
74
57
|
padding-left: 20px;
|
|
75
58
|
}
|
|
76
59
|
|
|
77
|
-
img {
|
|
78
|
-
border-radius: 50%;
|
|
79
|
-
width: 24px;
|
|
80
|
-
height: 24px;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
60
|
p {
|
|
84
61
|
margin: 0;
|
|
85
62
|
.emoji {
|
|
@@ -97,27 +74,21 @@
|
|
|
97
74
|
|
|
98
75
|
.user-icon {
|
|
99
76
|
display: inline-block;
|
|
100
|
-
|
|
77
|
+
@include user-icon-style(24px, 1.5rem, 50%);
|
|
101
78
|
}
|
|
102
79
|
}
|
|
103
80
|
|
|
104
81
|
.category-children {
|
|
105
82
|
.category-children-item {
|
|
83
|
+
min-width: 180px;
|
|
106
84
|
margin-right: 10px;
|
|
107
85
|
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;
|
|
86
|
+
display: inline-block;
|
|
116
87
|
}
|
|
117
88
|
}
|
|
118
89
|
|
|
119
90
|
[component="topic/header"] > i[component="topic/pinned"] {
|
|
120
|
-
color:
|
|
91
|
+
color: $danger;
|
|
121
92
|
}
|
|
122
93
|
}
|
|
123
94
|
|
|
@@ -164,7 +135,7 @@
|
|
|
164
135
|
text-align: center;
|
|
165
136
|
margin: 0;
|
|
166
137
|
padding-top:25px;
|
|
167
|
-
|
|
138
|
+
@include pointer;
|
|
168
139
|
margin-bottom: 10px;
|
|
169
140
|
overflow:hidden;
|
|
170
141
|
|
|
@@ -228,7 +199,6 @@
|
|
|
228
199
|
|
|
229
200
|
small {
|
|
230
201
|
text-transform: uppercase;
|
|
231
|
-
color: @gray-light;
|
|
232
202
|
font-weight: 300;
|
|
233
203
|
font-size: 12px;
|
|
234
204
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
.category {
|
|
2
2
|
|
|
3
3
|
.topic-list {
|
|
4
|
-
margin-top: 10px;
|
|
5
4
|
overflow: visible;
|
|
6
5
|
}
|
|
7
6
|
|
|
@@ -10,15 +9,18 @@
|
|
|
10
9
|
list-style: none;
|
|
11
10
|
|
|
12
11
|
&:not(.unread) {
|
|
13
|
-
.
|
|
14
|
-
border-color: lighten(
|
|
12
|
+
.lastpost {
|
|
13
|
+
border-color: lighten($gray-600, 20%) !important;
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
h2 a {
|
|
18
|
-
color:
|
|
17
|
+
color: $text-muted;
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
|
-
|
|
20
|
+
.info {
|
|
21
|
+
margin-left: 62px;
|
|
22
|
+
font-size: 0.75rem;
|
|
23
|
+
}
|
|
22
24
|
&.deleted {
|
|
23
25
|
-moz-opacity: 0.30;
|
|
24
26
|
opacity: 0.30;
|
|
@@ -30,7 +32,7 @@
|
|
|
30
32
|
|
|
31
33
|
.select {
|
|
32
34
|
position: relative;
|
|
33
|
-
|
|
35
|
+
@include pointer;
|
|
34
36
|
|
|
35
37
|
&:before {
|
|
36
38
|
content: "";
|
|
@@ -46,13 +48,13 @@
|
|
|
46
48
|
top: 0px;
|
|
47
49
|
left: 0px;
|
|
48
50
|
border: 1px solid transparent;
|
|
49
|
-
background: white;
|
|
51
|
+
background: $white;
|
|
50
52
|
width: 100%;
|
|
51
53
|
height: 100%;
|
|
52
54
|
padding: 14px;
|
|
53
55
|
|
|
54
56
|
&:before {
|
|
55
|
-
|
|
57
|
+
@include pointer;
|
|
56
58
|
}
|
|
57
59
|
}
|
|
58
60
|
|
|
@@ -61,7 +63,7 @@
|
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
.fa-check, .avatar {
|
|
64
|
-
|
|
66
|
+
@include transition(.2s ease-in-out all);
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
float: left;
|
|
@@ -69,8 +71,8 @@
|
|
|
69
71
|
|
|
70
72
|
.avatar .select {
|
|
71
73
|
.fa-check {
|
|
72
|
-
border: 1px solid
|
|
73
|
-
color:
|
|
74
|
+
border: 1px solid $success;
|
|
75
|
+
color: $success;
|
|
74
76
|
}
|
|
75
77
|
}
|
|
76
78
|
|
|
@@ -80,8 +82,8 @@
|
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
.fa-check {
|
|
83
|
-
border: 1px solid
|
|
84
|
-
color:
|
|
85
|
+
border: 1px solid $success;
|
|
86
|
+
color: $success;
|
|
85
87
|
opacity: 1;
|
|
86
88
|
}
|
|
87
89
|
}
|
|
@@ -94,29 +96,23 @@
|
|
|
94
96
|
.avatar .select {
|
|
95
97
|
.fa-check {
|
|
96
98
|
opacity: 1;
|
|
97
|
-
background-color:
|
|
98
|
-
border: 1px solid
|
|
99
|
-
color:
|
|
100
|
-
|
|
99
|
+
background-color: $success;
|
|
100
|
+
border: 1px solid $success;
|
|
101
|
+
color: $white;
|
|
102
|
+
@include transition(all .15s ease-in-out);
|
|
101
103
|
}
|
|
102
104
|
|
|
103
105
|
&:hover .fa-check {
|
|
104
|
-
background-color:
|
|
105
|
-
border: 1px solid
|
|
106
|
-
color:
|
|
106
|
+
background-color: $success;
|
|
107
|
+
border: 1px solid $success;
|
|
108
|
+
color: $white;
|
|
107
109
|
}
|
|
108
110
|
}
|
|
109
111
|
}
|
|
110
112
|
|
|
111
|
-
.
|
|
112
|
-
font-size: 90%;
|
|
113
|
-
border-radius: 50%;
|
|
114
|
-
vertical-align: -6px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.card .user-icon {
|
|
113
|
+
.lastpost .user-icon {
|
|
118
114
|
display: inline-block;
|
|
119
|
-
|
|
115
|
+
@include user-icon-style(24px, 1.5rem, 50%);
|
|
120
116
|
}
|
|
121
117
|
}
|
|
122
118
|
|
|
@@ -126,7 +122,7 @@
|
|
|
126
122
|
}
|
|
127
123
|
|
|
128
124
|
.unread {
|
|
129
|
-
.
|
|
125
|
+
.title {
|
|
130
126
|
font-weight: bold;
|
|
131
127
|
}
|
|
132
128
|
}
|
|
@@ -139,72 +135,27 @@
|
|
|
139
135
|
.category, .categories, .subcategory {
|
|
140
136
|
> p {
|
|
141
137
|
text-transform: uppercase;
|
|
142
|
-
color: @gray-light;
|
|
143
138
|
}
|
|
144
139
|
|
|
145
140
|
.description {
|
|
146
|
-
font-size: 1.4rem;
|
|
147
141
|
font-weight: normal;
|
|
148
142
|
line-height: 1.2;
|
|
149
|
-
color: @gray-light;
|
|
150
143
|
margin-top: 5px;
|
|
151
144
|
min-height: 25px
|
|
152
145
|
}
|
|
153
146
|
|
|
154
|
-
.description, .category-children {
|
|
147
|
+
.title, .description, .category-children {
|
|
155
148
|
margin-left: 62px;
|
|
156
149
|
}
|
|
157
|
-
|
|
158
|
-
.category-children {
|
|
159
|
-
display: block;
|
|
160
|
-
font-size: 15px;
|
|
161
|
-
|
|
162
|
-
small {
|
|
163
|
-
color: #999999;
|
|
164
|
-
font-size: 1.4rem;
|
|
165
|
-
vertical-align: -2px;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
150
|
}
|
|
169
151
|
|
|
170
152
|
.categories-title {
|
|
171
153
|
text-transform: uppercase;
|
|
172
|
-
color: @gray-light;
|
|
173
154
|
margin: 0 0 10px;
|
|
174
155
|
font-size: 14px;
|
|
175
156
|
font-weight: normal;
|
|
176
157
|
line-height: 1.42857143;
|
|
177
158
|
}
|
|
178
159
|
|
|
179
|
-
[component="category-selector"], .category-dropdown-container {
|
|
180
|
-
.fa-stack {
|
|
181
|
-
font-size: 65%;
|
|
182
|
-
border-radius: 50%;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
#category-dropdown-check:checked + .dropdown-menu {
|
|
186
|
-
display: block;
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.category-dropdown-menu {
|
|
191
|
-
max-height: 500px;
|
|
192
|
-
overflow-y: auto;
|
|
193
|
-
}
|
|
194
160
|
|
|
195
|
-
.merge-topic-card {
|
|
196
|
-
position: fixed;
|
|
197
|
-
bottom: 10%;
|
|
198
|
-
right: 2rem;
|
|
199
|
-
z-index: @zindex-modal;
|
|
200
|
-
.topics-section {
|
|
201
|
-
max-height: 500px;
|
|
202
|
-
overflow-y: auto;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
161
|
|
|
206
|
-
@media screen and (min-width: @screen-sm-min) {
|
|
207
|
-
.merge-topic-card {
|
|
208
|
-
max-width: 33%;
|
|
209
|
-
}
|
|
210
|
-
}
|