Add livingstyleguide gem, its Compass dependency

Only pre-release versions of Compass are currently Sass 3.3
compatible.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Normalise naming of all Sass partials

A Sass source should never be compiled to a separate CSS file if its
filename:
  - begins with underscore.
  - has a .sass extension (and only .sass).

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Add simplified 'meta' stylesheet for LSG

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Set up Living Style Guide; add first documentation
Use sprockets backport-compatible sass-rails fork

With 3.2.x sass-rails release, we hit NoMethodErrors with the Living
Style Guide attempting to handle asset helpers:

    undefined method `image_path' for nil:NilClass

This resolves the issue, for now, but moving to Rails 4 is the better
medium-term solution.

See also https://discussion.heroku.com/t/using-the-rails-4-asset-pipeline-in-rails-3-apps-for-faster-deploys/205

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Remove Sprockets::Helpers::RailsHelper usage

This Module is no longer present in sprockets-rails 2.0.0.backport1.
See previous commit c0dc50e9.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Update i18n-js, no longer specifying single ref

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Namespace Hooks module to avoid naming collision

Our own top-level Hooks module collides with that provided in the
hooks gem, now an indirect dependency (needed by livingstyleguide).

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Re-include asset helpers in ViewListener

In sprockets-rails 2.0.0.backport1, `Sprockets::Helpers::RailsHelper`
now appears to be called `Sprockets::Rails::Helper`.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Remove Gemfile assets group

Recommendation in the following article is to remove this group when
using backported asset pipeline-related gems:
https://discussion.heroku.com/t/using-the-rails-4-asset-pipeline-in-rails-3-apps-for-faster-deploys/205

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Fix require of renamed OpenProject::Hooks module

See ee70ffbc.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Attempt workaround for failing theme asset specs

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Attempt workaround for LSG asset loading

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Living Style Guide: Document fonts

[ci skip]

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Add compass-rails (master)

This appears to fix issues using asset paths helpers with the Living
Style Guide. See https://github.com/hagenburger/livingstyleguide/issues/70

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Revert "Attempt workaround for LSG asset loading"

Adding compass-rails (previous commit 9689b158) solves the same issue.

This reverts commit 67e56122153a846a078118683c8e8195de1b5aa4.
Add styles for work package table

- added styles for work packages tables
Merge pull request #1292 from opf/feature/style-guide-rails-lsg

Adding Living Style Guide (as part of Rails project)