Commit c9b64d936fae106be1ae2e398db793c6c21efe14

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

New News Block css.

Showing 2 changed files with 94 additions and 13 deletions   Show diff stats
page-inicial.css
@@ -173,6 +173,7 @@ text-align: center; @@ -173,6 +173,7 @@ text-align: center;
173 .box-1 .softwares-block .common-profile-list-block span { 173 .box-1 .softwares-block .common-profile-list-block span {
174 margin-top:40px; 174 margin-top:40px;
175 width:110px; 175 width:110px;
  176 + color: #2c66ce;
176 } 177 }
177 178
178 .box-1 .softwares-block .common-profile-list-block .org{ 179 .box-1 .softwares-block .common-profile-list-block .org{
@@ -216,6 +217,73 @@ margin: -10px 0px 10px 20px; /*-20px 20px; @@ -216,6 +217,73 @@ margin: -10px 0px 10px 20px; /*-20px 20px;
216 display:none; 217 display:none;
217 } 218 }
218 219
  220 +
  221 +/* Bloco de notícias (Display contents) */
  222 +
  223 +#content .block.display-content-block .block-title {
  224 + margin: 0px 0px 0px 0px;
  225 + border-top: 4px solid #643C67;
  226 + background: #eee;
  227 + color: #643C67;
  228 +}
  229 +
  230 +.block.display-content-block li {
  231 + min-height: 120px;
  232 + border-top: 1px solid #eee;
  233 + padding-top: 15px;
  234 +}
  235 +
  236 +.block.display-content-block li:first-child {
  237 + border-top: 0px solid #eee;
  238 +}
  239 +
  240 +.block.display-content-block .image {
  241 + width: 100px;
  242 + height: 90px;
  243 + position: absolute;
  244 + margin-top: 35px;
  245 +}
  246 +
  247 +.block.display-content-block .image img {
  248 + max-width: 150px;
  249 + max-height: 90px;
  250 + border: 1px solid #c0c1c1;
  251 + border-radius: 8px;
  252 +}
  253 +
  254 +.block.display-content-block .published-at {
  255 + padding-bottom: 15px;
  256 + color: #643C67;
  257 +}
  258 +
  259 +.block.display-content-block .title {
  260 + padding-left: 160px;
  261 + padding-right: 0px;
  262 +}
  263 +
  264 +.block.display-content-block .title a {
  265 + font-size: 16px;
  266 + font-family: Arial, Helvetica, sans-serif;
  267 + line-height: 1.3em;
  268 + color: #172938
  269 +}
  270 +
  271 +.block.display-content-block .lead {
  272 + padding-left: 160px;
  273 + padding-right: 0px;
  274 +}
  275 +
  276 +.block.display-content-block .lead p {
  277 + font-size: 15px;
  278 + font-family: Arial;
  279 + line-height: 1.3em;
  280 +}
  281 +
  282 +.block.display-content-block .read_more, .block.display-content-block .tags {
  283 + display: none;
  284 +}
  285 +
  286 +
219 /* 287 /*
220 .menu-submenu down{ 288 .menu-submenu down{
221 289
@@ -224,4 +292,4 @@ margin: -10px 0px 10px 20px; /*-20px 20px; @@ -224,4 +292,4 @@ margin: -10px 0px 10px 20px; /*-20px 20px;
224 .menu-submenu-content, 292 .menu-submenu-content,
225 .menu-submenu-footer { 293 .menu-submenu-footer {
226 294
227 -}*/  
228 \ No newline at end of file 295 \ No newline at end of file
  296 +}*/
@@ -390,6 +390,10 @@ p { @@ -390,6 +390,10 @@ p {
390 display: inline-block; 390 display: inline-block;
391 } 391 }
392 392
  393 +.block a:hover {
  394 + text-decoration: none;
  395 +}
  396 +
