diff --git a/app/assets/fonts/icons.eot b/app/assets/fonts/icons.eot
index 81c974cd3..031a51268 100644
Binary files a/app/assets/fonts/icons.eot and b/app/assets/fonts/icons.eot differ
diff --git a/app/assets/fonts/icons.svg b/app/assets/fonts/icons.svg
index da328ba6e..eb3464e6c 100644
--- a/app/assets/fonts/icons.svg
+++ b/app/assets/fonts/icons.svg
@@ -35,4 +35,5 @@
+
diff --git a/app/assets/fonts/icons.ttf b/app/assets/fonts/icons.ttf
index 207ad475e..d40402b21 100644
Binary files a/app/assets/fonts/icons.ttf and b/app/assets/fonts/icons.ttf differ
diff --git a/app/assets/fonts/icons.woff b/app/assets/fonts/icons.woff
index fe9c25404..9cfd1b210 100644
Binary files a/app/assets/fonts/icons.woff and b/app/assets/fonts/icons.woff differ
diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss
index 08f95cd41..866394bfc 100644
--- a/app/assets/stylesheets/admin.scss
+++ b/app/assets/stylesheets/admin.scss
@@ -28,6 +28,14 @@ body.admin {
}
}
+ .dashboard {
+ text-align: justify;
+
+ h3 {
+ font-weight: bold;
+ }
+ }
+
.button.secondary {
margin-right: rem-calc(12);
}
diff --git a/app/assets/stylesheets/icons.scss b/app/assets/stylesheets/icons.scss
index 5d521a9ce..5a06bcc1d 100644
--- a/app/assets/stylesheets/icons.scss
+++ b/app/assets/stylesheets/icons.scss
@@ -120,4 +120,7 @@
}
.icon-google-plus:before {
content: "B";
-}
\ No newline at end of file
+}
+.icon-language:before {
+ content: "C";
+}
diff --git a/app/assets/stylesheets/participacion.scss b/app/assets/stylesheets/participacion.scss
index e893d5309..24f266b14 100644
--- a/app/assets/stylesheets/participacion.scss
+++ b/app/assets/stylesheets/participacion.scss
@@ -15,6 +15,7 @@
// 13. Pagination
// 14. Tables
// 15. Social
+// 16. Pages
//
// 01. Variables
@@ -97,6 +98,31 @@ a {
h1, h2, h3, h4, h5, h6 {
font-family: $font-family-sans-serif;
+ font-weight: bold;
+}
+
+h1 {
+ font-size: rem-calc(30);
+}
+
+h2 {
+ font-size: rem-calc(24);
+}
+
+h3 {
+ font-size: rem-calc(20);
+}
+
+h4 {
+ font-size: rem-calc(18);
+}
+
+h5 {
+ font-size: rem-calc(16);
+}
+
+h6 {
+ font-size: rem-calc(14);
}
.button {
@@ -187,6 +213,14 @@ h1, h2, h3, h4, h5, h6 {
margin-bottom: $line-height;
}
+.back, .icon-angle-left {
+ @include back;
+
+ & + h1 {
+ clear:both;
+ }
+}
+
// 04. Header
// - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -194,9 +228,8 @@ header {
background: url('header_bg.jpg');
background-position: 50% 50%;
background-size: cover;
- box-shadow: 0 1px 3px #999;
color: $text;
- min-height: rem-calc(480);
+ min-height: rem-calc(600);
&.results {
min-height: rem-calc(48);
@@ -227,6 +260,11 @@ header {
.home-page {
background-color: rgba(255,255,255,.85);
+ clear: both;
+
+ @media (min-width: $small-breakpoint) {
+ margin-top: rem-calc(66);
+ }
.button {
color: white;
@@ -261,6 +299,12 @@ header {
@media (min-width: $small-breakpoint) {
float: left;
}
+
+ .icon-language {
+ font-size: rem-calc(16);
+ line-height: rem-calc(24);
+ vertical-align: middle;
+ }
}
.external-links {
@@ -480,6 +524,7 @@ footer {
background: $brand;
color: white;
padding: rem-calc(24) 0 rem-calc(48) 0;
+ text-align: justify;
.logo {
@include logo;
@@ -750,14 +795,6 @@ form {
background: white;
padding-top: rem-calc(24);
- h1 {
- clear: both;
- font-size: rem-calc(36);
- font-weight: bold;
- line-height: $line-height*2;
- margin-bottom: rem-calc(24);
- }
-
.icon-debates {
color: $debates;
font-size: rem-calc(60);
@@ -773,15 +810,6 @@ form {
margin-bottom: $line-height;
}
- h2 {
- clear: both;
- font-size: rem-calc(30);
- font-weight: bold;
- line-height: $line-height;
- margin: 0;
- margin-bottom: rem-calc(12);
- }
-
h3 {
clear: both;
font-size: rem-calc(20);
@@ -807,6 +835,29 @@ form {
}
}
}
+
+ select {
+ height: rem-calc(48);
+ margin-right: rem-calc(12);
+ }
+
+ .date {
+
+ select {
+ float: left;
+ width: 25%;
+ }
+ }
+
+ .verify-account {
+ padding-right: rem-calc(12);
+
+ .verified {
+ color: $check;
+ font-weight: bold;
+ line-height: rem-calc(42);
+ }
+ }
}
img.avatar, img.admin-avatar, img.moderator-avatar {
@@ -1059,3 +1110,38 @@ table {
color: #CE3E26;
}
}
+
+// 16. Pages
+// - - - - - - - - - - - - - - - - - - - - - - - - -
+
+.page {
+ background: white;
+ min-height: 100%;
+
+ .menu {
+ margin-top: rem-calc(24);
+
+ a {
+ display: block;
+ margin-bottom: rem-calc(12);
+ }
+ }
+
+ .text {
+ margin-top: rem-calc(24);
+ text-align: justify;
+
+ ul {
+
+ li {
+ font-size: rem-calc(13);
+ margin-bottom: rem-calc(12);
+ }
+ }
+ }
+}
+
+
+
+
+
diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb
index 89b30c45c..845f82920 100644
--- a/app/controllers/pages_controller.rb
+++ b/app/controllers/pages_controller.rb
@@ -2,6 +2,9 @@ class PagesController < ApplicationController
skip_authorization_check
+ def help
+ end
+
def privacy
end
diff --git a/app/views/account/show.html.erb b/app/views/account/show.html.erb
index ad118d118..bf749bbd2 100644
--- a/app/views/account/show.html.erb
+++ b/app/views/account/show.html.erb
@@ -2,13 +2,13 @@
<%= link_to t("account.show.change_credentials_link"), edit_user_registration_path, class: 'button radius small secondary right' %>
-
+
<% if current_user.level_three_verified? %>
- <%= t("account.show.level_three_user") %>
+ <%= t("account.show.level_three_user") %>
<% elsif current_user.level_two_verified? %>
- <%= t("account.show.level_two_user") %>
+ <%= t("account.show.level_two_user") %>
<% else %>
- <%= link_to t("account.show.verify_my_account"), new_residence_path, class: 'button radius small secondary right' %>
+ <%= link_to t("account.show.verify_my_account"), new_residence_path, class: 'button radius small success right' %>
<% end %>
@@ -18,25 +18,23 @@
<%= render 'shared/errors', resource: @account %>
-
+
+
<%= t("account.show.avatar")%>
+ <%= avatar_image(@account, seed: @account.id, size: 60) %>
+
<%= t("account.show.personal")%>
+
<% if @account.organization? %>
-
<%= f.fields_for :organization do |fo| %>
<%= fo.text_field :name, autofocus: true, placeholder: t("account.show.organization_name_label") %>
<% end %>
<%= f.text_field :phone_number, placeholder: t("account.show.phone_number_label") %>
- <% else %>
+ <% else %>
<%= f.text_field :username, placeholder: t("account.show.username_label") %>
<% end %>
-
-
-
-
-
<%= t("account.show.avatar")%>
- <%= avatar_image(@account, seed: @account.id, size: 100) %>
+
<%= t("account.show.notifications")%>
diff --git a/app/views/admin/_menu.html.erb b/app/views/admin/_menu.html.erb
index 80744f635..89cf9694e 100644
--- a/app/views/admin/_menu.html.erb
+++ b/app/views/admin/_menu.html.erb
@@ -1,7 +1,7 @@
@@ -28,20 +28,23 @@
-
- <%= link_to t("layouts.header.welcome"), root_path %>
-
+
<%= link_to t("layouts.header.debates"), debates_path, class: ("active" if current_page?(controller: "/debates")) %>
+
- <%= link_to t("layouts.header.initiatives"), "#" %>
+ <%= link_to t("layouts.header.how_it_works"), "/how_it_works" %>
- <%= link_to t("layouts.header.how_it_works"), "#" %>
+ <%= link_to t("layouts.header.help"), "/help" %>
- <%= link_to t("layouts.header.external_link_blog"), "#" %>
+ <%= link_to t("layouts.header.external_link_blog"), t("layouts.header.external_link_blog_url"), target: "_blank" %>
diff --git a/app/views/moderation/_menu.html.erb b/app/views/moderation/_menu.html.erb
index f64eeec3a..ab2674ebb 100644
--- a/app/views/moderation/_menu.html.erb
+++ b/app/views/moderation/_menu.html.erb
@@ -1,7 +1,7 @@