Commit 48575ff4c01e69158877b66a16aabf7e4d68a072
Committed by
Álvaro Fernando Matos de Souza
1 parent
d331b98b
Exists in
master_with_pkg_fixes
and in
2 other branches
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,12 +159,18 @@ | ||
159 | } | 159 | } |
160 | 160 | ||
161 | #content .main-content .star-rate-data .star-profile-information .star-profile-image { | 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 | #content .main-content .star-rate-data .star-profile-information .star-profile-image img { | 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 | width: 60px; | 174 | width: 60px; |
169 | } | 175 | } |
170 | 176 | ||
@@ -367,12 +373,19 @@ | @@ -367,12 +373,19 @@ | ||
367 | 373 | ||
368 | .ratings-list .user-rating-block .star-profile-information .star-profile-name { | 374 | .ratings-list .user-rating-block .star-profile-information .star-profile-name { |
369 | line-height: 16px; | 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 | height: 60px; | 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 | .ratings-list .user-rating-block .user-testimony-container { | 391 | .ratings-list .user-rating-block .user-testimony-container { |
@@ -471,17 +484,16 @@ | @@ -471,17 +484,16 @@ | ||
471 | padding-left: 1px; | 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 | background-color: #3E67B1; | 490 | background-color: #3E67B1; |
478 | background-image: none; | 491 | background-image: none; |
479 | color: #fff; | 492 | color: #fff; |
480 | font-weight: 700; | 493 | font-weight: 700; |
481 | font-size: 14px; | 494 | font-size: 14px; |
482 | font-style: normal; | 495 | font-style: normal; |
483 | - height: 31px; | ||
484 | - padding: 0px 7px 0px 7px; | 496 | + padding: 8px 12px 8px 8px; |
485 | text-transform: uppercase; | 497 | text-transform: uppercase; |
486 | } | 498 | } |
487 | 499 |