diff --git a/app/assets/javascripts/comments.js.coffee b/app/assets/javascripts/comments.js.coffee index 876a89b20..fefe85544 100644 --- a/app/assets/javascripts/comments.js.coffee +++ b/app/assets/javascripts/comments.js.coffee @@ -52,5 +52,6 @@ App.Comments = children_container_id = "#{$(this).data().id}_children" $("##{children_container_id}").toggle('slow') App.Comments.toggle_arrow(children_container_id) + $(this).children('.js-child-toggle').toggle() false ) diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 6c6d739af..4c447479f 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -366,6 +366,10 @@ header { text-decoration: underline; } } + + ul { + margin-bottom: 0; + } } .subnavigation { @@ -509,7 +513,7 @@ footer { p { font-size: $small-font-size; - .info a { + &.info a { text-decoration: underline; } } @@ -546,6 +550,7 @@ footer { .subfooter { border-top: 1px solid $text-light; + font-size: $small-font-size; padding-top: $line-height/2; } @@ -577,7 +582,7 @@ footer { } } -h3.sidebar-title { +h2.sidebar-title { border-top: 2px solid $brand; display: inline-block; font-size: rem-calc(16); diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index 6dbaac394..c299d59cb 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -360,6 +360,13 @@ font-size: rem-calc(15); margin-bottom: rem-calc(15); } + + &.tags, &.geozone { + + li { + margin-bottom: 0; + } + } } .author-photo { @@ -383,7 +390,7 @@ aside { - h3 { + h2 { border-top: 2px solid $brand; display: inline-block; font-size: rem-calc(16); @@ -844,11 +851,15 @@ } p { - margin-bottom: 0; &.title { color: #FFD200; } + + &.title-date { + font-size: rem-calc(24); + font-weight: bold; + } } .info { diff --git a/app/views/comments/_comment.html.erb b/app/views/comments/_comment.html.erb index bf8bfb50d..3424e6fcc 100644 --- a/app/views/comments/_comment.html.erb +++ b/app/views/comments/_comment.html.erb @@ -74,7 +74,8 @@ <% if comment.children.size > 0 %> <%= link_to "", class: "js-toggle-children relative", data: {'id': "#{dom_id(comment)}"} do %> - <%= t("shared.show") %> + <%= t("shared.show") %> + <%= t("shared.hide") %> <%= t("comments.comment.responses", count: comment.children.size) %> <% end %> <% else %> diff --git a/app/views/debates/show.html.erb b/app/views/debates/show.html.erb index dca39677e..7a528ffa7 100644 --- a/app/views/debates/show.html.erb +++ b/app/views/debates/show.html.erb @@ -44,12 +44,12 @@