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.
- 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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.persona-fab {
|
|
2
2
|
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.156863), 0px 2px 10px 0px rgba(0, 0, 0, 0.117647);
|
|
3
3
|
|
|
4
|
-
background-color:
|
|
4
|
+
background-color: $primary;
|
|
5
5
|
border: none;
|
|
6
6
|
border-radius: 50%;
|
|
7
7
|
cursor: pointer;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&.plus {
|
|
28
|
-
background-color:
|
|
28
|
+
background-color: $success;
|
|
29
29
|
> span > span {
|
|
30
30
|
background-color: white;
|
|
31
31
|
}
|
|
File without changes
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
#nprogress {
|
|
2
|
+
pointer-events: none;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
#nprogress .bar {
|
|
6
|
+
background: #29d;
|
|
7
|
+
|
|
8
|
+
position: fixed;
|
|
9
|
+
z-index: 1031;
|
|
10
|
+
top: 0;
|
|
11
|
+
left: 0;
|
|
12
|
+
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 2px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
#nprogress .peg {
|
|
18
|
+
display: block;
|
|
19
|
+
position: absolute;
|
|
20
|
+
right: 0px;
|
|
21
|
+
width: 100px;
|
|
22
|
+
height: 100%;
|
|
23
|
+
box-shadow: 0 0 10px #29d, 0 0 5px #29d;
|
|
24
|
+
opacity: 1.0;
|
|
25
|
+
|
|
26
|
+
-webkit-transform: rotate(3deg) translate(0px, -4px);
|
|
27
|
+
-ms-transform: rotate(3deg) translate(0px, -4px);
|
|
28
|
+
transform: rotate(3deg) translate(0px, -4px);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
#nprogress .spinner {
|
|
32
|
+
display: block;
|
|
33
|
+
position: fixed;
|
|
34
|
+
z-index: 1031;
|
|
35
|
+
top: 15px;
|
|
36
|
+
right: 15px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@include media-breakpoint-down(sm) {
|
|
40
|
+
#nprogress .spinner {
|
|
41
|
+
bottom: 15px;
|
|
42
|
+
right: 15px;
|
|
43
|
+
top: initial;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
#nprogress .spinner-icon {
|
|
49
|
+
width: 18px;
|
|
50
|
+
height: 18px;
|
|
51
|
+
box-sizing: border-box;
|
|
52
|
+
|
|
53
|
+
border: solid 2px transparent;
|
|
54
|
+
border-top-color: #29d;
|
|
55
|
+
border-left-color: #29d;
|
|
56
|
+
border-radius: 50%;
|
|
57
|
+
|
|
58
|
+
-webkit-animation: nprogress-spinner 400ms linear infinite;
|
|
59
|
+
animation: nprogress-spinner 400ms linear infinite;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.nprogress-custom-parent {
|
|
63
|
+
overflow: hidden;
|
|
64
|
+
position: relative;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.nprogress-custom-parent #nprogress .spinner,
|
|
68
|
+
.nprogress-custom-parent #nprogress .bar {
|
|
69
|
+
position: absolute;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@-webkit-keyframes nprogress-spinner {
|
|
73
|
+
0% { -webkit-transform: rotate(0deg); }
|
|
74
|
+
100% { -webkit-transform: rotate(360deg); }
|
|
75
|
+
}
|
|
76
|
+
@keyframes nprogress-spinner {
|
|
77
|
+
0% { transform: rotate(0deg); }
|
|
78
|
+
100% { transform: rotate(360deg); }
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import "../keyframes";
|
|
2
2
|
|
|
3
3
|
.modal-unfocused {
|
|
4
|
-
z-index:
|
|
4
|
+
z-index: $zindex-modal - 5 !important;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.taskbar {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
right: auto;
|
|
11
11
|
|
|
12
12
|
margin-top: 0;
|
|
13
|
-
|
|
13
|
+
@include transition(.15s ease-in opacity);
|
|
14
14
|
|
|
15
15
|
background: none;
|
|
16
16
|
border: none;
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
a {
|
|
71
|
+
display: inline-block;
|
|
71
72
|
padding: 3px 15px;
|
|
72
73
|
font-size: 20px;
|
|
73
74
|
|
|
@@ -76,7 +77,7 @@
|
|
|
76
77
|
}
|
|
77
78
|
|
|
78
79
|
&:focus, &:hover {
|
|
79
|
-
color:
|
|
80
|
+
color: $gray-200;
|
|
80
81
|
}
|
|
81
82
|
|
|
82
83
|
border-radius: 50%;
|
|
@@ -112,14 +113,14 @@
|
|
|
112
113
|
|
|
113
114
|
&.taskbar-composer {
|
|
114
115
|
a, a:hover, a:focus, a:active {
|
|
115
|
-
background-color:
|
|
116
|
+
background-color: $danger;
|
|
116
117
|
background-size: cover;
|
|
117
118
|
}
|
|
118
119
|
}
|
|
119
120
|
|
|
120
121
|
&.taskbar-chat {
|
|
121
122
|
a, a:hover, a:focus, a:active {
|
|
122
|
-
background:
|
|
123
|
+
background: $primary;
|
|
123
124
|
}
|
|
124
125
|
|
|
125
126
|
&.new:after {
|
|
@@ -129,14 +130,14 @@
|
|
|
129
130
|
top: 0px;
|
|
130
131
|
font-size: 10px;
|
|
131
132
|
text-align: center;
|
|
132
|
-
border: 1px solid
|
|
133
|
+
border: 1px solid $danger;
|
|
133
134
|
color: #fff;
|
|
134
135
|
font-weight: bold;
|
|
135
136
|
min-width: 20px;
|
|
136
|
-
|
|
137
|
-
background:
|
|
137
|
+
border-radius: 4px;
|
|
138
|
+
background: $danger;
|
|
138
139
|
padding: 1px 2px;
|
|
139
|
-
font-family:
|
|
140
|
+
font-family: $font-family-sans-serif;
|
|
140
141
|
}
|
|
141
142
|
|
|
142
143
|
&.new[data-content="0"]:after {
|
|
@@ -151,7 +152,7 @@
|
|
|
151
152
|
i {
|
|
152
153
|
font-size: 18px;
|
|
153
154
|
line-height: 42px;
|
|
154
|
-
color:
|
|
155
|
+
color: $body-color;
|
|
155
156
|
}
|
|
156
157
|
}
|
|
157
158
|
}
|
|
File without changes
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
@import "mixins";
|
|
2
|
-
|
|
3
1
|
noscript {
|
|
4
|
-
|
|
2
|
+
@mixin default() {
|
|
5
3
|
list-style-type: none;
|
|
6
4
|
padding: 1em;
|
|
7
5
|
margin-bottom: 1em;
|
|
8
|
-
|
|
6
|
+
@include zebra;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
9
|
.categories {
|
|
12
10
|
li {
|
|
13
|
-
|
|
11
|
+
@include default;
|
|
14
12
|
|
|
15
13
|
.icon {
|
|
16
14
|
float: left;
|
|
@@ -29,7 +27,7 @@ noscript {
|
|
|
29
27
|
|
|
30
28
|
.topics {
|
|
31
29
|
li {
|
|
32
|
-
|
|
30
|
+
@include default;
|
|
33
31
|
}
|
|
34
32
|
|
|
35
33
|
.timestamp {
|
|
@@ -63,7 +61,7 @@ noscript {
|
|
|
63
61
|
|
|
64
62
|
.posts {
|
|
65
63
|
li {
|
|
66
|
-
|
|
64
|
+
@include default;
|
|
67
65
|
|
|
68
66
|
.profile {
|
|
69
67
|
text-align: center;
|
|
File without changes
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// only overrides to bs5 variables here
|
|
2
|
+
|
|
3
|
+
// TODO: decide if we should readd this, persona modified bootstrap to increase padding
|
|
4
|
+
// $input-btn-padding-y: .625rem !default;
|
|
5
|
+
// $input-btn-padding-x: 1rem !default;
|
|
6
|
+
|
|
7
|
+
$navbar-nav-link-padding-x: 0.875rem!default;
|
|
8
|
+
|
|
9
|
+
// persona colors
|
|
10
|
+
$white: #fff !default;
|
|
11
|
+
$gray-100: #f8f9fa !default;
|
|
12
|
+
$gray-200: #e9ecef !default;
|
|
13
|
+
$gray-300: #dee2e6 !default;
|
|
14
|
+
$gray-400: #ced4da !default;
|
|
15
|
+
$gray-500: #adb5bd !default;
|
|
16
|
+
$gray-600: #6c757d !default;
|
|
17
|
+
$gray-700: #495057 !default;
|
|
18
|
+
$gray-800: #343a40 !default;
|
|
19
|
+
$gray-900: #212529 !default;
|
|
20
|
+
$black: #000 !default;
|
|
21
|
+
|
|
22
|
+
$primary: darken(#428bca, 6.5%) !default;
|
|
23
|
+
$secondary: $gray-600 !default;
|
|
24
|
+
$success: #5cb85c !default;
|
|
25
|
+
$info: #5bc0de !default;
|
|
26
|
+
$warning: #f0ad4e !default;
|
|
27
|
+
$danger: #d9534f !default;
|
|
28
|
+
$light: $gray-100 !default;
|
|
29
|
+
$dark: $gray-900 !default;
|
|
30
|
+
$link-decoration:none !default;
|
|
31
|
+
|
|
32
|
+
// font
|
|
33
|
+
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
|
|
34
|
+
// BS5 default is 1rem(16px)
|
|
35
|
+
$font-size-base: 0.875rem!default;
|
|
36
|
+
|
|
37
|
+
// no rounded in persona
|
|
38
|
+
$enable-rounded: false;
|
|
39
|
+
|
|
40
|
+
// no caret on dropdown-toggle
|
|
41
|
+
$enable-caret: false;
|
|
42
|
+
|
|
43
|
+
// disable smooth scroll, this makes window.scrollTo(0,0) in ajaxify.js take x milliseconds
|
|
44
|
+
$enable-smooth-scroll: false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import "variables";
|
|
2
|
-
|
|
3
2
|
@import "style";
|
|
3
|
+
@import "mixins";
|
|
4
4
|
|
|
5
5
|
@import "topic";
|
|
6
6
|
@import "category";
|
|
@@ -11,23 +11,18 @@
|
|
|
11
11
|
@import "account";
|
|
12
12
|
@import "groups";
|
|
13
13
|
@import "chats";
|
|
14
|
-
@import "notifications";
|
|
15
14
|
@import "search";
|
|
16
15
|
@import "topics_list";
|
|
17
|
-
@import "users";
|
|
18
16
|
@import "outgoing";
|
|
19
17
|
@import "footer";
|
|
20
18
|
@import "posts_list";
|
|
21
19
|
@import "register";
|
|
22
20
|
@import "flags";
|
|
23
|
-
@import "post-queue";
|
|
24
|
-
@import "ip-blacklist";
|
|
25
21
|
|
|
26
22
|
@import "mobile";
|
|
27
23
|
|
|
28
24
|
@import "helpers";
|
|
29
25
|
@import "keyframes";
|
|
30
|
-
@import "rtl";
|
|
31
26
|
|
|
32
27
|
@import "modules/nprogress";
|
|
33
28
|
@import "modules/usercard";
|
|
@@ -37,12 +32,5 @@
|
|
|
37
32
|
@import "modules/morph";
|
|
38
33
|
@import "modules/composer-default";
|
|
39
34
|
@import "modules/cookie-consent";
|
|
40
|
-
@import "modules/bottom-sheet";
|
|
41
35
|
@import "modules/necro-post";
|
|
42
36
|
|
|
43
|
-
|
|
44
|
-
@material-primary: #337ab7;
|
|
45
|
-
@material-success: #4CAF50;
|
|
46
|
-
@material-info: #717484;
|
|
47
|
-
@material-warning: #ff6d00;
|
|
48
|
-
@material-danger: #F44336;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
.posts-list {
|
|
2
|
-
list-style-type: none;
|
|
3
2
|
padding-left: 0px;
|
|
4
3
|
|
|
5
4
|
.posts-list-item {
|
|
6
|
-
@icon-radius: 14px;
|
|
7
5
|
width: 100%;
|
|
8
6
|
margin-bottom: 0px;
|
|
9
7
|
|
|
@@ -17,23 +15,21 @@
|
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
.user-img {
|
|
20
|
-
.user-icon-style(@icon-radius * 2px, 1.5rem, 50%);
|
|
21
18
|
position: absolute;
|
|
22
19
|
top: 50%;
|
|
23
|
-
margin-top: -
|
|
24
|
-
margin-left: -
|
|
20
|
+
margin-top: -14px;
|
|
21
|
+
margin-left: -14px;
|
|
25
22
|
}
|
|
26
23
|
|
|
27
24
|
a {
|
|
28
25
|
span {
|
|
29
26
|
overflow: hidden;
|
|
30
|
-
height: 16px;
|
|
31
27
|
padding-left: 8px;
|
|
32
28
|
}
|
|
33
29
|
}
|
|
34
30
|
|
|
35
31
|
.topic-title {
|
|
36
|
-
color:
|
|
32
|
+
color: $gray-800;
|
|
37
33
|
font-weight: 900;
|
|
38
34
|
font-size: 125%;
|
|
39
35
|
text-decoration: underline;
|
|
@@ -42,7 +38,7 @@
|
|
|
42
38
|
.topic-category {
|
|
43
39
|
text-transform: uppercase;
|
|
44
40
|
font-size: 10px;
|
|
45
|
-
color:
|
|
41
|
+
color: $gray-600;
|
|
46
42
|
margin-top: 6px;
|
|
47
43
|
margin-right: 10px;
|
|
48
44
|
margin-bottom: 25px;
|
|
@@ -51,7 +47,7 @@
|
|
|
51
47
|
|
|
52
48
|
a {
|
|
53
49
|
font-weight: 900;
|
|
54
|
-
color:
|
|
50
|
+
color: $gray-600;
|
|
55
51
|
}
|
|
56
52
|
}
|
|
57
53
|
|
|
@@ -82,8 +78,9 @@
|
|
|
82
78
|
}
|
|
83
79
|
|
|
84
80
|
.post-body {
|
|
85
|
-
border-right: 2px solid
|
|
81
|
+
border-right: 2px solid $primary;
|
|
86
82
|
min-height: 100px;
|
|
83
|
+
position: relative; // to handle abs. positioning in .post-info child
|
|
87
84
|
}
|
|
88
85
|
|
|
89
86
|
.post-info {
|
|
@@ -97,7 +94,6 @@
|
|
|
97
94
|
> a {
|
|
98
95
|
position: relative;
|
|
99
96
|
.user-img {
|
|
100
|
-
margin-top: -3px;
|
|
101
97
|
text-align: center;
|
|
102
98
|
padding: 0;
|
|
103
99
|
}
|
|
@@ -105,10 +101,11 @@
|
|
|
105
101
|
|
|
106
102
|
.post-author {
|
|
107
103
|
padding-left: 25px;
|
|
108
|
-
|
|
104
|
+
margin-top: -14px;
|
|
105
|
+
color: $gray-600;
|
|
109
106
|
|
|
110
107
|
a {
|
|
111
|
-
color:
|
|
108
|
+
color: $gray-600;
|
|
112
109
|
font-weight: 900;
|
|
113
110
|
|
|
114
111
|
}
|
|
@@ -124,7 +121,7 @@
|
|
|
124
121
|
overflow-y: none;
|
|
125
122
|
}
|
|
126
123
|
|
|
127
|
-
@media
|
|
124
|
+
@include media-breakpoint-down(sm) {
|
|
128
125
|
.posts-list .posts-list-item .post-info {
|
|
129
126
|
width: 100px;
|
|
130
127
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
.page-register-complete {
|
|
2
2
|
.tos {
|
|
3
|
-
background:
|
|
4
|
-
color: @text-color;
|
|
3
|
+
background: $body-bg;
|
|
5
4
|
max-height: 350px;
|
|
6
5
|
margin-top: 5px;
|
|
7
6
|
overflow-y: scroll;
|
|
@@ -14,10 +13,6 @@
|
|
|
14
13
|
.register-block {
|
|
15
14
|
margin-top: 15px;
|
|
16
15
|
|
|
17
|
-
.help-block {
|
|
18
|
-
font-size: 13px;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
16
|
.register-success {
|
|
22
17
|
.form-control {
|
|
23
18
|
border-color: #5cb85c;
|
|
@@ -69,7 +64,7 @@
|
|
|
69
64
|
}
|
|
70
65
|
}
|
|
71
66
|
|
|
72
|
-
@media
|
|
67
|
+
@include media-breakpoint-down(sm) {
|
|
73
68
|
.alt-login-block {
|
|
74
69
|
margin-bottom: 20px;
|
|
75
70
|
}
|
package/scss/search.scss
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.search-result-title {
|
|
2
|
+
font-weight: 600;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.search-result-text {
|
|
6
|
+
max-height: 250px;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
position: relative;
|
|
9
|
+
|
|
10
|
+
h4, p {
|
|
11
|
+
overflow-y: hidden;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.topic-search {
|
|
16
|
+
position: fixed;
|
|
17
|
+
top: 60px;
|
|
18
|
+
right: 10px;
|
|
19
|
+
|
|
20
|
+
button {
|
|
21
|
+
padding: 4px 6px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@include media-breakpoint-down(sm) {
|
|
26
|
+
.quick-search-container {
|
|
27
|
+
left: 0px;
|
|
28
|
+
right: 0px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.quick-search-results, .search-results {
|
|
33
|
+
.post-info {
|
|
34
|
+
font-size: 12px;
|
|
35
|
+
.category-item .icon {
|
|
36
|
+
margin-top: -3px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -7,13 +7,9 @@ body {
|
|
|
7
7
|
min-height: 100%;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
padding-top: var(--panel-offset);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@media (max-width: @screen-xs-max) {
|
|
10
|
+
@include media-breakpoint-down(sm) {
|
|
15
11
|
.slideout-panel {
|
|
16
|
-
|
|
12
|
+
min-height: 100vh;
|
|
17
13
|
}
|
|
18
14
|
}
|
|
19
15
|
|
|
@@ -42,17 +38,13 @@ a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus {
|
|
|
42
38
|
vertical-align: middle;
|
|
43
39
|
background: transparent;
|
|
44
40
|
margin: 0.25em;
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
@include pointer;
|
|
42
|
+
@include inline-block;
|
|
47
43
|
}
|
|
48
44
|
}
|
|
49
45
|
|
|
50
|
-
.jumbotron {
|
|
51
|
-
word-wrap: break-word;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
46
|
#content {
|
|
55
|
-
padding-bottom:20px;
|
|
47
|
+
padding-bottom: 20px;
|
|
56
48
|
-webkit-transition: opacity 150ms linear;
|
|
57
49
|
-moz-transition: opacity 150ms linear;
|
|
58
50
|
-ms-transition: opacity 150ms linear;
|
|
@@ -62,7 +54,6 @@ a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus {
|
|
|
62
54
|
&.ajaxifying {
|
|
63
55
|
-moz-opacity: 0;
|
|
64
56
|
opacity: 0;
|
|
65
|
-
-ms-filter:~"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
|
66
57
|
}
|
|
67
58
|
}
|
|
68
59
|
|
|
@@ -71,19 +62,19 @@ a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus {
|
|
|
71
62
|
vertical-align: middle;
|
|
72
63
|
|
|
73
64
|
&.online {
|
|
74
|
-
color:
|
|
65
|
+
color: $success;
|
|
75
66
|
}
|
|
76
67
|
|
|
77
68
|
&.away {
|
|
78
|
-
color:
|
|
69
|
+
color: $warning;
|
|
79
70
|
}
|
|
80
71
|
|
|
81
72
|
&.dnd {
|
|
82
|
-
color:
|
|
73
|
+
color: $danger;
|
|
83
74
|
}
|
|
84
75
|
|
|
85
76
|
&.offline {
|
|
86
|
-
color:
|
|
77
|
+
color: $gray-600;
|
|
87
78
|
}
|
|
88
79
|
}
|
|
89
80
|
|
|
@@ -97,7 +88,7 @@ a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus {
|
|
|
97
88
|
}
|
|
98
89
|
|
|
99
90
|
.topic .topic-item.highlight, .category .category-item.highlight {
|
|
100
|
-
background-color: lighten(
|
|
91
|
+
background-color: lighten($info, 20%);
|
|
101
92
|
}
|
|
102
93
|
|
|
103
94
|
.fa-facebook-square {
|
|
@@ -143,6 +134,16 @@ a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus {
|
|
|
143
134
|
}
|
|
144
135
|
}
|
|
145
136
|
|
|
137
|
+
.caret {
|
|
138
|
+
display: inline-block;
|
|
139
|
+
width: 0;
|
|
140
|
+
height: 0;
|
|
141
|
+
vertical-align: middle;
|
|
142
|
+
border-top: 4px dashed;
|
|
143
|
+
border-right: 4px solid transparent;
|
|
144
|
+
border-left: 4px solid transparent;
|
|
145
|
+
}
|
|
146
|
+
|
|
146
147
|
.fade-out {
|
|
147
148
|
position: absolute;
|
|
148
149
|
top: 190px;
|
|
@@ -202,30 +203,6 @@ a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus {
|
|
|
202
203
|
background-image: -o-linear-gradient(top, transparent, #2b3e50);
|
|
203
204
|
}
|
|
204
205
|
|
|
205
|
-
.skin-darkly, .skin-cyborg {
|
|
206
|
-
[component="composer"] {
|
|
207
|
-
background: #333;
|
|
208
|
-
|
|
209
|
-
.title, .preview, textarea {
|
|
210
|
-
background-color: #303030;
|
|
211
|
-
color: #fff;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
textarea {
|
|
215
|
-
outline: none;
|
|
216
|
-
border-color: #000;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.formatting-bar .formatting-group li, .formatting-bar span {
|
|
220
|
-
color: #fff;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.formatting-bar .formatting-group li:focus, .formatting-bar .formatting-group li:hover {
|
|
224
|
-
background-color: #444;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
206
|
.icon-container {
|
|
230
207
|
.row {
|
|
231
208
|
margin: 0;
|
|
@@ -233,7 +210,7 @@ a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus {
|
|
|
233
210
|
width:20px;
|
|
234
211
|
height:20px;
|
|
235
212
|
margin: 1px;
|
|
236
|
-
|
|
213
|
+
@include pointer();
|
|
237
214
|
line-height: 20px;
|
|
238
215
|
text-align: center;
|
|
239
216
|
|
|
@@ -261,7 +238,6 @@ a.permalink {
|
|
|
261
238
|
&:hover,
|
|
262
239
|
&:focus,
|
|
263
240
|
&:active {
|
|
264
|
-
color: @gray-light;
|
|
265
241
|
text-decoration: underline;
|
|
266
242
|
}
|
|
267
243
|
}
|
|
@@ -275,7 +251,7 @@ a.permalink {
|
|
|
275
251
|
pointer-events: none;
|
|
276
252
|
}
|
|
277
253
|
|
|
278
|
-
@media
|
|
254
|
+
@include media-breakpoint-down(sm) {
|
|
279
255
|
.form-control {
|
|
280
256
|
font-size: 16px;
|
|
281
257
|
}
|
|
@@ -294,4 +270,4 @@ a.permalink {
|
|
|
294
270
|
top: 0;
|
|
295
271
|
left: 0;
|
|
296
272
|
}
|
|
297
|
-
}
|
|
273
|
+
}
|