govuk_admin_template 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 1.1.3
2
+
3
+ * Fix GillSans font stack for IE and Chrome on Windows
4
+ * Tweak Bootstrap’s default `lead` styles to be stronger
5
+
1
6
  # 1.1.2
2
7
 
3
8
  * Add full width page option
data/CSS.md CHANGED
@@ -15,7 +15,7 @@ Firstly, the admin styles are based on Bootstrap:
15
15
  For admin components, see the admin style guide (`/style-guide` in your app).
16
16
 
17
17
  ### Hide and show content
18
- [toggle.css.scss](app/assets/stylesheets/govuk_admin_template/toggles.css.scss)
18
+ [toggle.css.scss](app/assets/stylesheets/govuk_admin_template/_toggles.css.scss)
19
19
 
20
20
  Class | Purpose
21
21
  ------ |--------
@@ -98,7 +98,7 @@ Class | Purpose
98
98
  `link-inherit` | Inherits its colour from surrounding text, gains an underline
99
99
 
100
100
  ### Tables
101
- [tables.css.scss](app/assets/stylesheets/govuk_admin_template/tables.css.scss)
101
+ [tables.css.scss](app/assets/stylesheets/govuk_admin_template/_tables.css.scss)
102
102
 
103
103
  Class | Purpose
104
104
  ------ |--------
@@ -107,7 +107,7 @@ Class | Purpose
107
107
 
108
108
  ### SASS Variables
109
109
 
110
- Along with Bootstrap’s many [mixins](https://github.com/twbs/bootstrap-sass/blob/master/vendor/assets/stylesheets/bootstrap/_mixins.scss) and [variables](http://getbootstrap.com/customize/#less-variables), the admin gem comes with [some of its own](app/assets/stylesheets/govuk_admin_template/theme.css.scss).
110
+ Along with Bootstrap’s many [mixins](https://github.com/twbs/bootstrap-sass/blob/master/vendor/assets/stylesheets/bootstrap/_mixins.scss) and [variables](http://getbootstrap.com/customize/#less-variables), the admin gem comes with [some of its own](app/assets/stylesheets/govuk_admin_template/_theme.css.scss).
111
111
 
112
112
  Class | Purpose
113
113
  ------ |--------
data/README.md CHANGED
@@ -11,9 +11,13 @@ This gem provides (via a Rails engine):
11
11
  * [CSS helpers and SASS variables](CSS.md) for the admin theme
12
12
  * GOV.UK user friendly date formats
13
13
 
14
- [Apps using this gem](https://github.com/search?q=govuk_admin_template+path%3AGemfile&type=Code&ref=advsearch&l=) include:
14
+ [Apps using this gem](https://github.com/search?q=govuk_admin_template+user%3Aalphagov+filename%3AGemfile) include:
15
15
  * [Transition](https://github.com/alphagov/transition)
16
16
  * [Maslow](https://github.com/alphagov/maslow)
17
+ * [Publisher](https://github.com/alphagov/publisher)
18
+ * [Sign on](https://github.com/alphagov/signonotron2)
19
+ * [Panopticon](https://github.com/alphagov/panopticon)
20
+ * [Imminence](https://github.com/alphagov/imminence)
17
21
  * [Support](https://github.com/alphagov/support)
18
22
  * [Travel advice publisher](https://github.com/alphagov/travel-advice-publisher)
19
23
  * [Specialist publisher](https://github.com/alphagov/specialist-publisher)
@@ -69,7 +73,7 @@ The gem [uses nested layouts](http://guides.rubyonrails.org/layouts_and_renderin
69
73
  --------------- | -------------
70
74
  `:app_title` | Name of your admin application
71
75
  `:content` | Main content
72
- `:head` | HTML to include in the <head> of your application
76
+ `:head` | HTML to include in the `<head>` of your application
73
77
  `:page_title` | Page title
74
78
  `:navbar_items` | A set of HTML list items (`<li>`) forming the primary navigation
75
79
  `:navbar_right` | Text to the right of the nav bar. Logged in user, sign out link, etc
@@ -9,3 +9,14 @@
9
9
  .page-header {
10
10
  margin-top: $default-vertical-margin;
11
11
  }
12
+
13
+ /*
14
+ Bootstrap uses a lighter font weight for text using the lead
15
+ class. This lighter text is harder to read and looks out of place
16
+ with all of GOV.UK’s font rendering. Reset back to normal and
17
+ lighten text colour to maintain balance.
18
+ */
19
+ .lead {
20
+ font-weight: normal;
21
+ color: #555;
22
+ }
@@ -2,7 +2,7 @@
2
2
  Fonts
3
3
  ========================================================================== */
4
4
 
5
- $font-family-gill-sans: "GillSans", "Gill Sans", "Helvetica Neue", Arial, sans-serif;
5
+ $font-family-gill-sans: "GillSans", "Gill Sans MT", "Gill Sans", "Helvetica Neue", Arial, sans-serif;
6
6
 
7
7
  /* ==========================================================================
8
8
  Margins
@@ -1,3 +1,3 @@
1
1
  module GovukAdminTemplate
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_admin_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-27 00:00:00.000000000 Z
12
+ date: 2014-10-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -219,7 +219,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
219
219
  version: '0'
220
220
  segments:
221
221
  - 0
222
- hash: 4055554137707764025
222
+ hash: 1831054243054669970
223
223
  required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  none: false
225
225
  requirements:
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  version: '0'
229
229
  segments:
230
230
  - 0
231
- hash: 4055554137707764025
231
+ hash: 1831054243054669970
232
232
  requirements: []
233
233
  rubyforge_project:
234
234
  rubygems_version: 1.8.23