Commit 32d65881643e96b75dc16aa4252f5d93bba2e238

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

CSS for news home page.

Showing 1 changed file with 104 additions and 11 deletions   Show diff stats
page-inicial.css
... ... @@ -157,7 +157,7 @@
157 157 overflow: auto;
158 158 }
159 159 .software-block {
160   - height: 220px;
  160 + height: 218px;
161 161 }
162 162  
163 163 /*
... ... @@ -173,22 +173,28 @@
173 173  
174 174 .box-1 .software-block-finality,
175 175 .box-1 .software-block-content {
176   - padding-bottom: 32px;
  176 + /*padding-bottom: 32px;*/
  177 + text-align: right;
177 178 }
178 179 .software-block-finality {
179 180 background-color:#f4f4f4;
180 181 /*padding:10px;*/
181 182 border-radius: 8px;
182 183 width:142px;
183   - height: 185px;
  184 + height: 216px;
184 185 border: solid 1px #D7D7D7;
185 186 left:0px;
  187 + text-transform: uppercase;
186 188 }
187 189  
188 190 .software-block-finality p {
189 191 padding: 12px 12px 0 12px;
190   - height: 150px;
  192 + height: 170px;
191 193 overflow: hidden;
  194 + text-align: left;
  195 + border-bottom: solid 1px #D7D7D7;
  196 + margin: 0 0 7px 0;
  197 + text-transform: none;
192 198 }
193 199  
194 200 #content .software-block-finality a,
... ... @@ -205,7 +211,7 @@
205 211 padding-top: 9px;
206 212 }
207 213  
208   -.software-block-finality a::after {
  214 +.software-block-finality::after {
209 215 content:'>';
210 216 padding-left: 7px;
211 217 padding-right: 4px;
... ... @@ -215,10 +221,8 @@
215 221 font-size: 15px;
216 222 line-height: 20px;
217 223 text-align: center;
218   - margin-left: 5px;
219 224 position: relative;
220   - margin-left: 5px;
221   - top: 2px;
  225 + margin: 0 7px 0px 3px;
222 226 }
223 227  
224 228 .software-block-logo {
... ... @@ -314,7 +318,7 @@ margin: -10px 0px 10px 20px; /*-20px 20px;
314 318 }
315 319  
316 320 #content .box-1 .software-block {
317   - margin: 0px 26px 14px 0px;
  321 + margin: 0px 18px 14px 0px;
318 322 width: 145px;
319 323 }
320 324  
... ... @@ -406,16 +410,105 @@ margin: -10px 0px 10px 20px; /*-20px 20px;
406 410 max-height: 60px;
407 411 }
408 412  
409   -.block.display-content-block .lead p {
  413 +.block.display-content-block .lead a {
410 414 font-size: 15px;
411 415 font-family: Arial;
412   - line-height: 1.3em;
  416 + line-height: 1.3em;
  417 + color: #000000;
413 418 }
414 419  
415 420 .block.display-content-block .read_more, .block.display-content-block .tags {
416 421 display: none;
417 422 }
418 423  
  424 +.lead a:visited, #content .lead a:visited, .lead dl.portlet a:visited {
  425 + color: #000000;
  426 +}
  427 +
  428 +/* Tela de Noticias Antigas */
  429 +
  430 +#content .block.display-last-news-block .block-title {
  431 + border-top: 4px solid #643C67;
  432 + background: #eee;
  433 + color: #172738;
  434 +}
  435 +
  436 +.block.display-last-news-block li {
  437 + min-height: 88px;
  438 + border-top: 1px solid #eee;
  439 + padding-top: 24px;
  440 +}
  441 +
  442 +.block.display-last-news-block li:first-child {
  443 + border-top: 0px solid #eee;
  444 +}
  445 +
  446 +.block.display-last-news-block .image {
  447 + width: 106px;
  448 + height: 63px;
  449 + position: relative;
  450 + float:left;
  451 + border: 0px solid #c0c1c1;
  452 + border-radius: 8px;
  453 + margin: 2px 20px 25px 0;
  454 +}
  455 +
  456 +.block.display-last-news-block .image img {
  457 + max-width: 106px;
  458 + max-height: 63px;
  459 + border: 0px solid #c0c1c1;
  460 + border-radius: 8px;
  461 +}
  462 +
  463 +.block.display-last-news-block .published-at {
  464 + padding-bottom: 10px;
  465 + color: #172738;
  466 +}
  467 +
  468 +.block.display-last-news-block .title {
  469 + padding-left: 0px;
  470 + padding-right: 0px;
  471 + max-height: 40px;
  472 + overflow: hidden;
  473 + color: #172738;
  474 +}
  475 +
  476 +#content .block.display-last-news-block .title {
  477 + padding-right: 0px;
  478 +}
  479 +
  480 +.block.display-last-news-block .title a {
  481 + font-size: 16px;
  482 + font-family: Arial, Helvetica, sans-serif;
  483 + font-style: normal;
  484 + font-weight: bold;
  485 + line-height: 1.3em;
  486 + color: #172738
  487 + padding: 0;
  488 +}
  489 +
  490 +
  491 +.block.display-last-news-block .lead {
  492 + padding-left: 0px;
  493 + padding-right: 0px;
  494 + max-height: 23px;
  495 + overflow: hidden;
  496 +}
  497 +
  498 +.block.display-last-news-block .lead a {
  499 + font-size: 15px;
  500 + font-family: Arial;
  501 + line-height: 1.3em;
  502 + color: #172738;
  503 +}
  504 +
  505 +.block.display-last-news-block .read_more, .block.display-last-news-block .tags {
  506 + display: none;
  507 +}
  508 +
  509 +.block.display-last-news-block a:visited, #content .block.display-last-news-block a:visited, .block.display-last-news-block dl.portlet a:visited {
  510 + color: #172738;
  511 +}
419 512  
420 513 /*
421 514 .menu-submenu down{
... ...