Commit 48575ff4c01e69158877b66a16aabf7e4d68a072

Authored by Melissa Wen
Committed by Álvaro Fernando Matos de Souza
1 parent d331b98b

fix profile image size proportions on areas of use report and rate this software button on homepage

Showing 1 changed file with 23 additions and 11 deletions   Show diff stats
src/noosfero-spb-theme/css/use-report.css
... ... @@ -159,12 +159,18 @@
159 159 }
160 160  
161 161 #content .main-content .star-rate-data .star-profile-information .star-profile-image {
162   - padding-top: 1px;
  162 + height: 60px;
  163 + width: 60px;
  164 + overflow: hidden;
  165 + border-radius: 4px;
163 166 }
164 167  
165 168 #content .main-content .star-rate-data .star-profile-information .star-profile-image img {
166   - border-radius: 4px;
167   - height: 60px;
  169 + height: auto;
  170 + width: 60px;
  171 +}
  172 +
  173 +#content .main-content .star-rate-data .star-profile-information .star-profile-name{
168 174 width: 60px;
169 175 }
170 176  
... ... @@ -367,12 +373,19 @@
367 373  
368 374 .ratings-list .user-rating-block .star-profile-information .star-profile-name {
369 375 line-height: 16px;
370   - width: 70px;
  376 + width: 60px;
371 377 }
372 378  
373   -.ratings-list .star-profile-information .star-profile-image img {
374   - border-radius: 4px;
  379 +.ratings-list .star-profile-information .star-profile-image {
375 380 height: 60px;
  381 + width: 60px;
  382 + overflow: hidden;
  383 + border-radius: 4px;
  384 +}
  385 +
  386 +.ratings-list .star-profile-information .star-profile-image img {
  387 + height: auto;
  388 + width: 60px;
376 389 }
377 390  
378 391 .ratings-list .user-rating-block .user-testimony-container {
... ... @@ -471,17 +484,16 @@
471 484 padding-left: 1px;
472 485 }
473 486  
474   -.ratings-list .make-report-block .make-report-container .button-bar a,
475   -.star-rate-data .rating-cooldown .button-bar a,
476   -.star-rate-data .rating-vote-once .button-bar a {
  487 +#content .ratings-list .make-report-block .make-report-container .button-bar a,
  488 +#content .star-rate-data .rating-cooldown .button-bar a,
  489 +#content .star-rate-data .rating-vote-once .button-bar a {
477 490 background-color: #3E67B1;
478 491 background-image: none;
479 492 color: #fff;
480 493 font-weight: 700;
481 494 font-size: 14px;
482 495 font-style: normal;
483   - height: 31px;
484   - padding: 0px 7px 0px 7px;
  496 + padding: 8px 12px 8px 8px;
485 497 text-transform: uppercase;
486 498 }
487 499  
... ...