Commit 28b0c4dc4d2ada5b6b86b10f4b6a1f4c46f8d577

Authored by Melissa Wen
1 parent eb53ac42
Exists in master and in 79 other branches add_sisp_to_chef, add_super_archives_plugin, api_for_colab, automates_core_packing, backup_not_prod, changes_in_buttons_on_content_panel, colab_automated_login, colab_spb_plugin_recipe, colab_widgets_settings, design_validation, dev_env_minimal, disable_email_dev, fix_breadcrumbs_position, fix_categories_software_link, fix_edit_institution, fix_edit_software_with_another_license, fix_get_license_info, fix_gitlab_assets_permission, fix_list_style_inside_article, fix_list_style_on_folder_elements, fix_members_pagination, fix_merge_request_url, fix_models_translations, fix_no_license, fix_software_api, fix_software_block_migration, fix_software_communities_translations, fix_software_communities_unit_test, fix_style_create_institution_admin_panel, fix_superarchives_imports, fix_sym_links_noosfero, focus_search_field_theme, gov-user-refactoring, gov-user-refactoring-rails4, header_fix, institution_modal_on_rating, kalibro-conf-refactoring, kalibro-processor-package, lxc_settings, margin_fix, mezuro_cookbook, prezento, refactor_download_block, refactor_software_communities, refactor_software_for_sisp, register_page, release-process, release-process-v2, remove-unused-images, remove_broken_theme, remove_secondary_email_from_user, remove_sisp_buttons, removing_super_archives_email, review_message, scope2method, signals_user_noosfero, sisp_catalog_header, sisp_colab_config, sisp_dev, sisp_dev_master, sisp_simple_version, software_as_organization, software_catalog_style_fix, software_communities_html_refactor, software_infos_api, spb_minimal_env, spb_to_rails4, spec_refactor, stable-4.1, stable-4.2, stable-4.x, temp_soft_comm_refactoring, theme_header, theme_javascript_refactory, thread_dropdown, thread_page, update_search_by_categories, update_software_api, update_softwares_boxes

Temporary solution to hide search form and profile tabs on profile community pag…

…e and show Software Tab Data block only on this page
Showing 1 changed file with 20 additions and 3 deletions   Show diff stats
css/community-pages.css
1 1 /*** Profile page ***/
2   -.action-profile-index #content .main-block h1 {
  2 +.profile-type-is-community .action-profile-index #content .main-block h1 {
3 3 color: #172738;
4 4 border-bottom: none;
5 5 font-size: 2.3em;
... ... @@ -8,7 +8,8 @@
8 8 font-family: Arial, open_sansbold, Helvetica, sans-serif;
9 9 }
10 10  
11   -/*** Profile info block ***/
  11 +/*** Profile info block***/
  12 +
12 13 #content .profile-image-block .admin-link a{
13 14 color: #2c66ce;
14 15 }
... ... @@ -22,7 +23,10 @@
22 23 font-size: 11px;
23 24 }
24 25  
25   -/* Search form */
  26 +/* Search form - need to develop solution - hideen on profile page*/
  27 +.profile-type-is-community .action-profile-index #public-profile-search{
  28 + display: none;
  29 +}
26 30  
27 31 .action-profile-index .main-block #public-profile-search,
28 32 .action-profile-index .main-block #profile-search-results form,
... ... @@ -69,6 +73,9 @@
69 73 }
70 74  
71 75 /* Profile tab */
  76 +.profile-type-is-community .action-profile-index table.profile{
  77 + display: none;
  78 +}
72 79  
73 80 .action-profile-index .main-block .profile .ui-tabs{
74 81 border: none;
... ... @@ -108,6 +115,16 @@
108 115 text-decoration: none;
109 116 }
110 117  
  118 +/* Software Tab Data - Need to develop solution - Only display on profile page */
  119 +
  120 +.profile-type-is-community #content .software-tab-data-block{
  121 + display: none;
  122 +}
  123 +
  124 +.profile-type-is-community .action-profile-index #content .software-tab-data-block{
  125 + display: block;
  126 +}
  127 +
111 128 /*** Events ***/
112 129  
113 130 #content .article-body-event .event-card{
... ...