Commit 662f8276683865e9649efafab76a44c55d14c079
1 parent
53470fb0
Exists in
master
and in
11 other branches
Fix proposals list
Showing
3 changed files
with
4 additions
and
37 deletions
Show diff stats
js/main.js
| ... | ... | @@ -48,6 +48,7 @@ $.getJSON(noosferoAPI) |
| 48 | 48 | $('#proposal-group').show(); |
| 49 | 49 | $('#nav-proposal-group a').addClass('active'); |
| 50 | 50 | $('#nav-proposal-categories a').removeClass('active'); |
| 51 | + $(".proposal-item").dotdotdot(); | |
| 51 | 52 | event.preventDefault(); |
| 52 | 53 | }); |
| 53 | 54 | $( '.proposal-item a' ).click(function(event){ | ... | ... |
sass/_proposal_categories.scss
sass/_proposal_group.scss
| 1 | -#proposal-group{ | |
| 2 | - background: #fff; | |
| 3 | - clear: both; | |
| 4 | - margin: 0; | |
| 5 | - width: 100%; | |
| 6 | - padding: 10px; | |
| 7 | - text-align: center; | |
| 8 | - li { | |
| 9 | - list-style: none; | |
| 10 | - display: inline-block; | |
| 11 | - } | |
| 12 | - a { | |
| 13 | - text-decoration: none; | |
| 14 | - color: #fff; | |
| 15 | - margin: 10px; | |
| 16 | - -webkit-border-radius: 6px; | |
| 17 | - -moz-border-radius: 6px; | |
| 18 | - border-radius: 6px; | |
| 19 | - background-position: center 30px; | |
| 20 | - background-repeat: no-repeat; | |
| 21 | - width: 140px; | |
| 22 | - height: 40px; | |
| 23 | - display: inline-block; | |
| 24 | - font-size: 14px; | |
| 25 | - font-family: asap_bold, sans; | |
| 26 | - font-weight: bolder; | |
| 27 | - text-align: center; | |
| 28 | - padding-top: 100px; | |
| 29 | - overflow: hidden; | |
| 30 | - border-width: 2px; | |
| 31 | - border-style: solid; | |
| 32 | - hover: { | |
| 33 | - border-color: #fff !important; | |
| 34 | - } | |
| 35 | - } | |
| 1 | +#proposal-group { | |
| 2 | + @extend #proposal-categories; | |
| 36 | 3 | } |
| 37 | - | ... | ... |