Commit 930fa08083f8446962a28e54897a709af9449953

Authored by Adabriand Furtado
1 parent 2fa1132c
Exists in master

Fixes projects and footer layout

pybossa/themes/default/static/css/theme.css
@@ -46,6 +46,10 @@ footer a { @@ -46,6 +46,10 @@ footer a {
46 width: 100%; 46 width: 100%;
47 } 47 }
48 48
  49 +.wl-social-container {
  50 + text-align: center;
  51 +}
  52 +
49 @media (max-width: 768px) { 53 @media (max-width: 768px) {
50 body { 54 body {
51 margin: 0; 55 margin: 0;
@@ -76,6 +80,7 @@ footer a { @@ -76,6 +80,7 @@ footer a {
76 /* Projects */ 80 /* Projects */
77 .projects { 81 .projects {
78 padding-top: 30px; 82 padding-top: 30px;
  83 + padding-bottom: 15px;
79 } 84 }
80 85
81 a.title-brand:link { 86 a.title-brand:link {
@@ -554,6 +559,12 @@ h6 small { @@ -554,6 +559,12 @@ h6 small {
554 margin-left: 68px; 559 margin-left: 68px;
555 } 560 }
556 561
  562 +@media screen and (min-width: 768px) {
  563 + .wl-social-container {
  564 + text-align: left;
  565 + }
  566 +}
  567 +
557 @media screen and (min-width: 992px) { 568 @media screen and (min-width: 992px) {
558 .wl-balloon.-green { 569 .wl-balloon.-green {
559 margin-right: -110px; 570 margin-right: -110px;
pybossa/themes/default/templates/_footer.html
@@ -18,16 +18,18 @@ @@ -18,16 +18,18 @@
18 <br> 18 <br>
19 </div> 19 </div>
20 <div class="col-sm-5"> 20 <div class="col-sm-5">
21 - <p><strong>WikiLibras</strong> é uma plataforma colaborativa para construção de um dicionário em LIBRAS.</p>  
22 - <p class="social-buttons">  
23 - <a href="{{ url_for('home.about')}}"><span class="icon icon-question-sign"></span></a>  
24 - &nbsp;  
25 - <a href="mailto:wikilibras@lavid.ufpb.br"><span class="icon icon-envelope"></span></a>  
26 - &nbsp;  
27 - <a href="https://www.youtube.com/channel/UCF94lq7TwAu5OmlwIu44qpA" target="_blank"><span class="icon icon-youtube"></span></a>  
28 - &nbsp;  
29 - <a href="https://www.facebook.com/vlibras" target="_blank"><span class="icon icon-facebook"></span></a>  
30 - </p> 21 + <div class="wl-social-container">
  22 + <p><strong>WikiLibras</strong> é uma plataforma colaborativa para construção de um dicionário em LIBRAS.</p>
  23 + <p class="social-buttons">
  24 + <a href="{{ url_for('home.about')}}"><span class="icon icon-question-sign"></span></a>
  25 + &nbsp;
  26 + <a href="mailto:wikilibras@lavid.ufpb.br"><span class="icon icon-envelope"></span></a>
  27 + &nbsp;
  28 + <a href="https://www.youtube.com/channel/UCF94lq7TwAu5OmlwIu44qpA" target="_blank"><span class="icon icon-youtube"></span></a>
  29 + &nbsp;
  30 + <a href="https://www.facebook.com/vlibras" target="_blank"><span class="icon icon-facebook"></span></a>
  31 + </p>
  32 + </div>
31 </div> 33 </div>
32 </div> 34 </div>
33 </div> 35 </div>
pybossa/themes/default/templates/projects/index.html
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
9 <div class="container"> 9 <div class="container">
10 10
11 {% if projects %} 11 {% if projects %}
12 - <div class="projects"> 12 + <div class="projects clearfix">
13 {% for project in projects %} 13 {% for project in projects %}
14 {{ helper.show_project(project, active_cat.short_name, current_user, upload_method) }} 14 {{ helper.show_project(project, active_cat.short_name, current_user, upload_method) }}
15 {% endfor %} 15 {% endfor %}
@@ -25,7 +25,7 @@ @@ -25,7 +25,7 @@
25 <script> 25 <script>
26 $( function() { 26 $( function() {
27 // init Isotope 27 // init Isotope
28 - var $container = $('.projects').isotope({ 28 + /*var $container = $('.projects').isotope({
29 itemSelector: '.project-item', 29 itemSelector: '.project-item',
30 layoutMode: 'fitRows', 30 layoutMode: 'fitRows',
31 getSortData: { 31 getSortData: {
@@ -37,7 +37,7 @@ $( function() { @@ -37,7 +37,7 @@ $( function() {
37 progress: false, 37 progress: false,
38 activity: false, 38 activity: false,
39 } 39 }
40 - }); 40 + });*/
41 41
42 // bind sort button click 42 // bind sort button click
43 $('#sorts').on( 'click', 'a', function() { 43 $('#sorts').on( 'click', 'a', function() {