393 .box-1 { 397 .box-1 {
394 /* display: inline-block;*/ 398 /* display: inline-block;*/
395 /*width: 490px;*/ 399 /*width: 490px;*/
@@ -428,6 +432,7 @@ p { @@ -428,6 +432,7 @@ p {
428 text-transform: uppercase; 432 text-transform: uppercase;
429 font-family: "open_sansbold", Arial, Helvetica, sans-serif; 433 font-family: "open_sansbold", Arial, Helvetica, sans-serif;
430 font-variant: normal; 434 font-variant: normal;
  435 + margin: 0px 0px 2px 0px;
431 } 436 }
432 437
433 #content .box .read-more { 438 #content .box .read-more {
@@ -511,6 +516,14 @@ p { @@ -511,6 +516,14 @@ p {
511 margin-bottom: 0; 516 margin-bottom: 0;
512 } 517 }
513 518
  519 +#content .link-list-block li a {
  520 + line-height: 30px;
  521 +}
  522 +
  523 +#content .link-list-block h3.empty + ul {
  524 + border-top: 1px solid #ddd;
  525 +}
  526 +
514 #content .link-list-block li { 527 #content .link-list-block li {
515 border-bottom: 1px solid #ddd; 528 border-bottom: 1px solid #ddd;
516 border-top: none; 529 border-top: none;
@@ -522,17 +535,16 @@ p { @@ -522,17 +535,16 @@ p {
522 #content .link-list-block li a { 535 #content .link-list-block li a {
523 background-color: #fff; 536 background-color: #fff;
524 /*border-bottom: 1px solid #64946E !important;*/ 537 /*border-bottom: 1px solid #64946E !important;*/
525 - border-bottom: 1px solid #ccc !important;  
526 border-radius: 0 0 0 0; 538 border-radius: 0 0 0 0;
527 border-right: medium none; 539 border-right: medium none;
528 border-top: 0px solid #64946E !important; 540 border-top: 0px solid #64946E !important;
529 - color: #454545; /*#436976;*/ 541 + color: #2C66CE; /*#454545;*/
530 font-weight: normal; 542 font-weight: normal;
531 width: auto; 543 width: auto;
532 - font-size: 12px;  
533 - padding-left: 30px; 544 + font-size: 15px;
  545 + padding-left: 18px;
534 padding-right: 5px; 546 padding-right: 5px;
535 - background-position: 7px 50%; 547 + background-position: 0px 50%;
536 } 548 }
537 549
538 #content .link-list-block li a.link-this-page, 550 #content .link-list-block li a.link-this-page,
@@ -542,27 +554,28 @@ p { @@ -542,27 +554,28 @@ p {
542 } 554 }
543 555
544 556
545 -#content .box-2 .link-list-block li a:hover {  
546 - background-color: #eee; 557 +#content .box .link-list-block li a:hover {
  558 + background-color: #FFFFFF;
547 color: #000; 559 color: #000;
548 } 560 }
549 561
550 -#content .box-2 .link-list-block li a.link-this-page { 562 +#content .box .link-list-block li a.link-this-page {
551 background-color: #ffffff; /*#EEEFFF;*/ 563 background-color: #ffffff; /*#EEEFFF;*/
552 font-weight: bold; 564 font-weight: bold;
553 width: auto; 565 width: auto;
  566 + margin-left: 0px;
554 } 567 }
555 /* Menu List footer */ 568 /* Menu List footer */
556 - 569 +/*
557 #content .box-3 .block-title{ 570 #content .box-3 .block-title{
558 - margin:0;} 571 + margin:0;
  572 +}
559 573
560 574
561 #content .box-3 .link-list-block li a.link-this-page { 575 #content .box-3 .link-list-block li a.link-this-page {
562 width: auto; 576 width: auto;
563 border-right: none; 577 border-right: none;
564 font-weight: bold; 578 font-weight: bold;
565 - /*background-color:#eeefff;*/  
566 border-radius: 0px; 579 border-radius: 0px;
567 } 580 }
568 581
@@ -586,7 +599,7 @@ p { @@ -586,7 +599,7 @@ p {
586 padding: 0; 599 padding: 0;
587 margin: 0; 600 margin: 0;
588 } 601 }
589 - 602 +*/
590 .agenda-item a { 603 .agenda-item a {
591 color: black; 604 color: black;
592 } 605 }