govuk_template 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -82,7 +82,7 @@ Example usage:
82
82
 
83
83
  */
84
84
  /* local styleguide includes */
85
- /* New Greys */
85
+ /* Old depricated greys, new things should use the toolkit greys */
86
86
  html, body, button, input, table, td, th {
87
87
  font-family: "nta", Arial, sans-serif; }
88
88
 
@@ -136,10 +136,10 @@ fieldset {
136
136
  padding: 0; }
137
137
 
138
138
  a:link {
139
- color: #2e3191; }
139
+ color: #005ea5; }
140
140
 
141
141
  a:visited {
142
- color: #2e3191; }
142
+ color: #2e8aca; }
143
143
 
144
144
  a:hover {
145
145
  color: #2e8aca; }
@@ -304,6 +304,7 @@ a:focus {
304
304
  input:focus,
305
305
  textarea:focus,
306
306
  select:focus,
307
+ button:focus,
307
308
  #global-header input:focus {
308
309
  outline: 3px solid #ffbf47; }
309
310
 
@@ -595,10 +596,17 @@ select:focus,
595
596
  top: 0;
596
597
  width: 41px;
597
598
  height: 100%; }
598
- #footer .footer-meta .footer-meta-inner .open-government-licence h2 a, #footer .footer-meta .footer-meta-inner .open-government-licence h2 img {
599
+ #footer .footer-meta .footer-meta-inner .open-government-licence h2 a {
599
600
  display: block;
600
- width: 43px;
601
- height: 17px; }
601
+ width: 41px;
602
+ height: 17px;
603
+ overflow: hidden;
604
+ text-indent: -999em;
605
+ background: url(<%= asset_path 'images/open-government-licence.png' %>) 0 0 no-repeat; }
606
+ @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 20 / 10), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
607
+ #footer .footer-meta .footer-meta-inner .open-government-licence h2 a {
608
+ background-image: url(<%= asset_path 'images/open-government-licence_2x.png' %>);
609
+ background-size: 41px 17px; } }
602
610
  #footer .footer-meta .footer-meta-inner .open-government-licence p {
603
611
  font-family: "nta", Arial, sans-serif;
604
612
  font-size: 16px;
@@ -82,7 +82,7 @@ Example usage:
82
82
 
83
83
  */
84
84
  /* local styleguide includes */
85
- /* New Greys */
85
+ /* Old depricated greys, new things should use the toolkit greys */
86
86
  html, body, button, input, table, td, th {
87
87
  font-family: "nta", Arial, sans-serif; }
88
88
 
@@ -136,10 +136,10 @@ fieldset {
136
136
  padding: 0; }
137
137
 
138
138
  a:link {
139
- color: #2e3191; }
139
+ color: #005ea5; }
140
140
 
141
141
  a:visited {
142
- color: #2e3191; }
142
+ color: #2e8aca; }
143
143
 
144
144
  a:hover {
145
145
  color: #2e8aca; }
@@ -304,6 +304,7 @@ a:focus {
304
304
  input:focus,
305
305
  textarea:focus,
306
306
  select:focus,
307
+ button:focus,
307
308
  #global-header input:focus {
308
309
  outline: 3px solid #ffbf47; }
309
310
 
@@ -592,10 +593,17 @@ select:focus,
592
593
  top: 0;
593
594
  width: 41px;
594
595
  height: 100%; }
595
- #footer .footer-meta .footer-meta-inner .open-government-licence h2 a, #footer .footer-meta .footer-meta-inner .open-government-licence h2 img {
596
+ #footer .footer-meta .footer-meta-inner .open-government-licence h2 a {
596
597
  display: block;
597
- width: 43px;
598
- height: 17px; }
598
+ width: 41px;
599
+ height: 17px;
600
+ overflow: hidden;
601
+ text-indent: -999em;
602
+ background: url(<%= asset_path 'images/open-government-licence.png' %>) 0 0 no-repeat; }
603
+ @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 20 / 10), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
604
+ #footer .footer-meta .footer-meta-inner .open-government-licence h2 a {
605
+ background-image: url(<%= asset_path 'images/open-government-licence_2x.png' %>);
606
+ background-size: 41px 17px; } }
599
607
  #footer .footer-meta .footer-meta-inner .open-government-licence p {
600
608
  font-family: "nta", Arial, sans-serif;
601
609
  font-size: 16px;
@@ -80,7 +80,7 @@ Example usage:
80
80
 
81
81
  */
82
82
  /* local styleguide includes */
83
- /* New Greys */
83
+ /* Old depricated greys, new things should use the toolkit greys */
84
84
  html, body, button, input, table, td, th {
85
85
  font-family: "nta", Arial, sans-serif; }
86
86
 
@@ -134,10 +134,10 @@ fieldset {
134
134
  padding: 0; }
135
135
 
136
136
  a:link {
137
- color: #2e3191; }
137
+ color: #005ea5; }
138
138
 
139
139
  a:visited {
140
- color: #2e3191; }
140
+ color: #2e8aca; }
141
141
 
142
142
  a:hover {
143
143
  color: #2e8aca; }
@@ -300,6 +300,7 @@ a:focus {
300
300
  input:focus,
301
301
  textarea:focus,
302
302
  select:focus,
303
+ button:focus,
303
304
  #global-header input:focus {
304
305
  outline: 3px solid #ffbf47; }
305
306
 
@@ -579,10 +580,17 @@ select:focus,
579
580
  top: 0;
580
581
  width: 41px;
581
582
  height: 100%; }
582
- #footer .footer-meta .footer-meta-inner .open-government-licence h2 a, #footer .footer-meta .footer-meta-inner .open-government-licence h2 img {
583
+ #footer .footer-meta .footer-meta-inner .open-government-licence h2 a {
583
584
  display: block;
584
- width: 43px;
585
- height: 17px; }
585
+ width: 41px;
586
+ height: 17px;
587
+ overflow: hidden;
588
+ text-indent: -999em;
589
+ background: url(<%= asset_path 'images/open-government-licence.png' %>) 0 0 no-repeat; }
590
+ @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 20 / 10), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
591
+ #footer .footer-meta .footer-meta-inner .open-government-licence h2 a {
592
+ background-image: url(<%= asset_path 'images/open-government-licence_2x.png' %>);
593
+ background-size: 41px 17px; } }
586
594
  #footer .footer-meta .footer-meta-inner .open-government-licence p {
