thredded 0.6.3 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -12
- data/app/assets/images/thredded/follow.svg +1 -0
- data/app/assets/images/thredded/unfollow.svg +1 -0
- data/app/assets/stylesheets/thredded/_thredded.scss +27 -28
- data/app/assets/stylesheets/thredded/components/_alerts.scss +5 -5
- data/app/assets/stylesheets/thredded/components/_base.scss +5 -5
- data/app/assets/stylesheets/thredded/components/_currently-online.scss +1 -1
- data/app/assets/stylesheets/thredded/components/_empty.scss +2 -2
- data/app/assets/stylesheets/thredded/components/_flash-message.scss +5 -5
- data/app/assets/stylesheets/thredded/components/_following.scss +17 -0
- data/app/assets/stylesheets/thredded/components/_form-list.scss +3 -3
- data/app/assets/stylesheets/thredded/components/_icons.scss +1 -1
- data/app/assets/stylesheets/thredded/components/_main-section.scss +1 -1
- data/app/assets/stylesheets/thredded/components/_messageboard.scss +6 -6
- data/app/assets/stylesheets/thredded/components/_pagination.scss +1 -1
- data/app/assets/stylesheets/thredded/components/_post-form.scss +1 -1
- data/app/assets/stylesheets/thredded/components/_post.scss +12 -11
- data/app/assets/stylesheets/thredded/components/_preferences.scss +1 -1
- data/app/assets/stylesheets/thredded/components/_select2.scss +4 -4
- data/app/assets/stylesheets/thredded/components/_topic-delete.scss +4 -8
- data/app/assets/stylesheets/thredded/components/_topic-header.scss +25 -11
- data/app/assets/stylesheets/thredded/components/_topics.scss +37 -15
- data/app/assets/stylesheets/thredded/layout/_main-container.scss +1 -1
- data/app/assets/stylesheets/thredded/layout/_main-navigation.scss +2 -2
- data/app/assets/stylesheets/thredded/layout/_moderation.scss +16 -15
- data/app/assets/stylesheets/thredded/layout/_navigation.scss +6 -6
- data/app/assets/stylesheets/thredded/layout/_search-navigation.scss +1 -1
- data/app/assets/stylesheets/thredded/layout/_user-navigation.scss +13 -13
- data/app/assets/stylesheets/thredded/layout/_user.scss +1 -1
- data/app/assets/stylesheets/thredded/utilities/_is-compact.scss +1 -1
- data/app/assets/stylesheets/thredded/utilities/_is-expanded.scss +1 -1
- data/app/commands/thredded/notify_following_users.rb +1 -1
- data/app/controllers/thredded/messageboard_groups_controller.rb +3 -1
- data/app/controllers/thredded/messageboards_controller.rb +1 -3
- data/app/controllers/thredded/private_topics_controller.rb +1 -1
- data/app/controllers/thredded/topics_controller.rb +16 -9
- data/app/helpers/thredded/application_helper.rb +36 -0
- data/app/models/concerns/thredded/topic_common.rb +2 -2
- data/app/models/concerns/thredded/user_topic_read_state_common.rb +1 -1
- data/app/models/thredded/messageboard.rb +34 -7
- data/app/models/thredded/messageboard_group.rb +8 -1
- data/app/models/thredded/null_user.rb +4 -0
- data/app/models/thredded/post_moderation_record.rb +1 -1
- data/app/models/thredded/private_post.rb +5 -1
- data/app/models/thredded/stats.rb +1 -1
- data/app/models/thredded/topic.rb +5 -3
- data/app/models/thredded/user_detail.rb +2 -0
- data/app/models/thredded/user_extender.rb +4 -2
- data/app/models/thredded/user_topic_follow.rb +12 -1
- data/app/view_models/thredded/base_topic_view.rb +1 -1
- data/app/view_models/thredded/messageboard_group_view.rb +11 -0
- data/app/view_models/thredded/topic_view.rb +15 -2
- data/app/views/thredded/messageboards/_messageboard.html.erb +2 -2
- data/app/views/thredded/moderation/_post.html.erb +1 -1
- data/app/views/thredded/moderation/_post_moderation_record.html.erb +1 -1
- data/app/views/thredded/moderation/user.html.erb +1 -1
- data/app/views/thredded/moderation/users.html.erb +1 -1
- data/app/views/thredded/private_topic_mailer/message_notification.html.erb +1 -1
- data/app/views/thredded/private_topic_mailer/message_notification.text.erb +1 -1
- data/app/views/thredded/private_topics/_private_topic.html.erb +1 -1
- data/app/views/thredded/shared/_currently_online.html.erb +1 -1
- data/app/views/thredded/shared/_nav.html.erb +1 -1
- data/app/views/thredded/shared/_page.html.erb +2 -2
- data/app/views/thredded/topics/_followers.html.erb +12 -0
- data/app/views/thredded/topics/_header.html.erb +10 -9
- data/app/views/thredded/topics/_topic.html.erb +13 -2
- data/app/views/thredded/topics/index.html.erb +5 -0
- data/app/views/thredded/users/_link.html.erb +2 -2
- data/config/locales/en.yml +20 -18
- data/config/locales/pt-BR.yml +14 -9
- data/db/migrate/20160329231848_create_thredded.rb +4 -0
- data/db/upgrade_migrations/20160611094616_upgrade_v0_5_to_v0_6.rb +1 -1
- data/db/upgrade_migrations/20160723012349_upgrade_v0_6_to_v0_7.rb +43 -0
- data/lib/generators/thredded/install/templates/initializer.rb +15 -0
- data/lib/html/pipeline/at_mention_filter.rb +1 -1
- data/lib/thredded.rb +24 -0
- data/lib/thredded/database_seeder.rb +15 -5
- data/lib/thredded/version.rb +1 -1
- metadata +8 -9
- data/CHANGELOG.md +0 -399
- data/Procfile +0 -1
- data/config.ru +0 -3
- data/heroku.gemfile +0 -28
- data/heroku.gemfile.lock +0 -268
- data/thredded.gemspec +0 -78
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4599cfd4cc1a0446216da0bb6c5bfcb19ad857d
|
4
|
+
data.tar.gz: 24286dd248ea8aa78737a5ee708ae3af0b2d0ad0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0019fe0f00970082f29c57572ff07968de460d2a0cb9d8ab2590a668ef68a954078ac41f5d64a1e0125c4f6d0aabfd4a7465a96dae5685e0ce65f1b9cd0a8796
|
7
|
+
data.tar.gz: e4fb202dee30cad34b4cc8ced571cd0c6968c7ab5989b7e4d7722916fe4eb382e9e0abaa7ef237ebad6e32c546f6bf315fa6853daa6da8647101f4061f6a5e06
|
data/README.md
CHANGED
@@ -44,7 +44,7 @@ application and not an engine like Thredded.
|
|
44
44
|
Add the gem to your Gemfile:
|
45
45
|
|
46
46
|
```ruby
|
47
|
-
gem 'thredded', '~> 0.
|
47
|
+
gem 'thredded', '~> 0.7.0'
|
48
48
|
```
|
49
49
|
|
50
50
|
Add the Thredded [initializer] to your parent app by running the install generator.
|
@@ -150,21 +150,21 @@ The views within Thredded pass those up through to your layout if you would like
|
|
150
150
|
|
151
151
|
### User profile page
|
152
152
|
|
153
|
-
Thredded does not provide a user's profile page, but it provides a
|
154
|
-
in your app's user profile page.
|
155
|
-
|
156
|
-
To use it:
|
157
|
-
|
158
|
-
1. Include `Thredded::ApplicationHelper` in the app's helpers module.
|
159
|
-
2. Render the partial like this:
|
153
|
+
Thredded does not provide a user's profile page, but it provides a partial for rendering the user's recent posts
|
154
|
+
in your app's user profile page. Here is how you can render it in your app:
|
160
155
|
|
161
156
|
```erb
|
162
|
-
<%= render 'thredded/users/posts',
|
163
|
-
|
164
|
-
|
165
|
-
current_user: current_user) %>
|
157
|
+
<%= Thredded::ApplicationController.render partial: 'thredded/users/posts', locals: {
|
158
|
+
posts: Thredded.posts_page_view(scope: user.thredded_posts.order_newest_first.limit(5),
|
159
|
+
current_user: current_user) } %>
|
166
160
|
```
|
167
161
|
|
162
|
+
The `user` above is the user whose posts are rendered, and `current_user` is the user viewing the posts or `nil`.
|
163
|
+
The policy scopes that limit the posts to the ones `current_user` can see are applied automatically.
|
164
|
+
|
165
|
+
The code above uses the `ApplicationController.render` method introduced in Rails 5. If you're using Rails 4,
|
166
|
+
you will need to add the [`backport_new_renderer`](https://github.com/brainopia/backport_new_renderer) gem to use it.
|
167
|
+
|
168
168
|
### Customizing views
|
169
169
|
|
170
170
|
You can also override any views and assets by placing them in the same path in your application as they are in the gem.
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg width="116" height="121" viewBox="0 0 116 121" xmlns="http://www.w3.org/2000/svg"><path d="M57.071 113.714c0-.714-.357-1.071-1.071-1.071-2.634 0-4.9-.949-6.797-2.846-1.897-1.897-2.846-4.163-2.846-6.797 0-.714-.357-1.071-1.071-1.071-.715 0-1.072.357-1.072 1.071 0 3.259 1.15 6.038 3.449 8.337 2.3 2.3 5.078 3.449 8.337 3.449.714 0 1.071-.357 1.071-1.072zM12.473 94.43h87.054C87.652 81.036 81.714 62.464 81.714 38.714c0-2.277-.535-4.62-1.607-7.031-1.071-2.41-2.611-4.71-4.62-6.897-2.01-2.188-4.721-3.985-8.137-5.39-3.415-1.407-7.198-2.11-11.35-2.11-4.152 0-7.935.703-11.35 2.11-3.416 1.405-6.128 3.202-8.137 5.39-2.009 2.187-3.549 4.486-4.62 6.897-1.072 2.41-1.607 4.754-1.607 7.031 0 23.75-5.938 42.322-17.813 55.715zm99.241 0c0 2.321-.848 4.33-2.544 6.026-1.697 1.697-3.706 2.545-6.027 2.545h-30c0 4.732-1.674 8.772-5.022 12.12-3.349 3.349-7.389 5.023-12.121 5.023s-8.772-1.674-12.12-5.022c-3.349-3.349-5.023-7.389-5.023-12.121h-30c-2.321 0-4.33-.848-6.027-2.545C1.134 98.76.286 96.75.286 94.43a58.82 58.82 0 0 0 6.093-5.893c1.83-2.054 3.728-4.721 5.692-8.003 1.965-3.28 3.628-6.819 4.99-10.613 1.36-3.795 2.477-8.393 3.347-13.795.871-5.402 1.306-11.205 1.306-17.41 0-6.786 2.612-13.092 7.835-18.918 5.223-5.826 12.076-9.364 20.558-10.614a6.67 6.67 0 0 1-.536-2.612c0-1.785.625-3.303 1.875-4.553S54.214.143 56 .143c1.786 0 3.304.625 4.554 1.875 1.25 1.25 1.875 2.768 1.875 4.553a6.67 6.67 0 0 1-.536 2.612c8.482 1.25 15.335 4.788 20.558 10.614 5.223 5.826 7.835 12.132 7.835 18.917 0 6.206.435 12.01 1.306 17.411.87 5.402 1.986 10 3.348 13.795 1.361 3.794 3.024 7.332 4.989 10.613 1.964 3.282 3.861 5.95 5.692 8.003a58.82 58.82 0 0 0 6.093 5.893z" fill-rule="evenodd"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg width="138" height="121" viewBox="0 0 138 121" xmlns="http://www.w3.org/2000/svg"><path d="M69.643 113.714c0-.714-.357-1.071-1.072-1.071-2.634 0-4.9-.949-6.796-2.846-1.898-1.897-2.846-4.163-2.846-6.797 0-.714-.358-1.071-1.072-1.071-.714 0-1.071.357-1.071 1.071 0 3.259 1.15 6.038 3.448 8.337 2.3 2.3 5.078 3.449 8.337 3.449.715 0 1.072-.357 1.072-1.072zm-35.96-31.808l58.728-50.893c-1.875-3.928-4.833-7.198-8.873-9.81-4.04-2.611-9.029-3.917-14.967-3.917-4.151 0-7.935.703-11.35 2.11-3.415 1.405-6.127 3.202-8.136 5.39-2.01 2.187-3.55 4.486-4.62 6.897-1.072 2.41-1.608 4.754-1.608 7.031 0 17.143-3.058 31.54-9.174 43.192zm90.603 12.523c0 2.321-.848 4.33-2.545 6.026-1.696 1.697-3.705 2.545-6.027 2.545h-30c0 4.732-1.674 8.772-5.022 12.12-3.348 3.349-7.388 5.023-12.12 5.023-4.733 0-8.762-1.663-12.088-4.989-3.326-3.326-5.01-7.355-5.055-12.087l9.977-8.638h50.692c-7.41-8.349-12.477-18.594-15.2-30.737l7.432-6.496c2.724 15.893 9.375 28.304 19.956 37.233zm5.759-93.215l5.625 6.429c.357.446.524.97.502 1.574a2.052 2.052 0 0 1-.703 1.506L10.112 119.34c-.447.357-.971.514-1.574.469-.603-.045-1.083-.29-1.44-.737l-5.625-6.428c-.357-.447-.524-.971-.502-1.574.022-.602.257-1.082.703-1.44L14.13 98.85c-.848-1.43-1.272-2.903-1.272-4.42a58.82 58.82 0 0 0 6.094-5.893c1.83-2.054 3.728-4.721 5.692-8.003 1.964-3.28 3.627-6.819 4.989-10.613 1.361-3.795 2.477-8.393 3.348-13.795.87-5.402 1.306-11.205 1.306-17.41 0-6.786 2.611-13.092 7.835-18.918 5.223-5.826 12.075-9.364 20.558-10.614a6.67 6.67 0 0 1-.536-2.612c0-1.785.625-3.303 1.875-4.553S66.786.143 68.57.143c1.786 0 3.304.625 4.554 1.875C74.375 3.268 75 4.786 75 6.57a6.67 6.67 0 0 1-.536 2.612c5.536.804 10.424 2.645 14.665 5.525 4.242 2.88 7.545 6.395 9.911 10.546L127.031.946c.447-.357.971-.513 1.574-.468.603.044 1.082.29 1.44.736z" fill-rule="evenodd"/></svg>
|
@@ -1,32 +1,31 @@
|
|
1
1
|
@import "base";
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
@import "utilities/is-expanded";
|
3
|
+
@import "utilities/is-compact";
|
4
|
+
@import "utilities/is-expanded";
|
6
5
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
6
|
+
@import "layout/main-container";
|
7
|
+
@import "layout/main-navigation";
|
8
|
+
@import "layout/search-navigation";
|
9
|
+
@import "layout/user-navigation";
|
10
|
+
@import "layout/navigation";
|
11
|
+
@import "layout/moderation";
|
12
|
+
@import "layout/user";
|
14
13
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
14
|
+
@import "components/base";
|
15
|
+
@import "components/alerts";
|
16
|
+
@import "components/icons";
|
17
|
+
@import "components/currently-online";
|
18
|
+
@import "components/empty";
|
19
|
+
@import "components/flash-message";
|
20
|
+
@import "components/following";
|
21
|
+
@import "components/form-list";
|
22
|
+
@import "components/main-section";
|
23
|
+
@import "components/messageboard";
|
24
|
+
@import "components/pagination";
|
25
|
+
@import "components/post";
|
26
|
+
@import "components/post-form";
|
27
|
+
@import "components/preferences";
|
28
|
+
@import "components/select2";
|
29
|
+
@import "components/topic-delete";
|
30
|
+
@import "components/topic-header";
|
31
|
+
@import "components/topics";
|
@@ -1,19 +1,19 @@
|
|
1
|
-
|
1
|
+
.thredded--alert {
|
2
2
|
@extend %thredded--alert;
|
3
3
|
}
|
4
4
|
|
5
|
-
|
5
|
+
.thredded--alert-success {
|
6
6
|
@extend %thredded--alert--success;
|
7
7
|
}
|
8
8
|
|
9
|
-
|
9
|
+
.thredded--alert-danger {
|
10
10
|
@extend %thredded--alert--danger;
|
11
11
|
}
|
12
12
|
|
13
|
-
|
13
|
+
.thredded--alert-info {
|
14
14
|
@extend %thredded--alert--info;
|
15
15
|
}
|
16
16
|
|
17
|
-
|
17
|
+
.thredded--alert-warning {
|
18
18
|
@extend %thredded--alert--warning;
|
19
19
|
}
|
@@ -1,21 +1,21 @@
|
|
1
1
|
// Common classes for base placeholders.
|
2
2
|
|
3
|
-
|
3
|
+
.thredded--button, .thredded--form--submit {
|
4
4
|
@extend %thredded--button;
|
5
5
|
}
|
6
6
|
|
7
|
-
|
7
|
+
.thredded--form {
|
8
8
|
@extend %thredded--form;
|
9
9
|
}
|
10
10
|
|
11
|
-
|
11
|
+
.thredded--link {
|
12
12
|
@extend %thredded--link;
|
13
13
|
}
|
14
14
|
|
15
|
-
|
15
|
+
.thredded--blockquote {
|
16
16
|
@extend %thredded--blockquote;
|
17
17
|
}
|
18
18
|
|
19
|
-
|
19
|
+
.thredded--table {
|
20
20
|
@extend %thredded--table;
|
21
21
|
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
|
1
|
+
.thredded--empty {
|
2
2
|
border: $thredded-base-border;
|
3
3
|
padding: $thredded-base-spacing;
|
4
4
|
text-align: center;
|
5
5
|
}
|
6
6
|
|
7
|
-
|
7
|
+
.thredded--empty--title {
|
8
8
|
@extend %thredded--heading;
|
9
9
|
font-size: 1.5rem; // 24px
|
10
10
|
margin-bottom: $thredded-base-spacing;
|
@@ -1,19 +1,19 @@
|
|
1
|
-
|
1
|
+
.thredded--flash-message {
|
2
2
|
@extend %thredded--alert;
|
3
3
|
}
|
4
4
|
|
5
|
-
|
5
|
+
.thredded--flash-message--success {
|
6
6
|
@extend %thredded--alert--success;
|
7
7
|
}
|
8
8
|
|
9
|
-
|
9
|
+
.thredded--flash-message--error {
|
10
10
|
@extend %thredded--alert--danger;
|
11
11
|
}
|
12
12
|
|
13
|
-
|
13
|
+
.thredded--flash-message--notice {
|
14
14
|
@extend %thredded--alert--info;
|
15
15
|
}
|
16
16
|
|
17
|
-
|
17
|
+
.thredded--flash-message--alert {
|
18
18
|
@extend %thredded--alert--warning;
|
19
19
|
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
// Used in both the topics list and the topic posts views.
|
2
|
+
%thredded--following-icon {
|
3
|
+
fill: currentColor;
|
4
|
+
display: inline-block;
|
5
|
+
font-size: 1em;
|
6
|
+
width: 1.4rem;
|
7
|
+
height: 1.4rem;
|
8
|
+
position: absolute;
|
9
|
+
top: 0;
|
10
|
+
right: -1.6rem;
|
11
|
+
opacity: 0.4;
|
12
|
+
}
|
13
|
+
|
14
|
+
%thredded--not-following-icon {
|
15
|
+
@extend %thredded--following-icon;
|
16
|
+
opacity: 0.1;
|
17
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
.thredded--form-list {
|
2
2
|
@extend %thredded--list-unstyled;
|
3
3
|
|
4
4
|
&.on-top {
|
@@ -15,7 +15,7 @@
|
|
15
15
|
}
|
16
16
|
}
|
17
17
|
|
18
|
-
|
18
|
+
.thredded--form-list--admin-options {
|
19
19
|
label {
|
20
20
|
cursor: pointer;
|
21
21
|
display: inline-block;
|
@@ -24,7 +24,7 @@
|
|
24
24
|
}
|
25
25
|
}
|
26
26
|
|
27
|
-
|
27
|
+
.thredded--form-list--hint {
|
28
28
|
@extend %thredded--paragraph;
|
29
29
|
color: $thredded-secondary-text-color;
|
30
30
|
font-size: $thredded-font-size-small;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
.thredded--messageboard {
|
2
2
|
@extend %thredded--link;
|
3
3
|
border: $thredded-base-border;
|
4
4
|
display: block;
|
@@ -15,7 +15,7 @@
|
|
15
15
|
}
|
16
16
|
}
|
17
17
|
|
18
|
-
|
18
|
+
.thredded--messageboard--title {
|
19
19
|
@extend %thredded--heading;
|
20
20
|
display: inline-block;
|
21
21
|
float: left;
|
@@ -26,7 +26,7 @@
|
|
26
26
|
vertical-align: baseline;
|
27
27
|
}
|
28
28
|
|
29
|
-
|
29
|
+
.thredded--messageboard--meta {
|
30
30
|
@extend %thredded--heading;
|
31
31
|
color: $thredded-secondary-text-color;
|
32
32
|
display: inline-block;
|
@@ -35,14 +35,14 @@
|
|
35
35
|
vertical-align: baseline;
|
36
36
|
}
|
37
37
|
|
38
|
-
|
38
|
+
.thredded--messageboard--description {
|
39
39
|
@extend %thredded--paragraph;
|
40
40
|
clear: both;
|
41
41
|
margin-bottom: $thredded-small-spacing / 2;
|
42
42
|
color: $thredded-text-color;
|
43
43
|
}
|
44
44
|
|
45
|
-
|
45
|
+
.thredded--messageboard--byline {
|
46
46
|
@extend %thredded--paragraph;
|
47
47
|
color: $thredded-secondary-text-color;
|
48
48
|
font-size: 0.875em;
|
@@ -50,6 +50,6 @@
|
|
50
50
|
margin-bottom: 0;
|
51
51
|
}
|
52
52
|
|
53
|
-
|
53
|
+
.thredded--messageboards--actions {
|
54
54
|
@extend %thredded--buttons-list;
|
55
55
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
.thredded--post {
|
2
2
|
position: relative;
|
3
3
|
margin-bottom: $thredded-large-spacing;
|
4
4
|
@include thredded-media-mobile {
|
@@ -6,7 +6,7 @@
|
|
6
6
|
}
|
7
7
|
}
|
8
8
|
|
9
|
-
|
9
|
+
.thredded--post--avatar {
|
10
10
|
border-radius: 50%;
|
11
11
|
display: inline-block;
|
12
12
|
height: 1.75rem; // 28px
|
@@ -25,16 +25,16 @@
|
|
25
25
|
}
|
26
26
|
}
|
27
27
|
|
28
|
-
|
28
|
+
.thredded--post--topic {
|
29
29
|
@extend %thredded--heading;
|
30
30
|
font-size: $thredded-base-font-size * 1.25; // 24px
|
31
31
|
line-height: 1.2;
|
32
32
|
margin-bottom: $thredded-small-spacing / 2;
|
33
33
|
}
|
34
34
|
|
35
|
-
|
36
|
-
|
37
|
-
|
35
|
+
.thredded--post--user,
|
36
|
+
.thredded--post--topic,
|
37
|
+
.thredded--post--user-and-topic {
|
38
38
|
@extend %thredded--heading;
|
39
39
|
display: inline;
|
40
40
|
font-size: 1.125rem; // 18px
|
@@ -46,29 +46,30 @@
|
|
46
46
|
}
|
47
47
|
}
|
48
48
|
|
49
|
-
|
49
|
+
.thredded--post--user {
|
50
50
|
a {
|
51
51
|
color: $thredded-text-color;
|
52
52
|
}
|
53
53
|
}
|
54
54
|
|
55
|
-
|
55
|
+
.thredded--post--created-at {
|
56
56
|
@extend %thredded--paragraph;
|
57
57
|
font-size: $thredded-font-size-small;
|
58
58
|
color: $thredded-secondary-text-color;
|
59
59
|
display: inline-block;
|
60
60
|
}
|
61
61
|
|
62
|
-
|
62
|
+
.thredded--post--edit,
|
63
|
+
.thredded--post--delete {
|
63
64
|
font-size: $thredded-font-size-small;
|
64
65
|
@extend %thredded--link;
|
65
66
|
}
|
66
67
|
|
67
|
-
|
68
|
+
.thredded--post--delete {
|
68
69
|
margin-left: 0.4rem;
|
69
70
|
}
|
70
71
|
|
71
|
-
|
72
|
+
.thredded--post--content {
|
72
73
|
font-size: 1.063rem; // 17px
|
73
74
|
line-height: 1.65;
|
74
75
|
word-break: break-word;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
.thredded--select2-container {
|
2
2
|
width: 100%;
|
3
3
|
|
4
4
|
> .select2-choices {
|
@@ -46,7 +46,7 @@
|
|
46
46
|
}
|
47
47
|
}
|
48
48
|
|
49
|
-
|
49
|
+
.thredded--select2-drop {
|
50
50
|
background: inherit;
|
51
51
|
border-color: $thredded-form-border-focus-color;
|
52
52
|
border-top: $thredded-base-border;
|
@@ -83,7 +83,7 @@
|
|
83
83
|
}
|
84
84
|
|
85
85
|
|
86
|
-
|
86
|
+
.thredded--select2-user-result {
|
87
87
|
&__avatar {
|
88
88
|
width: 2rem;
|
89
89
|
min-height: 2rem;
|
@@ -97,7 +97,7 @@
|
|
97
97
|
}
|
98
98
|
}
|
99
99
|
|
100
|
-
|
100
|
+
.thredded--select2-user-selection {
|
101
101
|
&__avatar {
|
102
102
|
width: 1rem;
|
103
103
|
min-height: 1rem;
|
@@ -1,9 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
margin-top: $thredded-base-spacing;
|
6
|
-
padding-top: $thredded-large-spacing;
|
7
|
-
}
|
8
|
-
|
1
|
+
.thredded--topic-delete--wrapper {
|
2
|
+
border-top: $thredded-base-border;
|
3
|
+
margin-top: $thredded-base-spacing;
|
4
|
+
padding-top: $thredded-large-spacing;
|
9
5
|
}
|