diff --git a/js/main.js b/js/main.js index dc1736c..0c1a5a7 100644 --- a/js/main.js +++ b/js/main.js @@ -48,6 +48,7 @@ $.getJSON(noosferoAPI) $('#proposal-group').show(); $('#nav-proposal-group a').addClass('active'); $('#nav-proposal-categories a').removeClass('active'); + $(".proposal-item").dotdotdot(); event.preventDefault(); }); $( '.proposal-item a' ).click(function(event){ diff --git a/sass/_proposal_categories.scss b/sass/_proposal_categories.scss index 364b2c6..fc99da4 100644 --- a/sass/_proposal_categories.scss +++ b/sass/_proposal_categories.scss @@ -74,7 +74,7 @@ background: #fff; } - .proposal-category-items .proposal-item { + .proposal-item { width: 290px; height: 134px; margin: 10px; diff --git a/sass/_proposal_group.scss b/sass/_proposal_group.scss index 5ec1529..69fd9f1 100644 --- a/sass/_proposal_group.scss +++ b/sass/_proposal_group.scss @@ -1,37 +1,3 @@ -#proposal-group{ - background: #fff; - clear: both; - margin: 0; - width: 100%; - padding: 10px; - text-align: center; - li { - list-style: none; - display: inline-block; - } - a { - text-decoration: none; - color: #fff; - margin: 10px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - background-position: center 30px; - background-repeat: no-repeat; - width: 140px; - height: 40px; - display: inline-block; - font-size: 14px; - font-family: asap_bold, sans; - font-weight: bolder; - text-align: center; - padding-top: 100px; - overflow: hidden; - border-width: 2px; - border-style: solid; - hover: { - border-color: #fff !important; - } - } +#proposal-group { + @extend #proposal-categories; } - -- libgit2 0.21.2