Commit 185e4a833430da5d94f5667b3c4470049018a71b
1 parent
a5c00e29
Exists in
master
and in
4 other branches
fix height of texts and add more categories con tracks block
Showing
1 changed file
with
10 additions
and
4 deletions
Show diff stats
_tracks.sass
| @@ -26,15 +26,21 @@ | @@ -26,15 +26,21 @@ | ||
| 26 | text-indent: 95px | 26 | text-indent: 95px |
| 27 | .name | 27 | .name |
| 28 | color: #696778 !important | 28 | color: #696778 !important |
| 29 | + max-height: 38px | ||
| 29 | font-family: 'Ubuntu Mediun' | 30 | font-family: 'Ubuntu Mediun' |
| 30 | font-size: 16px | 31 | font-size: 16px |
| 31 | font-weight: normal | 32 | font-weight: normal |
| 33 | + line-height: 18px | ||
| 32 | margin: 20px 10px 15px | 34 | margin: 20px 10px 15px |
| 35 | + overflow: hidden | ||
| 33 | padding: 0 | 36 | padding: 0 |
| 34 | .lead | 37 | .lead |
| 35 | - margin: 0 10px | ||
| 36 | color: #696778 | 38 | color: #696778 |
| 39 | + max-height: 48px | ||
| 37 | font-size: 14px | 40 | font-size: 14px |
| 41 | + line-height: 16px | ||
| 42 | + margin: 0 10px | ||
| 43 | + overflow: hidden | ||
| 38 | .track_stats | 44 | .track_stats |
| 39 | background: #3C9BAF | 45 | background: #3C9BAF |
| 40 | border: none | 46 | border: none |
| @@ -70,7 +76,7 @@ | @@ -70,7 +76,7 @@ | ||
| 70 | width: 28px | 76 | width: 28px |
| 71 | span | 77 | span |
| 72 | display: none | 78 | display: none |
| 73 | - &.category_cultura | 79 | + &.category_cultura, &.category_lazer, &.category_esporte |
| 74 | background: #FAF9EE | 80 | background: #FAF9EE |
| 75 | border-color: #F4DFBE | 81 | border-color: #F4DFBE |
| 76 | .track_content | 82 | .track_content |
| @@ -82,7 +88,7 @@ | @@ -82,7 +88,7 @@ | ||
| 82 | background: #FA9E00 | 88 | background: #FA9E00 |
| 83 | .read_more a | 89 | .read_more a |
| 84 | background: transparent url('images/home/read-more-cult.png') no-repeat center center | 90 | background: transparent url('images/home/read-more-cult.png') no-repeat center center |
| 85 | - &.category_aguas | 91 | + &.category_aguas, &.category_infracoes-ambientais, &.category_qualidade-ambiental, &.category_ambientes-ocupados-pelo-homem, &.category_areas-protegidas, &.category_biodiversidade, &.category_cidadania-ambiental, &.category_economia-e-meio-ambiente, &.category_gestao-de-meio-ambiente, &.category_florestas |
| 86 | background: #F7FAE7 | 92 | background: #F7FAE7 |
| 87 | border-color: #DDE5BF | 93 | border-color: #DDE5BF |
| 88 | .track_content | 94 | .track_content |
| @@ -94,7 +100,7 @@ | @@ -94,7 +100,7 @@ | ||
| 94 | background: #9DB329 | 100 | background: #9DB329 |
| 95 | .read_more a | 101 | .read_more a |
| 96 | background: transparent url('images/home/read-more-env.png') no-repeat center center | 102 | background: transparent url('images/home/read-more-env.png') no-repeat center center |
| 97 | - &.category_ciencia-e-tecnologia | 103 | + &.category_ciencia-e-tecnologia, &.category_comunicacao, &.category_informacao |
| 98 | background: #F4FBFB | 104 | background: #F4FBFB |
| 99 | border-color: #0D3E6A | 105 | border-color: #0D3E6A |
| 100 | .track_content | 106 | .track_content |