Commit a2ec3177d03baa0ac8842b7036eff2f4dabb5743

Authored by Pedro de Lyra Pereira
1 parent 30a45bc1
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

Adding small adjustments to use report list

Showing 2 changed files with 47 additions and 2 deletions   Show diff stats
style.css
... ... @@ -3398,7 +3398,7 @@ input[type=checkbox] {
3398 3398 }
3399 3399  
3400 3400 .ratings-list .make-report-block {
3401   - background-image: url('images/test.jpg');
  3401 + /*background-image: url('images/test.jpg');*/
3402 3402 background-repeat: no-repeat;
3403 3403 padding-top: 32px;
3404 3404 }
... ... @@ -3407,6 +3407,11 @@ input[type=checkbox] {
3407 3407 padding-right: 13px;
3408 3408 }
3409 3409  
  3410 +.make-report-block .star-profile-information .star-profile-name {
  3411 + margin-top: 8px;
  3412 + width: 70px;
  3413 +}
  3414 +
3410 3415 .ratings-list .make-report-block .make-report-container {
3411 3416 padding-top: 2px;
3412 3417 }
... ... @@ -3416,11 +3421,44 @@ input[type=checkbox] {
3416 3421 }
3417 3422  
3418 3423 .ratings-list .make-report-block .make-report-container .button-bar {
3419   - padding-top: 28px;
  3424 + padding-top: 6px;
3420 3425 }
3421 3426  
3422 3427 .ratings-list .make-report-block .make-report-container .button-bar a {
  3428 + background-color: #3E67B1 !important;
3423 3429 background-image: none;
  3430 + color: #fff !important;
  3431 + font-weight: 700;
  3432 + font-size: 14px;
  3433 + height: 31px;
  3434 + padding: 0px 7px 0px 7px;
  3435 + text-transform: uppercase;
  3436 +}
  3437 +
  3438 +.ratings-list a.icon-arrow-right-p {
  3439 + background: none;
  3440 + /*background-image: url('images/teste2.jpg');*/
  3441 + color: #172738 !important;
  3442 + font-family: 'Open Sans';
  3443 + font-size: 11px;
  3444 + float: none;
  3445 + margin-top: 0px;
  3446 + padding-right: 0px;
  3447 + padding-top: 22px;
  3448 + padding-bottom: 20px;
  3449 + text-align: right;
  3450 + text-transform: uppercase;
  3451 +}
  3452 +
  3453 +.ratings-list a.icon-arrow-right-p:after {
  3454 + background-color: #3E67B1 !important;
  3455 + border-radius: 4px;
  3456 + content: url('images/right-arrow.png');
  3457 + font-size: 15px;
  3458 + line-height: 20px;
  3459 + margin-left: 9px;
  3460 + padding-left: 8px;
  3461 + padding-right: 5px;
3424 3462 text-align: center;
3425 3463 }
3426 3464  
... ...
theme.js
... ... @@ -179,6 +179,12 @@ $('#link-buscar').click(function(e) {
179 179 });
180 180 }
181 181  
  182 + function set_use_report_content() {
  183 + $('.make-report-block .make-report-container .button-bar a span').html('relatar uso');
  184 + $('.make-report-block .make-report-container .make-report-message').html('Relate sua experiência ou do órgão/empresa com relação ao software.');
  185 + $('.ratings-list a.icon-arrow-right-p').html('veja todos os relatos');
  186 + }
  187 +
182 188 $(document).ready(function(){
183 189 set_events();
184 190 move_article_buttons();
... ... @@ -187,5 +193,6 @@ $('#link-buscar').click(function(e) {
187 193 set_uploaded_files_names();
188 194 set_tooltip_content();
189 195 set_arrow_direction();
  196 + set_use_report_content();
190 197 });
191 198 })(jQuery);
... ...