comunit-base 0.37.200628.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +426 -0
- data/Rakefile +26 -0
- data/app/assets/config/comunit_base_manifest.js +2 -0
- data/app/assets/images/comunit/base/icons/book.svg +1 -0
- data/app/assets/images/comunit/base/icons/comment.svg +1 -0
- data/app/assets/images/comunit/base/icons/dropdown.svg +3 -0
- data/app/assets/images/comunit/base/icons/hamburger.svg +1 -0
- data/app/assets/images/comunit/base/icons/pencil.svg +1 -0
- data/app/assets/images/comunit/base/icons/recent.svg +1 -0
- data/app/assets/images/comunit/base/icons/repost.svg +1 -0
- data/app/assets/images/comunit/base/icons/right-arrow.svg +1 -0
- data/app/assets/images/comunit/base/icons/search.svg +1 -0
- data/app/assets/images/comunit/base/icons/slider/left-arrow-hover.svg +4 -0
- data/app/assets/images/comunit/base/icons/slider/left-arrow.svg +4 -0
- data/app/assets/images/comunit/base/icons/slider/right-arrow-hover.svg +4 -0
- data/app/assets/images/comunit/base/icons/slider/right-arrow.svg +4 -0
- data/app/assets/images/comunit/base/icons/view.svg +1 -0
- data/app/assets/images/comunit/base/placeholders/file.svg +1 -0
- data/app/assets/images/comunit/base/placeholders/region_image.svg +12 -0
- data/app/assets/images/comunit/base/publisher_logo1.png +0 -0
- data/app/assets/javascripts/comunit/base/components/regions.js +0 -0
- data/app/assets/javascripts/comunit/base/comunit-base.js +197 -0
- data/app/assets/javascripts/comunit/base/socialization.js +47 -0
- data/app/assets/stylesheets/biovision/regions/regions.scss +25 -0
- data/app/assets/stylesheets/comunit/base/admin.scss +95 -0
- data/app/assets/stylesheets/comunit/base/albums.scss +101 -0
- data/app/assets/stylesheets/comunit/base/components.scss +8 -0
- data/app/assets/stylesheets/comunit/base/components/calendar.scss +62 -0
- data/app/assets/stylesheets/comunit/base/components/campaigns.scss +1 -0
- data/app/assets/stylesheets/comunit/base/components/campaigns/candidates.scss +16 -0
- data/app/assets/stylesheets/comunit/base/components/carousel.scss +36 -0
- data/app/assets/stylesheets/comunit/base/components/deeds.scss +2 -0
- data/app/assets/stylesheets/comunit/base/components/deeds/form.scss +26 -0
- data/app/assets/stylesheets/comunit/base/components/deeds/preview.scss +11 -0
- data/app/assets/stylesheets/comunit/base/components/forms.scss +24 -0
- data/app/assets/stylesheets/comunit/base/components/forms/inputs.scss +32 -0
- data/app/assets/stylesheets/comunit/base/components/posts.scss +28 -0
- data/app/assets/stylesheets/comunit/base/components/posts/featured.scss +86 -0
- data/app/assets/stylesheets/comunit/base/components/posts/item.scss +91 -0
- data/app/assets/stylesheets/comunit/base/components/posts/list.scss +20 -0
- data/app/assets/stylesheets/comunit/base/components/posts/my-form.scss +32 -0
- data/app/assets/stylesheets/comunit/base/components/posts/preview.scss +169 -0
- data/app/assets/stylesheets/comunit/base/default.scss +74 -0
- data/app/assets/stylesheets/comunit/base/default_site.scss +6 -0
- data/app/assets/stylesheets/comunit/base/entries.scss +145 -0
- data/app/assets/stylesheets/comunit/base/events.scss +161 -0
- data/app/assets/stylesheets/comunit/base/layout.scss +417 -0
- data/app/assets/stylesheets/comunit/base/notifications.scss +12 -0
- data/app/assets/stylesheets/comunit/base/posts.scss +798 -0
- data/app/assets/stylesheets/comunit/base/socialization.scss +112 -0
- data/app/assets/stylesheets/comunit/base/themes/default.scss +34 -0
- data/app/assets/stylesheets/comunit/base/themes/default/footer.scss +45 -0
- data/app/assets/stylesheets/comunit/base/themes/default/frontpage.scss +2 -0
- data/app/assets/stylesheets/comunit/base/themes/default/frontpage/featured_posts.scss +8 -0
- data/app/assets/stylesheets/comunit/base/themes/default/frontpage/post_category.scss +36 -0
- data/app/assets/stylesheets/comunit/base/themes/default/header.scss +108 -0
- data/app/assets/stylesheets/comunit/base/themes/default/header/navigation.scss +139 -0
- data/app/assets/stylesheets/comunit/base/themes/default/header/search.scss +31 -0
- data/app/assets/stylesheets/comunit/base/themes/default/legacy.scss +183 -0
- data/app/assets/stylesheets/comunit/base/themes/default/main.scss +45 -0
- data/app/assets/stylesheets/comunit/base/themes/default/sidebar.scss +49 -0
- data/app/assets/stylesheets/comunit/base/themes/default/sidebar/polls.scss +38 -0
- data/app/assets/stylesheets/comunit/base/themes/default/sidebar/posts.scss +133 -0
- data/app/assets/stylesheets/comunit/base/users.scss +142 -0
- data/app/assets/stylesheets/comunit/base/vars.scss +17 -0
- data/app/controllers/admin/albums_controller.rb +35 -0
- data/app/controllers/admin/appeals_controller.rb +30 -0
- data/app/controllers/admin/campaigns_controller.rb +37 -0
- data/app/controllers/admin/candidates_controller.rb +28 -0
- data/app/controllers/admin/countries_controller.rb +26 -0
- data/app/controllers/admin/decision_users_controller.rb +2 -0
- data/app/controllers/admin/decisions_controller.rb +2 -0
- data/app/controllers/admin/deed_categories_controller.rb +51 -0
- data/app/controllers/admin/deeds_controller.rb +28 -0
- data/app/controllers/admin/event_materials_controller.rb +25 -0
- data/app/controllers/admin/event_participants_controller.rb +27 -0
- data/app/controllers/admin/event_programs_controller.rb +20 -0
- data/app/controllers/admin/event_speakers_controller.rb +30 -0
- data/app/controllers/admin/event_sponsors_controller.rb +30 -0
- data/app/controllers/admin/events_controller.rb +54 -0
- data/app/controllers/admin/groups_controller.rb +54 -0
- data/app/controllers/admin/photos_controller.rb +25 -0
- data/app/controllers/admin/political_forces_controller.rb +45 -0
- data/app/controllers/admin/promo_blocks_controller.rb +27 -0
- data/app/controllers/admin/promo_items_controller.rb +22 -0
- data/app/controllers/admin/regions_controller.rb +53 -0
- data/app/controllers/admin/teams_controller.rb +53 -0
- data/app/controllers/admin/user_messages_controller.rb +2 -0
- data/app/controllers/albums_controller.rb +68 -0
- data/app/controllers/api/user_links_controller.rb +23 -0
- data/app/controllers/api/users_controller.rb +71 -0
- data/app/controllers/appeals_controller.rb +78 -0
- data/app/controllers/articles_controller.rb +49 -0
- data/app/controllers/authors_controller.rb +27 -0
- data/app/controllers/campaigns_controller.rb +130 -0
- data/app/controllers/candidates_controller.rb +70 -0
- data/app/controllers/decision_users_controller.rb +2 -0
- data/app/controllers/decisions_controller.rb +2 -0
- data/app/controllers/deed_categories_controller.rb +70 -0
- data/app/controllers/deeds_controller.rb +95 -0
- data/app/controllers/editorial/index_controller.rb +11 -0
- data/app/controllers/editorial/users_controller.rb +34 -0
- data/app/controllers/entries_controller.rb +140 -0
- data/app/controllers/event_materials_controller.rb +55 -0
- data/app/controllers/event_participants_controller.rb +44 -0
- data/app/controllers/event_programs_controller.rb +55 -0
- data/app/controllers/event_speakers_controller.rb +55 -0
- data/app/controllers/event_sponsors_controller.rb +55 -0
- data/app/controllers/events_controller.rb +69 -0
- data/app/controllers/featured_posts_controller.rb +42 -0
- data/app/controllers/groups_controller.rb +57 -0
- data/app/controllers/impeachment_controller.rb +15 -0
- data/app/controllers/index_controller.rb +42 -0
- data/app/controllers/legacy/admin/post_categories_controller.rb +28 -0
- data/app/controllers/legacy/admin/posts_controller.rb +31 -0
- data/app/controllers/legacy/news_controller.rb +116 -0
- data/app/controllers/legacy/post_categories_controller.rb +74 -0
- data/app/controllers/legacy/posts_controller.rb +132 -0
- data/app/controllers/my/albums_controller.rb +2 -0
- data/app/controllers/my/deeds_controller.rb +42 -0
- data/app/controllers/my/entries_controller.rb +8 -0
- data/app/controllers/my/followees_controller.rb +9 -0
- data/app/controllers/my/followers_controller.rb +9 -0
- data/app/controllers/my/messages_controller.rb +23 -0
- data/app/controllers/my/notifications_controller.rb +8 -0
- data/app/controllers/network/campaigns_controller.rb +11 -0
- data/app/controllers/network/candidates_controller.rb +11 -0
- data/app/controllers/network/political_forces_controller.rb +11 -0
- data/app/controllers/network/posts_controller.rb +11 -0
- data/app/controllers/network/regions_controller.rb +11 -0
- data/app/controllers/network/sites_controller.rb +15 -0
- data/app/controllers/network/users_controller.rb +22 -0
- data/app/controllers/network_controller.rb +68 -0
- data/app/controllers/news_categories_controller.rb +59 -0
- data/app/controllers/news_controller.rb +67 -0
- data/app/controllers/photos_controller.rb +67 -0
- data/app/controllers/political_forces_controller.rb +70 -0
- data/app/controllers/profiles_controller.rb +27 -0
- data/app/controllers/promo_blocks_controller.rb +64 -0
- data/app/controllers/promo_items_controller.rb +68 -0
- data/app/controllers/regional_news_controller.rb +26 -0
- data/app/controllers/search_controller.rb +10 -0
- data/app/controllers/teams_controller.rb +56 -0
- data/app/controllers/user_messages_controller.rb +41 -0
- data/app/controllers/users_controller.rb +94 -0
- data/app/helpers/albums_helper.rb +37 -0
- data/app/helpers/campaigns_helper.rb +98 -0
- data/app/helpers/comments_helper.rb +15 -0
- data/app/helpers/deeds_helper.rb +36 -0
- data/app/helpers/entries_helper.rb +104 -0
- data/app/helpers/events_helper.rb +80 -0
- data/app/helpers/feedback_helper.rb +6 -0
- data/app/helpers/groups_helper.rb +11 -0
- data/app/helpers/media_helper.rb +19 -0
- data/app/helpers/parsing_helper.rb +80 -0
- data/app/helpers/promo_helper.rb +38 -0
- data/app/helpers/regions_helper.rb +77 -0
- data/app/helpers/users_helper.rb +37 -0
- data/app/helpers/votes_helper.rb +24 -0
- data/app/jobs/application_job.rb +7 -0
- data/app/jobs/network_campaign_sync_job.rb +20 -0
- data/app/jobs/network_candidate_sync_job.rb +20 -0
- data/app/jobs/network_entity_sync_job.rb +31 -0
- data/app/jobs/network_political_force_sync_job.rb +20 -0
- data/app/jobs/network_post_sync_job.rb +22 -0
- data/app/jobs/network_user_sync_job.rb +20 -0
- data/app/mailers/appeals_mailer.rb +12 -0
- data/app/mailers/application_mailer.rb +5 -0
- data/app/models/album.rb +42 -0
- data/app/models/appeal.rb +50 -0
- data/app/models/appeal_type.rb +45 -0
- data/app/models/application_record.rb +3 -0
- data/app/models/campaign.rb +78 -0
- data/app/models/candidate.rb +144 -0
- data/app/models/candidate_political_force.rb +15 -0
- data/app/models/central_region.rb +53 -0
- data/app/models/concerns/post_child_with_priority.rb +49 -0
- data/app/models/country.rb +33 -0
- data/app/models/decision.rb +38 -0
- data/app/models/decision_user.rb +25 -0
- data/app/models/deed.rb +78 -0
- data/app/models/deed_category.rb +95 -0
- data/app/models/deed_deed_category.rb +15 -0
- data/app/models/deed_image.rb +33 -0
- data/app/models/entry.rb +128 -0
- data/app/models/event.rb +47 -0
- data/app/models/event_material.rb +44 -0
- data/app/models/event_participant.rb +52 -0
- data/app/models/event_program.rb +50 -0
- data/app/models/event_speaker.rb +69 -0
- data/app/models/event_sponsor.rb +69 -0
- data/app/models/featured_post.rb +20 -0
- data/app/models/group.rb +34 -0
- data/app/models/illustration.rb +11 -0
- data/app/models/news.rb +110 -0
- data/app/models/news_category.rb +60 -0
- data/app/models/notification.rb +64 -0
- data/app/models/photo.rb +53 -0
- data/app/models/political_force.rb +62 -0
- data/app/models/privilege.rb +188 -0
- data/app/models/promo_block.rb +49 -0
- data/app/models/promo_item.rb +36 -0
- data/app/models/region.rb +149 -0
- data/app/models/region_user.rb +28 -0
- data/app/models/site.rb +29 -0
- data/app/models/team.rb +72 -0
- data/app/models/team_privilege.rb +6 -0
- data/app/models/theme.rb +26 -0
- data/app/models/theme_news_category.rb +4 -0
- data/app/models/theme_post_category.rb +4 -0
- data/app/models/user_group.rb +6 -0
- data/app/models/user_link.rb +69 -0
- data/app/models/user_message.rb +86 -0
- data/app/models/zen_category.rb +21 -0
- data/app/services/biovision/components/campaigns_component.rb +14 -0
- data/app/services/biovision/components/decisions_component.rb +9 -0
- data/app/services/biovision/components/deeds_component.rb +15 -0
- data/app/services/biovision/components/regions_component.rb +32 -0
- data/app/services/comunit/network/handler.rb +162 -0
- data/app/services/comunit/network/handlers/decision_handler.rb +16 -0
- data/app/services/comunit/network/handlers/deed_category_handler.rb +31 -0
- data/app/services/comunit/network/handlers/deed_handler.rb +58 -0
- data/app/services/comunit/network/handlers/deed_image_handler.rb +40 -0
- data/app/services/comunit/network/handlers/poll_answer_handler.rb +41 -0
- data/app/services/comunit/network/handlers/poll_handler.rb +46 -0
- data/app/services/comunit/network/handlers/poll_question_handler.rb +31 -0
- data/app/services/comunit/network/handlers/poll_vote_handler.rb +41 -0
- data/app/services/comunit/network/handlers/site_handler.rb +21 -0
- data/app/services/comunit/network/handlers/user_handler.rb +45 -0
- data/app/services/comunit/network/logging.rb +33 -0
- data/app/services/comunit/network/sending.rb +28 -0
- data/app/services/network_manager.rb +116 -0
- data/app/services/network_manager/campaign_handler.rb +96 -0
- data/app/services/network_manager/candidate_handler.rb +137 -0
- data/app/services/network_manager/political_force_handler.rb +85 -0
- data/app/services/network_manager/post_attachment_handler.rb +18 -0
- data/app/services/network_manager/post_handler.rb +133 -0
- data/app/services/network_manager/post_type_handler.rb +15 -0
- data/app/services/network_manager/region_handler.rb +83 -0
- data/app/services/network_manager/user_handler.rb +158 -0
- data/app/services/popular_entries.rb +25 -0
- data/app/services/popular_posts.rb +28 -0
- data/app/services/post_manager.rb +79 -0
- data/app/services/post_parser.rb +77 -0
- data/app/services/region_manager.rb +60 -0
- data/app/services/user_profile_handler.rb +74 -0
- data/app/uploaders/event_attachment_uploader.rb +15 -0
- data/app/uploaders/event_image_uploader.rb +32 -0
- data/app/uploaders/event_person_image_uploader.rb +40 -0
- data/app/uploaders/event_sponsor_image_uploader.rb +40 -0
- data/app/uploaders/header_image_uploader.rb +50 -0
- data/app/uploaders/illustration_image_uploader.rb +32 -0
- data/app/uploaders/photo_uploader.rb +55 -0
- data/app/uploaders/post_illustration_uploader.rb +73 -0
- data/app/uploaders/post_image_uploader.rb +54 -0
- data/app/uploaders/promo_image_uploader.rb +53 -0
- data/app/uploaders/region_image_uploader.rb +53 -0
- data/app/uploaders/site_image_uploader.rb +55 -0
- data/app/views/about/donate.html.erb +12 -0
- data/app/views/admin/albums/_list.html.erb +11 -0
- data/app/views/admin/albums/_nav_item.html.erb +6 -0
- data/app/views/admin/albums/_toggleable.html.erb +7 -0
- data/app/views/admin/albums/entity/_in_list.html.erb +19 -0
- data/app/views/admin/albums/index.html.erb +14 -0
- data/app/views/admin/albums/photos.html.erb +23 -0
- data/app/views/admin/albums/show.html.erb +55 -0
- data/app/views/admin/appeals/_form.html.erb +15 -0
- data/app/views/admin/appeals/_list.html.erb +17 -0
- data/app/views/admin/appeals/_nav_item.html.erb +2 -0
- data/app/views/admin/appeals/_toggleable.html.erb +7 -0
- data/app/views/admin/appeals/entity/_in_list.html.erb +13 -0
- data/app/views/admin/appeals/index.html.erb +13 -0
- data/app/views/admin/appeals/show.html.erb +67 -0
- data/app/views/admin/campaigns/_nav_item.html.erb +6 -0
- data/app/views/admin/campaigns/candidates.html.erb +24 -0
- data/app/views/admin/campaigns/entity/_in_list.html.erb +40 -0
- data/app/views/admin/campaigns/index.html.erb +21 -0
- data/app/views/admin/campaigns/new_candidate.html.erb +24 -0
- data/app/views/admin/campaigns/show.html.erb +73 -0
- data/app/views/admin/candidates/_nav_item.html.erb +6 -0
- data/app/views/admin/candidates/entity/_in_list.html.erb +29 -0
- data/app/views/admin/candidates/entity/_political_forces.html.erb +23 -0
- data/app/views/admin/candidates/index.html.erb +22 -0
- data/app/views/admin/candidates/show.html.erb +93 -0
- data/app/views/admin/components/links/_campaigns.html.erb +5 -0
- data/app/views/admin/components/links/_deeds.html.erb +2 -0
- data/app/views/admin/components/links/_regions.html.erb +3 -0
- data/app/views/admin/components/user_settings/_regions.html.erb +22 -0
- data/app/views/admin/components/user_settings/regions/_linked_regions.html.erb +23 -0
- data/app/views/admin/components/user_settings/regions/_new_link.html.erb +43 -0
- data/app/views/admin/countries/_nav_item.html.erb +2 -0
- data/app/views/admin/deed_categories/_nav_item.html.erb +6 -0
- data/app/views/admin/deed_categories/entity/_in_list.html.erb +31 -0
- data/app/views/admin/deed_categories/index.html.erb +22 -0
- data/app/views/admin/deed_categories/show.html.erb +79 -0
- data/app/views/admin/deeds/_nav_item.html.erb +6 -0
- data/app/views/admin/deeds/entity/_categories.html.erb +33 -0
- data/app/views/admin/deeds/entity/_in_list.html.erb +31 -0
- data/app/views/admin/deeds/index.html.erb +24 -0
- data/app/views/admin/deeds/show.html.erb +63 -0
- data/app/views/admin/event_materials/_list.html.erb +11 -0
- data/app/views/admin/event_materials/_toggleable.html.erb +7 -0
- data/app/views/admin/event_materials/entity/_in_list.html.erb +16 -0
- data/app/views/admin/event_participants/_list.html.erb +11 -0
- data/app/views/admin/event_participants/_nav_item.html.erb +6 -0
- data/app/views/admin/event_participants/_toggleable.html.erb +7 -0
- data/app/views/admin/event_participants/entity/_in_list.html.erb +22 -0
- data/app/views/admin/event_participants/index.html.erb +15 -0
- data/app/views/admin/event_participants/show.html.erb +10 -0
- data/app/views/admin/event_programs/_list.html.erb +11 -0
- data/app/views/admin/event_programs/entity/_in_list.html.erb +9 -0
- data/app/views/admin/event_programs/show.html.erb +11 -0
- data/app/views/admin/event_speakers/_list.html.erb +11 -0
- data/app/views/admin/event_speakers/_toggleable.html.erb +7 -0
- data/app/views/admin/event_speakers/entity/_in_list.html.erb +17 -0
- data/app/views/admin/event_sponsors/_list.html.erb +11 -0
- data/app/views/admin/event_sponsors/_toggleable.html.erb +7 -0
- data/app/views/admin/event_sponsors/entity/_in_list.html.erb +17 -0
- data/app/views/admin/events/_event.html.erb +57 -0
- data/app/views/admin/events/_nav_item.html.erb +6 -0
- data/app/views/admin/events/_toggleable.html.erb +7 -0
- data/app/views/admin/events/entity/_in_list.html.erb +24 -0
- data/app/views/admin/events/entity/_materials.html.erb +14 -0
- data/app/views/admin/events/entity/_programs.html.erb +14 -0
- data/app/views/admin/events/entity/_speakers.html.erb +14 -0
- data/app/views/admin/events/entity/_sponsors.html.erb +14 -0
- data/app/views/admin/events/index.html.erb +16 -0
- data/app/views/admin/events/participants.html.erb +22 -0
- data/app/views/admin/events/show.html.erb +32 -0
- data/app/views/admin/featured_posts/_add.html.erb +128 -0
- data/app/views/admin/featured_posts/_language.html.erb +14 -0
- data/app/views/admin/featured_posts/_nav_item.html.erb +2 -0
- data/app/views/admin/featured_posts/entity/_in_list.html.erb +26 -0
- data/app/views/admin/featured_posts/index.html.erb +18 -0
- data/app/views/admin/groups/_list.html.erb +11 -0
- data/app/views/admin/groups/_nav_item.html.erb +6 -0
- data/app/views/admin/groups/entity/_in_list.html.erb +15 -0
- data/app/views/admin/groups/index.html.erb +11 -0
- data/app/views/admin/groups/show.html.erb +89 -0
- data/app/views/admin/groups/users.jbuilder +11 -0
- data/app/views/admin/groups/users/_list.html.erb +18 -0
- data/app/views/admin/groups/users/_user.html.erb +24 -0
- data/app/views/admin/index/_additional.html.erb +0 -0
- data/app/views/admin/index/_custom_dashboard.html.erb +3 -0
- data/app/views/admin/index/dashboard/_event_manager.html.erb +8 -0
- data/app/views/admin/index/dashboard/_feedback_manager.html.erb +8 -0
- data/app/views/admin/index/dashboard/_promo_manager.html.erb +10 -0
- data/app/views/admin/photos/_list.html.erb +11 -0
- data/app/views/admin/photos/entity/_in_list.html.erb +13 -0
- data/app/views/admin/photos/show.html.erb +42 -0
- data/app/views/admin/political_forces/_nav_item.html.erb +6 -0
- data/app/views/admin/political_forces/candidates.html.erb +25 -0
- data/app/views/admin/political_forces/entity/_in_list.html.erb +24 -0
- data/app/views/admin/political_forces/index.html.erb +21 -0
- data/app/views/admin/political_forces/show.html.erb +48 -0
- data/app/views/admin/post_attachments/entity/_in_list.html.erb +12 -0
- data/app/views/admin/posts/_list.html.erb +15 -0
- data/app/views/admin/posts/_nav_item.html.erb +2 -0
- data/app/views/admin/posts/_toggleable.html.erb +7 -0
- data/app/views/admin/posts/entity/_additional_data.html.erb +0 -0
- data/app/views/admin/posts/entity/_attachments.html.erb +14 -0
- data/app/views/admin/posts/entity/_in_list.html.erb +90 -0
- data/app/views/admin/posts/entity/_in_search.html.erb +8 -0
- data/app/views/admin/posts/entity/_links.html.erb +125 -0
- data/app/views/admin/posts/entity/in_list/_additional_data.html.erb +0 -0
- data/app/views/admin/posts/images.html.erb +22 -0
- data/app/views/admin/posts/index.html.erb +16 -0
- data/app/views/admin/posts/post/_preview.html.erb +28 -0
- data/app/views/admin/posts/regions.jbuilder +10 -0
- data/app/views/admin/posts/search.jbuilder +26 -0
- data/app/views/admin/posts/show.html.erb +208 -0
- data/app/views/admin/privileges/entity/_groups.html.erb +33 -0
- data/app/views/admin/privileges/entity/_in_list.html.erb +54 -0
- data/app/views/admin/privileges/entity/_region.html.erb +12 -0
- data/app/views/admin/privileges/index.html.erb +25 -0
- data/app/views/admin/privileges/regions.jbuilder +10 -0
- data/app/views/admin/privileges/show.html.erb +81 -0
- data/app/views/admin/promo_blocks/_nav_item.html.erb +6 -0
- data/app/views/admin/promo_blocks/entity/_in_list.html.erb +34 -0
- data/app/views/admin/promo_blocks/entity/_items.html.erb +23 -0
- data/app/views/admin/promo_blocks/index.html.erb +14 -0
- data/app/views/admin/promo_blocks/show.html.erb +52 -0
- data/app/views/admin/promo_items/entity/_in_list.html.erb +31 -0
- data/app/views/admin/promo_items/show.html.erb +69 -0
- data/app/views/admin/regions/_nav_item.html.erb +2 -0
- data/app/views/admin/regions/_news_form.html.erb +91 -0
- data/app/views/admin/regions/_post_form.html.erb +91 -0
- data/app/views/admin/regions/_region.jbuilder +11 -0
- data/app/views/admin/regions/entity/_in_list.html.erb +22 -0
- data/app/views/admin/regions/index.html.erb +16 -0
- data/app/views/admin/regions/index.jbuilder +3 -0
- data/app/views/admin/regions/show.html.erb +90 -0
- data/app/views/admin/regions/show.jbuilder +8 -0
- data/app/views/admin/teams/_list.html.erb +11 -0
- data/app/views/admin/teams/_nav_item.html.erb +6 -0
- data/app/views/admin/teams/_toggleable.html.erb +7 -0
- data/app/views/admin/teams/entity/_in_list.html.erb +18 -0
- data/app/views/admin/teams/entity/_privileges.html.erb +33 -0
- data/app/views/admin/teams/index.html.erb +11 -0
- data/app/views/admin/teams/show.html.erb +16 -0
- data/app/views/admin/users/entity/_in_list.html.erb +53 -0
- data/app/views/admin/users/entity/_privilege.html.erb +33 -0
- data/app/views/admin/users/entity/_profile.html.erb +75 -0
- data/app/views/albums/_form.html.erb +59 -0
- data/app/views/albums/_list.html.erb +13 -0
- data/app/views/albums/edit.html.erb +13 -0
- data/app/views/albums/new.html.erb +12 -0
- data/app/views/albums/show.html.erb +21 -0
- data/app/views/api/user_links/not_found.jbuilder +3 -0
- data/app/views/appeals/_form.html.erb +44 -0
- data/app/views/appeals/edit.js.erb +1 -0
- data/app/views/appeals/new.html.erb +12 -0
- data/app/views/appeals/new.js.erb +1 -0
- data/app/views/appeals_mailer/appeal_reply.html.erb +10 -0
- data/app/views/articles/category.html.erb +18 -0
- data/app/views/articles/index.html.erb +17 -0
- data/app/views/articles/show.html.erb +6 -0
- data/app/views/articles/tagged.html.erb +14 -0
- data/app/views/authentication/_info.html.erb +8 -0
- data/app/views/authentication/new.html.erb +9 -0
- data/app/views/authors/_list.html.erb +18 -0
- data/app/views/authors/entity/_in_list.html.erb +9 -0
- data/app/views/authors/index.html.erb +10 -0
- data/app/views/authors/show.html.erb +25 -0
- data/app/views/blog_posts/category.html.erb +18 -0
- data/app/views/blog_posts/show.html.erb +6 -0
- data/app/views/blog_posts/tagged.html.erb +14 -0
- data/app/views/campaigns/_form.html.erb +91 -0
- data/app/views/campaigns/candidate.html.erb +29 -0
- data/app/views/campaigns/edit.html.erb +17 -0
- data/app/views/campaigns/new.html.erb +15 -0
- data/app/views/candidates/_form.html.erb +209 -0
- data/app/views/candidates/edit.html.erb +19 -0
- data/app/views/candidates/new.html.erb +11 -0
- data/app/views/deed_categories/_form.html.erb +44 -0
- data/app/views/deed_categories/edit.html.erb +18 -0
- data/app/views/deed_categories/new.html.erb +16 -0
- data/app/views/deeds/_form.html.erb +114 -0
- data/app/views/deeds/_list.html.erb +18 -0
- data/app/views/deeds/_preview.html.erb +6 -0
- data/app/views/deeds/_regions.html.erb +91 -0
- data/app/views/deeds/edit.html.erb +12 -0
- data/app/views/deeds/form/_categories.html.erb +30 -0
- data/app/views/deeds/index.html.erb +32 -0
- data/app/views/deeds/new.html.erb +15 -0
- data/app/views/deeds/regions.jbuilder +10 -0
- data/app/views/deeds/show.html.erb +28 -0
- data/app/views/editable_pages/form/_ckeditor.html.erb +12 -0
- data/app/views/editorial/index/_navigation.html.erb +17 -0
- data/app/views/editorial/index/index.html.erb +16 -0
- data/app/views/editorial/users/_filter.html.erb +12 -0
- data/app/views/editorial/users/_list.html.erb +17 -0
- data/app/views/editorial/users/_nav_item.html.erb +6 -0
- data/app/views/editorial/users/_toggleable.html.erb +7 -0
- data/app/views/editorial/users/entity/_in_list.html.erb +19 -0
- data/app/views/editorial/users/index.html.erb +14 -0
- data/app/views/editorial/users/show.html.erb +107 -0
- data/app/views/entries/_adjacent.html.erb +16 -0
- data/app/views/entries/_entry.html.erb +39 -0
- data/app/views/entries/_form.html.erb +53 -0
- data/app/views/entries/_list.html.erb +9 -0
- data/app/views/entries/_preview.html.erb +22 -0
- data/app/views/entries/_recent.html.erb +7 -0
- data/app/views/entries/_repost_form.html.erb +108 -0
- data/app/views/entries/_sidebar_preview.html.erb +10 -0
- data/app/views/entries/archive.html.erb +14 -0
- data/app/views/entries/archive/_month_list.html.erb +27 -0
- data/app/views/entries/edit.html.erb +14 -0
- data/app/views/entries/index.html.erb +17 -0
- data/app/views/entries/new.html.erb +10 -0
- data/app/views/entries/new_repost.html.erb +8 -0
- data/app/views/entries/show.html.erb +15 -0
- data/app/views/event_materials/_form.html.erb +66 -0
- data/app/views/event_materials/edit.html.erb +11 -0
- data/app/views/event_materials/new.html.erb +13 -0
- data/app/views/event_participants/_form.html.erb +28 -0
- data/app/views/event_participants/edit.html.erb +12 -0
- data/app/views/event_participants/new.html.erb +13 -0
- data/app/views/event_programs/_form.html.erb +48 -0
- data/app/views/event_programs/edit.html.erb +11 -0
- data/app/views/event_programs/new.html.erb +13 -0
- data/app/views/event_speakers/_form.html.erb +75 -0
- data/app/views/event_speakers/edit.html.erb +11 -0
- data/app/views/event_speakers/new.html.erb +13 -0
- data/app/views/event_sponsors/_form.html.erb +75 -0
- data/app/views/event_sponsors/edit.html.erb +11 -0
- data/app/views/event_sponsors/new.html.erb +13 -0
- data/app/views/events/_form.html.erb +143 -0
- data/app/views/events/edit.html.erb +11 -0
- data/app/views/events/entity/_speakers.html.erb +17 -0
- data/app/views/events/entity/_sponsors.html.erb +15 -0
- data/app/views/events/new.html.erb +10 -0
- data/app/views/events/show.html.erb +22 -0
- data/app/views/featured_posts/create.jbuilder +10 -0
- data/app/views/groups/_form.html.erb +41 -0
- data/app/views/groups/edit.html.erb +12 -0
- data/app/views/groups/new.html.erb +11 -0
- data/app/views/impeachment/_filter.html.erb +41 -0
- data/app/views/impeachment/candidate.html.erb +32 -0
- data/app/views/impeachment/candidates.html.erb +52 -0
- data/app/views/index/_post_preview.jbuilder +3 -0
- data/app/views/index/frontpage_posts/_illustrated.html.erb +14 -0
- data/app/views/index/frontpage_posts/_loader.html.erb +35 -0
- data/app/views/index/frontpage_posts/_main_news.html.erb +11 -0
- data/app/views/index/frontpage_posts/_preview.html.erb +46 -0
- data/app/views/index/frontpage_posts/_regional_news.html.erb +11 -0
- data/app/views/index/frontpage_posts/_videos.html.erb +8 -0
- data/app/views/index/index.html.erb +19 -0
- data/app/views/index/index/_categories.html.erb +33 -0
- data/app/views/index/index/_featured_posts.html.erb +38 -0
- data/app/views/index/main_news.jbuilder +9 -0
- data/app/views/index/regional_news.jbuilder +9 -0
- data/app/views/layouts/admin/_footer.html.erb +5 -0
- data/app/views/layouts/application.html.erb +28 -0
- data/app/views/layouts/application/_footer.html.erb +18 -0
- data/app/views/layouts/application/_header.html.erb +27 -0
- data/app/views/layouts/application/_header_content.html.erb +0 -0
- data/app/views/layouts/application/_main_navigation.html.erb +27 -0
- data/app/views/layouts/application/header/_authentication.html.erb +9 -0
- data/app/views/layouts/application/header/_logo.html.erb +12 -0
- data/app/views/layouts/application/header/_region_selector.html.erb +24 -0
- data/app/views/layouts/application/header/_search.html.erb +5 -0
- data/app/views/layouts/application/main_navigation/_addition.html.erb +0 -0
- data/app/views/layouts/application/main_navigation/_categories.html.erb +15 -0
- data/app/views/layouts/application/main_navigation/_prepend.html.erb +0 -0
- data/app/views/layouts/mailer.html.erb +13 -0
- data/app/views/layouts/mailer.text.erb +1 -0
- data/app/views/my/confirmations/show.html.erb +30 -0
- data/app/views/my/deeds/_list.html.erb +18 -0
- data/app/views/my/deeds/entity/_categories.html.erb +33 -0
- data/app/views/my/deeds/index.html.erb +13 -0
- data/app/views/my/deeds/show.html.erb +32 -0
- data/app/views/my/entries/index.html.erb +2 -0
- data/app/views/my/followees/_list.html.erb +11 -0
- data/app/views/my/followees/index.html.erb +18 -0
- data/app/views/my/followers/_list.html.erb +11 -0
- data/app/views/my/followers/index.html.erb +18 -0
- data/app/views/my/index/_articles.html.erb +21 -0
- data/app/views/my/index/_blog_posts.html.erb +21 -0
- data/app/views/my/index/_news.html.erb +21 -0
- data/app/views/my/index/index.html.erb +64 -0
- data/app/views/my/messages/_list.html.erb +11 -0
- data/app/views/my/messages/dialog.html.erb +36 -0
- data/app/views/my/messages/entity/_in_list.html.erb +14 -0
- data/app/views/my/messages/index.html.erb +14 -0
- data/app/views/my/messages/not_found.html.erb +1 -0
- data/app/views/my/notifications/_list.html.erb +11 -0
- data/app/views/my/notifications/entity/_entry_comment.html.erb +1 -0
- data/app/views/my/notifications/entity/_in_list.html.erb +5 -0
- data/app/views/my/notifications/entity/_new_follower.html.erb +1 -0
- data/app/views/my/notifications/entity/_new_message.html.erb +9 -0
- data/app/views/my/notifications/entity/_news_comment.html.erb +1 -0
- data/app/views/my/notifications/entity/_post_comment.html.erb +1 -0
- data/app/views/my/notifications/index.html.erb +10 -0
- data/app/views/my/posts/_form.html.erb +234 -0
- data/app/views/my/posts/_list.html.erb +9 -0
- data/app/views/my/posts/_post.html.erb +81 -0
- data/app/views/my/posts/_preview.html.erb +45 -0
- data/app/views/my/posts/articles.html.erb +26 -0
- data/app/views/my/posts/index.html.erb +16 -0
- data/app/views/my/posts/news_index.html.erb +26 -0
- data/app/views/my/profiles/edit.html.erb +13 -0
- data/app/views/my/profiles/edit/_form.html.erb +386 -0
- data/app/views/my/profiles/show.html.erb +5 -0
- data/app/views/my/recoveries/show.html.erb +41 -0
- data/app/views/network/show.jbuilder +14 -0
- data/app/views/news/_form.html.erb +145 -0
- data/app/views/news/_news.html.erb +70 -0
- data/app/views/news/_preview.html.erb +10 -0
- data/app/views/news/category.html.erb +18 -0
- data/app/views/news/edit.html.erb +16 -0
- data/app/views/news/form/_figures.html.erb +69 -0
- data/app/views/news/index.html.erb +17 -0
- data/app/views/news/index/_column.html.erb +11 -0
- data/app/views/news/index/_items.html.erb +13 -0
- data/app/views/news/new.html.erb +11 -0
- data/app/views/news/not_found.html.erb +7 -0
- data/app/views/news/previews/_comments.html.erb +15 -0
- data/app/views/news/previews/_most_recent.html.erb +14 -0
- data/app/views/news/previews/_topics.html.erb +15 -0
- data/app/views/news/show.html.erb +6 -0
- data/app/views/news/show_in_category.html.erb +40 -0
- data/app/views/news/tagged.html.erb +14 -0
- data/app/views/news_categories/_form.html.erb +39 -0
- data/app/views/news_categories/edit.html.erb +16 -0
- data/app/views/news_categories/new.html.erb +15 -0
- data/app/views/photos/_form.html.erb +62 -0
- data/app/views/photos/_list.html.erb +17 -0
- data/app/views/photos/edit.html.erb +13 -0
- data/app/views/photos/new.html.erb +14 -0
- data/app/views/photos/show.html.erb +17 -0
- data/app/views/political_forces/_flares.html.erb +9 -0
- data/app/views/political_forces/_form.html.erb +97 -0
- data/app/views/political_forces/edit.html.erb +17 -0
- data/app/views/political_forces/new.html.erb +15 -0
- data/app/views/posts/_carousel.html.erb +11 -0
- data/app/views/posts/_form.html.erb +452 -0
- data/app/views/posts/_post.html.erb +136 -0
- data/app/views/posts/_preview.html.erb +51 -0
- data/app/views/posts/archive.html.erb +13 -0
- data/app/views/posts/archive.jbuilder +3 -0
- data/app/views/posts/archive/_month_list.html.erb +25 -0
- data/app/views/posts/archive_day.html.erb +12 -0
- data/app/views/posts/category.html.erb +18 -0
- data/app/views/posts/entity/_author.html.erb +9 -0
- data/app/views/posts/entity/_gallery.html.erb +54 -0
- data/app/views/posts/entity/_linked_posts.html.erb +9 -0
- data/app/views/posts/entity/_metadata.html.erb +39 -0
- data/app/views/posts/entity/_preview_author.html.erb +10 -0
- data/app/views/posts/entity/_publisher.html.erb +7 -0
- data/app/views/posts/form/_attachments.html.erb +29 -0
- data/app/views/posts/form/_figures.html.erb +67 -0
- data/app/views/posts/form/_gallery.html.erb +163 -0
- data/app/views/posts/index.html.erb +13 -0
- data/app/views/posts/index.jbuilder +1 -0
- data/app/views/posts/post_type/_category.html.erb +16 -0
- data/app/views/posts/post_type/_post_page.html.erb +9 -0
- data/app/views/posts/post_type/_tagged.html.erb +7 -0
- data/app/views/posts/show.html.erb +9 -0
- data/app/views/posts/show_in_category.html.erb +20 -0
- data/app/views/posts/tagged.html.erb +10 -0
- data/app/views/posts/tagged.jbuilder +1 -0
- data/app/views/profiles/_profile.html.erb +175 -0
- data/app/views/profiles/entries.html.erb +11 -0
- data/app/views/profiles/followees.html.erb +21 -0
- data/app/views/profiles/not_found.html.erb +1 -0
- data/app/views/profiles/show.html.erb +4 -0
- data/app/views/promo_blocks/_entity.html.erb +10 -0
- data/app/views/promo_blocks/_form.html.erb +80 -0
- data/app/views/promo_blocks/edit.html.erb +17 -0
- data/app/views/promo_blocks/new.html.erb +15 -0
- data/app/views/promo_items/_form.html.erb +132 -0
- data/app/views/promo_items/edit.html.erb +18 -0
- data/app/views/promo_items/new.html.erb +18 -0
- data/app/views/regional_news/_news.html.erb +70 -0
- data/app/views/regional_news/_preview.html.erb +10 -0
- data/app/views/regional_news/category.html.erb +39 -0
- data/app/views/regional_news/index.html.erb +43 -0
- data/app/views/regional_news/index/_column.html.erb +11 -0
- data/app/views/regional_news/index/_items.html.erb +13 -0
- data/app/views/regional_news/previews/_comments.html.erb +15 -0
- data/app/views/regional_news/previews/_most_recent.html.erb +14 -0
- data/app/views/regional_news/previews/_topics.html.erb +15 -0
- data/app/views/regional_news/show_in_category.html.erb +40 -0
- data/app/views/regions/_form.html.erb +59 -0
- data/app/views/regions/_region.jbuilder +12 -0
- data/app/views/regions/edit.html.erb +20 -0
- data/app/views/regions/index.jbuilder +3 -0
- data/app/views/regions/new.html.erb +17 -0
- data/app/views/regions/show.jbuilder +3 -0
- data/app/views/search/index.html.erb +24 -0
- data/app/views/shared/_counters.html.erb +1 -0
- data/app/views/shared/_favicons.html.erb +6 -0
- data/app/views/shared/_pagination.jbuilder +9 -0
- data/app/views/shared/_pluso.html.erb +12 -0
- data/app/views/shared/_sidebar.html.erb +18 -0
- data/app/views/shared/blog/_sidebar.html.erb +8 -0
- data/app/views/shared/errors/_not_found.html.erb +7 -0
- data/app/views/shared/forms/_region_select.html.erb +55 -0
- data/app/views/shared/sidebar/_calendar.html.erb +54 -0
- data/app/views/shared/sidebar/_custom_sidebar.html.erb +0 -0
- data/app/views/shared/sidebar/_deeds.html.erb +10 -0
- data/app/views/shared/sidebar/_poll.html.erb +62 -0
- data/app/views/shared/sidebar/_popular_entries.html.erb +68 -0
- data/app/views/shared/sidebar/_popular_topics.html.erb +51 -0
- data/app/views/shared/sidebar/_recent_posts.html.erb +17 -0
- data/app/views/teams/_form.html.erb +45 -0
- data/app/views/teams/edit.html.erb +12 -0
- data/app/views/teams/new.html.erb +11 -0
- data/app/views/user_messages/_form.html.erb +12 -0
- data/app/views/user_messages/new.html.erb +7 -0
- data/app/views/user_messages/not_found.html.erb +7 -0
- data/app/views/users/_filter.html.erb +12 -0
- data/app/views/users/_follow_buttons.html.erb +4 -0
- data/app/views/users/_list.html.erb +11 -0
- data/app/views/users/entity/_in_list.html.erb +19 -0
- data/app/views/users/form/_profile_data.html.erb +162 -0
- data/app/views/users/index.html.erb +11 -0
- data/app/views/users/index.jbuilder +14 -0
- data/config/locales/albums-ru.yml +83 -0
- data/config/locales/campaigns-ru.yml +356 -0
- data/config/locales/common-ru.yml +48 -0
- data/config/locales/decisions-ru.yml +22 -0
- data/config/locales/deeds-ru.yml +108 -0
- data/config/locales/events-ru.yml +217 -0
- data/config/locales/feedback-ru.yml +57 -0
- data/config/locales/media-ru.yml +94 -0
- data/config/locales/notifications-ru.yml +8 -0
- data/config/locales/posts-ru.yml +475 -0
- data/config/locales/promo-ru.yml +98 -0
- data/config/locales/regions-ru.yml +99 -0
- data/config/locales/socialization-ru.yml +60 -0
- data/config/locales/users-ru.yml +284 -0
- data/config/routes.rb +251 -0
- data/db/amends/20190223100000_create_themes.rb +40 -0
- data/db/amends/20190311141414_convert_posts.rb +218 -0
- data/db/amends/20190415131313_add_uuid_to_post_attachments.rb +16 -0
- data/db/amends/20190501222222_add_fields_to_regions.rb +15 -0
- data/db/amends/20190710121653_update_region_posts_count.rb +16 -0
- data/db/amends/20200406151505_add_fields_to_sites.rb +18 -0
- data/db/migrate/20170129000001_create_sites.rb +32 -0
- data/db/migrate/20170129000002_create_regions.rb +70 -0
- data/db/migrate/20170209000101_create_user_links.rb +23 -0
- data/db/migrate/20170209000102_create_user_messages.rb +26 -0
- data/db/migrate/20171111000005_create_appeal_types.rb +19 -0
- data/db/migrate/20171111000010_create_appeals.rb +32 -0
- data/db/migrate/20180630000001_create_promo_blocks.rb +21 -0
- data/db/migrate/20180630000002_create_promo_items.rb +31 -0
- data/db/migrate/20190805212121_add_comunit_to_posts.rb +18 -0
- data/db/migrate/20190913142159_convert_themes.rb +24 -0
- data/db/migrate/20190919112129_add_regions_component.rb +18 -0
- data/db/migrate/20190922165743_create_region_users.rb +22 -0
- data/db/migrate/20191209101010_create_campaigns.rb +96 -0
- data/db/migrate/20200306220439_add_impeachment_category.rb +12 -0
- data/db/migrate/20200420000000_create_deeds_component.rb +89 -0
- data/db/migrate/20200604000000_create_decisions_component.rb +53 -0
- data/db/obsolete_migrations/20170209000006_create_illustrations.rb +18 -0
- data/db/obsolete_migrations/20170228195056_create_groups.rb +19 -0
- data/db/obsolete_migrations/20170228195119_create_user_groups.rb +17 -0
- data/db/obsolete_migrations/20170309205037_create_albums.rb +26 -0
- data/db/obsolete_migrations/20170309205146_create_photos.rb +21 -0
- data/db/obsolete_migrations/20170322000001_create_teams.rb +22 -0
- data/db/obsolete_migrations/20170322000002_create_team_privileges.rb +17 -0
- data/db/obsolete_migrations/20170413000001_create_events.rb +29 -0
- data/db/obsolete_migrations/20170413000002_create_event_participants.rb +29 -0
- data/db/obsolete_migrations/20170413000003_create_event_speakers.rb +21 -0
- data/db/obsolete_migrations/20170413000004_create_event_sponsors.rb +21 -0
- data/db/obsolete_migrations/20170413000005_create_event_programs.rb +19 -0
- data/db/obsolete_migrations/20170413000006_create_event_materials.rb +21 -0
- data/db/obsolete_migrations/20170517000000_insert_editable_pages.rb +10 -0
- data/db/obsolete_migrations/20190924040404_convert_regional_editors.rb +106 -0
- data/lib/comunit/base.rb +7 -0
- data/lib/comunit/base/decorators/controllers/admin/posts_controller_decorator.rb +8 -0
- data/lib/comunit/base/decorators/controllers/admin/privileges_controller_decorator.rb +7 -0
- data/lib/comunit/base/decorators/controllers/my/posts_controller_decorator.rb +28 -0
- data/lib/comunit/base/decorators/controllers/my/profiles_controller_decorator.rb +25 -0
- data/lib/comunit/base/decorators/controllers/poll_answers_controller_decorator.rb +14 -0
- data/lib/comunit/base/decorators/controllers/poll_questions_controller_decorator.rb +14 -0
- data/lib/comunit/base/decorators/controllers/polls_controller_decorator.rb +24 -0
- data/lib/comunit/base/decorators/controllers/posts_controller_decorator.rb +46 -0
- data/lib/comunit/base/decorators/models/post_decorator.rb +39 -0
- data/lib/comunit/base/decorators/models/user_decorator.rb +30 -0
- data/lib/comunit/base/decorators/models/user_privilege_decorator.rb +3 -0
- data/lib/comunit/base/engine.rb +46 -0
- data/lib/comunit/base/privilege_methods.rb +53 -0
- data/lib/comunit/base/version.rb +7 -0
- data/lib/tasks/comunit.rake +29 -0
- data/lib/tasks/comunit/base_tasks.rake +4 -0
- data/lib/tasks/regions.rake +57 -0
- metadata +947 -0
@@ -0,0 +1,798 @@
|
|
1
|
+
@import "comunit/base/default";
|
2
|
+
|
3
|
+
ul.list-of-figures {
|
4
|
+
li {
|
5
|
+
input[type=text] {
|
6
|
+
width: auto;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
.news-categories {
|
12
|
+
> div {
|
13
|
+
margin: 0 0 1rem 0;
|
14
|
+
padding: 0;
|
15
|
+
display: flex;
|
16
|
+
|
17
|
+
> .category {
|
18
|
+
flex: 0 0 10rem;
|
19
|
+
padding: 1.2rem .8rem;
|
20
|
+
|
21
|
+
> div {
|
22
|
+
font-weight: bold;
|
23
|
+
margin-bottom: 12px;
|
24
|
+
|
25
|
+
+ ul {
|
26
|
+
font-size: $font-size-normal;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
a:link, a:visited {
|
31
|
+
color: $link-color;
|
32
|
+
}
|
33
|
+
|
34
|
+
a:hover {
|
35
|
+
text-decoration: none;
|
36
|
+
}
|
37
|
+
|
38
|
+
> ul {
|
39
|
+
font-weight: 300;
|
40
|
+
margin: 0;
|
41
|
+
padding: 0;
|
42
|
+
|
43
|
+
> li {
|
44
|
+
list-style: none;
|
45
|
+
position: relative;
|
46
|
+
|
47
|
+
&::before {
|
48
|
+
content: '\00b7';
|
49
|
+
padding: 0 .2rem 0 0;
|
50
|
+
position: absolute;
|
51
|
+
right: 100%;
|
52
|
+
}
|
53
|
+
|
54
|
+
&.selected {
|
55
|
+
font-weight: 700;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
> .list {
|
62
|
+
background: $news-background;
|
63
|
+
flex: 1;
|
64
|
+
display: flex;
|
65
|
+
padding: 0 1.2rem;
|
66
|
+
|
67
|
+
> div {
|
68
|
+
flex: 1;
|
69
|
+
margin: 1.2rem 0;
|
70
|
+
|
71
|
+
.image {
|
72
|
+
img {
|
73
|
+
max-width: 8.5rem;
|
74
|
+
max-height: 8.5rem;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
.link {
|
79
|
+
margin-bottom: 5px;
|
80
|
+
font-size: $font-size-normal;
|
81
|
+
font-weight: bold;
|
82
|
+
|
83
|
+
a:link,
|
84
|
+
a:visited {
|
85
|
+
color: $news-link-color;
|
86
|
+
text-decoration: none;
|
87
|
+
}
|
88
|
+
|
89
|
+
a:hover {
|
90
|
+
text-decoration: underline;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
&:last-of-type {
|
95
|
+
margin-left: 12px;
|
96
|
+
}
|
97
|
+
|
98
|
+
&.previews {
|
99
|
+
margin: 12px 0;
|
100
|
+
|
101
|
+
.news-preview {
|
102
|
+
margin-bottom: 6px;
|
103
|
+
|
104
|
+
img {
|
105
|
+
max-width: 85px;
|
106
|
+
max-height: 85px;
|
107
|
+
}
|
108
|
+
|
109
|
+
.link {
|
110
|
+
a:link, a:visited {
|
111
|
+
//color: $link_color;
|
112
|
+
text-decoration: underline;
|
113
|
+
}
|
114
|
+
|
115
|
+
a:hover {
|
116
|
+
text-decoration: none;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
&:first-of-type {
|
121
|
+
img {
|
122
|
+
max-height: 15rem;
|
123
|
+
max-width: 15rem;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
.most-recent {
|
131
|
+
flex: 0;
|
132
|
+
flex-basis: 212px;
|
133
|
+
margin-right: 12px;
|
134
|
+
|
135
|
+
.image {
|
136
|
+
img {
|
137
|
+
max-width: 135px;
|
138
|
+
max-height: 135px;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
.link {
|
143
|
+
margin-top: 7px;
|
144
|
+
|
145
|
+
a:link,
|
146
|
+
a:visited {
|
147
|
+
//color: $link_color;
|
148
|
+
text-decoration: underline;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
.lead {
|
153
|
+
a:link, a:visited {
|
154
|
+
color: #000000;
|
155
|
+
text-decoration: none;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
time {
|
161
|
+
font-size: $font-size-decreased;
|
162
|
+
line-height: 1.25;
|
163
|
+
color: #75716b;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
|
167
|
+
> .comments-and-topics {
|
168
|
+
flex: 0 0 16rem;
|
169
|
+
padding: .5rem 1.2rem;
|
170
|
+
font-size: $font-size-decreased;
|
171
|
+
}
|
172
|
+
}
|
173
|
+
}
|
174
|
+
|
175
|
+
article.news {
|
176
|
+
margin: 1.2rem 0;
|
177
|
+
|
178
|
+
.time {
|
179
|
+
padding-bottom: .4rem;
|
180
|
+
}
|
181
|
+
|
182
|
+
.pre-head {
|
183
|
+
display: flex;
|
184
|
+
justify-content: space-between;
|
185
|
+
align-items: stretch;
|
186
|
+
|
187
|
+
figure {
|
188
|
+
flex: 1;
|
189
|
+
align-items: flex-start;
|
190
|
+
display: flex;
|
191
|
+
margin: 0;
|
192
|
+
padding: 0;
|
193
|
+
|
194
|
+
img {
|
195
|
+
margin: 0 .8rem 0 0;
|
196
|
+
max-width: 30rem;
|
197
|
+
max-height: 30rem;
|
198
|
+
}
|
199
|
+
|
200
|
+
figcaption {
|
201
|
+
color: $text-color-secondary;
|
202
|
+
font-size: $font-size-small;
|
203
|
+
|
204
|
+
a {
|
205
|
+
color: $text-color-secondary;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
|
210
|
+
.post-counters {
|
211
|
+
align-self: flex-end;
|
212
|
+
background: #fff;
|
213
|
+
box-shadow: 0 0 .4rem .4rem #fff;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
|
217
|
+
> h1 {
|
218
|
+
font-size: $font-size-large;
|
219
|
+
font-style: normal;
|
220
|
+
font-weight: normal;
|
221
|
+
margin: 20px 0;
|
222
|
+
}
|
223
|
+
|
224
|
+
.lead {
|
225
|
+
padding: 0 10px 20px 30px;
|
226
|
+
font-size: $font-size-decreased;
|
227
|
+
font-style: italic;
|
228
|
+
}
|
229
|
+
|
230
|
+
.body {
|
231
|
+
img {
|
232
|
+
max-width: 100%;
|
233
|
+
}
|
234
|
+
}
|
235
|
+
|
236
|
+
.footer {
|
237
|
+
clear: both;
|
238
|
+
display: flex;
|
239
|
+
flex-wrap: wrap;
|
240
|
+
justify-content: space-between;
|
241
|
+
margin: 15px 0;
|
242
|
+
|
243
|
+
.repost {
|
244
|
+
background: #fafafa image_url('conunit/base/icons/repost.svg') no-repeat center left .8rem / 1.6rem 1.6rem;
|
245
|
+
box-sizing: border-box;
|
246
|
+
font-size: $font-size-small;
|
247
|
+
line-height: 2.4rem;
|
248
|
+
padding: 0 0 0 3.2rem;
|
249
|
+
width: 100%;
|
250
|
+
}
|
251
|
+
}
|
252
|
+
|
253
|
+
.additional-images {
|
254
|
+
margin: 0;
|
255
|
+
padding: 0;
|
256
|
+
display: flex;
|
257
|
+
flex-wrap: wrap;
|
258
|
+
align-items: center;
|
259
|
+
|
260
|
+
li {
|
261
|
+
margin: 0;
|
262
|
+
flex-basis: 12rem;
|
263
|
+
padding: .4rem;
|
264
|
+
list-style: none;
|
265
|
+
|
266
|
+
img {
|
267
|
+
max-width: 100%;
|
268
|
+
}
|
269
|
+
}
|
270
|
+
}
|
271
|
+
}
|
272
|
+
|
273
|
+
.news-aside {
|
274
|
+
margin: 0 0 1rem 0;
|
275
|
+
|
276
|
+
.heading {
|
277
|
+
padding-left: 2rem;
|
278
|
+
line-height: 2rem;
|
279
|
+
font-weight: bold;
|
280
|
+
color: #000;
|
281
|
+
font-style: italic;
|
282
|
+
margin-bottom: 1rem;
|
283
|
+
font-size: $font-size-decreased;
|
284
|
+
}
|
285
|
+
|
286
|
+
.item {
|
287
|
+
time {
|
288
|
+
color: #75716b;
|
289
|
+
font-size: $font-size-small;
|
290
|
+
}
|
291
|
+
|
292
|
+
> div {
|
293
|
+
font-size: 1.1rem;
|
294
|
+
margin: .2rem 0;
|
295
|
+
}
|
296
|
+
|
297
|
+
img {
|
298
|
+
max-width: 8.5rem;
|
299
|
+
max-height: 8.5rem;
|
300
|
+
}
|
301
|
+
}
|
302
|
+
}
|
303
|
+
|
304
|
+
.recent-news {
|
305
|
+
.heading {
|
306
|
+
background: image_url('comunit/base/icons/recent.svg') no-repeat left center / 1.6rem 1.6rem;
|
307
|
+
}
|
308
|
+
}
|
309
|
+
|
310
|
+
.news-topics {
|
311
|
+
.heading {
|
312
|
+
background: image_url('comunit/base/icons/book.svg') no-repeat left center / 1.6rem 1.6rem;
|
313
|
+
}
|
314
|
+
}
|
315
|
+
|
316
|
+
.news-comments {
|
317
|
+
.heading {
|
318
|
+
background: image_url('comunit/base/icons/pencil.svg') no-repeat left center / 1.6rem 1.6rem;
|
319
|
+
}
|
320
|
+
}
|
321
|
+
|
322
|
+
.posts-in-category {
|
323
|
+
margin: 0 0 0 10px;
|
324
|
+
|
325
|
+
> div {
|
326
|
+
display: flex;
|
327
|
+
|
328
|
+
.avatar {
|
329
|
+
flex-basis: 75px;
|
330
|
+
|
331
|
+
img {
|
332
|
+
max-width: 75px;
|
333
|
+
max-height: 75px;
|
334
|
+
}
|
335
|
+
}
|
336
|
+
|
337
|
+
.post {
|
338
|
+
flex: 1;
|
339
|
+
margin: 0 0 20px 12px;
|
340
|
+
|
341
|
+
.header {
|
342
|
+
border-bottom: 1px dotted #646464;
|
343
|
+
margin-bottom: 10px;
|
344
|
+
padding-bottom: 5px;
|
345
|
+
display: flex;
|
346
|
+
justify-content: space-between;
|
347
|
+
|
348
|
+
a {
|
349
|
+
color: #646464;
|
350
|
+
text-decoration: none;
|
351
|
+
}
|
352
|
+
}
|
353
|
+
|
354
|
+
.title {
|
355
|
+
margin-bottom: 15px;
|
356
|
+
text-transform: uppercase;
|
357
|
+
font-weight: bold;
|
358
|
+
|
359
|
+
a {
|
360
|
+
text-decoration: none;
|
361
|
+
}
|
362
|
+
}
|
363
|
+
|
364
|
+
.body {
|
365
|
+
min-height: 75px;
|
366
|
+
|
367
|
+
img {
|
368
|
+
float: left;
|
369
|
+
margin: 0 3px 0 0;
|
370
|
+
max-width: 75px;
|
371
|
+
max-height: 75px;
|
372
|
+
}
|
373
|
+
}
|
374
|
+
|
375
|
+
.footer {
|
376
|
+
display: flex;
|
377
|
+
justify-content: space-between;
|
378
|
+
padding: 3px 0;
|
379
|
+
}
|
380
|
+
}
|
381
|
+
}
|
382
|
+
}
|
383
|
+
|
384
|
+
ul.post-categories {
|
385
|
+
margin: 0;
|
386
|
+
padding: 0;
|
387
|
+
|
388
|
+
> li {
|
389
|
+
list-style: none;
|
390
|
+
margin: 0;
|
391
|
+
padding: 0;
|
392
|
+
|
393
|
+
label {
|
394
|
+
display: inline-block;
|
395
|
+
min-width: 130px;
|
396
|
+
}
|
397
|
+
}
|
398
|
+
}
|
399
|
+
|
400
|
+
.theme-categories {
|
401
|
+
margin: 0 0 0 2rem;
|
402
|
+
padding: 0;
|
403
|
+
|
404
|
+
li {
|
405
|
+
list-style: none;
|
406
|
+
margin: 0;
|
407
|
+
padding: 0;
|
408
|
+
|
409
|
+
> div {
|
410
|
+
display: flex;
|
411
|
+
align-items: center;
|
412
|
+
|
413
|
+
label {
|
414
|
+
margin: 0 0.4rem;
|
415
|
+
}
|
416
|
+
}
|
417
|
+
}
|
418
|
+
}
|
419
|
+
|
420
|
+
.list-of-entities {
|
421
|
+
.repost {
|
422
|
+
background: image_url('comunit/base/icons/repost.svg') no-repeat center left / 1.2rem 1.2rem;
|
423
|
+
font-size: $font-size-decreased;
|
424
|
+
line-height: 1.6rem;
|
425
|
+
padding: 0 0 .4rem 1.6rem;
|
426
|
+
margin: 0 0 0 1.6rem;
|
427
|
+
}
|
428
|
+
}
|
429
|
+
|
430
|
+
.posts-as-illustrations {
|
431
|
+
display: flex;
|
432
|
+
flex-wrap: wrap;
|
433
|
+
justify-content: space-between;
|
434
|
+
margin: 0;
|
435
|
+
padding: 0;
|
436
|
+
|
437
|
+
> li {
|
438
|
+
box-shadow: $block-shadow;
|
439
|
+
list-style: none;
|
440
|
+
margin: .4rem;
|
441
|
+
position: relative;
|
442
|
+
width: calc(50% - .8rem);
|
443
|
+
|
444
|
+
.image {
|
445
|
+
height: 22rem;
|
446
|
+
overflow: hidden;
|
447
|
+
width: 100%;
|
448
|
+
|
449
|
+
img {
|
450
|
+
height: 100%;
|
451
|
+
object-fit: cover;
|
452
|
+
transform: scale(1.125);
|
453
|
+
transition: .5s;
|
454
|
+
width: 100%;
|
455
|
+
}
|
456
|
+
}
|
457
|
+
|
458
|
+
.text {
|
459
|
+
background: rgba(255, 255, 255, .8);
|
460
|
+
bottom: 0;
|
461
|
+
left: 0;
|
462
|
+
padding: .8rem;
|
463
|
+
position: absolute;
|
464
|
+
right: 0;
|
465
|
+
|
466
|
+
> div {
|
467
|
+
font-size: $font-size-normal;
|
468
|
+
line-height: 2.4rem;
|
469
|
+
overflow: hidden;
|
470
|
+
text-overflow: ellipsis;
|
471
|
+
white-space: nowrap;
|
472
|
+
width: 100%;
|
473
|
+
}
|
474
|
+
|
475
|
+
.title {
|
476
|
+
a:link,
|
477
|
+
a:visited {
|
478
|
+
color: #0000ff;
|
479
|
+
}
|
480
|
+
}
|
481
|
+
|
482
|
+
.lead {
|
483
|
+
}
|
484
|
+
|
485
|
+
.time {
|
486
|
+
font-size: $font-size-decreased;
|
487
|
+
font-style: italic;
|
488
|
+
text-align: right;
|
489
|
+
|
490
|
+
time {
|
491
|
+
display: inline-block;
|
492
|
+
}
|
493
|
+
}
|
494
|
+
}
|
495
|
+
|
496
|
+
&:hover {
|
497
|
+
.image {
|
498
|
+
img {
|
499
|
+
transform: scale(1);
|
500
|
+
}
|
501
|
+
}
|
502
|
+
}
|
503
|
+
}
|
504
|
+
}
|
505
|
+
|
506
|
+
#news-regions-selector {
|
507
|
+
margin: 1.6rem 0 0 0;
|
508
|
+
ul {
|
509
|
+
margin: 0 0 0 2rem;
|
510
|
+
padding: 0;
|
511
|
+
|
512
|
+
li {
|
513
|
+
list-style: none;
|
514
|
+
margin: 0;
|
515
|
+
padding: 0;
|
516
|
+
}
|
517
|
+
}
|
518
|
+
|
519
|
+
button {
|
520
|
+
margin-left: 2rem;
|
521
|
+
}
|
522
|
+
}
|
523
|
+
|
524
|
+
$border-primary: .1rem solid rgb(192, 192, 192) !default;
|
525
|
+
$border-secondary: .1rem solid rgb(230, 230, 230) !default;
|
526
|
+
$text-color-secondary: #777 !default;
|
527
|
+
$font-size-decreased: 1.2rem !default;
|
528
|
+
$font-family-heading: serif !default;
|
529
|
+
|
530
|
+
$background-post-footer: rgb(248, 248, 248) !default;
|
531
|
+
$background-post-preview-image: linear-gradient(to top, #f0f0f0, #fff) !default;
|
532
|
+
$background-post-tag: rgb(248, 248, 248) !default;
|
533
|
+
|
534
|
+
.recent-posts {
|
535
|
+
width: 100%;
|
536
|
+
|
537
|
+
.list,
|
538
|
+
.posts-list {
|
539
|
+
align-items: stretch;
|
540
|
+
display: flex;
|
541
|
+
flex-wrap: wrap;
|
542
|
+
justify-content: space-around;
|
543
|
+
}
|
544
|
+
|
545
|
+
}
|
546
|
+
|
547
|
+
.post-category {
|
548
|
+
h2 {
|
549
|
+
background: $category-background;
|
550
|
+
color: $category-color;
|
551
|
+
display: block;
|
552
|
+
font-size: var(--font-size-normal);
|
553
|
+
font-weight: 400;
|
554
|
+
padding: var(--spacer-xs) var(--spacer-s);
|
555
|
+
text-transform: uppercase;
|
556
|
+
|
557
|
+
a {
|
558
|
+
color: inherit;
|
559
|
+
|
560
|
+
&:hover {
|
561
|
+
text-decoration: none;
|
562
|
+
}
|
563
|
+
}
|
564
|
+
}
|
565
|
+
}
|
566
|
+
|
567
|
+
.post-preview {
|
568
|
+
display: flex;
|
569
|
+
flex: 1;
|
570
|
+
flex-direction: column;
|
571
|
+
margin: 1rem;
|
572
|
+
position: relative;
|
573
|
+
max-width: 30rem;
|
574
|
+
min-width: 28rem;
|
575
|
+
|
576
|
+
&:hover {
|
577
|
+
box-shadow: 0 0 .4rem rgba(0, 0, 0, .25);
|
578
|
+
}
|
579
|
+
|
580
|
+
> div {
|
581
|
+
width: 100%;
|
582
|
+
}
|
583
|
+
|
584
|
+
.image {
|
585
|
+
background: $background-post-preview-image;
|
586
|
+
|
587
|
+
a {
|
588
|
+
display: block;
|
589
|
+
}
|
590
|
+
}
|
591
|
+
|
592
|
+
.text {
|
593
|
+
padding: var(--spacer-xxs, .4rem);
|
594
|
+
}
|
595
|
+
|
596
|
+
.title {
|
597
|
+
font: 400 var(--font-size-increased) $font-family-heading;
|
598
|
+
}
|
599
|
+
|
600
|
+
.lead {
|
601
|
+
color: $text-color-secondary;
|
602
|
+
font-weight: 400;
|
603
|
+
padding-top: var(--spacer-xs, .8rem);
|
604
|
+
|
605
|
+
a:link,
|
606
|
+
a:visited {
|
607
|
+
color: inherit;
|
608
|
+
}
|
609
|
+
}
|
610
|
+
|
611
|
+
a {
|
612
|
+
color: inherit;
|
613
|
+
|
614
|
+
&:hover {
|
615
|
+
text-decoration: none;
|
616
|
+
}
|
617
|
+
}
|
618
|
+
|
619
|
+
.counters {
|
620
|
+
border-top: $border-secondary;
|
621
|
+
margin-top: auto;
|
622
|
+
padding: var(--spacer-xxs, .4rem);
|
623
|
+
text-align: right;
|
624
|
+
}
|
625
|
+
|
626
|
+
.category {
|
627
|
+
padding: var(--spacer-xxs, .4rem);
|
628
|
+
}
|
629
|
+
|
630
|
+
.time-and-author {
|
631
|
+
font-size: var(--font-size-decreased, 1.3rem);
|
632
|
+
padding: var(--spacer-xxs, .4rem);
|
633
|
+
|
634
|
+
a,
|
635
|
+
span {
|
636
|
+
font-weight: 400;
|
637
|
+
|
638
|
+
+ time {
|
639
|
+
&::before {
|
640
|
+
content: '|';
|
641
|
+
margin: 0 var(--spacer-xxs, .4rem);
|
642
|
+
}
|
643
|
+
}
|
644
|
+
}
|
645
|
+
}
|
646
|
+
|
647
|
+
time {
|
648
|
+
color: $text-color-secondary;
|
649
|
+
}
|
650
|
+
|
651
|
+
.counters {
|
652
|
+
color: $text-color-secondary;
|
653
|
+
font-size: var(--font-size-decreased, 1.3rem);
|
654
|
+
}
|
655
|
+
}
|
656
|
+
|
657
|
+
.post-tags {
|
658
|
+
margin: 0;
|
659
|
+
padding: var(--spacer-xxs, .4rem);
|
660
|
+
|
661
|
+
li {
|
662
|
+
display: inline-block;
|
663
|
+
font-size: var(--font-size-decreased, 1.3rem);
|
664
|
+
list-style: none;
|
665
|
+
margin: 0;
|
666
|
+
padding: 0;
|
667
|
+
}
|
668
|
+
|
669
|
+
a:link,
|
670
|
+
a:visited {
|
671
|
+
background: $background-post-tag;
|
672
|
+
display: inline-block;
|
673
|
+
padding: var(--spacer-xs, .8rem);
|
674
|
+
}
|
675
|
+
}
|
676
|
+
|
677
|
+
.view_count {
|
678
|
+
background: image_url('biovision/post/icons/view.svg') no-repeat center left / 1.6rem auto;
|
679
|
+
margin: 0 .4rem;
|
680
|
+
padding-left: 1.8rem;
|
681
|
+
}
|
682
|
+
|
683
|
+
.time_required {
|
684
|
+
background: image_url('biovision/post/icons/time.svg') no-repeat center left / 1.6rem auto;
|
685
|
+
display: inline-block;
|
686
|
+
padding-left: 1.8rem;
|
687
|
+
}
|
688
|
+
|
689
|
+
.post-category-tree {
|
690
|
+
ul {
|
691
|
+
border-left: .2rem solid #f0f0f0;
|
692
|
+
margin-left: .8rem;
|
693
|
+
padding-left: 1.2rem;
|
694
|
+
}
|
695
|
+
|
696
|
+
input:disabled + label {
|
697
|
+
color: #bbb;
|
698
|
+
}
|
699
|
+
}
|
700
|
+
|
701
|
+
article.post {
|
702
|
+
figure {
|
703
|
+
border-bottom: $border-secondary;
|
704
|
+
margin: 0 auto;
|
705
|
+
max-width: 64rem;
|
706
|
+
padding: 0 0 .8rem 0;
|
707
|
+
}
|
708
|
+
|
709
|
+
figcaption {
|
710
|
+
align-items: flex-end;
|
711
|
+
display: flex;
|
712
|
+
flex-wrap: wrap;
|
713
|
+
}
|
714
|
+
|
715
|
+
.image_source {
|
716
|
+
color: $text-color-secondary;
|
717
|
+
font-size: $font-size-decreased;
|
718
|
+
margin-left: auto;
|
719
|
+
}
|
720
|
+
|
721
|
+
.body {
|
722
|
+
padding: .4rem;
|
723
|
+
}
|
724
|
+
|
725
|
+
footer {
|
726
|
+
align-items: center;
|
727
|
+
background: $background-post-footer;
|
728
|
+
display: flex;
|
729
|
+
flex-wrap: wrap;
|
730
|
+
font-size: $font-size-decreased;
|
731
|
+
padding: .8rem;
|
732
|
+
|
733
|
+
.author {
|
734
|
+
margin: 0 1.6rem 0 0;
|
735
|
+
}
|
736
|
+
|
737
|
+
.author-title {
|
738
|
+
&::before {
|
739
|
+
content: '(';
|
740
|
+
}
|
741
|
+
|
742
|
+
&::after {
|
743
|
+
content: ')';
|
744
|
+
}
|
745
|
+
}
|
746
|
+
|
747
|
+
.source {
|
748
|
+
color: $text-color-secondary;
|
749
|
+
margin-left: auto;
|
750
|
+
}
|
751
|
+
|
752
|
+
.time {
|
753
|
+
margin: .8rem 0 0 0;
|
754
|
+
width: 100%;
|
755
|
+
}
|
756
|
+
}
|
757
|
+
}
|
758
|
+
|
759
|
+
.posts-linked {
|
760
|
+
.list,
|
761
|
+
.posts-list {
|
762
|
+
align-items: stretch;
|
763
|
+
display: flex;
|
764
|
+
flex-wrap: wrap;
|
765
|
+
justify-content: space-around;
|
766
|
+
}
|
767
|
+
}
|
768
|
+
|
769
|
+
.posts-carousel {
|
770
|
+
.carousel-item {
|
771
|
+
display: flex;
|
772
|
+
padding: 0;
|
773
|
+
width: calc(100% / 3);
|
774
|
+
|
775
|
+
.post-preview {
|
776
|
+
margin-left: auto;
|
777
|
+
margin-right: auto;
|
778
|
+
min-width: 20rem;
|
779
|
+
width: 100%;
|
780
|
+
}
|
781
|
+
}
|
782
|
+
}
|
783
|
+
|
784
|
+
@media (max-width: 900px) {
|
785
|
+
.posts-carousel {
|
786
|
+
.carousel-item {
|
787
|
+
width: 50%;
|
788
|
+
}
|
789
|
+
}
|
790
|
+
}
|
791
|
+
|
792
|
+
@media (max-width: 440px) {
|
793
|
+
.posts-carousel {
|
794
|
+
.carousel-item {
|
795
|
+
width: 100%;
|
796
|
+
}
|
797
|
+
}
|
798
|
+
}
|