diff --git a/Gemfile b/Gemfile index cbe3d1ece..0d9f64f56 100644 --- a/Gemfile +++ b/Gemfile @@ -60,8 +60,6 @@ gem 'browser' gem 'turnout' gem 'redcarpet' -gem 'font-awesome-sass', '~> 4.5.0' # icons - group :development, :test do # Call 'byebug' anywhere in the code to stop execution and get a debugger console gem 'byebug' diff --git a/Gemfile.lock b/Gemfile.lock index 7726d1248..fab1252d1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -163,8 +163,6 @@ GEM i18n (~> 0.5) faraday (0.9.2) multipart-post (>= 1.2, < 3) - font-awesome-sass (4.5.0) - sass (>= 3.2) foundation-rails (6.2.0.1) railties (>= 3.1.0) sass (>= 3.3.0, < 3.5) @@ -459,7 +457,6 @@ DEPENDENCIES email_spec factory_girl_rails faker - font-awesome-sass (~> 4.5.0) foundation-rails foundation_rails_helper fuubar diff --git a/app/assets/fonts/icons.eot b/app/assets/fonts/icons.eot index 7323d578f..5fe0c1d3d 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 e272b9550..51044c3e2 100644 --- a/app/assets/fonts/icons.svg +++ b/app/assets/fonts/icons.svg @@ -48,4 +48,5 @@ + diff --git a/app/assets/fonts/icons.ttf b/app/assets/fonts/icons.ttf index 4db54078d..b0b156581 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 33d2d4dee..edcc9bc61 100644 Binary files a/app/assets/fonts/icons.woff and b/app/assets/fonts/icons.woff differ diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 445af82fb..68065e82a 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -12,5 +12,3 @@ @import "annotator_overrides"; @import "jquery-ui/datepicker"; @import "datepicker_overrides"; -@import "font-awesome-sprockets"; -@import "font-awesome"; diff --git a/app/assets/stylesheets/icons.scss b/app/assets/stylesheets/icons.scss index b13b09f46..2c06f745a 100644 --- a/app/assets/stylesheets/icons.scss +++ b/app/assets/stylesheets/icons.scss @@ -160,3 +160,6 @@ .icon-no-notification:before { content: "\78"; } +.icon-whatsapp:before { + content: "\50"; +} diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index a8ee508d6..afa0659e7 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -337,18 +337,20 @@ .debate-show, .proposal-show { - .social_share_full .social-share-button{ + .social-share-full .social-share-button{ display:inline; } - .whatsapp{ + .whatsapp:before{ + vertical-align: 10px; margin-left: 0.5px; color: white; - vertical-align: top; background-color: #43d854; - padding: 7px 9.5px 7px 9.5px; + padding: 9.5px 9.8px 9.5px 9.8px; + font-size: 1.7em; } + .edit-debate, .edit-proposal { margin-bottom: 0; } diff --git a/app/views/debates/show.html.erb b/app/views/debates/show.html.erb index 459561c10..4182fab9a 100644 --- a/app/views/debates/show.html.erb +++ b/app/views/debates/show.html.erb @@ -54,11 +54,11 @@

<%= t("debates.show.share") %>

-

<%= t("proposals.show.share") %>

-