nodebb-theme-persona 13.3.29 → 13.3.32
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/.eslintrc +2 -2
- package/README.md +20 -20
- package/lib/controllers.js +24 -24
- package/library.js +97 -97
- package/package.json +52 -52
- package/plugin.json +20 -20
- package/public/.eslintrc +2 -2
- package/public/admin.js +15 -15
- package/public/modules/autohidingnavbar.js +220 -220
- package/public/modules/mobile-menu.js +190 -190
- package/public/modules/taskbar.js +65 -65
- package/public/persona.js +257 -257
- package/public/settings.js +53 -53
- package/scss/account.scss +336 -336
- package/scss/categories.scss +205 -205
- package/scss/category.scss +161 -161
- package/scss/chats.scss +14 -14
- package/scss/flags.scss +42 -42
- package/scss/footer.scss +16 -16
- package/scss/groups.scss +166 -166
- package/scss/header.scss +361 -361
- package/scss/keyframes.scss +152 -152
- package/scss/mixins.scss +129 -129
- package/scss/mobile.scss +331 -331
- package/scss/modules/composer.scss +20 -20
- package/scss/modules/cookie-consent.scss +12 -12
- package/scss/modules/fab.scss +32 -32
- package/scss/modules/morph.scss +268 -268
- package/scss/modules/necro-post.scss +8 -8
- package/scss/modules/nprogress.scss +80 -80
- package/scss/modules/taskbar.scss +160 -160
- package/scss/modules/user-menu.scss +7 -7
- package/scss/modules/usercard.scss +64 -64
- package/scss/noscript.scss +80 -80
- package/scss/overrides.scss +39 -39
- package/scss/persona.scss +34 -35
- package/scss/posts_list.scss +127 -127
- package/scss/search.scss +48 -48
- package/scss/style.scss +256 -270
- package/scss/tags.scss +10 -10
- package/scss/topic.scss +571 -571
- package/scss/topics_list.scss +16 -16
- package/scss/variables.scss +6 -6
- package/templates/account/blocks.tpl +46 -46
- package/templates/account/categories.tpl +28 -28
- package/templates/account/consent.tpl +68 -68
- package/templates/account/edit/password.tpl +29 -29
- package/templates/account/edit/username.tpl +25 -25
- package/templates/account/edit.tpl +136 -136
- package/templates/account/followers.tpl +17 -17
- package/templates/account/following.tpl +17 -17
- package/templates/account/groups.tpl +16 -16
- package/templates/account/info.tpl +291 -291
- package/templates/account/posts.tpl +18 -18
- package/templates/account/profile.tpl +166 -166
- package/templates/account/sessions.tpl +31 -31
- package/templates/account/settings.tpl +251 -251
- package/templates/account/tags.tpl +9 -9
- package/templates/account/theme.tpl +25 -25
- package/templates/account/topics.tpl +29 -29
- package/templates/account/uploads.tpl +42 -42
- package/templates/admin/plugins/persona.tpl +24 -24
- package/templates/categories.tpl +31 -31
- package/templates/category.tpl +63 -63
- package/templates/flags/detail.tpl +208 -208
- package/templates/flags/list.tpl +71 -71
- package/templates/footer.tpl +11 -11
- package/templates/groups/details.tpl +77 -77
- package/templates/groups/list.tpl +48 -48
- package/templates/groups/members.tpl +5 -5
- package/templates/header.tpl +47 -47
- package/templates/modules/taskbar.tpl +2 -2
- package/templates/modules/usercard.tpl +36 -36
- package/templates/notifications.tpl +66 -66
- package/templates/partials/account/category-item.tpl +23 -23
- package/templates/partials/account/header.tpl +47 -47
- package/templates/partials/account/menu.tpl +108 -108
- package/templates/partials/breadcrumbs.tpl +18 -18
- package/templates/partials/buttons/newTopic.tpl +22 -22
- package/templates/partials/categories/item.tpl +60 -60
- package/templates/partials/categories/lastpost.tpl +26 -26
- package/templates/partials/category/filter-dropdown-content.tpl +31 -31
- package/templates/partials/category/selector-dropdown-content.tpl +32 -32
- package/templates/partials/category/sort.tpl +14 -14
- package/templates/partials/category/subcategory.tpl +17 -17
- package/templates/partials/category/tags.tpl +3 -3
- package/templates/partials/category/tools.tpl +86 -86
- package/templates/partials/category/watch.tpl +55 -55
- package/templates/partials/chats-menu.tpl +40 -40
- package/templates/partials/cookie-consent.tpl +4 -4
- package/templates/partials/flags/filters.tpl +173 -173
- package/templates/partials/groups/admin.tpl +200 -200
- package/templates/partials/groups/filter-dropdown-content.tpl +24 -24
- package/templates/partials/groups/list.tpl +20 -20
- package/templates/partials/groups/memberlist.tpl +42 -42
- package/templates/partials/header/chats.tpl +18 -18
- package/templates/partials/header/notifications.tpl +18 -18
- package/templates/partials/header/search.tpl +24 -24
- package/templates/partials/header/user-menu.tpl +96 -96
- package/templates/partials/menu.tpl +128 -128
- package/templates/partials/notifications_list.tpl +30 -30
- package/templates/partials/paginator.tpl +44 -44
- package/templates/partials/post_bar.tpl +20 -20
- package/templates/partials/posts_list.tpl +7 -7
- package/templates/partials/posts_list_item.tpl +31 -31
- package/templates/partials/quick-search-results.tpl +33 -33
- package/templates/partials/search-filters.tpl +183 -183
- package/templates/partials/search-results.tpl +54 -54
- package/templates/partials/slideout-menu.tpl +4 -4
- package/templates/partials/tags/filter-dropdown-content.tpl +33 -33
- package/templates/partials/tags/watch.tpl +35 -35
- package/templates/partials/tags_list.tpl +4 -4
- package/templates/partials/toast.tpl +19 -19
- package/templates/partials/topic/event.tpl +12 -12
- package/templates/partials/topic/navigation-post.tpl +11 -11
- package/templates/partials/topic/navigator.tpl +39 -39
- package/templates/partials/topic/necro-post.tpl +2 -2
- package/templates/partials/topic/post-menu-list.tpl +132 -132
- package/templates/partials/topic/post-menu.tpl +4 -4
- package/templates/partials/topic/post.tpl +128 -128
- package/templates/partials/topic/quickreply.tpl +28 -28
- package/templates/partials/topic/reply-button.tpl +26 -26
- package/templates/partials/topic/selection-tooltip.tpl +2 -2
- package/templates/partials/topic/sort.tpl +9 -9
- package/templates/partials/topic/stats.tpl +11 -11
- package/templates/partials/topic/tags.tpl +2 -2
- package/templates/partials/topic/tools.tpl +7 -7
- package/templates/partials/topic/topic-menu-list.tpl +74 -74
- package/templates/partials/topic/watch.tpl +47 -47
- package/templates/partials/topic-filters.tpl +11 -11
- package/templates/partials/topic-terms.tpl +11 -11
- package/templates/partials/topics_list.tpl +117 -117
- package/templates/partials/users/filter-dropdown-content.tpl +20 -20
- package/templates/partials/users/item.tpl +43 -43
- package/templates/partials/users_list.tpl +14 -14
- package/templates/partials/users_list_menu.tpl +20 -20
- package/templates/popular.tpl +35 -35
- package/templates/recent.tpl +37 -37
- package/templates/search.tpl +47 -47
- package/templates/tag.tpl +34 -34
- package/templates/tags.tpl +32 -32
- package/templates/top.tpl +35 -35
- package/templates/topic.tpl +129 -129
- package/templates/unread.tpl +37 -37
- package/templates/users.tpl +34 -34
- package/scss/register.scss +0 -71
package/scss/keyframes.scss
CHANGED
|
@@ -1,152 +1,152 @@
|
|
|
1
|
-
@-webkit-keyframes taskbar-active {
|
|
2
|
-
0% {
|
|
3
|
-
background: #e7e7e7;
|
|
4
|
-
color: #333;
|
|
5
|
-
}
|
|
6
|
-
50% {
|
|
7
|
-
background: #558;
|
|
8
|
-
color: #fff;
|
|
9
|
-
}
|
|
10
|
-
100% {
|
|
11
|
-
background: #e7e7e7;
|
|
12
|
-
color: #333;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@-moz-keyframes taskbar-active {
|
|
17
|
-
0% {
|
|
18
|
-
background: #e7e7e7;
|
|
19
|
-
color: #333;
|
|
20
|
-
}
|
|
21
|
-
50% {
|
|
22
|
-
background: #558;
|
|
23
|
-
color: #fff;
|
|
24
|
-
}
|
|
25
|
-
100% {
|
|
26
|
-
background: #e7e7e7;
|
|
27
|
-
color: #333;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@-o-keyframes taskbar-active {
|
|
32
|
-
0% {
|
|
33
|
-
background: #e7e7e7;
|
|
34
|
-
color: #333;
|
|
35
|
-
}
|
|
36
|
-
50% {
|
|
37
|
-
background: #558;
|
|
38
|
-
color: #fff;
|
|
39
|
-
}
|
|
40
|
-
100% {
|
|
41
|
-
background: #e7e7e7;
|
|
42
|
-
color: #333;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@keyframes taskbar-active {
|
|
47
|
-
0% {
|
|
48
|
-
background: #e7e7e7;
|
|
49
|
-
color: #333;
|
|
50
|
-
}
|
|
51
|
-
50% {
|
|
52
|
-
background: #558;
|
|
53
|
-
color: #fff;
|
|
54
|
-
}
|
|
55
|
-
100% {
|
|
56
|
-
background: #e7e7e7;
|
|
57
|
-
color: #333;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
@-webkit-keyframes topic-reply-pulse {
|
|
62
|
-
0%, 100% { opacity: 1; }
|
|
63
|
-
50% { opacity: 0.3; }
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@keyframes topic-reply-pulse {
|
|
67
|
-
0%, 100% { opacity: 1; }
|
|
68
|
-
50% { opacity: 0.3; }
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
// originally from http://daneden.github.io/animate.css/
|
|
74
|
-
@-webkit-keyframes bounceIn {
|
|
75
|
-
0%, 20%, 40%, 60%, 80%, 100% {
|
|
76
|
-
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
77
|
-
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
0% {
|
|
81
|
-
opacity: 0;
|
|
82
|
-
-webkit-transform: scale3d(.3, .3, .3);
|
|
83
|
-
transform: scale3d(.3, .3, .3);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
20% {
|
|
87
|
-
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
|
88
|
-
transform: scale3d(1.1, 1.1, 1.1);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
40% {
|
|
92
|
-
-webkit-transform: scale3d(.9, .9, .9);
|
|
93
|
-
transform: scale3d(.9, .9, .9);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
60% {
|
|
97
|
-
opacity: 1;
|
|
98
|
-
-webkit-transform: scale3d(1.03, 1.03, 1.03);
|
|
99
|
-
transform: scale3d(1.03, 1.03, 1.03);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
80% {
|
|
103
|
-
-webkit-transform: scale3d(.97, .97, .97);
|
|
104
|
-
transform: scale3d(.97, .97, .97);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
100% {
|
|
108
|
-
opacity: 1;
|
|
109
|
-
-webkit-transform: scale3d(1, 1, 1);
|
|
110
|
-
transform: scale3d(1, 1, 1);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
@keyframes bounceIn {
|
|
115
|
-
0%, 20%, 40%, 60%, 80%, 100% {
|
|
116
|
-
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
117
|
-
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
0% {
|
|
121
|
-
opacity: 0;
|
|
122
|
-
-webkit-transform: scale3d(.3, .3, .3);
|
|
123
|
-
transform: scale3d(.3, .3, .3);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
20% {
|
|
127
|
-
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
|
128
|
-
transform: scale3d(1.1, 1.1, 1.1);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
40% {
|
|
132
|
-
-webkit-transform: scale3d(.9, .9, .9);
|
|
133
|
-
transform: scale3d(.9, .9, .9);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
60% {
|
|
137
|
-
opacity: 1;
|
|
138
|
-
-webkit-transform: scale3d(1.03, 1.03, 1.03);
|
|
139
|
-
transform: scale3d(1.03, 1.03, 1.03);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
80% {
|
|
143
|
-
-webkit-transform: scale3d(.97, .97, .97);
|
|
144
|
-
transform: scale3d(.97, .97, .97);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
100% {
|
|
148
|
-
opacity: 1;
|
|
149
|
-
-webkit-transform: scale3d(1, 1, 1);
|
|
150
|
-
transform: scale3d(1, 1, 1);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
1
|
+
@-webkit-keyframes taskbar-active {
|
|
2
|
+
0% {
|
|
3
|
+
background: #e7e7e7;
|
|
4
|
+
color: #333;
|
|
5
|
+
}
|
|
6
|
+
50% {
|
|
7
|
+
background: #558;
|
|
8
|
+
color: #fff;
|
|
9
|
+
}
|
|
10
|
+
100% {
|
|
11
|
+
background: #e7e7e7;
|
|
12
|
+
color: #333;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@-moz-keyframes taskbar-active {
|
|
17
|
+
0% {
|
|
18
|
+
background: #e7e7e7;
|
|
19
|
+
color: #333;
|
|
20
|
+
}
|
|
21
|
+
50% {
|
|
22
|
+
background: #558;
|
|
23
|
+
color: #fff;
|
|
24
|
+
}
|
|
25
|
+
100% {
|
|
26
|
+
background: #e7e7e7;
|
|
27
|
+
color: #333;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@-o-keyframes taskbar-active {
|
|
32
|
+
0% {
|
|
33
|
+
background: #e7e7e7;
|
|
34
|
+
color: #333;
|
|
35
|
+
}
|
|
36
|
+
50% {
|
|
37
|
+
background: #558;
|
|
38
|
+
color: #fff;
|
|
39
|
+
}
|
|
40
|
+
100% {
|
|
41
|
+
background: #e7e7e7;
|
|
42
|
+
color: #333;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@keyframes taskbar-active {
|
|
47
|
+
0% {
|
|
48
|
+
background: #e7e7e7;
|
|
49
|
+
color: #333;
|
|
50
|
+
}
|
|
51
|
+
50% {
|
|
52
|
+
background: #558;
|
|
53
|
+
color: #fff;
|
|
54
|
+
}
|
|
55
|
+
100% {
|
|
56
|
+
background: #e7e7e7;
|
|
57
|
+
color: #333;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@-webkit-keyframes topic-reply-pulse {
|
|
62
|
+
0%, 100% { opacity: 1; }
|
|
63
|
+
50% { opacity: 0.3; }
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@keyframes topic-reply-pulse {
|
|
67
|
+
0%, 100% { opacity: 1; }
|
|
68
|
+
50% { opacity: 0.3; }
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
// originally from http://daneden.github.io/animate.css/
|
|
74
|
+
@-webkit-keyframes bounceIn {
|
|
75
|
+
0%, 20%, 40%, 60%, 80%, 100% {
|
|
76
|
+
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
77
|
+
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
0% {
|
|
81
|
+
opacity: 0;
|
|
82
|
+
-webkit-transform: scale3d(.3, .3, .3);
|
|
83
|
+
transform: scale3d(.3, .3, .3);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
20% {
|
|
87
|
+
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
|
88
|
+
transform: scale3d(1.1, 1.1, 1.1);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
40% {
|
|
92
|
+
-webkit-transform: scale3d(.9, .9, .9);
|
|
93
|
+
transform: scale3d(.9, .9, .9);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
60% {
|
|
97
|
+
opacity: 1;
|
|
98
|
+
-webkit-transform: scale3d(1.03, 1.03, 1.03);
|
|
99
|
+
transform: scale3d(1.03, 1.03, 1.03);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
80% {
|
|
103
|
+
-webkit-transform: scale3d(.97, .97, .97);
|
|
104
|
+
transform: scale3d(.97, .97, .97);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
100% {
|
|
108
|
+
opacity: 1;
|
|
109
|
+
-webkit-transform: scale3d(1, 1, 1);
|
|
110
|
+
transform: scale3d(1, 1, 1);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@keyframes bounceIn {
|
|
115
|
+
0%, 20%, 40%, 60%, 80%, 100% {
|
|
116
|
+
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
117
|
+
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
0% {
|
|
121
|
+
opacity: 0;
|
|
122
|
+
-webkit-transform: scale3d(.3, .3, .3);
|
|
123
|
+
transform: scale3d(.3, .3, .3);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
20% {
|
|
127
|
+
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
|
128
|
+
transform: scale3d(1.1, 1.1, 1.1);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
40% {
|
|
132
|
+
-webkit-transform: scale3d(.9, .9, .9);
|
|
133
|
+
transform: scale3d(.9, .9, .9);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
60% {
|
|
137
|
+
opacity: 1;
|
|
138
|
+
-webkit-transform: scale3d(1.03, 1.03, 1.03);
|
|
139
|
+
transform: scale3d(1.03, 1.03, 1.03);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
80% {
|
|
143
|
+
-webkit-transform: scale3d(.97, .97, .97);
|
|
144
|
+
transform: scale3d(.97, .97, .97);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
100% {
|
|
148
|
+
opacity: 1;
|
|
149
|
+
-webkit-transform: scale3d(1, 1, 1);
|
|
150
|
+
transform: scale3d(1, 1, 1);
|
|
151
|
+
}
|
|
152
|
+
}
|
package/scss/mixins.scss
CHANGED
|
@@ -1,130 +1,130 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
@mixin timeline-style() {
|
|
4
|
-
> [component="post"], .timeline-event {
|
|
5
|
-
position: relative; // for absolutely positioned pseudo-element, below
|
|
6
|
-
border-left: 2px solid lighten($primary, 30%);
|
|
7
|
-
margin-left: 1.5rem;
|
|
8
|
-
|
|
9
|
-
&:not(:last-child) {
|
|
10
|
-
padding-bottom: $post-padding;
|
|
11
|
-
}
|
|
12
|
-
&:not(:first-child) {
|
|
13
|
-
padding-top: $post-padding;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
> div:not(.content) {
|
|
17
|
-
margin-left: -1.5rem;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.icon .avatar, .timeline-badge {
|
|
21
|
-
// Opaque ring
|
|
22
|
-
position: relative;
|
|
23
|
-
z-index: 1;
|
|
24
|
-
box-shadow: 0 0 0 ($spacer * .5) $body-bg;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@include media-breakpoint-down(sm) {
|
|
29
|
-
[component="post"] {
|
|
30
|
-
border: 0;
|
|
31
|
-
padding: $post-padding 0;
|
|
32
|
-
|
|
33
|
-
margin-left: initial;
|
|
34
|
-
> div:not(.content) {
|
|
35
|
-
margin-left: 0;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
[component="post"]:last-child:after {
|
|
40
|
-
display: none;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.timeline-event {
|
|
44
|
-
margin-left: 1rem;
|
|
45
|
-
|
|
46
|
-
&:before, &+:not(.timeline-event):before {
|
|
47
|
-
content: '';
|
|
48
|
-
width: 1rem;
|
|
49
|
-
position: absolute;
|
|
50
|
-
top: 0;
|
|
51
|
-
left: calc(-0.5rem - 1px);
|
|
52
|
-
border-bottom: 2px solid lighten($primary, 30%);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&+:not(.timeline-event):before {
|
|
56
|
-
left: calc(.5rem + 1px);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&+.timeline-event:before {
|
|
60
|
-
display: none;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.timeline-text.timeago {
|
|
64
|
-
display: none;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@include media-breakpoint-up(sm) {
|
|
70
|
-
.timeline-event {
|
|
71
|
-
[component="topic/event/delete"] {
|
|
72
|
-
visibility: hidden;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&:hover {
|
|
76
|
-
[component="topic/event/delete"] {
|
|
77
|
-
visibility: visible;
|
|
78
|
-
|
|
79
|
-
&:hover {
|
|
80
|
-
color: $danger;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.necro-post {
|
|
88
|
-
border-left-style: dashed;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
> [component="post"]:last-child:after {
|
|
92
|
-
content: '';
|
|
93
|
-
width: 1rem;
|
|
94
|
-
position: absolute;
|
|
95
|
-
bottom: 0;
|
|
96
|
-
left: calc(-0.5rem - 1px);
|
|
97
|
-
border-bottom: 2px solid lighten($primary, 30%);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
[component="topic/event"], [component="topic/necro-post"] {
|
|
101
|
-
&.timeline-event {
|
|
102
|
-
text-align: left;
|
|
103
|
-
justify-content: left;
|
|
104
|
-
font-size: 1em;
|
|
105
|
-
|
|
106
|
-
.timeline-badge {
|
|
107
|
-
float: left;
|
|
108
|
-
display: flex;
|
|
109
|
-
align-items: center;
|
|
110
|
-
justify-content: center;
|
|
111
|
-
flex-shrink: 0;
|
|
112
|
-
|
|
113
|
-
width: 32px;
|
|
114
|
-
height: 32px;
|
|
115
|
-
padding: 0;
|
|
116
|
-
margin-left: -17px;
|
|
117
|
-
margin-right: 17px;
|
|
118
|
-
color: lighten($primary, 30%);
|
|
119
|
-
background-color: $body-bg;
|
|
120
|
-
border: 2px solid lighten($primary, 30%);
|
|
121
|
-
border-radius: 50%;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.timeline-text {
|
|
125
|
-
line-height: 32px;
|
|
126
|
-
text-transform: initial;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
@mixin timeline-style() {
|
|
4
|
+
> [component="post"], .timeline-event {
|
|
5
|
+
position: relative; // for absolutely positioned pseudo-element, below
|
|
6
|
+
border-left: 2px solid lighten($primary, 30%);
|
|
7
|
+
margin-left: 1.5rem;
|
|
8
|
+
|
|
9
|
+
&:not(:last-child) {
|
|
10
|
+
padding-bottom: $post-padding;
|
|
11
|
+
}
|
|
12
|
+
&:not(:first-child) {
|
|
13
|
+
padding-top: $post-padding;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
> div:not(.content) {
|
|
17
|
+
margin-left: -1.5rem;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.icon .avatar, .timeline-badge {
|
|
21
|
+
// Opaque ring
|
|
22
|
+
position: relative;
|
|
23
|
+
z-index: 1;
|
|
24
|
+
box-shadow: 0 0 0 ($spacer * .5) $body-bg;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@include media-breakpoint-down(sm) {
|
|
29
|
+
[component="post"] {
|
|
30
|
+
border: 0;
|
|
31
|
+
padding: $post-padding 0;
|
|
32
|
+
|
|
33
|
+
margin-left: initial;
|
|
34
|
+
> div:not(.content) {
|
|
35
|
+
margin-left: 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
[component="post"]:last-child:after {
|
|
40
|
+
display: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.timeline-event {
|
|
44
|
+
margin-left: 1rem;
|
|
45
|
+
|
|
46
|
+
&:before, &+:not(.timeline-event):before {
|
|
47
|
+
content: '';
|
|
48
|
+
width: 1rem;
|
|
49
|
+
position: absolute;
|
|
50
|
+
top: 0;
|
|
51
|
+
left: calc(-0.5rem - 1px);
|
|
52
|
+
border-bottom: 2px solid lighten($primary, 30%);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&+:not(.timeline-event):before {
|
|
56
|
+
left: calc(.5rem + 1px);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&+.timeline-event:before {
|
|
60
|
+
display: none;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.timeline-text.timeago {
|
|
64
|
+
display: none;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@include media-breakpoint-up(sm) {
|
|
70
|
+
.timeline-event {
|
|
71
|
+
[component="topic/event/delete"] {
|
|
72
|
+
visibility: hidden;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&:hover {
|
|
76
|
+
[component="topic/event/delete"] {
|
|
77
|
+
visibility: visible;
|
|
78
|
+
|
|
79
|
+
&:hover {
|
|
80
|
+
color: $danger;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.necro-post {
|
|
88
|
+
border-left-style: dashed;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
> [component="post"]:last-child:after {
|
|
92
|
+
content: '';
|
|
93
|
+
width: 1rem;
|
|
94
|
+
position: absolute;
|
|
95
|
+
bottom: 0;
|
|
96
|
+
left: calc(-0.5rem - 1px);
|
|
97
|
+
border-bottom: 2px solid lighten($primary, 30%);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
[component="topic/event"], [component="topic/necro-post"] {
|
|
101
|
+
&.timeline-event {
|
|
102
|
+
text-align: left;
|
|
103
|
+
justify-content: left;
|
|
104
|
+
font-size: 1em;
|
|
105
|
+
|
|
106
|
+
.timeline-badge {
|
|
107
|
+
float: left;
|
|
108
|
+
display: flex;
|
|
109
|
+
align-items: center;
|
|
110
|
+
justify-content: center;
|
|
111
|
+
flex-shrink: 0;
|
|
112
|
+
|
|
113
|
+
width: 32px;
|
|
114
|
+
height: 32px;
|
|
115
|
+
padding: 0;
|
|
116
|
+
margin-left: -17px;
|
|
117
|
+
margin-right: 17px;
|
|
118
|
+
color: lighten($primary, 30%);
|
|
119
|
+
background-color: $body-bg;
|
|
120
|
+
border: 2px solid lighten($primary, 30%);
|
|
121
|
+
border-radius: 50%;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.timeline-text {
|
|
125
|
+
line-height: 32px;
|
|
126
|
+
text-transform: initial;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
130
|
}
|