workarea-share 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +20 -0
  3. data/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
  4. data/.github/ISSUE_TEMPLATE/documentation-request.md +17 -0
  5. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  6. data/.gitignore +14 -0
  7. data/CHANGELOG.md +108 -0
  8. data/CODE_OF_CONDUCT.md +3 -0
  9. data/CONTRIBUTING.md +3 -0
  10. data/Gemfile +9 -0
  11. data/LICENSE +52 -0
  12. data/README.md +59 -0
  13. data/Rakefile +52 -0
  14. data/app/assets/images/workarea/storefront/share/icons/email.svg +4 -0
  15. data/app/assets/stylesheets/workarea/storefront/share/components/_share_buttons.scss +14 -0
  16. data/app/controllers/workarea/storefront/shares_controller.rb +42 -0
  17. data/app/helpers/workarea/storefront/shares_helper.rb +39 -0
  18. data/app/mailers/workarea/storefront/share_mailer.rb +17 -0
  19. data/app/models/workarea/email/share.rb +39 -0
  20. data/app/seeds/shares_seeds.rb +22 -0
  21. data/app/view_models/workarea/storefront/share_view_model.rb +43 -0
  22. data/app/views/workarea/storefront/pages/_shares_robots.text +1 -0
  23. data/app/views/workarea/storefront/products/_share.html.haml +1 -0
  24. data/app/views/workarea/storefront/share_mailer/share.html.haml +21 -0
  25. data/app/views/workarea/storefront/shares/_share_buttons.html.haml +16 -0
  26. data/app/views/workarea/storefront/shares/new.html.haml +50 -0
  27. data/app/views/workarea/storefront/style_guides/components/_share_buttons.html.haml +14 -0
  28. data/bin/rails +17 -0
  29. data/config/initializers/appends.rb +14 -0
  30. data/config/initializers/configuration.rb +6 -0
  31. data/config/initializers/rack_attack.rb +10 -0
  32. data/config/initializers/recaptcha.rb +9 -0
  33. data/config/locales/en.yml +30 -0
  34. data/config/routes.rb +5 -0
  35. data/lib/tasks/share_tasks.rake +4 -0
  36. data/lib/workarea/mailer_previews/storefront/share_mailer_preview.rb +10 -0
  37. data/lib/workarea/share.rb +13 -0
  38. data/lib/workarea/share/engine.rb +15 -0
  39. data/lib/workarea/share/version.rb +5 -0
  40. data/test/dummy/Rakefile +6 -0
  41. data/test/dummy/app/assets/config/manifest.js +4 -0
  42. data/test/dummy/app/assets/images/.keep +0 -0
  43. data/test/dummy/app/assets/javascripts/application.js +13 -0
  44. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  45. data/test/dummy/app/controllers/application_controller.rb +3 -0
  46. data/test/dummy/app/controllers/concerns/.keep +0 -0
  47. data/test/dummy/app/helpers/application_helper.rb +2 -0
  48. data/test/dummy/app/jobs/application_job.rb +2 -0
  49. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  50. data/test/dummy/app/models/concerns/.keep +0 -0
  51. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  52. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  53. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  54. data/test/dummy/bin/bundle +3 -0
  55. data/test/dummy/bin/rails +4 -0
  56. data/test/dummy/bin/rake +4 -0
  57. data/test/dummy/bin/setup +34 -0
  58. data/test/dummy/bin/update +29 -0
  59. data/test/dummy/config.ru +5 -0
  60. data/test/dummy/config/application.rb +17 -0
  61. data/test/dummy/config/boot.rb +5 -0
  62. data/test/dummy/config/cable.yml +9 -0
  63. data/test/dummy/config/environment.rb +5 -0
  64. data/test/dummy/config/environments/development.rb +54 -0
  65. data/test/dummy/config/environments/production.rb +86 -0
  66. data/test/dummy/config/environments/test.rb +43 -0
  67. data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
  68. data/test/dummy/config/initializers/assets.rb +11 -0
  69. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  70. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  71. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  72. data/test/dummy/config/initializers/inflections.rb +16 -0
  73. data/test/dummy/config/initializers/mime_types.rb +4 -0
  74. data/test/dummy/config/initializers/new_framework_defaults.rb +21 -0
  75. data/test/dummy/config/initializers/session_store.rb +5 -0
  76. data/test/dummy/config/initializers/workarea.rb +5 -0
  77. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  78. data/test/dummy/config/locales/en.yml +23 -0
  79. data/test/dummy/config/puma.rb +47 -0
  80. data/test/dummy/config/routes.rb +5 -0
  81. data/test/dummy/config/secrets.yml +22 -0
  82. data/test/dummy/config/spring.rb +6 -0
  83. data/test/dummy/lib/assets/.keep +0 -0
  84. data/test/dummy/log/.keep +0 -0
  85. data/test/dummy/public/404.html +67 -0
  86. data/test/dummy/public/422.html +67 -0
  87. data/test/dummy/public/500.html +66 -0
  88. data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
  89. data/test/dummy/public/apple-touch-icon.png +0 -0
  90. data/test/dummy/public/favicon.ico +1 -0
  91. data/test/helpers/shares_helper_test.rb +30 -0
  92. data/test/integration/workarea/storefront/sharing_integration_test.rb +40 -0
  93. data/test/models/workarea/email/share_test.rb +28 -0
  94. data/test/system/workarea/storefront/sharing_system_test.rb +51 -0
  95. data/test/test_helper.rb +10 -0
  96. data/test/view_models/workarea/storefront/share_view_model_test.rb +65 -0
  97. data/workarea-share.gemspec +22 -0
  98. metadata +168 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: b27078b46cc9fe40df8f57b845730b3943aa3df4364186a1a7b1a03374337cba
