Commit 4e38514b7404b4109907d1c6007ae7499b6f4979
Committed by
Álvaro Fernando Matos de Souza
1 parent
2ff832d8
Exists in
master_with_pkg_fixes
and in
2 other branches
Fix rating cooldown button
Showing
2 changed files
with
9 additions
and
7 deletions
Show diff stats
src/noosfero-spb-theme/css/use-report.css
... | ... | @@ -381,6 +381,7 @@ |
381 | 381 | width: 60px; |
382 | 382 | overflow: hidden; |
383 | 383 | border-radius: 4px; |
384 | + margin: auto; | |
384 | 385 | } |
385 | 386 | |
386 | 387 | .ratings-list .star-profile-information .star-profile-image img { |
... | ... | @@ -462,7 +463,7 @@ |
462 | 463 | |
463 | 464 | .make-report-block .star-profile-information .star-profile-name { |
464 | 465 | margin-top: 8px; |
465 | - width: 70px; | |
466 | + width: 60px; | |
466 | 467 | } |
467 | 468 | |
468 | 469 | .ratings-list .make-report-block .make-report-container { |
... | ... | @@ -475,11 +476,11 @@ |
475 | 476 | font-size: 18px; |
476 | 477 | } |
477 | 478 | |
478 | -.ratings-list .make-report-block .make-report-container .button-bar { | |
479 | +#content .ratings-list .make-report-block .make-report-container .button-bar { | |
479 | 480 | padding-top: 6px; |
480 | 481 | } |
481 | 482 | |
482 | -.ratings-list .make-report-block .make-report-container .alert { | |
483 | +#content .ratings-list .make-report-block .make-report-container .alert { | |
483 | 484 | margin-top: 37px; |
484 | 485 | padding-left: 1px; |
485 | 486 | } |
... | ... | @@ -497,16 +498,16 @@ |
497 | 498 | text-transform: uppercase; |
498 | 499 | } |
499 | 500 | |
500 | -.star-rate-data .rating-cooldown, | |
501 | -.star-rate-data .rating-vote-once { | |
501 | +#content .star-rate-data .rating-cooldown, | |
502 | +#content .star-rate-data .rating-vote-once { | |
502 | 503 | font-family: Arial; |
503 | 504 | font-size: 18px; |
504 | 505 | font-style: italic; |
505 | 506 | word-break: break-word; |
506 | 507 | } |
507 | 508 | |
508 | -.star-rate-data .rating-cooldown .button-bar a.disabled-button, | |
509 | -.star-rate-data .rating-vote-once .button-bar a.disabled-button { | |
509 | +#content .star-rate-data .rating-cooldown .button-bar a.disabled-button, | |
510 | +#content .star-rate-data .rating-vote-once .button-bar a.disabled-button { | |
510 | 511 | cursor: not-allowed; |
511 | 512 | opacity: 0.4; |
512 | 513 | } | ... | ... |
src/noosfero-spb-theme/theme.js
... | ... | @@ -227,6 +227,7 @@ $('#link-buscar').click(function(e) { |
227 | 227 | function set_use_report_content() { |
228 | 228 | $('.profile-homepage .organization-average-rating-container .rate-this-organization a').html('Avalie este software'); |
229 | 229 | $('.make-report-block .make-report-container .button-bar a span').html('Avalie este software'); |
230 | + $('.star-rate-data .star-rate-form.rating-cooldown .button-bar a span').html('Avalie este software'); | |
230 | 231 | $('.make-report-block .make-report-container .make-report-message').html('Relate sua experiência ou do órgão/empresa com relação ao software.'); |
231 | 232 | $('.ratings-list .see-more a.icon-arrow-right-p').html('veja todos os relatos'); |
232 | 233 | $('.main-content .star-rate-data .star-rate-form .star-comment-container .button-bar input').attr('value', 'Enviar'); | ... | ... |