moj_template 0.22.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/apple-touch-icon-120x120.png +0 -0
- data/app/assets/images/apple-touch-icon-152x152.png +0 -0
- data/app/assets/images/apple-touch-icon-60x60.png +0 -0
- data/app/assets/images/apple-touch-icon-76x76.png +0 -0
- data/app/assets/images/favicon.ico +0 -0
- data/app/assets/stylesheets/govuk-template-ie6.css.erb +30 -18
- data/app/assets/stylesheets/govuk-template-ie7.css.erb +30 -18
- data/app/assets/stylesheets/govuk-template-ie8.css.erb +29 -20
- data/app/assets/stylesheets/govuk-template-print.css.erb +1 -1
- data/app/assets/stylesheets/govuk-template.css.erb +32 -23
- data/app/assets/stylesheets/images/close.png +0 -0
- data/app/assets/stylesheets/images/open-government-licence_2x.png +0 -0
- data/app/assets/stylesheets/moj-template-ie6.css.erb +45 -117
- data/app/assets/stylesheets/moj-template-ie7.css.erb +45 -117
- data/app/assets/stylesheets/moj-template-ie8.css.erb +45 -117
- data/app/assets/stylesheets/moj-template.css.erb +53 -117
- data/app/views/layouts/moj_template.html.erb +10 -10
- data/lib/moj_template/version.rb +1 -1
- metadata +10 -10
- data/app/assets/images/apple-touch-icon-114x114.png +0 -0
- data/app/assets/images/apple-touch-icon-144x144.png +0 -0
- data/app/assets/images/apple-touch-icon-57x57.png +0 -0
- data/app/assets/images/apple-touch-icon-72x72.png +0 -0
@@ -14,91 +14,24 @@
|
|
14
14
|
@-o-viewport {
|
15
15
|
width: device-width; }
|
16
16
|
|
17
|
-
/* CSS 3 Mixins
|
18
|
-
|
19
|
-
Add them as you need them. This should let us manage vendor prefixes in one place.
|
20
|
-
*/
|
21
|
-
/* Cross-browser shims
|
22
|
-
|
23
|
-
Ways of normalising properties across browsers.
|
24
|
-
*/
|
25
17
|
@-ms-viewport {
|
26
18
|
width: device-width; }
|
27
19
|
|
28
20
|
@-o-viewport {
|
29
21
|
width: device-width; }
|
30
22
|
|
31
|
-
/* Usage:
|
32
|
-
@include inline-block
|
33
|
-
|
34
|
-
or
|
35
|
-
|
36
|
-
@include inline-block("250px")
|
37
|
-
|
38
|
-
which gives a min-height to the inline-block elements.
|
39
|
-
*/
|
40
|
-
/* Contain floats usage:
|
41
|
-
|
42
|
-
.this-has-floated-children {
|
43
|
-
@extend %contain-floats;
|
44
|
-
}
|
45
|
-
|
46
|
-
*/
|
47
|
-
/* Cross-browser shims
|
48
|
-
|
49
|
-
Ways of normalising properties across browsers.
|
50
|
-
*/
|
51
23
|
@-ms-viewport {
|
52
24
|
width: device-width; }
|
53
25
|
|
54
26
|
@-o-viewport {
|
55
27
|
width: device-width; }
|
56
28
|
|
57
|
-
/* Usage:
|
58
|
-
@include inline-block
|
59
|
-
|
60
|
-
or
|
61
|
-
|
62
|
-
@include inline-block("250px")
|
63
|
-
|
64
|
-
which gives a min-height to the inline-block elements.
|
65
|
-
*/
|
66
|
-
/* Contain floats usage:
|
67
|
-
|
68
|
-
.this-has-floated-children {
|
69
|
-
@extend %contain-floats;
|
70
|
-
}
|
71
|
-
|
72
|
-
*/
|
73
|
-
/* CSS 3 Mixins
|
74
|
-
|
75
|
-
Add them as you need them. This should let us manage vendor prefixes in one place.
|
76
|
-
*/
|
77
29
|
@-ms-viewport {
|
78
30
|
width: device-width; }
|
79
31
|
|
80
32
|
@-o-viewport {
|
81
33
|
width: device-width; }
|
82
34
|
|
83
|
-
/*
|
84
|
-
|
85
|
-
Mixin and defaults for making buttons on GOV.UK services.
|
86
|
-
|
87
|
-
For guidance, see: https://www.gov.uk/service-manual/design-and-content/resources/buttons.html
|
88
|
-
|
89
|
-
Example usage:
|
90
|
-
|
91
|
-
.button{
|
92
|
-
@include button;
|
93
|
-
}
|
94
|
-
.button-secondary{
|
95
|
-
@include button($grey-3);
|
96
|
-
}
|
97
|
-
.button-warning{
|
98
|
-
@include button($red);
|
99
|
-
}
|
100
|
-
|
101
|
-
*/
|
102
35
|
@font-face {
|
103
36
|
font-family: GDS-Logo;
|
104
37
|
src: local("HelveticaNeue"), local("Helvetica Neue"), local("Arial"), local("Helvetica"); }
|
@@ -109,32 +42,24 @@ Example usage:
|
|
109
42
|
@-o-viewport {
|
110
43
|
width: device-width; }
|
111
44
|
|
112
|
-
/* Cross-browser shims
|
113
|
-
|
114
|
-
Ways of normalising properties across browsers.
|
115
|
-
*/
|
116
45
|
@-ms-viewport {
|
117
46
|
width: device-width; }
|
118
47
|
|
119
48
|
@-o-viewport {
|
120
49
|
width: device-width; }
|
121
50
|
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
or
|
51
|
+
@-ms-viewport {
|
52
|
+
width: device-width; }
|
126
53
|
|
127
|
-
|
54
|
+
@-o-viewport {
|
55
|
+
width: device-width; }
|
128
56
|
|
129
|
-
|
130
|
-
|
131
|
-
/* Contain floats usage:
|
57
|
+
@-ms-viewport {
|
58
|
+
width: device-width; }
|
132
59
|
|
133
|
-
|
134
|
-
|
135
|
-
}
|
60
|
+
@-o-viewport {
|
61
|
+
width: device-width; }
|
136
62
|
|
137
|
-
*/
|
138
63
|
.clearfix, .cf {
|
139
64
|
zoom: 1; }
|
140
65
|
.clearfix:before, .cf:before, .clearfix:after, .cf:after {
|
@@ -182,24 +107,27 @@ header.page-header h1 {
|
|
182
107
|
color: #6f777b; }
|
183
108
|
@media (max-width: 640px) {
|
184
109
|
header.page-header h1 span {
|
185
|
-
font-size:
|
110
|
+
font-size: 20px;
|
186
111
|
line-height: 1.11111; } }
|
187
112
|
header.page-header h1 .alpha {
|
188
113
|
display: -moz-inline-stack;
|
189
114
|
display: inline-block;
|
190
|
-
|
191
|
-
|
115
|
+
vertical-align: top;
|
116
|
+
margin: 0 8px 0 0;
|
117
|
+
padding: 2px 5px 0;
|
192
118
|
font-family: "nta", Arial, sans-serif;
|
193
119
|
font-size: 16px;
|
194
120
|
line-height: 1.25;
|
195
|
-
font-weight: 300;
|
196
|
-
text-transform: none;
|
197
121
|
font-weight: 700;
|
122
|
+
text-transform: none;
|
198
123
|
text-transform: uppercase;
|
199
124
|
letter-spacing: 1px;
|
200
125
|
text-decoration: none;
|
201
|
-
|
202
|
-
|
126
|
+
color: #fff;
|
127
|
+
background-color: #d53880; }
|
128
|
+
@media (min-width: 641px) {
|
129
|
+
header.page-header h1 .alpha {
|
130
|
+
vertical-align: baseline; } }
|
203
131
|
@media (max-width: 640px) {
|
204
132
|
header.page-header h1 .alpha {
|
205
133
|
font-size: 14px;
|
@@ -207,19 +135,22 @@ header.page-header h1 {
|
|
207
135
|
header.page-header h1 .beta {
|
208
136
|
display: -moz-inline-stack;
|
209
137
|
display: inline-block;
|
210
|
-
|
211
|
-
|
138
|
+
vertical-align: top;
|
139
|
+
margin: 0 8px 0 0;
|
140
|
+
padding: 2px 5px 0;
|
212
141
|
font-family: "nta", Arial, sans-serif;
|
213
142
|
font-size: 16px;
|
214
143
|
line-height: 1.25;
|
215
|
-
font-weight: 300;
|
216
|
-
text-transform: none;
|
217
144
|
font-weight: 700;
|
145
|
+
text-transform: none;
|
218
146
|
text-transform: uppercase;
|
219
147
|
letter-spacing: 1px;
|
220
148
|
text-decoration: none;
|
221
|
-
|
222
|
-
|
149
|
+
color: #fff;
|
150
|
+
background-color: #f47738; }
|
151
|
+
@media (min-width: 641px) {
|
152
|
+
header.page-header h1 .beta {
|
153
|
+
vertical-align: baseline; } }
|
223
154
|
@media (max-width: 640px) {
|
224
155
|
header.page-header h1 .beta {
|
225
156
|
font-size: 14px;
|
@@ -263,19 +194,22 @@ h2, h3, h4 {
|
|
263
194
|
body.alpha #global-header .header-proposition .proposition-phase {
|
264
195
|
display: -moz-inline-stack;
|
265
196
|
display: inline-block;
|
266
|
-
|
267
|
-
|
197
|
+
vertical-align: top;
|
198
|
+
margin: 0 8px 0 0;
|
199
|
+
padding: 2px 5px 0;
|
268
200
|
font-family: "nta", Arial, sans-serif;
|
269
201
|
font-size: 16px;
|
270
202
|
line-height: 1.25;
|
271
|
-
font-weight: 300;
|
272
|
-
text-transform: none;
|
273
203
|
font-weight: 700;
|
204
|
+
text-transform: none;
|
274
205
|
text-transform: uppercase;
|
275
206
|
letter-spacing: 1px;
|
276
207
|
text-decoration: none;
|
277
|
-
|
278
|
-
|
208
|
+
color: #fff;
|
209
|
+
background-color: #d53880; }
|
210
|
+
@media (min-width: 641px) {
|
211
|
+
body.alpha #global-header .header-proposition .proposition-phase {
|
212
|
+
vertical-align: baseline; } }
|
279
213
|
@media (max-width: 640px) {
|
280
214
|
body.alpha #global-header .header-proposition .proposition-phase {
|
281
215
|
font-size: 14px;
|
@@ -283,19 +217,22 @@ body.alpha #global-header .header-proposition .proposition-phase {
|
|
283
217
|
body.beta #global-header .header-proposition .proposition-phase {
|
284
218
|
display: -moz-inline-stack;
|
285
219
|
display: inline-block;
|
286
|
-
|
287
|
-
|
220
|
+
vertical-align: top;
|
221
|
+
margin: 0 8px 0 0;
|
222
|
+
padding: 2px 5px 0;
|
288
223
|
font-family: "nta", Arial, sans-serif;
|
289
224
|
font-size: 16px;
|
290
225
|
line-height: 1.25;
|
291
|
-
font-weight: 300;
|
292
|
-
text-transform: none;
|
293
226
|
font-weight: 700;
|
227
|
+
text-transform: none;
|
294
228
|
text-transform: uppercase;
|
295
229
|
letter-spacing: 1px;
|
296
230
|
text-decoration: none;
|
297
|
-
|
298
|
-
|
231
|
+
color: #fff;
|
232
|
+
background-color: #f47738; }
|
233
|
+
@media (min-width: 641px) {
|
234
|
+
body.beta #global-header .header-proposition .proposition-phase {
|
235
|
+
vertical-align: baseline; } }
|
299
236
|
@media (max-width: 640px) {
|
300
237
|
body.beta #global-header .header-proposition .proposition-phase {
|
301
238
|
font-size: 14px;
|
@@ -319,7 +256,7 @@ body.alpha #global-header .header-proposition .proposition-phase, body.beta #glo
|
|
319
256
|
font-family: "nta", Arial, sans-serif;
|
320
257
|
font-size: 16px;
|
321
258
|
line-height: 1.25;
|
322
|
-
font-weight:
|
259
|
+
font-weight: 400;
|
323
260
|
text-transform: none;
|
324
261
|
background: url(https://assets.digital.cabinet-office.gov.uk/static/separator-73822610794bc3a64871f144d93d6526.png) 100% 50% no-repeat;
|
325
262
|
float: left;
|
@@ -344,7 +281,7 @@ body.alpha #global-header .header-proposition .proposition-phase, body.beta #glo
|
|
344
281
|
position: relative;
|
345
282
|
display: -moz-inline-stack;
|
346
283
|
display: inline-block;
|
347
|
-
padding: 0.
|
284
|
+
padding: 0.3em 0.6em 0.2em 0.6em;
|
348
285
|
border: none;
|
349
286
|
-webkit-border-radius: 0;
|
350
287
|
-moz-border-radius: 0;
|
@@ -405,7 +342,7 @@ body.alpha #global-header .header-proposition .proposition-phase, body.beta #glo
|
|
405
342
|
position: relative;
|
406
343
|
display: -moz-inline-stack;
|
407
344
|
display: inline-block;
|
408
|
-
padding: 0.
|
345
|
+
padding: 0.3em 0.6em 0.2em 0.6em;
|
409
346
|
border: none;
|
410
347
|
-webkit-border-radius: 0;
|
411
348
|
-moz-border-radius: 0;
|
@@ -466,7 +403,7 @@ body.alpha #global-header .header-proposition .proposition-phase, body.beta #glo
|
|
466
403
|
position: relative;
|
467
404
|
display: -moz-inline-stack;
|
468
405
|
display: inline-block;
|
469
|
-
padding: 0.
|
406
|
+
padding: 0.3em 0.6em 0.2em 0.6em;
|
470
407
|
border: none;
|
471
408
|
-webkit-border-radius: 0;
|
472
409
|
-moz-border-radius: 0;
|
@@ -526,12 +463,11 @@ body.alpha #global-header .header-proposition .proposition-phase, body.beta #glo
|
|
526
463
|
font-family: "nta", Arial, sans-serif;
|
527
464
|
font-size: 24px;
|
528
465
|
line-height: 1.25;
|
529
|
-
font-weight:
|
530
|
-
text-transform: none;
|
531
|
-
font-weight: 700; }
|
466
|
+
font-weight: 700;
|
467
|
+
text-transform: none; }
|
532
468
|
@media (max-width: 640px) {
|
533
469
|
#footer h2 {
|
534
|
-
font-size:
|
470
|
+
font-size: 18px;
|
535
471
|
line-height: 1.2; } }
|
536
472
|
#footer .footer-categories {
|
537
473
|
font-size: 0;
|
@@ -545,7 +481,7 @@ body.alpha #global-header .header-proposition .proposition-phase, body.beta #glo
|
|
545
481
|
font-family: "nta", Arial, sans-serif;
|
546
482
|
font-size: 16px;
|
547
483
|
line-height: 1.25;
|
548
|
-
font-weight:
|
484
|
+
font-weight: 400;
|
549
485
|
text-transform: none;
|
550
486
|
list-style: none;
|
551
487
|
border-top: 1px solid #a1acb2;
|
@@ -42,14 +42,14 @@
|
|
42
42
|
|
43
43
|
<link rel="shortcut icon" href="<%= asset_path "favicon.ico" %>" type="image/x-icon" />
|
44
44
|
|
45
|
-
<!--
|
46
|
-
<link rel="apple-touch-icon-precomposed" sizes="
|
47
|
-
<!--
|
48
|
-
<link rel="apple-touch-icon-precomposed" sizes="
|
49
|
-
<!--
|
50
|
-
<link rel="apple-touch-icon-precomposed" sizes="
|
51
|
-
<!--
|
52
|
-
<link rel="apple-touch-icon-precomposed" href="<%= asset_path "apple-touch-icon-
|
45
|
+
<!-- Size for iPad and iPad mini (high resolution) -->
|
46
|
+
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="<%= asset_path "apple-touch-icon-152x152.png" %>">
|
47
|
+
<!-- Size for iPhone and iPod touch (high resolution) -->
|
48
|
+
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="<%= asset_path "apple-touch-icon-120x120.png" %>">
|
49
|
+
<!-- Size for iPad 2 and iPad mini (standard resolution) -->
|
50
|
+
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="<%= asset_path "apple-touch-icon-76x76.png" %>">
|
51
|
+
<!-- Default non-defined size, also used for Android 2.1+ devices -->
|
52
|
+
<link rel="apple-touch-icon-precomposed" href="<%= asset_path "apple-touch-icon-60x60.png" %>">
|
53
53
|
|
54
54
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
55
55
|
<meta property="og:image" content="<%= asset_path "opengraph-image.png" %>">
|
@@ -167,8 +167,8 @@
|
|
167
167
|
|
168
168
|
|
169
169
|
<div class="open-government-licence">
|
170
|
-
<
|
171
|
-
<p>All content is available under the <a href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/
|
170
|
+
<p class="logo"><a href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence</a></p>
|
171
|
+
<p>All content is available under the <a href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>, except where otherwise stated</p>
|
172
172
|
</div>
|
173
173
|
</div>
|
174
174
|
|
data/lib/moj_template/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moj_template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dom Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -72,28 +72,28 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.11.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.11.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: govuk_frontend_toolkit
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 3.1.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 3.1.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: gem_publisher
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,15 +129,15 @@ executables: []
|
|
129
129
|
extensions: []
|
130
130
|
extra_rdoc_files: []
|
131
131
|
files:
|
132
|
+
- app/assets/images/apple-touch-icon-60x60.png
|
132
133
|
- app/assets/images/gov.uk_logotype_crown_invert_trans.png
|
133
|
-
- app/assets/images/apple-touch-icon-
|
134
|
+
- app/assets/images/apple-touch-icon-120x120.png
|
135
|
+
- app/assets/images/apple-touch-icon-76x76.png
|
134
136
|
- app/assets/images/gov.uk_logotype_crown_invert.png
|
135
|
-
- app/assets/images/apple-touch-icon-144x144.png
|
136
137
|
- app/assets/images/gov.uk_logotype_crown.png
|
137
|
-
- app/assets/images/apple-touch-icon-
|
138
|
+
- app/assets/images/apple-touch-icon-152x152.png
|
138
139
|
- app/assets/images/opengraph-image.png
|
139
140
|
- app/assets/images/favicon.ico
|
140
|
-
- app/assets/images/apple-touch-icon-57x57.png
|
141
141
|
- app/assets/javascripts/modules/moj.tabs.js
|
142
142
|
- app/assets/javascripts/ie.js
|
143
143
|
- app/assets/javascripts/moj.js
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|