4
+ data.tar.gz: 96f31d3f36944355e138cc774727abd3b4b7f85955a3a613fcb13512d4267433
5
+ SHA512:
6
+ metadata.gz: 0b4d4b42b40abac4b54ae154862fd75f8767f7949cfec419166898862ecf82ba7a643626efb8eef4990767455a9df3c387a9ad22ac3f5ff12e5f85d4aea3e70d
7
+ data.tar.gz: 6b72d5fbc02f7a634e5adc276d809175f22bd382be2f8bec52c77f5080cc8dbe6ccd0f45db0af74d4bb93f3d836ec2af30ac52cdb8eb7905b9c1e53cb12ed8b3
data/.editorconfig ADDED
@@ -0,0 +1,20 @@
1
+ # editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ indent_style = space
7
+ end_of_line = lf
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+
11
+ [{*.rb,*.haml,*.decorator,*.yml,*.yaml,*.jbuilder}]
12
+ indent_size = 2
13
+ indent_style = space
14
+
15
+ [{*.js,*.jst,*.ejs,*.scss}]
16
+ indent_size = 4
17
+
18
+ [*.md]
19
+ indent_size = 4
20
+ trim_trailing_whitespace = false
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve Workarea
4
+ title: ''
5
+ labels: bug
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ ⚠️**Before you create**⚠️
11
+ Please verify the issue you're experiencing is not part of your Workarea project customizations. The best way to do this is with a [vanilla Workarea installation](https://developer.workarea.com/articles/create-a-new-host-application.html). This will help us spend time on fixes/improvements for the whole community. Thank you!
12
+
13
+ **Describe the bug**
14
+ A clear and concise description of what the bug is.
15
+
16
+ **To Reproduce**
17
+ Steps to reproduce the behavior:
18
+ 1. Go to '...'
19
+ 2. Click on '....'
20
+ 3. Scroll down to '....'
21
+ 4. See error
22
+
23
+ **Expected behavior**
24
+ A clear and concise description of what you expected to happen.
25
+
26
+ **Workarea Setup (please complete the following information):**
27
+ - Workarea Version: [e.g. v3.4.6]
28
+ - Plugins [e.g. workarea-blog, workarea-sitemaps]
29
+
30
+ **Attachments**
31
+ If applicable, add any attachments to help explain your problem, things like:
32
+ - screenshots
33
+ - Gemfile.lock
34
+ - test cases
35
+
36
+ **Additional context**
37
+ Add any other context about the problem here.
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: Documentation request
3
+ about: Suggest documentation
4
+ title: ''
5
+ labels: documentation
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your documentation related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm confused by [...]
12
+
13
+ **Describe the article you'd like**
14
+ A clear and concise description of what would be in the documentation article.
15
+
16
+ **Additional context**
17
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for Workarea
4
+ title: ''
5
+ labels: enhancement
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ .bundle/
2
+ log/*.log
3
+ pkg/
4
+ test/dummy/db/*.sqlite3
5
+ test/dummy/db/*.sqlite3-journal
6
+ test/dummy/log/*.log
7
+ test/dummy/tmp/
8
+ Gemfile.lock
9
+ test/dummy/public/system/
10
+ .DS_STORE
11
+ node_modules
12
+ test/reports
13
+ package.json
14
+ yarn.lock
data/CHANGELOG.md ADDED
@@ -0,0 +1,108 @@
1
+ Workarea Share 1.2.4 (2019-08-21)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Open Source!
5
+
6
+
7
+
8
+ Workarea Share 1.2.3 (2019-01-08)
9
+ --------------------------------------------------------------------------------
10
+
11
+ * Update README
12
+
13
+ SHARELINKS-15
14
+ Curt Howard
15
+
16
+
17
+
18
+ Workarea Share 1.2.2 (2018-10-30)
19
+ --------------------------------------------------------------------------------
20
+
21
+ * Remove Google+ from Share Links
22
+
23
+ [Google+ is shutting down](https://www.npr.org/2018/10/09/655793156/google-shuts-down-google-for-consumers-after-revealing-data-vulnerability), so clients won't need to share there anymore. The "+1 on Google+" share link has been removed from the partial, as well as its translation text.
24
+
25
+ SHARELINKS-14
26
+ Tom Scott
27
+
28
+
29
+
30
+ Workarea Share 1.2.1 (2018-07-24)
31
+ --------------------------------------------------------------------------------
32
+
33
+ * Add rack attack throttle for shares/
34
+
35
+ SHARELINKS-13
36
+ Matt Duffy
37
+
38
+
39
+
40
+ Workarea Share 1.2.0 (2018-05-24)
41
+ --------------------------------------------------------------------------------
42
+
43
+ * Leverage Workarea Changelog task
44
+
45
+ ECOMMERCE-5355
46
+ Curt Howard
47
+
48
+ * Update Mailers for Premailer
49
+
50
+ SHARELINKS-12
51
+ Curt Howard
52
+
53
+
54
+
55
+ Workarea Share 1.1.3 (2017-12-12)
56
+ --------------------------------------------------------------------------------
57
+
58
+ * Extract sharing configuration and seeds from base
59
+
60
+ SHARELINKS-7
61
+ Dave Barnow
62
+
63
+
64
+ Workarea Share 1.1.2 (2017-11-28)
65
+ --------------------------------------------------------------------------------
66
+
67
+ * Change repcaptcha config values to use symbols
68
+
69
+ SHARELINKS-11
70
+ Lucas Boyd
71
+
72
+
73
+ Workarea Share 1.1.1 (2017-10-31)
74
+ --------------------------------------------------------------------------------
75
+
76
+
77
+ Workarea Share 1.1.1 (2017-10-31)
78
+ --------------------------------------------------------------------------------
79
+
80
+ * Move configuration into initializers
81
+
82
+ SHARELINKS-10
83
+ Matt Duffy
84
+
85
+ * Make share icons smaller
86
+
87
+ Remove --extra-large class modifier from share buttons so they look kinda reasonable OOTB.
88
+
89
+ SHARELINKS-8
90
+ Jake Beresford
91
+
92
+
93
+ Workarea Share 1.1.0 (2017-05-18)
94
+ --------------------------------------------------------------------------------
95
+
96
+ * Add recaptcha to email sharing form
97
+
98
+ SHARELINKS-1
99
+ Matt Duffy
100
+
101
+
102
+ Workarea Share 1.0.0 (2017-05-04)
103
+ --------------------------------------------------------------------------------
104
+
105
+ * Add recaptcha to email sharing form
106
+
107
+ SHARELINKS-1
108
+ Matt Duffy
@@ -0,0 +1,3 @@
1
+ View this plugin's code of conduct here:
2
+
3
+ <https://github.com/workarea-commerce/workarea/blob/master/CODE_OF_CONDUCT.md>
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,3 @@
1
+ View this plugin's contribution guidelines here:
2
+
3
+ <https://github.com/workarea-commerce/workarea/blob/master/CONTRIBUTING.md>
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+ git_source(:github) { |repo| "git@github.com:#{repo}.git" }
3
+
4
+ gemspec
5
+
6
+ # To use a debugger
7
+ # gem 'byebug', group: [:development, :test]
8
+
9
+ gem 'workarea', github: 'workarea-commerce/workarea'
data/LICENSE ADDED
@@ -0,0 +1,52 @@
1
+ WebLinc
2
+ Business Source License
3
+
4
+ Licensor: WebLinc Corporation, 22 S. 3rd Street, 2nd Floor, Philadelphia PA 19106
5
+
6
+ Licensed Work: Workarea Commerce Platform
7
+ The Licensed Work is (c) 2019 WebLinc Corporation
8
+
9
+ Additional Use Grant:
10
+ You may make production use of the Licensed Work without an additional license agreement with WebLinc so long as you do not use the Licensed Work for a Commerce Service.
11
+
12
+ A "Commerce Service" is a commercial offering that allows third parties (other than your employees and contractors) to access the functionality of the Licensed Work by creating or managing commerce functionality, the products, taxonomy, assets and/or content of which are controlled by such third parties.
13
+
14
+ For information about obtaining an additional license agreement with WebLinc, contact licensing@workarea.com.
15
+
16
+ Change Date: 2019-08-20
17
+
18
+ Change License: Version 2.0 or later of the GNU General Public License as published by the Free Software Foundation
19
+
20
+ Terms
21
+
22
+ The Licensor hereby grants you the right to copy, modify, create derivative works, redistribute, and make non-production use of the Licensed Work. The Licensor may make an Additional Use Grant, above, permitting limited production use.
23
+
24
+ Effective on the Change Date, or the fourth anniversary of the first publicly available distribution of a specific version of the Licensed Work under this License, whichever comes first, the Licensor hereby grants you rights under the terms of the Change License, and the rights granted in the paragraph above terminate.
25
+
26
+ If your use of the Licensed Work does not comply with the requirements currently in effect as described in this License, you must purchase a commercial license from the Licensor, its affiliated entities, or authorized resellers, or you must refrain from using the Licensed Work.
27
+
28
+ All copies of the original and modified Licensed Work, and derivative works of the Licensed Work, are subject to this License. This License applies separately for each version of the Licensed Work and the Change Date may vary for each version of the Licensed Work released by Licensor.
29
+
30
+ You must conspicuously display this License on each original or modified copy of the Licensed Work. If you receive the Licensed Work in original or modified form from a third party, the terms and conditions set forth in this License apply to your use of that work.
31
+
32
+ Any use of the Licensed Work in violation of this License will automatically terminate your rights under this License for the current and all other versions of the Licensed Work.
33
+
34
+ This License does not grant you any right in any trademark or logo of Licensor or its affiliates (provided that you may use a trademark or logo of Licensor as expressly required by this License). TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE. MariaDB hereby grants you permission to use this License’s text to license your works and to refer to it using the trademark "Business Source License" as long as you comply with the Covenants of Licensor below.
35
+
36
+ Covenants of Licensor
37
+ In consideration of the right to use this License’s text and the "Business Source License" name and trademark, Licensor covenants to MariaDB, and to all other recipients of the licensed work to be provided by Licensor:
38
+
39
+ To specify as the Change License the GPL Version 2.0 or any later version, or a license that is compatible with GPL Version 2.0 or a later version, where "compatible" means that software provided under the Change License can be included in a program with software provided under GPL Version 2.0 or a later version. Licensor may specify additional Change Licenses without limitation.
40
+
41
+ To either: (a) specify an additional grant of rights to use that does not impose any additional restriction on the right granted in this License, as the Additional Use Grant; or (b) insert the text "None."
42
+
43
+ To specify a Change Date.
44
+
45
+ Not to modify this License in any other way.
46
+
47
+ Notice
48
+ The Business Source License (this document, or the "License") is not an Open Source license. However, the Licensed Work will eventually be made available under an Open Source License, as stated in this License.
49
+
50
+ For more information on the use of the Business Source License generally, please visit the Adopting and Developing Business Source License FAQ.
51
+
52
+ License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved. "Business Source License" is a trademark of MariaDB Corporation Ab.
data/README.md ADDED
@@ -0,0 +1,59 @@
1
+ Workarea Share
2
+ ================================================================================
3
+
4
+ A Workarea Commerce plugin that provides functionality for sharing a product via social media or email.
5
+
6
+ Overview
7
+ --------------------------------------------------------------------------------
8
+
9
+ * Simple configuration and view customization
10
+ * Injected Style Guide to help aide development
11
+ * Uses reCAPTCHA to protect from misuse
12
+
13
+ Getting Started
14
+ --------------------------------------------------------------------------------
15
+
16
+ Add the gem to your application's Gemfile:
17
+
18
+ ```ruby
19
+ # ...
20
+ gem 'workarea-share'
21
+ # ...
22
+ ```
23
+
24
+ Update your application's bundle.
25
+
26
+ ```bash
27
+ cd path/to/application
28
+ bundle
29
+ ```
30
+
31
+ Features
32
+ --------------------------------------------------------------------------------
33
+
34
+ ### Easy customizability
35
+
36
+ Change the maximum length of the message of the sent email via `Workarea.config.max_email_share_message_length`. Customize the sharable offerings by editing `views/workarea/storefront/shares/_share_buttons.html.haml`
37
+
38
+ ### reCAPTCHA
39
+
40
+ Workarea Share utilizes [reCAPTCHA](https://github.com/ambethia/recaptcha) in the share by email form to prevent abuse. You'll need to configure each environment (except test) in order for email sharing to work properly. The plugin will look to your secrets file for the required values.
41
+
42
+ ```ruby
43
+ production:
44
+ recaptcha:
45
+ site_key: YOUR_SITE_KEY
46
+ secret_key: YOUR_SECRET_KEY
47
+ proxy: http://your.proxy.address:8080 # proxy not set if this key is missing
48
+ ```
49
+ [Obtain your keys from the reCAPTCHA site](https://www.google.com/recaptcha/admin)
50
+
51
+ Workarea Commerce Documentation
52
+ --------------------------------------------------------------------------------
53
+
54
+ See [https://developer.workarea.com](https://developer.workarea.com) for Workarea Commerce documentation.
55
+
56
+ License
57
+ --------------------------------------------------------------------------------
58
+
59
+ Workarea Share is released under the [Business Software License](LICENSE)
data/Rakefile ADDED
@@ -0,0 +1,52 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ require 'rdoc/task'
8
+
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = 'rdoc'
11
+ rdoc.title = 'Tasker'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.md')
14
+ rdoc.rdoc_files.include('lib/**/*.rb')
15
+ end
16
+
17
+ APP_RAKEFILE = File.expand_path('../test/dummy/Rakefile', __FILE__)
18
+ load 'rails/tasks/engine.rake'
19
+ load 'rails/tasks/statistics.rake'
20
+ load 'workarea/changelog.rake'
21
+
22
+ require 'rake/testtask'
23
+
24
+ Rake::TestTask.new(:test) do |t|
25
+ t.libs << 'lib'
26
+ t.libs << 'test'
27
+ t.pattern = 'test/**/*_test.rb'
28
+ t.verbose = false
29
+ end
30
+
31
+ task default: :test
32
+
33
+ $LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
34
+ require 'workarea/share/version'
35
+
36
+ desc "Release version #{Workarea::Share::VERSION} of the gem"
37
+ task :release do
38
+ host = "https://#{ENV['BUNDLE_GEMS__WEBLINC__COM']}@gems.weblinc.com"
39
+
40
+ #Rake::Task['workarea:changelog'].execute
41
+ #system 'git add CHANGELOG.md'
42
+ #system 'git commit -m "Update CHANGELOG"'
43
+ #system 'git push origin HEAD'
44
+
45
+ system "git tag -a v#{Workarea::Share::VERSION} -m 'Tagging #{Workarea::Share::VERSION}'"
46
+ system 'git push --tags'
47
+
48
+ system 'gem build workarea-share.gemspec'
49
+ system "gem push workarea-share-#{Workarea::Share::VERSION}.gem"
50
+ system "gem push workarea-share-#{Workarea::Share::VERSION}.gem --host #{host}"
51
+ system "rm workarea-share-#{Workarea::Share::VERSION}.gem"
52
+ end
@@ -0,0 +1,4 @@
1
+ <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0 0h24v24H0z" fill="none"/>
3
+ <path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V8l8 5 8-5v10zm-8-7L4 6h16l-8 5z"/>
4
+ </svg>
@@ -0,0 +1,14 @@
1
+ /*------------------------------------*\
2
+ #SHARE-BUTTONS
3
+ \*------------------------------------*/
4
+
5
+ .share-buttons {
6
+ @extend %inline-list;
7
+ }
8
+
9
+ .share-buttons__item {
10
+ margin: 0 ($spacing-unit * 2);
11
+ vertical-align: middle;
12
+ }
13
+
14
+ .share-buttons__button {}