Skip to content

Commit

Permalink
Merge pull request #48 from alphagov/bump-jasmine-gem
Browse files Browse the repository at this point in the history
Tweak CSS helpers
  • Loading branch information
vinayvinay committed Nov 6, 2014
2 parents 48ed7aa + 8104ddd commit 0167e0d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CSS.md
Expand Up @@ -97,6 +97,13 @@ Class | Purpose
`link-muted` | Like Bootstrap’s `text-muted`, but for links. Makes them a matching grey and underlined.
`link-inherit` | Inherits its colour from surrounding text, gains an underline

### Display helpers

Class | Purpose
------ |--------
`inline` | Display inline, useful if the semantic element has the wrong display style by default
`inline-block` | Display inline-block

### Tables
[tables.css.scss](app/assets/stylesheets/govuk_admin_template/_tables.css.scss)

Expand Down
8 changes: 8 additions & 0 deletions app/assets/stylesheets/govuk_admin_template/_base.css.scss
Expand Up @@ -21,6 +21,14 @@ label {
position: relative;
}

.inline {
display: inline;
}

.inline-block {
display: inline-block;
}

.bold {
font-weight: bold;
}
Expand Down
Expand Up @@ -19,4 +19,8 @@
.lead {
font-weight: normal;
color: #555;

&.text-muted {
color: $gray-light;
}
}
2 changes: 1 addition & 1 deletion govuk_admin_template.gemspec
Expand Up @@ -25,5 +25,5 @@ Gem::Specification.new do |gem|
gem.add_development_dependency 'rspec-rails', '2.14.2'
gem.add_development_dependency 'capybara', '2.2.1'
gem.add_development_dependency 'gem_publisher', '1.3.1'
gem.add_development_dependency 'jasmine', '2.0.2'
gem.add_development_dependency 'jasmine', '2.0.3'
end

0 comments on commit 0167e0d

Please sign in to comment.