Commit c59d9b4dad73f4188e95008a1e57abeb257c53c4

Authored by Arthur Sturzbecher
2 parents ba496fca 33dfcc3c

Merge branch 'master' of gitlab.com:softwarepublico/noosfero-spb-theme

Showing 2 changed files with 19 additions and 0 deletions   Show diff stats
style.css
... ... @@ -3317,6 +3317,7 @@ input[type=checkbox] {
3317 3317  
3318 3318 .ratings-list {
3319 3319 background-image: url('images/tela_listagem_relato_uso_v4_fechado.jpg');
  3320 + background-image: url('images/print_listagem.jpg');
3320 3321 background-repeat: no-repeat;
3321 3322 }*/
3322 3323  
... ... @@ -3349,6 +3350,7 @@ input[type=checkbox] {
3349 3350  
3350 3351 .ratings-list .user-rating-block .user-testimony-container .user-testimony {
3351 3352 font-size: 16px;
  3353 + line-height: 20px;
3352 3354 margin-top: 12px;
3353 3355 }
3354 3356  
... ...
theme.js
... ... @@ -163,6 +163,22 @@ $('#link-buscar').click(function(e) {
163 163 $('.star-tooltip').html("?");
164 164 }
165 165  
  166 + function set_arrow_direction() {
  167 + var additional_data_bar = $('#comments-additional-information');
  168 + var arrow = $('.comments-arrow-down');
  169 + var state = 0;
  170 +
  171 + additional_data_bar.on('click', function() {
  172 + if(state === 0) {
  173 + arrow.attr('class', "comments-arrow-up")
  174 + state = 1;
  175 + } else {
  176 + state = 0;
  177 + arrow.attr('class', "comments-arrow-down");
  178 + }
  179 + });
  180 + }
  181 +
166 182 $(document).ready(function(){
167 183 set_events();
168 184 move_article_buttons();
... ... @@ -170,5 +186,6 @@ $('#link-buscar').click(function(e) {
170 186 insert_notice_div();
171 187 set_uploaded_files_names();
172 188 set_tooltip_content();
  189 + set_arrow_direction();
173 190 });
174 191 })(jQuery);
... ...