Commit 4750019add2b814432824a4c2dbcd63faef946ae

Authored by Tomáz Martins
1 parent 1255ac8a
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

Adjusting highlights block with the new version

Showing 1 changed file with 18 additions and 19 deletions   Show diff stats
css/home-page.css
@@ -363,34 +363,31 @@ @@ -363,34 +363,31 @@
363 /******* See As Well Block - Highlights block *******/ 363 /******* See As Well Block - Highlights block *******/
364 364
365 .action-home-index #content .highlights-block .block-title { 365 .action-home-index #content .highlights-block .block-title {
366 - margin: 11px 0px 0px;  
367 - border: 1px solid #c0c1c1;  
368 - border-bottom: 0;  
369 - border-radius: 8px 8px 0 0;  
370 - padding: 15px 1px 21px 15px;  
371 - width: auto;  
372 - height: 16px;  
373 - background-color: #fff;  
374 - color: #172638;  
375 - font: bold 16px/1.3em 'open_sansbold', arial, helvetica, sans-serif;  
376 - text-transform: uppercase; 366 + display: none;
377 } 367 }
378 368
379 .action-home-index #content .highlights-border { 369 .action-home-index #content .highlights-border {
380 border: 1px solid #c0c1c1; 370 border: 1px solid #c0c1c1;
381 - border-radius: 0px 0px 8px 8px; 371 + border-radius: 8px 8px 8px 8px;
382 width: auto; 372 width: auto;
383 - max-height: 230px;  
384 - background: #fff; 373 + height: 248px;
  374 + max-height: 250px;
  375 + background-color: #e8e9ec;
  376 + background-image: linear-gradient(
  377 + 0deg,
  378 + transparent 45%,
  379 + #fff 55%);
  380 + background-size: 100% 100%;
385 } 381 }
386 382
387 .action-home-index #content .highlights-container { 383 .action-home-index #content .highlights-container {
388 - border-radius: 0px 0px 8px 8px; 384 + border-radius: 8px 8px 8px 8px;
389 border-width: 0px 0px 1px 0px; 385 border-width: 0px 0px 1px 0px;
  386 + border-bottom: none;
390 padding: 0px 0px 0px 0px; 387 padding: 0px 0px 0px 0px;
391 width: 100% !important; 388 width: 100% !important;
392 max-height: 230px; 389 max-height: 230px;
393 - background: #fff; 390 + background: transparent;
394 position: relative; 391 position: relative;
395 top: 0px; 392 top: 0px;
396 } 393 }
@@ -403,6 +400,10 @@ @@ -403,6 +400,10 @@
403 background-color: #fff; 400 background-color: #fff;
404 } 401 }
405 402
  403 +.action-home-index #content .highlights-image-link img{
  404 + max-height: 100px;
  405 +}
  406 +
406 .action-home-index #content .highlights-label { 407 .action-home-index #content .highlights-label {
407 border-top: 4px solid #3b61a7; 408 border-top: 4px solid #3b61a7;
408 padding: 23px 20px 46px 20px; 409 padding: 23px 20px 46px 20px;
@@ -419,10 +420,8 @@ @@ -419,10 +420,8 @@
419 420
420 .action-home-index #content .highlights-block-pager { 421 .action-home-index #content .highlights-block-pager {
421 border: 0; 422 border: 0;
422 - padding: 14px 0px 0px 0px;  
423 - height: 1px; 423 + padding: 0px 0px 0px 0px;
424 width: 232px; 424 width: 232px;
425 - background-color: #FFF;  
426 float: left; 425 float: left;
427 position: static; 426 position: static;
428 } 427 }