rails_den 2.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.
- checksums.yaml +7 -0
- data/LICENSE +652 -0
- data/README.md +74 -0
- data/Rakefile +6 -0
- data/app/assets/javascript/rails_den/attachments.js +733 -0
- data/app/assets/javascript/rails_den/bookmarks.js +58 -0
- data/app/assets/javascript/rails_den/cable.js +18 -0
- data/app/assets/javascript/rails_den/chat.js +3008 -0
- data/app/assets/javascript/rails_den/chat_3d_management.js +1230 -0
- data/app/assets/javascript/rails_den/composer.js +1785 -0
- data/app/assets/javascript/rails_den/content.js +1337 -0
- data/app/assets/javascript/rails_den/emoji_catalog.js +136 -0
- data/app/assets/javascript/rails_den/licenses/react-LICENSE.txt +21 -0
- data/app/assets/javascript/rails_den/licenses/react-dom-LICENSE.txt +21 -0
- data/app/assets/javascript/rails_den/licenses/scheduler-LICENSE.txt +21 -0
- data/app/assets/javascript/rails_den/licenses/three-LICENSE.txt +21 -0
- data/app/assets/javascript/rails_den/members.js +187 -0
- data/app/assets/javascript/rails_den/notifications.js +211 -0
- data/app/assets/javascript/rails_den/presence.js +757 -0
- data/app/assets/javascript/rails_den/private_messages.js +92 -0
- data/app/assets/javascript/rails_den/react_runtime.js +43 -0
- data/app/assets/javascript/rails_den/reactions.js +139 -0
- data/app/assets/javascript/rails_den/spatial.js +4338 -0
- data/app/assets/stylesheets/rails_den/advertising.css +91 -0
- data/app/assets/stylesheets/rails_den/application.css +1724 -0
- data/app/assets/stylesheets/rails_den/attachments.css +255 -0
- data/app/assets/stylesheets/rails_den/board_presence.css +38 -0
- data/app/assets/stylesheets/rails_den/bookmarks.css +36 -0
- data/app/assets/stylesheets/rails_den/chat.css +1555 -0
- data/app/assets/stylesheets/rails_den/chat_3d.css +1283 -0
- data/app/assets/stylesheets/rails_den/chat_3d_management.css +294 -0
- data/app/assets/stylesheets/rails_den/chat_reactions.css +79 -0
- data/app/assets/stylesheets/rails_den/community_presence.css +51 -0
- data/app/assets/stylesheets/rails_den/composer.css +358 -0
- data/app/assets/stylesheets/rails_den/emoji_catalog.css +33 -0
- data/app/assets/stylesheets/rails_den/member_profiles.css +662 -0
- data/app/assets/stylesheets/rails_den/moderation.css +561 -0
- data/app/assets/stylesheets/rails_den/notifications.css +222 -0
- data/app/assets/stylesheets/rails_den/onebox.css +126 -0
- data/app/assets/stylesheets/rails_den/post_links.css +37 -0
- data/app/assets/stylesheets/rails_den/post_presence.css +47 -0
- data/app/assets/stylesheets/rails_den/presence.css +96 -0
- data/app/assets/stylesheets/rails_den/presence_directory.css +217 -0
- data/app/assets/stylesheets/rails_den/presence_live.css +15 -0
- data/app/assets/stylesheets/rails_den/private_messages.css +41 -0
- data/app/assets/stylesheets/rails_den/reactions.css +53 -0
- data/app/assets/stylesheets/rails_den/search.css +100 -0
- data/app/assets/stylesheets/rails_den/tags.css +136 -0
- data/app/channels/rails_den/chat_spatial_channel.rb +203 -0
- data/app/channels/rails_den/chat_spatial_occupancy_channel.rb +69 -0
- data/app/channels/rails_den/chat_stream_channel.rb +108 -0
- data/app/channels/rails_den/notifications_channel.rb +30 -0
- data/app/channels/rails_den/presence_channel.rb +205 -0
- data/app/controllers/admin/rails_den/administrators_controller.rb +26 -0
- data/app/controllers/admin/rails_den/advertising_management_controller.rb +337 -0
- data/app/controllers/admin/rails_den/application_controller.rb +116 -0
- data/app/controllers/admin/rails_den/badges_controller.rb +106 -0
- data/app/controllers/admin/rails_den/board_access_controller.rb +143 -0
- data/app/controllers/admin/rails_den/boards_controller.rb +89 -0
- data/app/controllers/admin/rails_den/categories_controller.rb +89 -0
- data/app/controllers/admin/rails_den/member_badge_awards_controller.rb +92 -0
- data/app/controllers/admin/rails_den/members_controller.rb +495 -0
- data/app/controllers/admin/rails_den/plugins_controller.rb +25 -0
- data/app/controllers/admin/rails_den/profile_fields_controller.rb +104 -0
- data/app/controllers/admin/rails_den/reaction_types_controller.rb +127 -0
- data/app/controllers/admin/rails_den/report_reasons_controller.rb +15 -0
- data/app/controllers/admin/rails_den/roles_controller.rb +190 -0
- data/app/controllers/admin/rails_den/tags_controller.rb +11 -0
- data/app/controllers/admin/rails_den/themes_controller.rb +60 -0
- data/app/controllers/admin/rails_den/trust_levels_controller.rb +97 -0
- data/app/controllers/rails_den/advertising_controller.rb +14 -0
- data/app/controllers/rails_den/application_controller.rb +218 -0
- data/app/controllers/rails_den/attachments_controller.rb +128 -0
- data/app/controllers/rails_den/board_follows_controller.rb +119 -0
- data/app/controllers/rails_den/board_read_states_controller.rb +36 -0
- data/app/controllers/rails_den/boards_controller.rb +103 -0
- data/app/controllers/rails_den/bookmarks_controller.rb +91 -0
- data/app/controllers/rails_den/chat_channel_memberships_controller.rb +193 -0
- data/app/controllers/rails_den/chat_channel_read_states_controller.rb +46 -0
- data/app/controllers/rails_den/chat_channels_controller.rb +556 -0
- data/app/controllers/rails_den/chat_message_pins_controller.rb +78 -0
- data/app/controllers/rails_den/chat_messages_controller.rb +166 -0
- data/app/controllers/rails_den/chat_reaction_types_controller.rb +24 -0
- data/app/controllers/rails_den/community_read_states_controller.rb +12 -0
- data/app/controllers/rails_den/home_controller.rb +35 -0
- data/app/controllers/rails_den/member_profiles_controller.rb +286 -0
- data/app/controllers/rails_den/member_reports_controller.rb +22 -0
- data/app/controllers/rails_den/members_controller.rb +42 -0
- data/app/controllers/rails_den/mention_candidates_controller.rb +14 -0
- data/app/controllers/rails_den/moderation/audit_events_controller.rb +14 -0
- data/app/controllers/rails_den/moderation/member_histories_controller.rb +37 -0
- data/app/controllers/rails_den/moderation/member_notes_controller.rb +26 -0
- data/app/controllers/rails_den/moderation/report_notes_controller.rb +27 -0
- data/app/controllers/rails_den/moderation/reports_controller.rb +97 -0
- data/app/controllers/rails_den/moderation/restrictions_controller.rb +71 -0
- data/app/controllers/rails_den/moderation/topics_controller.rb +61 -0
- data/app/controllers/rails_den/moderation/warnings_controller.rb +50 -0
- data/app/controllers/rails_den/notification_preferences_controller.rb +116 -0
- data/app/controllers/rails_den/notifications_controller.rb +67 -0
- data/app/controllers/rails_den/post_bookmarks_controller.rb +29 -0
- data/app/controllers/rails_den/post_drafts_controller.rb +125 -0
- data/app/controllers/rails_den/post_reports_controller.rb +31 -0
- data/app/controllers/rails_den/posts_controller.rb +318 -0
- data/app/controllers/rails_den/presence_controller.rb +12 -0
- data/app/controllers/rails_den/presence_snapshots_controller.rb +83 -0
- data/app/controllers/rails_den/previews_controller.rb +10 -0
- data/app/controllers/rails_den/private_conversations_controller.rb +120 -0
- data/app/controllers/rails_den/private_messages_controller.rb +45 -0
- data/app/controllers/rails_den/reactions_controller.rb +124 -0
- data/app/controllers/rails_den/reports_controller.rb +63 -0
- data/app/controllers/rails_den/search_controller.rb +64 -0
- data/app/controllers/rails_den/tags_controller.rb +70 -0
- data/app/controllers/rails_den/topic_bookmarks_controller.rb +35 -0
- data/app/controllers/rails_den/topic_follows_controller.rb +117 -0
- data/app/controllers/rails_den/topic_read_positions_controller.rb +40 -0
- data/app/controllers/rails_den/topic_reports_controller.rb +18 -0
- data/app/controllers/rails_den/topics_controller.rb +583 -0
- data/app/dashboards/rails_den/administrator_dashboard.rb +51 -0
- data/app/dashboards/rails_den/board_dashboard.rb +57 -0
- data/app/dashboards/rails_den/category_dashboard.rb +50 -0
- data/app/dashboards/rails_den/profile_field_dashboard.rb +53 -0
- data/app/dashboards/rails_den/reaction_type_dashboard.rb +26 -0
- data/app/dashboards/rails_den/report_reason_dashboard.rb +57 -0
- data/app/dashboards/rails_den/tag_dashboard.rb +59 -0
- data/app/helpers/rails_den/application_helper.rb +39 -0
- data/app/helpers/rails_den/boards_helper.rb +4 -0
- data/app/helpers/rails_den/moderation/reports_helper.rb +42 -0
- data/app/helpers/rails_den/notifications_helper.rb +4 -0
- data/app/helpers/rails_den/posts_helper.rb +4 -0
- data/app/helpers/rails_den/topics_helper.rb +4 -0
- data/app/jobs/rails_den/application_job.rb +4 -0
- data/app/jobs/rails_den/expire_user_restriction_job.rb +9 -0
- data/app/jobs/rails_den/member_profile_stats_refresh_job.rb +48 -0
- data/app/jobs/rails_den/reconcile_user_restrictions_job.rb +9 -0
- data/app/jobs/rails_den/resolve_onebox_entry_job.rb +74 -0
- data/app/mailers/rails_den/application_mailer.rb +6 -0
- data/app/models/rails_den/administrator.rb +18 -0
- data/app/models/rails_den/advertising_configuration.rb +14 -0
- data/app/models/rails_den/application_record.rb +5 -0
- data/app/models/rails_den/badge.rb +142 -0
- data/app/models/rails_den/badge_award.rb +87 -0
- data/app/models/rails_den/board.rb +129 -0
- data/app/models/rails_den/board_follow.rb +18 -0
- data/app/models/rails_den/board_read_state.rb +60 -0
- data/app/models/rails_den/board_role_assignment.rb +45 -0
- data/app/models/rails_den/board_role_permission.rb +31 -0
- data/app/models/rails_den/board_role_requirement.rb +16 -0
- data/app/models/rails_den/board_sponsorship.rb +21 -0
- data/app/models/rails_den/bookmark.rb +31 -0
- data/app/models/rails_den/category.rb +81 -0
- data/app/models/rails_den/category_role_requirement.rb +16 -0
- data/app/models/rails_den/category_sponsorship.rb +21 -0
- data/app/models/rails_den/chat_channel.rb +44 -0
- data/app/models/rails_den/chat_channel_membership.rb +21 -0
- data/app/models/rails_den/chat_channel_read_state.rb +100 -0
- data/app/models/rails_den/chat_message.rb +37 -0
- data/app/models/rails_den/community_read_state.rb +52 -0
- data/app/models/rails_den/community_sponsorship.rb +15 -0
- data/app/models/rails_den/member_profile.rb +113 -0
- data/app/models/rails_den/mention.rb +20 -0
- data/app/models/rails_den/moderation_event.rb +16 -0
- data/app/models/rails_den/moderation_note.rb +11 -0
- data/app/models/rails_den/notification.rb +33 -0
- data/app/models/rails_den/notification_event.rb +40 -0
- data/app/models/rails_den/notification_mute.rb +9 -0
- data/app/models/rails_den/onebox_entry.rb +214 -0
- data/app/models/rails_den/post.rb +396 -0
- data/app/models/rails_den/post_draft.rb +63 -0
- data/app/models/rails_den/post_revision.rb +10 -0
- data/app/models/rails_den/private_conversation.rb +25 -0
- data/app/models/rails_den/private_conversation_participant.rb +16 -0
- data/app/models/rails_den/private_message.rb +35 -0
- data/app/models/rails_den/private_message_recipient.rb +44 -0
- data/app/models/rails_den/profile_field.rb +150 -0
- data/app/models/rails_den/profile_field_value.rb +136 -0
- data/app/models/rails_den/reaction.rb +56 -0
- data/app/models/rails_den/reaction_type.rb +23 -0
- data/app/models/rails_den/reader_visit.rb +61 -0
- data/app/models/rails_den/report.rb +127 -0
- data/app/models/rails_den/report_reason.rb +52 -0
- data/app/models/rails_den/reputation_event.rb +92 -0
- data/app/models/rails_den/role.rb +87 -0
- data/app/models/rails_den/role_assignment.rb +18 -0
- data/app/models/rails_den/role_permission.rb +41 -0
- data/app/models/rails_den/sluggable.rb +102 -0
- data/app/models/rails_den/sponsor.rb +20 -0
- data/app/models/rails_den/sponsorship.rb +87 -0
- data/app/models/rails_den/tag.rb +61 -0
- data/app/models/rails_den/theme_selection.rb +4 -0
- data/app/models/rails_den/topic.rb +307 -0
- data/app/models/rails_den/topic_follow.rb +18 -0
- data/app/models/rails_den/topic_read_state.rb +76 -0
- data/app/models/rails_den/topic_role_requirement.rb +16 -0
- data/app/models/rails_den/topic_tag.rb +16 -0
- data/app/models/rails_den/trust_level.rb +62 -0
- data/app/models/rails_den/trust_level_achievement.rb +21 -0
- data/app/models/rails_den/user_restriction.rb +54 -0
- data/app/models/rails_den/user_warning.rb +10 -0
- data/app/presenters/rails_den/member_profile_presenter.rb +285 -0
- data/app/queries/rails_den/topic_new_post_counts.rb +153 -0
- data/app/queries/rails_den/topic_unread_counts.rb +137 -0
- data/app/services/rails_den/board_following.rb +91 -0
- data/app/services/rails_den/bookmark_list.rb +109 -0
- data/app/services/rails_den/bookmark_state.rb +17 -0
- data/app/services/rails_den/built_in_role_provisioner.rb +98 -0
- data/app/services/rails_den/chat/broadcaster.rb +81 -0
- data/app/services/rails_den/chat/message_payload.rb +26 -0
- data/app/services/rails_den/chat/presence_snapshot.rb +269 -0
- data/app/services/rails_den/chat/spatial_broadcaster.rb +135 -0
- data/app/services/rails_den/chat/spatial_occupancy_snapshot.rb +35 -0
- data/app/services/rails_den/chat/spatial_registry.rb +682 -0
- data/app/services/rails_den/chat/spatial_room.rb +81 -0
- data/app/services/rails_den/chat/spatial_snapshot.rb +261 -0
- data/app/services/rails_den/chat/spatial_update.rb +243 -0
- data/app/services/rails_den/chat/subscription_token.rb +28 -0
- data/app/services/rails_den/chat/unread_counts.rb +79 -0
- data/app/services/rails_den/chat/whisper_delivery.rb +287 -0
- data/app/services/rails_den/chat_channel_access.rb +97 -0
- data/app/services/rails_den/default_report_reason_provisioner.rb +30 -0
- data/app/services/rails_den/emoji_catalog.rb +101 -0
- data/app/services/rails_den/gamification/activity_recorder.rb +69 -0
- data/app/services/rails_den/gamification/badge_evaluator.rb +55 -0
- data/app/services/rails_den/gamification/current_trust_level.rb +21 -0
- data/app/services/rails_den/gamification/metrics.rb +93 -0
- data/app/services/rails_den/gamification/reputation_ledger.rb +261 -0
- data/app/services/rails_den/gamification/trust_level_evaluator.rb +78 -0
- data/app/services/rails_den/global_moderation_policy.rb +32 -0
- data/app/services/rails_den/member_profile_bio_renderer.rb +28 -0
- data/app/services/rails_den/mentions/autocomplete.rb +69 -0
- data/app/services/rails_den/mentions/candidate.rb +19 -0
- data/app/services/rails_den/mentions/parser.rb +185 -0
- data/app/services/rails_den/mentions/reconciler.rb +46 -0
- data/app/services/rails_den/mentions/renderer.rb +165 -0
- data/app/services/rails_den/moderation_access.rb +42 -0
- data/app/services/rails_den/moderation_audit.rb +38 -0
- data/app/services/rails_den/moderation_event_scope.rb +12 -0
- data/app/services/rails_den/moderation_notification_delivery.rb +23 -0
- data/app/services/rails_den/notification_events/emitter.rb +226 -0
- data/app/services/rails_den/notification_preferences.rb +169 -0
- data/app/services/rails_den/notifications/broadcaster.rb +72 -0
- data/app/services/rails_den/notifications/materializer.rb +284 -0
- data/app/services/rails_den/notifications/subscription_token.rb +28 -0
- data/app/services/rails_den/permission_resolver.rb +252 -0
- data/app/services/rails_den/presence/board_summary.rb +131 -0
- data/app/services/rails_den/presence/broadcaster.rb +193 -0
- data/app/services/rails_den/presence/chat_room_registry.rb +263 -0
- data/app/services/rails_den/presence/community_summary.rb +166 -0
- data/app/services/rails_den/presence/directory.rb +499 -0
- data/app/services/rails_den/presence/last_seen.rb +23 -0
- data/app/services/rails_den/presence/page_map.rb +202 -0
- data/app/services/rails_den/presence/registry.rb +805 -0
- data/app/services/rails_den/presence/subscription_token.rb +28 -0
- data/app/services/rails_den/presence/visibility.rb +95 -0
- data/app/services/rails_den/private_messages/mailbox.rb +108 -0
- data/app/services/rails_den/private_messages/read_marker.rb +25 -0
- data/app/services/rails_den/private_messages/sender.rb +113 -0
- data/app/services/rails_den/private_messages/unread_count.rb +22 -0
- data/app/services/rails_den/reaction_summary.rb +54 -0
- data/app/services/rails_den/reaction_type_importer.rb +91 -0
- data/app/services/rails_den/reaction_type_search.rb +34 -0
- data/app/services/rails_den/readable_community_content.rb +156 -0
- data/app/services/rails_den/report_assignment.rb +31 -0
- data/app/services/rails_den/report_creator.rb +96 -0
- data/app/services/rails_den/report_delivery.rb +39 -0
- data/app/services/rails_den/report_disposition.rb +25 -0
- data/app/services/rails_den/report_recipients.rb +89 -0
- data/app/services/rails_den/report_review_policy.rb +66 -0
- data/app/services/rails_den/report_review_scope.rb +49 -0
- data/app/services/rails_den/restriction_resolver.rb +28 -0
- data/app/services/rails_den/role_resolver.rb +66 -0
- data/app/services/rails_den/search/adapters/basic.rb +35 -0
- data/app/services/rails_den/search/adapters/postgresql.rb +73 -0
- data/app/services/rails_den/search/adapters.rb +21 -0
- data/app/services/rails_den/search/query.rb +358 -0
- data/app/services/rails_den/topic_following.rb +91 -0
- data/app/services/rails_den/topic_merger.rb +27 -0
- data/app/services/rails_den/topic_moderation.rb +57 -0
- data/app/services/rails_den/topic_splitter.rb +36 -0
- data/app/services/rails_den/user_restriction_manager.rb +84 -0
- data/app/services/rails_den/user_warning_issuer.rb +19 -0
- data/app/views/admin/rails_den/advertising_management/_assignment_form.html.erb +340 -0
- data/app/views/admin/rails_den/advertising_management/_errors.html.erb +10 -0
- data/app/views/admin/rails_den/advertising_management/show.html.erb +324 -0
- data/app/views/admin/rails_den/badges/_form.html.erb +191 -0
- data/app/views/admin/rails_den/badges/edit.html.erb +14 -0
- data/app/views/admin/rails_den/badges/index.html.erb +98 -0
- data/app/views/admin/rails_den/badges/new.html.erb +14 -0
- data/app/views/admin/rails_den/board_access/show.html.erb +51 -0
- data/app/views/admin/rails_den/boards/_form.html.erb +5 -0
- data/app/views/admin/rails_den/categories/_form.html.erb +4 -0
- data/app/views/admin/rails_den/members/index.html.erb +121 -0
- data/app/views/admin/rails_den/members/show.html.erb +398 -0
- data/app/views/admin/rails_den/plugins/index.html.erb +49 -0
- data/app/views/admin/rails_den/profile_fields/_form.html.erb +169 -0
- data/app/views/admin/rails_den/reaction_types/_catalog_search.html.erb +22 -0
- data/app/views/admin/rails_den/reaction_types/_errors.html.erb +3 -0
- data/app/views/admin/rails_den/reaction_types/index.html.erb +66 -0
- data/app/views/admin/rails_den/reaction_types/new.html.erb +23 -0
- data/app/views/admin/rails_den/reaction_types/selected.html.erb +15 -0
- data/app/views/admin/rails_den/roles/_form.html.erb +64 -0
- data/app/views/admin/rails_den/roles/edit.html.erb +18 -0
- data/app/views/admin/rails_den/roles/index.html.erb +49 -0
- data/app/views/admin/rails_den/roles/new.html.erb +6 -0
- data/app/views/admin/rails_den/shared/_access_form.html.erb +59 -0
- data/app/views/admin/rails_den/themes/index.html.erb +129 -0
- data/app/views/admin/rails_den/trust_levels/_form.html.erb +80 -0
- data/app/views/admin/rails_den/trust_levels/edit.html.erb +14 -0
- data/app/views/admin/rails_den/trust_levels/index.html.erb +86 -0
- data/app/views/admin/rails_den/trust_levels/new.html.erb +14 -0
- data/app/views/administrate/application/_index_header.html.erb +68 -0
- data/app/views/administrate/application/new.html.erb +42 -0
- data/app/views/administrate/application/show.html.erb +89 -0
- data/app/views/layouts/administrate/application/_navigation.html.erb +61 -0
- data/app/views/layouts/administrate/application.html.erb +40 -0
- data/app/views/layouts/rails_den/_navbar.html.erb +293 -0
- data/app/views/layouts/rails_den/application.html.erb +198 -0
- data/app/views/rails_den/advertising/show.html.erb +13 -0
- data/app/views/rails_den/boards/_follow_button.html.erb +45 -0
- data/app/views/rails_den/boards/show.html.erb +150 -0
- data/app/views/rails_den/bookmarks/_post_control.html.erb +12 -0
- data/app/views/rails_den/bookmarks/_topic_control.html.erb +12 -0
- data/app/views/rails_den/bookmarks/index.html.erb +78 -0
- data/app/views/rails_den/chat_channels/_form.html.erb +174 -0
- data/app/views/rails_den/chat_channels/edit.html.erb +51 -0
- data/app/views/rails_den/chat_channels/index.html.erb +402 -0
- data/app/views/rails_den/chat_channels/new.html.erb +31 -0
- data/app/views/rails_den/chat_channels/show.html.erb +476 -0
- data/app/views/rails_den/home/index.html.erb +142 -0
- data/app/views/rails_den/member_profiles/_avatar.html.erb +18 -0
- data/app/views/rails_den/member_profiles/_custom_fields.html.erb +39 -0
- data/app/views/rails_den/member_profiles/_followed_boards.html.erb +15 -0
- data/app/views/rails_den/member_profiles/_followed_topics.html.erb +15 -0
- data/app/views/rails_den/member_profiles/_header.html.erb +103 -0
- data/app/views/rails_den/member_profiles/_recent_posts.html.erb +19 -0
- data/app/views/rails_den/member_profiles/_recent_topics.html.erb +15 -0
- data/app/views/rails_den/member_profiles/_stats.html.erb +11 -0
- data/app/views/rails_den/member_profiles/edit.html.erb +265 -0
- data/app/views/rails_den/member_profiles/show.html.erb +97 -0
- data/app/views/rails_den/member_reports/new.html.erb +1 -0
- data/app/views/rails_den/moderation/audit_events/index.html.erb +11 -0
- data/app/views/rails_den/moderation/member_histories/show.html.erb +314 -0
- data/app/views/rails_den/moderation/reports/index.html.erb +47 -0
- data/app/views/rails_den/moderation/reports/show.html.erb +344 -0
- data/app/views/rails_den/moderation/restrictions/new.html.erb +14 -0
- data/app/views/rails_den/moderation/topics/show.html.erb +14 -0
- data/app/views/rails_den/moderation/warnings/new.html.erb +10 -0
- data/app/views/rails_den/notifications/_empty_state.html.erb +13 -0
- data/app/views/rails_den/notifications/index.html.erb +308 -0
- data/app/views/rails_den/passwords/edit.html.erb +55 -0
- data/app/views/rails_den/passwords/new.html.erb +49 -0
- data/app/views/rails_den/passwords_mailer/reset.html.erb +22 -0
- data/app/views/rails_den/passwords_mailer/reset.text.erb +14 -0
- data/app/views/rails_den/post_reports/new.html.erb +1 -0
- data/app/views/rails_den/posts/_attachments.html.erb +94 -0
- data/app/views/rails_den/posts/edit.html.erb +95 -0
- data/app/views/rails_den/posts/history.html.erb +123 -0
- data/app/views/rails_den/presence/_directory_body.html.erb +155 -0
- data/app/views/rails_den/presence/_summary.html.erb +26 -0
- data/app/views/rails_den/presence/index.html.erb +29 -0
- data/app/views/rails_den/private_conversations/_composer.html.erb +28 -0
- data/app/views/rails_den/private_conversations/_conversation_row.html.erb +19 -0
- data/app/views/rails_den/private_conversations/_mailbox_nav.html.erb +7 -0
- data/app/views/rails_den/private_conversations/_message.html.erb +4 -0
- data/app/views/rails_den/private_conversations/_pagination.html.erb +6 -0
- data/app/views/rails_den/private_conversations/index.html.erb +11 -0
- data/app/views/rails_den/private_conversations/new.html.erb +5 -0
- data/app/views/rails_den/private_conversations/sent.html.erb +11 -0
- data/app/views/rails_den/private_conversations/show.html.erb +23 -0
- data/app/views/rails_den/reactions/_picker_options.html.erb +14 -0
- data/app/views/rails_den/reactions/_post_reactions.html.erb +87 -0
- data/app/views/rails_den/reactions/_reactor_list.html.erb +16 -0
- data/app/views/rails_den/reactions/index.html.erb +34 -0
- data/app/views/rails_den/reactions/picker.html.erb +14 -0
- data/app/views/rails_den/registrations/edit.html.erb +95 -0
- data/app/views/rails_den/registrations/new.html.erb +77 -0
- data/app/views/rails_den/reports/_form.html.erb +54 -0
- data/app/views/rails_den/search/index.html.erb +235 -0
- data/app/views/rails_den/sessions/new.html.erb +64 -0
- data/app/views/rails_den/shared/_ad_network_placement.html.erb +5 -0
- data/app/views/rails_den/shared/_composer.html.erb +266 -0
- data/app/views/rails_den/shared/_sponsor_placement.html.erb +44 -0
- data/app/views/rails_den/tags/show.html.erb +91 -0
- data/app/views/rails_den/topic_reports/new.html.erb +1 -0
- data/app/views/rails_den/topics/_author_badges.html.erb +15 -0
- data/app/views/rails_den/topics/_follow_button.html.erb +45 -0
- data/app/views/rails_den/topics/_summary.html.erb +121 -0
- data/app/views/rails_den/topics/_tags.html.erb +47 -0
- data/app/views/rails_den/topics/new.html.erb +181 -0
- data/app/views/rails_den/topics/show.html.erb +430 -0
- data/config/locales/rails_den.en.yml +65 -0
- data/config/routes.rb +442 -0
- data/db/migrate/20260820181527_create_rails_den_administrators.rb +12 -0
- data/db/migrate/20260820205806_create_rails_den_categories.rb +16 -0
- data/db/migrate/20260820212200_create_rails_den_boards.rb +23 -0
- data/db/migrate/20260820234758_create_rails_den_topics.rb +24 -0
- data/db/migrate/20260821001937_create_rails_den_posts.rb +11 -0
- data/db/migrate/20260822004306_add_soft_deletion_to_rails_den_posts.rb +9 -0
- data/db/migrate/20260823183944_create_rails_den_onebox_entries.rb +65 -0
- data/db/migrate/20260824025007_add_reply_to_to_rails_den_posts.rb +8 -0
- data/db/migrate/20260824092300_create_rails_den_post_revisions.rb +22 -0
- data/db/migrate/20260824103358_create_rails_den_post_drafts.rb +36 -0
- data/db/migrate/20260824142522_create_rails_den_topic_read_states.rb +32 -0
- data/db/migrate/20260824214941_create_rails_den_reader_visits.rb +16 -0
- data/db/migrate/20260824225733_create_rails_den_board_read_states.rb +34 -0
- data/db/migrate/20260824232113_create_rails_den_community_read_states.rb +26 -0
- data/db/migrate/20260825121109_create_rails_den_topic_follows.rb +36 -0
- data/db/migrate/20260825232623_create_rails_den_board_follows.rb +36 -0
- data/db/migrate/20260826003155_create_rails_den_mentions.rb +27 -0
- data/db/migrate/20260826080109_create_rails_den_member_profiles.rb +32 -0
- data/db/migrate/20260826092936_add_quoted_post_to_rails_den_posts_and_post_drafts.rb +17 -0
- data/db/migrate/20260826101755_create_rails_den_notification_events.rb +19 -0
- data/db/migrate/20260826121710_create_rails_den_notifications.rb +28 -0
- data/db/migrate/20260826140846_create_rails_den_notification_mutes.rb +25 -0
- data/db/migrate/20260826175426_create_rails_den_tags.rb +31 -0
- data/db/migrate/20260826175428_create_rails_den_topic_tags.rb +26 -0
- data/db/migrate/20260827021133_create_rails_den_roles.rb +16 -0
- data/db/migrate/20260827021135_create_rails_den_role_assignments.rb +22 -0
- data/db/migrate/20260827031134_create_rails_den_role_permissions.rb +28 -0
- data/db/migrate/20260827031136_create_rails_den_board_role_permissions.rb +35 -0
- data/db/migrate/20260827033116_provision_rails_den_built_in_roles_and_permissions.rb +108 -0
- data/db/migrate/20260827040515_create_rails_den_board_role_assignments.rb +33 -0
- data/db/migrate/20260827041710_create_rails_den_board_role_requirements.rb +27 -0
- data/db/migrate/20260827063901_create_rails_den_category_role_requirements.rb +23 -0
- data/db/migrate/20260827063909_create_rails_den_topic_role_requirements.rb +23 -0
- data/db/migrate/20260827203747_create_rails_den_report_reasons.rb +19 -0
- data/db/migrate/20260827203752_create_rails_den_reports.rb +24 -0
- data/db/migrate/20260827203807_provision_rails_den_default_report_reasons.rb +32 -0
- data/db/migrate/20260828030352_create_rails_den_moderation_events.rb +26 -0
- data/db/migrate/20260828030354_create_rails_den_moderation_notes.rb +13 -0
- data/db/migrate/20260828030357_create_rails_den_user_warnings.rb +17 -0
- data/db/migrate/20260828030359_create_rails_den_user_restrictions.rb +30 -0
- data/db/migrate/20260828030404_add_moderation_fields_to_rails_den_reports.rb +55 -0
- data/db/migrate/20260828030407_add_moderation_fields_to_rails_den_topics.rb +14 -0
- data/db/migrate/20260828031955_add_opening_post_to_rails_den_topics.rb +25 -0
- data/db/migrate/20260828083552_create_rails_den_reaction_types.rb +15 -0
- data/db/migrate/20260828083554_create_rails_den_reactions.rb +20 -0
- data/db/migrate/20260828083556_provision_rails_den_default_reaction_type.rb +18 -0
- data/db/migrate/20260828151420_create_rails_den_bookmarks.rb +20 -0
- data/db/migrate/20260828165545_create_rails_den_profile_fields.rb +37 -0
- data/db/migrate/20260828165547_create_rails_den_profile_field_values.rb +31 -0
- data/db/migrate/20260828191644_add_presence_fields_to_rails_den_member_profiles.rb +22 -0
- data/db/migrate/20260829003137_create_rails_den_private_conversations.rb +13 -0
- data/db/migrate/20260829003139_create_rails_den_private_conversation_participants.rb +35 -0
- data/db/migrate/20260829003141_create_rails_den_private_messages.rb +19 -0
- data/db/migrate/20260829003143_create_rails_den_private_message_recipients.rb +26 -0
- data/db/migrate/20260829003435_provision_rails_den_message_capability_defaults.rb +39 -0
- data/db/migrate/20260829013557_create_rails_den_chat_channels.rb +17 -0
- data/db/migrate/20260829014413_create_rails_den_chat_channel_memberships.rb +26 -0
- data/db/migrate/20260829014523_create_rails_den_chat_messages.rb +27 -0
- data/db/migrate/20260830155021_create_rails_den_chat_channel_read_states.rb +37 -0
- data/db/migrate/20260830155023_add_pinned_to_rails_den_chat_messages.rb +16 -0
- data/db/migrate/20260830185149_create_rails_den_badges.rb +44 -0
- data/db/migrate/20260830185151_create_rails_den_badge_awards.rb +43 -0
- data/db/migrate/20260830190053_create_rails_den_reputation_events.rb +52 -0
- data/db/migrate/20260830190055_create_rails_den_trust_levels.rb +52 -0
- data/db/migrate/20260830190057_create_rails_den_trust_level_achievements.rb +39 -0
- data/db/migrate/20260830190059_add_reputation_points_to_rails_den_member_profiles.rb +17 -0
- data/db/migrate/20260831120000_create_rails_den_advertising_and_sponsorships.rb +55 -0
- data/db/migrate/20260831120001_add_description_to_rails_den_sponsors.rb +5 -0
- data/db/migrate/20260831120002_add_advertising_page_to_rails_den_advertising_configurations.rb +7 -0
- data/db/migrate/20260831120003_add_destination_url_to_rails_den_sponsors.rb +5 -0
- data/db/migrate/20260831120004_move_destination_url_to_rails_den_sponsorships.rb +138 -0
- data/db/migrate/20260831204539_create_rails_den_theme_selections.rb +9 -0
- data/exe/rails_den +5 -0
- data/lib/generators/rails_den/install/install_generator.rb +42 -0
- data/lib/generators/rails_den/install/templates/rails_den.rb +75 -0
- data/lib/generators/rails_den/install/views/views_generator.rb +56 -0
- data/lib/rails/commands/rails_den/import/discourse/discourse_command.rb +48 -0
- data/lib/rails_den/cli.rb +174 -0
- data/lib/rails_den/configuration.rb +173 -0
- data/lib/rails_den/engine.rb +10 -0
- data/lib/rails_den/extensions/descriptor.rb +138 -0
- data/lib/rails_den/extensions/registry.rb +65 -0
- data/lib/rails_den/extensions.rb +49 -0
- data/lib/rails_den/formatters/markdown.rb +30 -0
- data/lib/rails_den/formatters/plain_text.rb +18 -0
- data/lib/rails_den/formatting.rb +130 -0
- data/lib/rails_den/gamification.rb +77 -0
- data/lib/rails_den/import/discourse/backup.rb +169 -0
- data/lib/rails_den/import/discourse/finalizer.rb +617 -0
- data/lib/rails_den/import/discourse/importer.rb +266 -0
- data/lib/rails_den/import/discourse/source_database.rb +320 -0
- data/lib/rails_den/import/discourse/staff_roles.rb +173 -0
- data/lib/rails_den/import/discourse/transformer.rb +940 -0
- data/lib/rails_den/import/discourse.rb +9 -0
- data/lib/rails_den/licensing/client.rb +128 -0
- data/lib/rails_den/licensing/result.rb +57 -0
- data/lib/rails_den/licensing.rb +28 -0
- data/lib/rails_den/metadata.rb +343 -0
- data/lib/rails_den/onebox/address_guard.rb +108 -0
- data/lib/rails_den/onebox/body_renderer.rb +135 -0
- data/lib/rails_den/onebox/embed_policy.rb +179 -0
- data/lib/rails_den/onebox/errors.rb +24 -0
- data/lib/rails_den/onebox/extractor.rb +130 -0
- data/lib/rails_den/onebox/fetcher.rb +199 -0
- data/lib/rails_den/onebox/http_transport.rb +164 -0
- data/lib/rails_den/onebox/metadata.rb +343 -0
- data/lib/rails_den/onebox/oembed/client.rb +46 -0
- data/lib/rails_den/onebox/oembed/discovery.rb +296 -0
- data/lib/rails_den/onebox/oembed/response.rb +375 -0
- data/lib/rails_den/onebox/oembed.rb +18 -0
- data/lib/rails_den/onebox/providers/base.rb +23 -0
- data/lib/rails_den/onebox/providers/bluesky.rb +402 -0
- data/lib/rails_den/onebox/providers/generic.rb +310 -0
- data/lib/rails_den/onebox/providers/giphy.rb +281 -0
- data/lib/rails_den/onebox/providers/github.rb +300 -0
- data/lib/rails_den/onebox/providers/mastodon.rb +505 -0
- data/lib/rails_den/onebox/providers/soundcloud.rb +199 -0
- data/lib/rails_den/onebox/providers/spotify.rb +196 -0
- data/lib/rails_den/onebox/providers/tenor.rb +296 -0
- data/lib/rails_den/onebox/providers/tiktok.rb +292 -0
- data/lib/rails_den/onebox/providers/twitch.rb +414 -0
- data/lib/rails_den/onebox/providers/vimeo.rb +295 -0
- data/lib/rails_den/onebox/providers/youtube.rb +201 -0
- data/lib/rails_den/onebox/registry.rb +41 -0
- data/lib/rails_den/onebox/renderer.rb +403 -0
- data/lib/rails_den/onebox/result.rb +86 -0
- data/lib/rails_den/onebox/synchronizer.rb +161 -0
- data/lib/rails_den/onebox/url.rb +35 -0
- data/lib/rails_den/onebox.rb +176 -0
- data/lib/rails_den/presence.rb +162 -0
- data/lib/rails_den/standalone_template.rb +700 -0
- data/lib/rails_den/themes.rb +80 -0
- data/lib/rails_den/version.rb +3 -0
- data/lib/rails_den/view_installer.rb +129 -0
- data/lib/rails_den.rb +113 -0
- data/lib/tasks/rails_den_tasks.rake +4 -0
- metadata +735 -0
|
@@ -0,0 +1,1555 @@
|
|
|
1
|
+
.rails-den-visually-hidden {
|
|
2
|
+
position: absolute;
|
|
3
|
+
width: 1px;
|
|
4
|
+
height: 1px;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: -1px;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
white-space: nowrap;
|
|
9
|
+
clip: rect(0 0 0 0);
|
|
10
|
+
border: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rails-den-chat-directory,
|
|
14
|
+
.rails-den-chat-settings-page,
|
|
15
|
+
.rails-den-chat-page {
|
|
16
|
+
--rd-chat-border:
|
|
17
|
+
color-mix(in srgb, currentColor 18%, transparent);
|
|
18
|
+
|
|
19
|
+
--rd-chat-border-strong:
|
|
20
|
+
color-mix(in srgb, currentColor 30%, transparent);
|
|
21
|
+
|
|
22
|
+
--rd-chat-surface:
|
|
23
|
+
color-mix(in srgb, currentColor 3%, transparent);
|
|
24
|
+
|
|
25
|
+
--rd-chat-surface-hover:
|
|
26
|
+
color-mix(in srgb, currentColor 6%, transparent);
|
|
27
|
+
|
|
28
|
+
--rd-chat-surface-active:
|
|
29
|
+
color-mix(in srgb, currentColor 10%, transparent);
|
|
30
|
+
|
|
31
|
+
--rd-chat-surface-strong:
|
|
32
|
+
color-mix(in srgb, currentColor 14%, transparent);
|
|
33
|
+
|
|
34
|
+
--rd-chat-muted:
|
|
35
|
+
color-mix(in srgb, currentColor 60%, transparent);
|
|
36
|
+
|
|
37
|
+
--rd-chat-faint:
|
|
38
|
+
color-mix(in srgb, currentColor 42%, transparent);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* =========================================================
|
|
42
|
+
CHANNEL DIRECTORY
|
|
43
|
+
========================================================= */
|
|
44
|
+
|
|
45
|
+
.rails-den-chat-directory {
|
|
46
|
+
width: min(920px, 100%);
|
|
47
|
+
margin: 0 auto;
|
|
48
|
+
padding-bottom: 3rem;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.rails-den-chat-directory-header {
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: flex-end;
|
|
54
|
+
justify-content: space-between;
|
|
55
|
+
gap: 2rem;
|
|
56
|
+
padding: 0.5rem 0 1.35rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.rails-den-chat-directory-kicker {
|
|
60
|
+
display: block;
|
|
61
|
+
margin-bottom: 0.25rem;
|
|
62
|
+
color: var(--rd-chat-muted);
|
|
63
|
+
font-size: 0.7rem;
|
|
64
|
+
font-weight: 700;
|
|
65
|
+
letter-spacing: 0.08em;
|
|
66
|
+
text-transform: uppercase;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.rails-den-chat-directory-header h1 {
|
|
70
|
+
margin: 0;
|
|
71
|
+
font-size: clamp(1.9rem, 5vw, 2.5rem);
|
|
72
|
+
line-height: 1.1;
|
|
73
|
+
letter-spacing: -0.025em;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.rails-den-chat-directory-header p {
|
|
77
|
+
margin: 0.4rem 0 0;
|
|
78
|
+
color: var(--rd-chat-muted);
|
|
79
|
+
font-size: 0.9rem;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.rails-den-chat-directory-create {
|
|
83
|
+
display: inline-flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
justify-content: center;
|
|
86
|
+
min-height: 2.4rem;
|
|
87
|
+
padding: 0.5rem 0.8rem;
|
|
88
|
+
color: inherit;
|
|
89
|
+
background: var(--rd-chat-surface-strong);
|
|
90
|
+
border: 1px solid var(--rd-chat-border-strong);
|
|
91
|
+
border-radius: 0.45rem;
|
|
92
|
+
font-size: 0.78rem;
|
|
93
|
+
font-weight: 700;
|
|
94
|
+
text-decoration: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.rails-den-chat-directory-create:hover {
|
|
98
|
+
background: var(--rd-chat-surface-active);
|
|
99
|
+
border-color: currentColor;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.rails-den-chat-directory-browser {
|
|
103
|
+
overflow: hidden;
|
|
104
|
+
border: 1px solid var(--rd-chat-border);
|
|
105
|
+
border-radius: 0.7rem;
|
|
106
|
+
background: var(--rd-chat-surface);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.rails-den-chat-directory-group +
|
|
110
|
+
.rails-den-chat-directory-group {
|
|
111
|
+
border-top: 1px solid var(--rd-chat-border);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.rails-den-chat-directory-group-header {
|
|
115
|
+
display: flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
justify-content: space-between;
|
|
118
|
+
gap: 1rem;
|
|
119
|
+
padding: 0.85rem 1rem 0.7rem;
|
|
120
|
+
background: var(--rd-chat-surface-hover);
|
|
121
|
+
border-bottom: 1px solid var(--rd-chat-border);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.rails-den-chat-directory-group-header h2 {
|
|
125
|
+
margin: 0;
|
|
126
|
+
font-size: 0.84rem;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.rails-den-chat-directory-group-header p {
|
|
130
|
+
margin: 0.15rem 0 0;
|
|
131
|
+
color: var(--rd-chat-faint);
|
|
132
|
+
font-size: 0.7rem;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.rails-den-chat-directory-group-header > span {
|
|
136
|
+
display: grid;
|
|
137
|
+
place-items: center;
|
|
138
|
+
min-width: 1.65rem;
|
|
139
|
+
height: 1.65rem;
|
|
140
|
+
padding: 0 0.3rem;
|
|
141
|
+
color: var(--rd-chat-muted);
|
|
142
|
+
background: var(--rd-chat-surface-active);
|
|
143
|
+
border-radius: 999px;
|
|
144
|
+
font-size: 0.68rem;
|
|
145
|
+
font-weight: 700;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.rails-den-chat-directory-list {
|
|
149
|
+
display: grid;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.rails-den-chat-directory-row {
|
|
153
|
+
display: grid;
|
|
154
|
+
grid-template-columns:
|
|
155
|
+
auto
|
|
156
|
+
minmax(0, 1fr)
|
|
157
|
+
auto;
|
|
158
|
+
align-items: center;
|
|
159
|
+
gap: 0.85rem;
|
|
160
|
+
min-height: 4.25rem;
|
|
161
|
+
padding: 0.65rem 0.9rem;
|
|
162
|
+
color: inherit;
|
|
163
|
+
text-decoration: none;
|
|
164
|
+
border-bottom: 1px solid var(--rd-chat-border);
|
|
165
|
+
transition: background 100ms ease;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.rails-den-chat-directory-row:last-child {
|
|
169
|
+
border-bottom: 0;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.rails-den-chat-directory-row:hover {
|
|
173
|
+
background: var(--rd-chat-surface-hover);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.rails-den-chat-directory-row-icon {
|
|
177
|
+
display: grid;
|
|
178
|
+
place-items: center;
|
|
179
|
+
width: 2.25rem;
|
|
180
|
+
height: 2.25rem;
|
|
181
|
+
border-radius: 0.48rem;
|
|
182
|
+
background: var(--rd-chat-surface-active);
|
|
183
|
+
font-size: 1rem;
|
|
184
|
+
font-weight: 800;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.rails-den-chat-directory-row-main {
|
|
188
|
+
display: grid;
|
|
189
|
+
gap: 0.2rem;
|
|
190
|
+
min-width: 0;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.rails-den-chat-directory-row-main strong {
|
|
194
|
+
overflow: hidden;
|
|
195
|
+
font-size: 0.86rem;
|
|
196
|
+
text-overflow: ellipsis;
|
|
197
|
+
white-space: nowrap;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.rails-den-chat-directory-row-main > span {
|
|
201
|
+
overflow: hidden;
|
|
202
|
+
color: var(--rd-chat-muted);
|
|
203
|
+
font-size: 0.72rem;
|
|
204
|
+
text-overflow: ellipsis;
|
|
205
|
+
white-space: nowrap;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.rails-den-chat-directory-row-meta {
|
|
209
|
+
display: flex;
|
|
210
|
+
align-items: center;
|
|
211
|
+
gap: 0.75rem;
|
|
212
|
+
color: var(--rd-chat-faint);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.rails-den-chat-directory-row-meta small {
|
|
216
|
+
font-size: 0.65rem;
|
|
217
|
+
font-weight: 600;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.rails-den-chat-directory-row-meta > span {
|
|
221
|
+
font-size: 1.3rem;
|
|
222
|
+
line-height: 1;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.rails-den-chat-unread-badge {
|
|
226
|
+
display: inline-flex;
|
|
227
|
+
align-items: center;
|
|
228
|
+
min-height: 1.35rem;
|
|
229
|
+
padding: 0.12rem 0.42rem;
|
|
230
|
+
color: inherit;
|
|
231
|
+
background: var(--rd-chat-surface-active);
|
|
232
|
+
border: 1px solid var(--rd-chat-border-strong);
|
|
233
|
+
border-radius: 999px;
|
|
234
|
+
font-size: 0.61rem;
|
|
235
|
+
font-weight: 800;
|
|
236
|
+
line-height: 1;
|
|
237
|
+
white-space: nowrap;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.rails-den-chat-directory-empty {
|
|
241
|
+
display: grid;
|
|
242
|
+
justify-items: center;
|
|
243
|
+
padding: 3rem 2rem;
|
|
244
|
+
text-align: center;
|
|
245
|
+
border: 1px dashed var(--rd-chat-border-strong);
|
|
246
|
+
border-radius: 0.7rem;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.rails-den-chat-directory-empty > span {
|
|
250
|
+
display: grid;
|
|
251
|
+
place-items: center;
|
|
252
|
+
width: 2.8rem;
|
|
253
|
+
height: 2.8rem;
|
|
254
|
+
margin-bottom: 0.9rem;
|
|
255
|
+
background: var(--rd-chat-surface-active);
|
|
256
|
+
border-radius: 0.6rem;
|
|
257
|
+
font-size: 1.15rem;
|
|
258
|
+
font-weight: 800;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.rails-den-chat-directory-empty h2 {
|
|
262
|
+
margin: 0;
|
|
263
|
+
font-size: 1rem;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.rails-den-chat-directory-empty p {
|
|
267
|
+
margin: 0.4rem 0 1rem;
|
|
268
|
+
color: var(--rd-chat-muted);
|
|
269
|
+
font-size: 0.8rem;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/* =========================================================
|
|
273
|
+
CHANNEL SETTINGS
|
|
274
|
+
========================================================= */
|
|
275
|
+
|
|
276
|
+
.rails-den-chat-settings-page {
|
|
277
|
+
width: min(660px, 100%);
|
|
278
|
+
margin: 0 auto;
|
|
279
|
+
padding: 0.5rem 0 3rem;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.rails-den-chat-settings-back {
|
|
283
|
+
display: inline-flex;
|
|
284
|
+
align-items: center;
|
|
285
|
+
margin-bottom: 1.25rem;
|
|
286
|
+
color: var(--rd-chat-muted);
|
|
287
|
+
font-size: 0.82rem;
|
|
288
|
+
font-weight: 600;
|
|
289
|
+
text-decoration: none;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.rails-den-chat-settings-back:hover {
|
|
293
|
+
color: inherit;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.rails-den-chat-settings-header {
|
|
297
|
+
margin-bottom: 1.2rem;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.rails-den-chat-settings-kicker {
|
|
301
|
+
display: block;
|
|
302
|
+
margin-bottom: 0.3rem;
|
|
303
|
+
color: var(--rd-chat-muted);
|
|
304
|
+
font-size: 0.68rem;
|
|
305
|
+
font-weight: 700;
|
|
306
|
+
letter-spacing: 0.08em;
|
|
307
|
+
text-transform: uppercase;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.rails-den-chat-settings-header h1 {
|
|
311
|
+
margin: 0;
|
|
312
|
+
font-size: clamp(1.7rem, 5vw, 2.2rem);
|
|
313
|
+
line-height: 1.15;
|
|
314
|
+
letter-spacing: -0.02em;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.rails-den-chat-settings-header p {
|
|
318
|
+
margin: 0.45rem 0 0;
|
|
319
|
+
color: var(--rd-chat-muted);
|
|
320
|
+
font-size: 0.88rem;
|
|
321
|
+
line-height: 1.5;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.rails-den-chat-settings-panel {
|
|
325
|
+
overflow: hidden;
|
|
326
|
+
color: inherit;
|
|
327
|
+
background: var(--rd-chat-surface);
|
|
328
|
+
border: 1px solid var(--rd-chat-border);
|
|
329
|
+
border-radius: 0.75rem;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.rails-den-chat-settings-form {
|
|
333
|
+
margin: 0;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.rails-den-chat-settings-section {
|
|
337
|
+
padding: 1.15rem 1.25rem;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.rails-den-chat-settings-section +
|
|
341
|
+
.rails-den-chat-settings-section {
|
|
342
|
+
border-top: 1px solid var(--rd-chat-border);
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.rails-den-chat-field +
|
|
346
|
+
.rails-den-chat-field {
|
|
347
|
+
margin-top: 1.15rem;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.rails-den-chat-field-heading {
|
|
351
|
+
display: flex;
|
|
352
|
+
align-items: baseline;
|
|
353
|
+
justify-content: space-between;
|
|
354
|
+
gap: 1rem;
|
|
355
|
+
margin-bottom: 0.38rem;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.rails-den-chat-field-heading label {
|
|
359
|
+
color: inherit;
|
|
360
|
+
font-size: 0.82rem;
|
|
361
|
+
font-weight: 700;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.rails-den-chat-field-heading > span {
|
|
365
|
+
color: var(--rd-chat-faint);
|
|
366
|
+
font-size: 0.64rem;
|
|
367
|
+
font-weight: 600;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.rails-den-chat-field-help {
|
|
371
|
+
margin: 0.35rem 0 0;
|
|
372
|
+
color: var(--rd-chat-faint);
|
|
373
|
+
font-size: 0.7rem;
|
|
374
|
+
line-height: 1.35;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.rails-den-chat-channel-name-field {
|
|
378
|
+
display: flex;
|
|
379
|
+
align-items: stretch;
|
|
380
|
+
min-height: 2.9rem;
|
|
381
|
+
overflow: hidden;
|
|
382
|
+
color: inherit;
|
|
383
|
+
background: var(--rd-chat-surface-hover);
|
|
384
|
+
border: 1px solid var(--rd-chat-border-strong);
|
|
385
|
+
border-radius: 0.48rem;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.rails-den-chat-channel-name-field:focus-within {
|
|
389
|
+
border-color: currentColor;
|
|
390
|
+
background: var(--rd-chat-surface-active);
|
|
391
|
+
box-shadow: 0 0 0 2px var(--rd-chat-surface-active);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.rails-den-chat-channel-name-field > span {
|
|
395
|
+
display: grid;
|
|
396
|
+
place-items: center;
|
|
397
|
+
width: 2.65rem;
|
|
398
|
+
flex: 0 0 auto;
|
|
399
|
+
color: var(--rd-chat-muted);
|
|
400
|
+
border-right: 1px solid var(--rd-chat-border);
|
|
401
|
+
font-size: 1rem;
|
|
402
|
+
font-weight: 700;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
input.rails-den-chat-settings-input {
|
|
406
|
+
appearance: none;
|
|
407
|
+
box-sizing: border-box;
|
|
408
|
+
width: 100%;
|
|
409
|
+
min-width: 0;
|
|
410
|
+
padding: 0.65rem 0.72rem;
|
|
411
|
+
color: inherit;
|
|
412
|
+
background: var(--rd-chat-surface-hover);
|
|
413
|
+
border: 1px solid var(--rd-chat-border-strong);
|
|
414
|
+
border-radius: 0.48rem;
|
|
415
|
+
outline: 0;
|
|
416
|
+
box-shadow: none;
|
|
417
|
+
font: inherit;
|
|
418
|
+
font-size: 0.88rem;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
input.rails-den-chat-channel-name-input {
|
|
422
|
+
color: inherit;
|
|
423
|
+
background: transparent;
|
|
424
|
+
border: 0;
|
|
425
|
+
border-radius: 0;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
input.rails-den-chat-settings-input:focus {
|
|
429
|
+
border-color: currentColor;
|
|
430
|
+
background: var(--rd-chat-surface-active);
|
|
431
|
+
box-shadow: 0 0 0 2px var(--rd-chat-surface-active);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
input.rails-den-chat-settings-input::placeholder {
|
|
435
|
+
color: var(--rd-chat-faint);
|
|
436
|
+
opacity: 1;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
textarea.rails-den-chat-settings-textarea {
|
|
440
|
+
appearance: none;
|
|
441
|
+
box-sizing: border-box;
|
|
442
|
+
display: block;
|
|
443
|
+
width: 100%;
|
|
444
|
+
min-height: 6rem;
|
|
445
|
+
padding: 0.7rem 0.75rem;
|
|
446
|
+
resize: vertical;
|
|
447
|
+
color: inherit;
|
|
448
|
+
background: var(--rd-chat-surface-hover);
|
|
449
|
+
border: 1px solid var(--rd-chat-border-strong);
|
|
450
|
+
border-radius: 0.48rem;
|
|
451
|
+
outline: 0;
|
|
452
|
+
box-shadow: none;
|
|
453
|
+
font: inherit;
|
|
454
|
+
font-size: 0.88rem;
|
|
455
|
+
line-height: 1.45;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
textarea.rails-den-chat-settings-textarea:focus {
|
|
459
|
+
border-color: currentColor;
|
|
460
|
+
background: var(--rd-chat-surface-active);
|
|
461
|
+
box-shadow: 0 0 0 2px var(--rd-chat-surface-active);
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
textarea.rails-den-chat-settings-textarea::placeholder {
|
|
465
|
+
color: var(--rd-chat-faint);
|
|
466
|
+
opacity: 1;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.rails-den-chat-settings-section-title {
|
|
470
|
+
margin-bottom: 0.7rem;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.rails-den-chat-settings-section-title h2 {
|
|
474
|
+
margin: 0;
|
|
475
|
+
font-size: 0.84rem;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.rails-den-chat-settings-section-title p {
|
|
479
|
+
margin: 0.22rem 0 0;
|
|
480
|
+
color: var(--rd-chat-faint);
|
|
481
|
+
font-size: 0.71rem;
|
|
482
|
+
line-height: 1.4;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.rails-den-chat-visibility-options {
|
|
486
|
+
display: grid;
|
|
487
|
+
grid-template-columns:
|
|
488
|
+
repeat(2, minmax(0, 1fr));
|
|
489
|
+
gap: 0.55rem;
|
|
490
|
+
padding: 0;
|
|
491
|
+
margin: 0;
|
|
492
|
+
border: 0;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.rails-den-chat-visibility-choice {
|
|
496
|
+
position: relative;
|
|
497
|
+
display: block;
|
|
498
|
+
cursor: pointer;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
input.rails-den-chat-visibility-input {
|
|
502
|
+
position: absolute;
|
|
503
|
+
width: 1px;
|
|
504
|
+
height: 1px;
|
|
505
|
+
opacity: 0;
|
|
506
|
+
pointer-events: none;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.rails-den-chat-visibility-option {
|
|
510
|
+
box-sizing: border-box;
|
|
511
|
+
display: grid;
|
|
512
|
+
grid-template-columns:
|
|
513
|
+
auto
|
|
514
|
+
minmax(0, 1fr)
|
|
515
|
+
auto;
|
|
516
|
+
align-items: center;
|
|
517
|
+
gap: 0.6rem;
|
|
518
|
+
min-height: 4.6rem;
|
|
519
|
+
padding: 0.7rem;
|
|
520
|
+
color: inherit;
|
|
521
|
+
background: var(--rd-chat-surface-hover);
|
|
522
|
+
border: 1px solid var(--rd-chat-border);
|
|
523
|
+
border-radius: 0.5rem;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.rails-den-chat-visibility-choice:hover
|
|
527
|
+
.rails-den-chat-visibility-option {
|
|
528
|
+
background: var(--rd-chat-surface-active);
|
|
529
|
+
border-color: var(--rd-chat-border-strong);
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
input.rails-den-chat-visibility-input:checked +
|
|
533
|
+
.rails-den-chat-visibility-option {
|
|
534
|
+
background: var(--rd-chat-surface-active);
|
|
535
|
+
border-color: currentColor;
|
|
536
|
+
box-shadow: inset 0 0 0 1px currentColor;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.rails-den-chat-visibility-icon {
|
|
540
|
+
display: grid;
|
|
541
|
+
place-items: center;
|
|
542
|
+
width: 1.85rem;
|
|
543
|
+
height: 1.85rem;
|
|
544
|
+
border-radius: 0.4rem;
|
|
545
|
+
background: var(--rd-chat-surface-active);
|
|
546
|
+
font-size: 0.82rem;
|
|
547
|
+
font-weight: 800;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.rails-den-chat-visibility-text {
|
|
551
|
+
display: grid;
|
|
552
|
+
gap: 0.14rem;
|
|
553
|
+
min-width: 0;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.rails-den-chat-visibility-text strong {
|
|
557
|
+
font-size: 0.8rem;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
.rails-den-chat-visibility-text small {
|
|
561
|
+
color: var(--rd-chat-faint);
|
|
562
|
+
font-size: 0.66rem;
|
|
563
|
+
line-height: 1.3;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.rails-den-chat-visibility-selected {
|
|
567
|
+
display: grid;
|
|
568
|
+
place-items: center;
|
|
569
|
+
width: 1.2rem;
|
|
570
|
+
height: 1.2rem;
|
|
571
|
+
color: var(--rd-chat-faint);
|
|
572
|
+
border: 1px solid var(--rd-chat-border);
|
|
573
|
+
border-radius: 999px;
|
|
574
|
+
font-size: 0.58rem;
|
|
575
|
+
font-weight: 800;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
input.rails-den-chat-visibility-input:checked +
|
|
579
|
+
.rails-den-chat-visibility-option
|
|
580
|
+
.rails-den-chat-visibility-selected {
|
|
581
|
+
color: inherit;
|
|
582
|
+
background: var(--rd-chat-surface-strong);
|
|
583
|
+
border-color: currentColor;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.rails-den-chat-private-setting {
|
|
587
|
+
display: flex;
|
|
588
|
+
align-items: flex-start;
|
|
589
|
+
gap: 0.7rem;
|
|
590
|
+
padding: 0.75rem;
|
|
591
|
+
color: inherit;
|
|
592
|
+
background: var(--rd-chat-surface-hover);
|
|
593
|
+
border: 1px solid var(--rd-chat-border);
|
|
594
|
+
border-radius: 0.5rem;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
.rails-den-chat-private-setting-icon {
|
|
598
|
+
display: grid;
|
|
599
|
+
place-items: center;
|
|
600
|
+
width: 1.85rem;
|
|
601
|
+
height: 1.85rem;
|
|
602
|
+
flex: 0 0 auto;
|
|
603
|
+
border-radius: 0.4rem;
|
|
604
|
+
background: var(--rd-chat-surface-active);
|
|
605
|
+
font-size: 0.82rem;
|
|
606
|
+
font-weight: 800;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
.rails-den-chat-private-setting strong {
|
|
610
|
+
display: block;
|
|
611
|
+
font-size: 0.8rem;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.rails-den-chat-private-setting p {
|
|
615
|
+
margin: 0.16rem 0 0;
|
|
616
|
+
color: var(--rd-chat-faint);
|
|
617
|
+
font-size: 0.7rem;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.rails-den-chat-settings-errors {
|
|
621
|
+
margin: 1rem 1.25rem 0;
|
|
622
|
+
padding: 0.7rem 0.8rem;
|
|
623
|
+
background: var(--rd-chat-surface-hover);
|
|
624
|
+
border: 1px solid var(--rd-chat-border-strong);
|
|
625
|
+
border-radius: 0.5rem;
|
|
626
|
+
font-size: 0.76rem;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.rails-den-chat-settings-errors strong {
|
|
630
|
+
display: block;
|
|
631
|
+
margin-bottom: 0.3rem;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.rails-den-chat-settings-errors ul {
|
|
635
|
+
margin: 0;
|
|
636
|
+
padding-left: 1.1rem;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.rails-den-chat-settings-actions {
|
|
640
|
+
display: flex;
|
|
641
|
+
align-items: center;
|
|
642
|
+
justify-content: flex-end;
|
|
643
|
+
gap: 0.55rem;
|
|
644
|
+
padding: 0.8rem 1.25rem;
|
|
645
|
+
border-top: 1px solid var(--rd-chat-border);
|
|
646
|
+
background: var(--rd-chat-surface-hover);
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.rails-den-chat-settings-cancel,
|
|
650
|
+
.rails-den-chat-settings-submit,
|
|
651
|
+
.rails-den-chat-delete-button {
|
|
652
|
+
box-sizing: border-box;
|
|
653
|
+
display: inline-flex;
|
|
654
|
+
align-items: center;
|
|
655
|
+
justify-content: center;
|
|
656
|
+
min-height: 2.3rem;
|
|
657
|
+
padding: 0.5rem 0.8rem;
|
|
658
|
+
border-radius: 0.45rem;
|
|
659
|
+
font: inherit;
|
|
660
|
+
font-size: 0.78rem;
|
|
661
|
+
font-weight: 700;
|
|
662
|
+
line-height: 1;
|
|
663
|
+
text-decoration: none;
|
|
664
|
+
cursor: pointer;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.rails-den-chat-settings-cancel {
|
|
668
|
+
color: var(--rd-chat-muted);
|
|
669
|
+
background: transparent;
|
|
670
|
+
border: 1px solid transparent;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.rails-den-chat-settings-submit {
|
|
674
|
+
appearance: none;
|
|
675
|
+
min-width: 7.5rem;
|
|
676
|
+
color: inherit;
|
|
677
|
+
background: var(--rd-chat-surface-strong);
|
|
678
|
+
border: 1px solid var(--rd-chat-border-strong);
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
.rails-den-chat-settings-submit:hover {
|
|
682
|
+
background: var(--rd-chat-surface-active);
|
|
683
|
+
border-color: currentColor;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
.rails-den-chat-delete-panel {
|
|
687
|
+
display: flex;
|
|
688
|
+
align-items: center;
|
|
689
|
+
justify-content: space-between;
|
|
690
|
+
gap: 1.5rem;
|
|
691
|
+
margin-top: 1rem;
|
|
692
|
+
padding: 0.95rem 1rem;
|
|
693
|
+
background: var(--rd-chat-surface);
|
|
694
|
+
border: 1px solid var(--rd-chat-border);
|
|
695
|
+
border-radius: 0.7rem;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.rails-den-chat-delete-label {
|
|
699
|
+
display: block;
|
|
700
|
+
margin-bottom: 0.25rem;
|
|
701
|
+
color: var(--rd-chat-muted);
|
|
702
|
+
font-size: 0.62rem;
|
|
703
|
+
font-weight: 800;
|
|
704
|
+
letter-spacing: 0.06em;
|
|
705
|
+
text-transform: uppercase;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
.rails-den-chat-delete-panel h2 {
|
|
709
|
+
margin: 0;
|
|
710
|
+
font-size: 0.88rem;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.rails-den-chat-delete-panel p {
|
|
714
|
+
margin: 0.25rem 0 0;
|
|
715
|
+
color: var(--rd-chat-faint);
|
|
716
|
+
font-size: 0.7rem;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
.rails-den-chat-delete-form {
|
|
720
|
+
flex: 0 0 auto;
|
|
721
|
+
margin: 0;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.rails-den-chat-delete-button {
|
|
725
|
+
color: inherit;
|
|
726
|
+
background: transparent;
|
|
727
|
+
border: 1px solid var(--rd-chat-border-strong);
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
/* =========================================================
|
|
731
|
+
CHAT WORKSPACE
|
|
732
|
+
========================================================= */
|
|
733
|
+
|
|
734
|
+
.rails-den-chat-page {
|
|
735
|
+
width: min(1240px, 100%);
|
|
736
|
+
margin: 0 auto;
|
|
737
|
+
padding-bottom: 2rem;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
.rails-den-chat-page-header {
|
|
741
|
+
display: flex;
|
|
742
|
+
align-items: center;
|
|
743
|
+
justify-content: space-between;
|
|
744
|
+
gap: 1rem;
|
|
745
|
+
margin-bottom: 0.75rem;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
.rails-den-chat-page-back {
|
|
749
|
+
color: var(--rd-chat-muted);
|
|
750
|
+
font-size: 0.78rem;
|
|
751
|
+
font-weight: 600;
|
|
752
|
+
text-decoration: none;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
.rails-den-chat-page-back:hover {
|
|
756
|
+
color: inherit;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.rails-den-chat-page-actions {
|
|
760
|
+
display: flex;
|
|
761
|
+
align-items: center;
|
|
762
|
+
gap: 0.45rem;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.rails-den-chat-page-action {
|
|
766
|
+
padding: 0.4rem 0.58rem;
|
|
767
|
+
color: var(--rd-chat-muted);
|
|
768
|
+
background: var(--rd-chat-surface);
|
|
769
|
+
border: 1px solid var(--rd-chat-border);
|
|
770
|
+
border-radius: 0.4rem;
|
|
771
|
+
font-size: 0.7rem;
|
|
772
|
+
font-weight: 650;
|
|
773
|
+
text-decoration: none;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
.rails-den-chat-page-action:hover {
|
|
777
|
+
color: inherit;
|
|
778
|
+
background: var(--rd-chat-surface-hover);
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
.rails-den-chat-shell {
|
|
782
|
+
display: grid;
|
|
783
|
+
grid-template-columns:
|
|
784
|
+
minmax(0, 1fr)
|
|
785
|
+
235px;
|
|
786
|
+
min-height: 650px;
|
|
787
|
+
overflow: hidden;
|
|
788
|
+
border: 1px solid var(--rd-chat-border);
|
|
789
|
+
border-radius: 0.7rem;
|
|
790
|
+
background: var(--rd-chat-surface);
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.rails-den-chat-client {
|
|
794
|
+
min-width: 0;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
.rails-den-chat-workspace {
|
|
798
|
+
display: grid;
|
|
799
|
+
grid-template-columns:
|
|
800
|
+
215px
|
|
801
|
+
minmax(0, 1fr);
|
|
802
|
+
min-height: 650px;
|
|
803
|
+
overflow: hidden;
|
|
804
|
+
border: 0;
|
|
805
|
+
border-radius: 0;
|
|
806
|
+
background: transparent;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
.rails-den-chat-sidebar {
|
|
810
|
+
padding: 0.8rem 0.55rem;
|
|
811
|
+
background: var(--rd-chat-surface-hover);
|
|
812
|
+
border-right: 1px solid var(--rd-chat-border);
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
.rails-den-chat-sidebar-title {
|
|
816
|
+
padding: 0.2rem 0.55rem 0.55rem;
|
|
817
|
+
color: var(--rd-chat-muted);
|
|
818
|
+
font-size: 0.65rem;
|
|
819
|
+
font-weight: 800;
|
|
820
|
+
letter-spacing: 0.08em;
|
|
821
|
+
text-transform: uppercase;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
.rails-den-chat-channel-list {
|
|
825
|
+
display: grid;
|
|
826
|
+
gap: 0.08rem;
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
.rails-den-chat-channel-link {
|
|
830
|
+
display: flex;
|
|
831
|
+
align-items: center;
|
|
832
|
+
justify-content: space-between;
|
|
833
|
+
gap: 0.4rem;
|
|
834
|
+
min-height: 2rem;
|
|
835
|
+
padding: 0.38rem 0.5rem;
|
|
836
|
+
color: var(--rd-chat-muted);
|
|
837
|
+
text-decoration: none;
|
|
838
|
+
border-radius: 0.35rem;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
.rails-den-chat-channel-link:hover {
|
|
842
|
+
color: inherit;
|
|
843
|
+
background: var(--rd-chat-surface-hover);
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
.rails-den-chat-channel-link.is-active {
|
|
847
|
+
color: inherit;
|
|
848
|
+
background: var(--rd-chat-surface-active);
|
|
849
|
+
font-weight: 700;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
.rails-den-chat-channel-meta {
|
|
853
|
+
display: flex;
|
|
854
|
+
align-items: center;
|
|
855
|
+
gap: 0.35rem;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.rails-den-chat-channel-link small {
|
|
859
|
+
color: var(--rd-chat-faint);
|
|
860
|
+
font-size: 0.58rem;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.rails-den-chat-room-count {
|
|
864
|
+
display: inline-grid;
|
|
865
|
+
place-items: center;
|
|
866
|
+
min-width: 1.25rem;
|
|
867
|
+
height: 1.25rem;
|
|
868
|
+
padding: 0 0.2rem;
|
|
869
|
+
border-radius: 999px;
|
|
870
|
+
background: var(--rd-chat-surface-active);
|
|
871
|
+
font-size: 0.61rem;
|
|
872
|
+
font-weight: 700;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
.rails-den-chat-main {
|
|
876
|
+
display: grid;
|
|
877
|
+
grid-template-rows:
|
|
878
|
+
auto
|
|
879
|
+
auto
|
|
880
|
+
minmax(0, 1fr)
|
|
881
|
+
auto;
|
|
882
|
+
min-width: 0;
|
|
883
|
+
min-height: 650px;
|
|
884
|
+
background: var(--rd-chat-surface);
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
.rails-den-chat-header {
|
|
888
|
+
display: flex;
|
|
889
|
+
align-items: center;
|
|
890
|
+
justify-content: space-between;
|
|
891
|
+
gap: 1rem;
|
|
892
|
+
min-height: 3.4rem;
|
|
893
|
+
padding: 0.65rem 1rem;
|
|
894
|
+
border-bottom: 1px solid var(--rd-chat-border);
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
.rails-den-chat-header h1 {
|
|
898
|
+
margin: 0;
|
|
899
|
+
font-size: 1rem;
|
|
900
|
+
letter-spacing: -0.01em;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
.rails-den-chat-header p {
|
|
904
|
+
margin: 0.15rem 0 0;
|
|
905
|
+
color: var(--rd-chat-muted);
|
|
906
|
+
font-size: 0.7rem;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
.rails-den-chat-connection {
|
|
910
|
+
flex: 0 0 auto;
|
|
911
|
+
padding: 0.2rem 0.42rem;
|
|
912
|
+
color: var(--rd-chat-muted);
|
|
913
|
+
background: var(--rd-chat-surface-hover);
|
|
914
|
+
border-radius: 999px;
|
|
915
|
+
font-size: 0.6rem;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
.rails-den-chat-connection.is-live {
|
|
919
|
+
color: inherit;
|
|
920
|
+
font-weight: 700;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
.rails-den-chat-room-presence {
|
|
924
|
+
display: flex;
|
|
925
|
+
align-items: center;
|
|
926
|
+
gap: 0.65rem;
|
|
927
|
+
min-height: 2.25rem;
|
|
928
|
+
padding: 0.4rem 1rem;
|
|
929
|
+
border-bottom: 1px solid var(--rd-chat-border);
|
|
930
|
+
font-size: 0.67rem;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
.rails-den-chat-room-presence > strong {
|
|
934
|
+
flex: 0 0 auto;
|
|
935
|
+
color: var(--rd-chat-muted);
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
.rails-den-chat-room-people {
|
|
939
|
+
display: flex;
|
|
940
|
+
align-items: center;
|
|
941
|
+
flex-wrap: wrap;
|
|
942
|
+
gap: 0.25rem;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
.rails-den-chat-room-person {
|
|
946
|
+
display: inline-block;
|
|
947
|
+
padding: 0.12rem 0.38rem;
|
|
948
|
+
background: var(--rd-chat-surface-hover);
|
|
949
|
+
border-radius: 999px;
|
|
950
|
+
font-size: 0.64rem;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
.rails-den-chat-presence-unavailable {
|
|
954
|
+
color: var(--rd-chat-muted);
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
.rails-den-chat-message-list {
|
|
958
|
+
min-height: 0;
|
|
959
|
+
max-height: 66vh;
|
|
960
|
+
overflow-y: auto;
|
|
961
|
+
padding: 0.75rem 0 1rem;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
.rails-den-chat-unread-divider {
|
|
965
|
+
display: flex;
|
|
966
|
+
align-items: center;
|
|
967
|
+
gap: 0.65rem;
|
|
968
|
+
margin: 0.55rem 1rem;
|
|
969
|
+
color: var(--rd-chat-muted);
|
|
970
|
+
font-size: 0.66rem;
|
|
971
|
+
font-weight: 800;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
.rails-den-chat-unread-divider::before,
|
|
975
|
+
.rails-den-chat-unread-divider::after {
|
|
976
|
+
height: 1px;
|
|
977
|
+
flex: 1;
|
|
978
|
+
content: "";
|
|
979
|
+
background: var(--rd-chat-border-strong);
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
.rails-den-chat-pinned-panel {
|
|
983
|
+
max-height: 11rem;
|
|
984
|
+
overflow-y: auto;
|
|
985
|
+
padding: 0.65rem 0.85rem;
|
|
986
|
+
background: var(--rd-chat-surface-hover);
|
|
987
|
+
border-bottom: 1px solid var(--rd-chat-border);
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
.rails-den-chat-pinned-panel h2 {
|
|
991
|
+
margin: 0 0 0.45rem;
|
|
992
|
+
font-size: 0.72rem;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
.rails-den-chat-pinned-panel ul {
|
|
996
|
+
display: grid;
|
|
997
|
+
gap: 0.35rem;
|
|
998
|
+
margin: 0;
|
|
999
|
+
padding: 0;
|
|
1000
|
+
list-style: none;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
.rails-den-chat-pinned-panel li {
|
|
1004
|
+
display: flex;
|
|
1005
|
+
align-items: center;
|
|
1006
|
+
justify-content: space-between;
|
|
1007
|
+
gap: 0.75rem;
|
|
1008
|
+
min-width: 0;
|
|
1009
|
+
padding: 0.35rem 0.45rem;
|
|
1010
|
+
background: var(--rd-chat-surface);
|
|
1011
|
+
border: 1px solid var(--rd-chat-border);
|
|
1012
|
+
border-radius: 0.4rem;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
.rails-den-chat-pinned-panel li > div {
|
|
1016
|
+
display: grid;
|
|
1017
|
+
gap: 0.1rem;
|
|
1018
|
+
min-width: 0;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
.rails-den-chat-pinned-panel strong {
|
|
1022
|
+
font-size: 0.67rem;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
.rails-den-chat-pinned-preview {
|
|
1026
|
+
overflow: hidden;
|
|
1027
|
+
color: var(--rd-chat-muted);
|
|
1028
|
+
font-size: 0.68rem;
|
|
1029
|
+
text-overflow: ellipsis;
|
|
1030
|
+
white-space: nowrap;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
.rails-den-chat-pinned-panel button,
|
|
1034
|
+
.rails-den-chat-pin-control {
|
|
1035
|
+
min-width: 2.75rem;
|
|
1036
|
+
min-height: 2rem;
|
|
1037
|
+
padding: 0.35rem 0.55rem;
|
|
1038
|
+
color: inherit;
|
|
1039
|
+
background: var(--rd-chat-surface-strong);
|
|
1040
|
+
border: 1px solid var(--rd-chat-border-strong);
|
|
1041
|
+
border-radius: 0.38rem;
|
|
1042
|
+
font: inherit;
|
|
1043
|
+
font-size: 0.65rem;
|
|
1044
|
+
font-weight: 700;
|
|
1045
|
+
cursor: pointer;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
.rails-den-chat-pinned-panel button:hover,
|
|
1049
|
+
.rails-den-chat-pin-control:hover {
|
|
1050
|
+
background: var(--rd-chat-surface-active);
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.rails-den-chat-pinned-panel button:focus-visible,
|
|
1054
|
+
.rails-den-chat-pin-control:focus-visible {
|
|
1055
|
+
outline: 2px solid currentColor;
|
|
1056
|
+
outline-offset: 2px;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
.rails-den-chat-message.is-pinned {
|
|
1060
|
+
border-left: 3px solid var(--rd-chat-border-strong);
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
.rails-den-chat-pin-indicator {
|
|
1064
|
+
padding: 0.1rem 0.32rem;
|
|
1065
|
+
background: var(--rd-chat-surface-active);
|
|
1066
|
+
border-radius: 999px;
|
|
1067
|
+
font-size: 0.57rem;
|
|
1068
|
+
font-weight: 800;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
.rails-den-chat-pin-control {
|
|
1072
|
+
margin-left: auto;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
.rails-den-chat-message {
|
|
1076
|
+
padding: 0.42rem 1rem;
|
|
1077
|
+
border: 0;
|
|
1078
|
+
transition: background 80ms ease;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
.rails-den-chat-message:hover {
|
|
1082
|
+
background: var(--rd-chat-surface-hover);
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
.rails-den-chat-message +
|
|
1086
|
+
.rails-den-chat-message {
|
|
1087
|
+
border-top: 0;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
.rails-den-chat-message-meta {
|
|
1091
|
+
display: flex;
|
|
1092
|
+
align-items: baseline;
|
|
1093
|
+
gap: 0.45rem;
|
|
1094
|
+
margin-bottom: 0.12rem;
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
.rails-den-chat-message-meta strong {
|
|
1098
|
+
font-size: 0.78rem;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
.rails-den-chat-message-meta time {
|
|
1102
|
+
color: var(--rd-chat-faint);
|
|
1103
|
+
font-size: 0.59rem;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
.rails-den-chat-message-body {
|
|
1107
|
+
white-space: pre-wrap;
|
|
1108
|
+
overflow-wrap: anywhere;
|
|
1109
|
+
font-size: 0.79rem;
|
|
1110
|
+
line-height: 1.45;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
.rails-den-chat-empty {
|
|
1114
|
+
display: grid;
|
|
1115
|
+
place-items: center;
|
|
1116
|
+
min-height: 20rem;
|
|
1117
|
+
color: var(--rd-chat-muted);
|
|
1118
|
+
font-size: 0.8rem;
|
|
1119
|
+
text-align: center;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
.rails-den-chat-composer {
|
|
1123
|
+
padding: 0.7rem 0.85rem 0.8rem;
|
|
1124
|
+
border-top: 1px solid var(--rd-chat-border);
|
|
1125
|
+
background: var(--rd-chat-surface);
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
.rails-den-chat-composer textarea {
|
|
1129
|
+
box-sizing: border-box;
|
|
1130
|
+
width: 100%;
|
|
1131
|
+
min-height: 4.4rem;
|
|
1132
|
+
max-height: 12rem;
|
|
1133
|
+
padding: 0.68rem 0.75rem;
|
|
1134
|
+
resize: vertical;
|
|
1135
|
+
color: inherit;
|
|
1136
|
+
background: var(--rd-chat-surface-hover);
|
|
1137
|
+
border: 1px solid var(--rd-chat-border-strong);
|
|
1138
|
+
border-radius: 0.55rem;
|
|
1139
|
+
outline: 0;
|
|
1140
|
+
font: inherit;
|
|
1141
|
+
font-size: 0.79rem;
|
|
1142
|
+
line-height: 1.4;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
.rails-den-chat-composer textarea:focus {
|
|
1146
|
+
border-color: currentColor;
|
|
1147
|
+
box-shadow: 0 0 0 2px var(--rd-chat-surface-active);
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
.rails-den-chat-composer-footer {
|
|
1151
|
+
display: flex;
|
|
1152
|
+
align-items: center;
|
|
1153
|
+
justify-content: space-between;
|
|
1154
|
+
gap: 1rem;
|
|
1155
|
+
margin-top: 0.42rem;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
.rails-den-chat-composer-footer span {
|
|
1159
|
+
color: var(--rd-chat-faint);
|
|
1160
|
+
font-size: 0.61rem;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
.rails-den-chat-composer-footer button {
|
|
1164
|
+
min-height: 2rem;
|
|
1165
|
+
padding: 0.42rem 0.7rem;
|
|
1166
|
+
color: inherit;
|
|
1167
|
+
background: var(--rd-chat-surface-strong);
|
|
1168
|
+
border: 1px solid var(--rd-chat-border-strong);
|
|
1169
|
+
border-radius: 0.4rem;
|
|
1170
|
+
font: inherit;
|
|
1171
|
+
font-size: 0.7rem;
|
|
1172
|
+
font-weight: 700;
|
|
1173
|
+
cursor: pointer;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.rails-den-chat-composer-footer button:hover {
|
|
1177
|
+
background: var(--rd-chat-surface-active);
|
|
1178
|
+
border-color: currentColor;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
.rails-den-chat-composer-footer button:disabled {
|
|
1182
|
+
cursor: default;
|
|
1183
|
+
opacity: 0.38;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
.rails-den-chat-error,
|
|
1187
|
+
.rails-den-chat-cannot-post {
|
|
1188
|
+
margin-bottom: 0.5rem;
|
|
1189
|
+
padding: 0.55rem 0.65rem;
|
|
1190
|
+
background: var(--rd-chat-surface-hover);
|
|
1191
|
+
border: 1px solid var(--rd-chat-border-strong);
|
|
1192
|
+
border-radius: 0.4rem;
|
|
1193
|
+
font-size: 0.7rem;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
.rails-den-chat-loading {
|
|
1197
|
+
display: grid;
|
|
1198
|
+
place-items: center;
|
|
1199
|
+
min-height: 650px;
|
|
1200
|
+
color: var(--rd-chat-muted);
|
|
1201
|
+
font-size: 0.8rem;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
/* =========================================================
|
|
1205
|
+
MEMBER RAIL
|
|
1206
|
+
========================================================= */
|
|
1207
|
+
|
|
1208
|
+
.rails-den-chat-members {
|
|
1209
|
+
min-width: 0;
|
|
1210
|
+
min-height: 650px;
|
|
1211
|
+
margin: 0;
|
|
1212
|
+
padding: 0.8rem 0.65rem;
|
|
1213
|
+
background: var(--rd-chat-surface-hover);
|
|
1214
|
+
border: 0;
|
|
1215
|
+
border-left: 1px solid var(--rd-chat-border);
|
|
1216
|
+
border-radius: 0;
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
.rails-den-chat-members-heading {
|
|
1220
|
+
display: flex;
|
|
1221
|
+
align-items: center;
|
|
1222
|
+
justify-content: space-between;
|
|
1223
|
+
gap: 0.75rem;
|
|
1224
|
+
padding: 0.15rem 0.35rem 0.65rem;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
.rails-den-chat-members-heading > div {
|
|
1228
|
+
min-width: 0;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
.rails-den-chat-members-kicker {
|
|
1232
|
+
display: block;
|
|
1233
|
+
margin-bottom: 0.1rem;
|
|
1234
|
+
color: var(--rd-chat-faint);
|
|
1235
|
+
font-size: 0.56rem;
|
|
1236
|
+
font-weight: 700;
|
|
1237
|
+
letter-spacing: 0.07em;
|
|
1238
|
+
text-transform: uppercase;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
.rails-den-chat-members-heading h2 {
|
|
1242
|
+
margin: 0;
|
|
1243
|
+
font-size: 0.74rem;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
.rails-den-chat-members-count {
|
|
1247
|
+
display: grid;
|
|
1248
|
+
place-items: center;
|
|
1249
|
+
min-width: 1.45rem;
|
|
1250
|
+
height: 1.45rem;
|
|
1251
|
+
padding: 0 0.25rem;
|
|
1252
|
+
color: var(--rd-chat-muted);
|
|
1253
|
+
background: var(--rd-chat-surface-active);
|
|
1254
|
+
border-radius: 999px;
|
|
1255
|
+
font-size: 0.62rem;
|
|
1256
|
+
font-weight: 700;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
.rails-den-chat-member-list {
|
|
1260
|
+
display: grid;
|
|
1261
|
+
gap: 0.08rem;
|
|
1262
|
+
padding: 0;
|
|
1263
|
+
margin: 0;
|
|
1264
|
+
list-style: none;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
.rails-den-chat-member {
|
|
1268
|
+
display: grid;
|
|
1269
|
+
grid-template-columns:
|
|
1270
|
+
auto
|
|
1271
|
+
minmax(0, 1fr)
|
|
1272
|
+
auto;
|
|
1273
|
+
align-items: center;
|
|
1274
|
+
gap: 0.5rem;
|
|
1275
|
+
min-height: 2.4rem;
|
|
1276
|
+
padding: 0.3rem 0.35rem;
|
|
1277
|
+
border-radius: 0.4rem;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
.rails-den-chat-member:hover {
|
|
1281
|
+
background: var(--rd-chat-surface-hover);
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
.rails-den-chat-member-avatar {
|
|
1285
|
+
display: grid;
|
|
1286
|
+
place-items: center;
|
|
1287
|
+
width: 1.75rem;
|
|
1288
|
+
height: 1.75rem;
|
|
1289
|
+
flex: 0 0 auto;
|
|
1290
|
+
background: var(--rd-chat-surface-active);
|
|
1291
|
+
border-radius: 50%;
|
|
1292
|
+
font-size: 0.65rem;
|
|
1293
|
+
font-weight: 800;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
.rails-den-chat-member-identity {
|
|
1297
|
+
display: grid;
|
|
1298
|
+
gap: 0.03rem;
|
|
1299
|
+
min-width: 0;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
.rails-den-chat-member-identity strong {
|
|
1303
|
+
overflow: hidden;
|
|
1304
|
+
font-size: 0.69rem;
|
|
1305
|
+
font-weight: 650;
|
|
1306
|
+
text-overflow: ellipsis;
|
|
1307
|
+
white-space: nowrap;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
.rails-den-chat-member-identity small {
|
|
1311
|
+
color: var(--rd-chat-faint);
|
|
1312
|
+
font-size: 0.55rem;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
.rails-den-chat-member-action {
|
|
1316
|
+
display: grid;
|
|
1317
|
+
place-items: center;
|
|
1318
|
+
width: 1.55rem;
|
|
1319
|
+
height: 1.55rem;
|
|
1320
|
+
padding: 0;
|
|
1321
|
+
color: var(--rd-chat-faint);
|
|
1322
|
+
background: transparent;
|
|
1323
|
+
border: 0;
|
|
1324
|
+
border-radius: 0.35rem;
|
|
1325
|
+
font: inherit;
|
|
1326
|
+
font-size: 0.9rem;
|
|
1327
|
+
cursor: pointer;
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
.rails-den-chat-member-action:hover {
|
|
1331
|
+
color: inherit;
|
|
1332
|
+
background: var(--rd-chat-surface-active);
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
.rails-den-chat-members-empty {
|
|
1336
|
+
margin: 0.5rem 0.35rem;
|
|
1337
|
+
color: var(--rd-chat-faint);
|
|
1338
|
+
font-size: 0.68rem;
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
.rails-den-chat-members-join,
|
|
1342
|
+
.rails-den-chat-member-invite {
|
|
1343
|
+
margin-top: 0.85rem;
|
|
1344
|
+
padding: 0.8rem 0.35rem 0;
|
|
1345
|
+
border-top: 1px solid var(--rd-chat-border);
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
.rails-den-chat-members-join p {
|
|
1349
|
+
margin: 0 0 0.5rem;
|
|
1350
|
+
color: var(--rd-chat-faint);
|
|
1351
|
+
font-size: 0.64rem;
|
|
1352
|
+
line-height: 1.4;
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
.rails-den-chat-membership-button {
|
|
1356
|
+
width: 100%;
|
|
1357
|
+
min-height: 2rem;
|
|
1358
|
+
padding: 0.4rem 0.55rem;
|
|
1359
|
+
color: inherit;
|
|
1360
|
+
background: var(--rd-chat-surface-active);
|
|
1361
|
+
border: 1px solid var(--rd-chat-border);
|
|
1362
|
+
border-radius: 0.4rem;
|
|
1363
|
+
font: inherit;
|
|
1364
|
+
font-size: 0.68rem;
|
|
1365
|
+
font-weight: 700;
|
|
1366
|
+
cursor: pointer;
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
.rails-den-chat-member-invite-heading {
|
|
1370
|
+
display: grid;
|
|
1371
|
+
gap: 0.08rem;
|
|
1372
|
+
margin-bottom: 0.45rem;
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
.rails-den-chat-member-invite-heading strong {
|
|
1376
|
+
font-size: 0.67rem;
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
.rails-den-chat-member-invite-heading span {
|
|
1380
|
+
color: var(--rd-chat-faint);
|
|
1381
|
+
font-size: 0.58rem;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
.rails-den-chat-add-member {
|
|
1385
|
+
margin: 0;
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
.rails-den-chat-add-member > div {
|
|
1389
|
+
display: flex;
|
|
1390
|
+
gap: 0.35rem;
|
|
1391
|
+
margin: 0;
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
.rails-den-chat-add-member input[type="text"] {
|
|
1395
|
+
box-sizing: border-box;
|
|
1396
|
+
width: 100%;
|
|
1397
|
+
min-width: 0;
|
|
1398
|
+
padding: 0.42rem 0.48rem;
|
|
1399
|
+
color: inherit;
|
|
1400
|
+
background: var(--rd-chat-surface);
|
|
1401
|
+
border: 1px solid var(--rd-chat-border-strong);
|
|
1402
|
+
border-radius: 0.38rem;
|
|
1403
|
+
outline: 0;
|
|
1404
|
+
font: inherit;
|
|
1405
|
+
font-size: 0.66rem;
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
.rails-den-chat-add-member input[type="text"]:focus {
|
|
1409
|
+
border-color: currentColor;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
.rails-den-chat-add-member input[type="submit"] {
|
|
1413
|
+
flex: 0 0 auto;
|
|
1414
|
+
padding: 0.4rem 0.55rem;
|
|
1415
|
+
color: inherit;
|
|
1416
|
+
background: var(--rd-chat-surface-active);
|
|
1417
|
+
border: 1px solid var(--rd-chat-border);
|
|
1418
|
+
border-radius: 0.38rem;
|
|
1419
|
+
font: inherit;
|
|
1420
|
+
font-size: 0.64rem;
|
|
1421
|
+
font-weight: 700;
|
|
1422
|
+
cursor: pointer;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
/* =========================================================
|
|
1426
|
+
RESPONSIVE
|
|
1427
|
+
========================================================= */
|
|
1428
|
+
|
|
1429
|
+
@media (max-width: 980px) {
|
|
1430
|
+
.rails-den-chat-shell {
|
|
1431
|
+
grid-template-columns: 1fr;
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
.rails-den-chat-members {
|
|
1435
|
+
min-height: 0;
|
|
1436
|
+
border-left: 0;
|
|
1437
|
+
border-top: 1px solid var(--rd-chat-border);
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
.rails-den-chat-member-list {
|
|
1441
|
+
grid-template-columns:
|
|
1442
|
+
repeat(auto-fit, minmax(160px, 1fr));
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
@media (max-width: 760px) {
|
|
1447
|
+
.rails-den-chat-directory-header {
|
|
1448
|
+
align-items: flex-start;
|
|
1449
|
+
flex-direction: column;
|
|
1450
|
+
gap: 0.8rem;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
.rails-den-chat-workspace {
|
|
1454
|
+
grid-template-columns: 1fr;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
.rails-den-chat-sidebar {
|
|
1458
|
+
border-right: 0;
|
|
1459
|
+
border-bottom: 1px solid var(--rd-chat-border);
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
.rails-den-chat-channel-list {
|
|
1463
|
+
display: flex;
|
|
1464
|
+
overflow-x: auto;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
.rails-den-chat-channel-link {
|
|
1468
|
+
flex: 0 0 auto;
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
.rails-den-chat-main {
|
|
1472
|
+
min-height: 540px;
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
.rails-den-chat-room-presence {
|
|
1476
|
+
align-items: flex-start;
|
|
1477
|
+
flex-direction: column;
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
.rails-den-chat-visibility-options {
|
|
1481
|
+
grid-template-columns: 1fr;
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
@media (max-width: 520px) {
|
|
1486
|
+
.rails-den-chat-pinned-panel li {
|
|
1487
|
+
align-items: stretch;
|
|
1488
|
+
flex-direction: column;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
.rails-den-chat-pinned-panel button {
|
|
1492
|
+
width: 100%;
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
.rails-den-chat-message-meta {
|
|
1496
|
+
align-items: center;
|
|
1497
|
+
flex-wrap: wrap;
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
.rails-den-chat-directory-row {
|
|
1501
|
+
grid-template-columns:
|
|
1502
|
+
auto
|
|
1503
|
+
minmax(0, 1fr)
|
|
1504
|
+
auto;
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
.rails-den-chat-directory-row-meta small {
|
|
1508
|
+
display: none;
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
.rails-den-chat-directory-create {
|
|
1512
|
+
width: 100%;
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
.rails-den-chat-settings-page {
|
|
1516
|
+
width: 100%;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
.rails-den-chat-settings-section {
|
|
1520
|
+
padding: 1rem;
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
.rails-den-chat-settings-actions {
|
|
1524
|
+
align-items: stretch;
|
|
1525
|
+
flex-direction: column-reverse;
|
|
1526
|
+
padding: 0.8rem 1rem;
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
.rails-den-chat-settings-actions > * {
|
|
1530
|
+
width: 100%;
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
.rails-den-chat-delete-panel {
|
|
1534
|
+
align-items: stretch;
|
|
1535
|
+
flex-direction: column;
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
.rails-den-chat-delete-form,
|
|
1539
|
+
.rails-den-chat-delete-button {
|
|
1540
|
+
width: 100%;
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
.rails-den-chat-page-header {
|
|
1544
|
+
align-items: flex-start;
|
|
1545
|
+
flex-direction: column;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
.rails-den-chat-page-actions {
|
|
1549
|
+
flex-wrap: wrap;
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
.rails-den-chat-member-list {
|
|
1553
|
+
grid-template-columns: 1fr;
|
|
1554
|
+
}
|
|
1555
|
+
}
|