Commit 18e07d8a7672656ed95f550a16bef50623feb9d2
Committed by
Álvaro Fernando Matos de Souza
1 parent
cb66b73a
Exists in
master_with_pkg_fixes
and in
2 other branches
fix software highlight block size and behavior with differents image proportions
Showing
1 changed file
with
16 additions
and
13 deletions
Show diff stats
src/noosfero-spb-theme/css/home-page.css
@@ -374,8 +374,8 @@ | @@ -374,8 +374,8 @@ | ||
374 | border: 1px solid #c0c1c1; | 374 | border: 1px solid #c0c1c1; |
375 | border-radius: 8px; | 375 | border-radius: 8px; |
376 | width: auto; | 376 | width: auto; |
377 | - height: 248px; | ||
378 | - max-height: 250px; | 377 | + height: 270px; |
378 | + max-height: 270px; | ||
379 | background-color: #e8e9ec; | 379 | background-color: #e8e9ec; |
380 | background-image: linear-gradient( | 380 | background-image: linear-gradient( |
381 | 0deg, | 381 | 0deg, |
@@ -385,37 +385,39 @@ | @@ -385,37 +385,39 @@ | ||
385 | } | 385 | } |
386 | 386 | ||
387 | .action-home-index #content .highlights-container { | 387 | .action-home-index #content .highlights-container { |
388 | - border-radius: 8px; | 388 | + border-radius: 8px 8px 0px 0px; |
389 | border-width: 0px 0px 1px 0px; | 389 | border-width: 0px 0px 1px 0px; |
390 | border-bottom: none; | 390 | border-bottom: none; |
391 | padding: 0; | 391 | padding: 0; |
392 | width: 100% !important; | 392 | width: 100% !important; |
393 | - max-height: 230px; | ||
394 | - background: transparent; | 393 | + max-height: 240px; |
394 | + background: #FFF; | ||
395 | position: relative; | 395 | position: relative; |
396 | top: 0; | 396 | top: 0; |
397 | } | 397 | } |
398 | 398 | ||
399 | .action-home-index #content .highlights-image-link { | 399 | .action-home-index #content .highlights-image-link { |
400 | - padding: 18px 0px 0px 0px; | 400 | + display: block; |
401 | + padding: 0px; | ||
401 | border-radius: 0px 0px 8px 8px; | 402 | border-radius: 0px 0px 8px 8px; |
402 | - width: 220px; | ||
403 | - max-height: 217px; | 403 | + height: 250px !important; |
404 | background-color: #fff; | 404 | background-color: #fff; |
405 | + opacity: 1.0 !important; | ||
405 | } | 406 | } |
406 | 407 | ||
407 | .action-home-index #content .highlights-image-link img { | 408 | .action-home-index #content .highlights-image-link img { |
408 | - height: 100px; | ||
409 | - max-width: 200px; | 409 | + height: 80px; |
410 | + max-width: 160px; | ||
411 | + padding: 30px; | ||
412 | + background: #FFF; | ||
410 | } | 413 | } |
411 | 414 | ||
412 | .action-home-index #content .highlights-label { | 415 | .action-home-index #content .highlights-label { |
413 | border-top: 4px solid #3b61a7; | 416 | border-top: 4px solid #3b61a7; |
414 | - padding: 23px 20px 46px 20px; | ||
415 | - max-height: 60px; | 417 | + padding: 20px; |
418 | + height: 100px; | ||
416 | width: 190px; | 419 | width: 190px; |
417 | position: relative; | 420 | position: relative; |
418 | - bottom: -18px; | ||
419 | background: #e8e9ec; | 421 | background: #e8e9ec; |
420 | color: #172638; | 422 | color: #172638; |
421 | text-align: center; | 423 | text-align: center; |
@@ -427,6 +429,7 @@ | @@ -427,6 +429,7 @@ | ||
427 | float: none; | 429 | float: none; |
428 | display: block; | 430 | display: block; |
429 | text-align: center; | 431 | text-align: center; |
432 | + padding: 10px 0px; | ||
430 | } | 433 | } |
431 | 434 | ||
432 | .action-home-index #content .highlights-block-pager a { | 435 | .action-home-index #content .highlights-block-pager a { |