Commit 49efb29a1484f3b029d26ec5862d15a1dd52c356

Authored by Sidney Ricardo
1 parent 7a1c5fc6
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

Fix sizes of news block.

Showing 2 changed files with 31 additions and 2 deletions   Show diff stats
cabecalho-cinza-theme.css
... ... @@ -785,6 +785,28 @@ color:#000000;
785 785 background: #08A649;
786 786 }
787 787  
  788 +/* Bloco de noticias sempre da mesma cor */
  789 +
  790 +#content .box .display-content-block .block-title {
  791 + border-top: 4px solid #643C67;
  792 + background: #eee;
  793 + color: #643C67;
  794 +}
  795 +
  796 +#content .box .block-outer .display-content-block .read-more {
  797 + border-top: 1px solid #643C67;
  798 + background: #eee;
  799 +}
  800 +
  801 +#content .box .block-outer .display-content-block .read-more a {
  802 + color: #000000;
  803 +}
  804 +
  805 +#content .box .block-outer .display-content-block .read-more a::after {
  806 + color: #FFFFFF;
  807 + background: #643C67;
  808 +}
  809 +
788 810 /************* FIM Bar Psocial Style - Menu Horizontal**************/
789 811  
790 812  
... ...
page-inicial.css
... ... @@ -229,7 +229,7 @@ margin: -10px 0px 10px 20px; /*-20px 20px;
229 229 }
230 230  
231 231 .block.display-content-block li {
232   - min-height: 120px;
  232 + min-height: 150px;
233 233 border-top: 1px solid #eee;
234 234 padding-top: 15px;
235 235 }
... ... @@ -243,12 +243,16 @@ margin: -10px 0px 10px 20px; /*-20px 20px;
243 243 height: 90px;
244 244 position: absolute;
245 245 margin-top: 35px;
  246 +
  247 + border: 0px solid #c0c1c1;
  248 + border-radius: 8px;
  249 + text-align: center;
246 250 }
247 251  
248 252 .block.display-content-block .image img {
249 253 max-width: 150px;
250 254 max-height: 90px;
251   - border: 1px solid #c0c1c1;
  255 + border: 0px solid #c0c1c1;
252 256 border-radius: 8px;
253 257 }
254 258  
... ... @@ -260,6 +264,8 @@ margin: -10px 0px 10px 20px; /*-20px 20px;
260 264 .block.display-content-block .title {
261 265 padding-left: 160px;
262 266 padding-right: 0px;
  267 + max-height: 40px;
  268 + overflow: hidden;
263 269 }
264 270  
265 271 .block.display-content-block .title a {
... ... @@ -272,6 +278,7 @@ margin: -10px 0px 10px 20px; /*-20px 20px;
272 278 .block.display-content-block .lead {
273 279 padding-left: 160px;
274 280 padding-right: 0px;
  281 + max-height: 60px;
275 282 }
276 283  
277 284 .block.display-content-block .lead p {
... ...