587
595
  font-family: "nta", Arial, sans-serif;
588
596
  font-size: 16px;
@@ -80,7 +80,7 @@ Example usage:
80
80
 
81
81
  */
82
82
  /* local styleguide includes */
83
- /* New Greys */
83
+ /* Old depricated greys, new things should use the toolkit greys */
84
84
  html, body, button, input, table, td, th {
85
85
  font-family: "nta", Arial, sans-serif; }
86
86
 
@@ -134,10 +134,10 @@ fieldset {
134
134
  padding: 0; }
135
135
 
136
136
  a:link {
137
- color: #2e3191; }
137
+ color: #005ea5; }
138
138
 
139
139
  a:visited {
140
- color: #2e3191; }
140
+ color: #2e8aca; }
141
141
 
142
142
  a:hover {
143
143
  color: #2e8aca; }
@@ -306,6 +306,7 @@ a:focus {
306
306
  input:focus,
307
307
  textarea:focus,
308
308
  select:focus,
309
+ button:focus,
309
310
  #global-header input:focus {
310
311
  outline: 3px solid #ffbf47; }
311
312
 
@@ -627,10 +628,17 @@ select:focus,
627
628
  position: static;
628
629
  width: auto;
629
630
  margin-bottom: 1em; } }
630
- #footer .footer-meta .footer-meta-inner .open-government-licence h2 a, #footer .footer-meta .footer-meta-inner .open-government-licence h2 img {
631
+ #footer .footer-meta .footer-meta-inner .open-government-licence h2 a {
631
632
  display: block;
632
- width: 43px;
633
- height: 17px; }
633
+ width: 41px;
634
+ height: 17px;
635
+ overflow: hidden;
636
+ text-indent: -999em;
637
+ background: url(<%= asset_path 'images/open-government-licence.png' %>) 0 0 no-repeat; }
638
+ @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 20 / 10), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
639
+ #footer .footer-meta .footer-meta-inner .open-government-licence h2 a {
640
+ background-image: url(<%= asset_path 'images/open-government-licence_2x.png' %>);
641
+ background-size: 41px 17px; } }
634
642
  #footer .footer-meta .footer-meta-inner .open-government-licence p {
635
643
  font-family: "nta", Arial, sans-serif;
636
644
  font-size: 16px;
@@ -104,7 +104,7 @@
104
104
  <%= yield :footer_support_links %>
105
105
 
106
106
  <div class="open-government-licence">
107
- <h2><a href="http://www.nationalarchives.gov.uk/doc/open-government-licence/version/2"><img src="<%= asset_path 'open-government-licence_2x.png' %>" alt="OGL"></a></h2>
107
+ <h2><a href="http://www.nationalarchives.gov.uk/doc/open-government-licence/version/2">Open Government Licence</a></h2>
108
108
  <p>All content is available under the <a href="http://www.nationalarchives.gov.uk/doc/open-government-licence/version/2">Open Government Licence v2.0</a>, except where otherwise stated</p>
109
109
  </div>
110
110
  </div>
@@ -1,3 +1,3 @@
1
1
  module GovukTemplate
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
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-02-17 00:00:00.000000000 Z
12
+ date: 2014-02-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -134,8 +134,10 @@ files:
134
134
  - app/assets/stylesheets/govuk-template.css.erb
135
135
  - app/assets/stylesheets/govuk-template-ie7.css.erb
136
136
  - app/assets/stylesheets/fonts-ie8.css.erb
137
+ - app/assets/stylesheets/images/open-government-licence_2x.png
137
138
  - app/assets/stylesheets/images/separator.png
138
139
  - app/assets/stylesheets/images/govuk-crest.png
140
+ - app/assets/stylesheets/images/open-government-licence.png
139
141
  - app/assets/stylesheets/images/separator-2x.png
140
142
  - app/assets/stylesheets/images/close.png
141
143
  - app/assets/stylesheets/images/govuk-crest-2x.png
@@ -156,7 +158,6 @@ files:
156
158
  - app/assets/stylesheets/govuk-template-ie6.css.erb
157
159
  - app/assets/stylesheets/fonts.css.erb
158
160
  - app/assets/stylesheets/govuk-template-print.css.erb
159
- - app/assets/images/open-government-licence_2x.png
160
161
  - app/assets/images/apple-touch-icon-144x144.png
161
162
  - app/assets/images/opengraph-image.png
162
163
  - app/assets/images/gov.uk_logotype_crown.png
@@ -189,7 +190,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
189
190
  version: '0'
190
191
  segments:
191
192
  - 0
192
- hash: 4173858726123326876
193
+ hash: 980982908691534335
193
194
  required_rubygems_version: !ruby/object:Gem::Requirement
194
195
  none: false
195
196
  requirements:
@@ -198,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
199
  version: '0'
199
200
  segments:
200
201
  - 0
201
- hash: 4173858726123326876
202
+ hash: 980982908691534335
202
203
  requirements: []
203
204
  rubyforge_project:
204
205
  rubygems_version: 1.8.23