govuk_template 0.18.3 → 0.19.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/javascripts/ie.js +0 -7
- data/app/assets/stylesheets/govuk-template-ie6.css.erb +37 -140
- data/app/assets/stylesheets/govuk-template-ie7.css.erb +37 -140
- data/app/assets/stylesheets/govuk-template-ie8.css.erb +37 -140
- data/app/assets/stylesheets/govuk-template-print.css.erb +4 -22
- data/app/assets/stylesheets/govuk-template.css.erb +47 -131
- data/lib/govuk_template/version.rb +1 -1
- metadata +4 -8
- data/app/assets/stylesheets/external-links/external-link-24x24.png +0 -0
- data/app/assets/stylesheets/external-links/external-link-black-12x12.png +0 -0
- data/app/assets/stylesheets/external-links/external-link-black-24x24.png +0 -0
- data/app/assets/stylesheets/external-links/external-link.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 631cfae6c4b8e0951bad1027dcd1034990735da6
|
4
|
+
data.tar.gz: 19fcd159bd61f935057a365597b7b1c9b17049b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d279dcd7883fc2880086261ec8f76db409d843030cf2b8ee3f82c7cd55df17a9b2a78212777a351549625afef86095e54935cdf4cbddd5c4df3b7984276b5245
|
7
|
+
data.tar.gz: e91399b83f42b93d1be01fd8ecae745ba7983cabeb4916ada14c94ec368bb6cf76faec0d3370d6c04aafac4c151967262f9b819d7bf52048e5c7295285284994
|
@@ -2,14 +2,7 @@
|
|
2
2
|
* @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
|
3
3
|
*/
|
4
4
|
|
5
|
-
!function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.3",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b),"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:this,document);
|
6
|
-
/**
|
7
|
-
* @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
|
8
|
-
*/
|
9
|
-
|
10
5
|
!function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=y.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=y.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),y.elements=c+" "+a,j(b)}function f(a){var b=x[a[v]];return b||(b={},w++,a[v]=w,x[w]=b),b}function g(a,c,d){if(c||(c=b),q)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():u.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||t.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),q)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return y.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(y,b.frag)}function j(a){a||(a=b);var d=f(a);return!y.shivCSS||p||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),q||i(a,d),a}function k(a){for(var b,c=a.getElementsByTagName("*"),e=c.length,f=RegExp("^(?:"+d().join("|")+")$","i"),g=[];e--;)b=c[e],f.test(b.nodeName)&&g.push(b.applyElement(l(b)));return g}function l(a){for(var b,c=a.attributes,d=c.length,e=a.ownerDocument.createElement(A+":"+a.nodeName);d--;)b=c[d],b.specified&&e.setAttribute(b.nodeName,b.nodeValue);return e.style.cssText=a.style.cssText,e}function m(a){for(var b,c=a.split("{"),e=c.length,f=RegExp("(^|[\\s,>+~])("+d().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),g="$1"+A+"\\:$2";e--;)b=c[e]=c[e].split("}"),b[b.length-1]=b[b.length-1].replace(f,g),c[e]=b.join("}");return c.join("{")}function n(a){for(var b=a.length;b--;)a[b].removeNode()}function o(a){function b(){clearTimeout(g._removeSheetTimer),d&&d.removeNode(!0),d=null}var d,e,g=f(a),h=a.namespaces,i=a.parentWindow;return!B||a.printShived?a:("undefined"==typeof h[A]&&h.add(A),i.attachEvent("onbeforeprint",function(){b();for(var f,g,h,i=a.styleSheets,j=[],l=i.length,n=Array(l);l--;)n[l]=i[l];for(;h=n.pop();)if(!h.disabled&&z.test(h.media)){try{f=h.imports,g=f.length}catch(o){g=0}for(l=0;g>l;l++)n.push(f[l]);try{j.push(h.cssText)}catch(o){}}j=m(j.reverse().join("")),e=k(a),d=c(a,j)}),i.attachEvent("onafterprint",function(){n(e),clearTimeout(g._removeSheetTimer),g._removeSheetTimer=setTimeout(b,500)}),a.printShived=!0,a)}var p,q,r="3.7.3",s=a.html5||{},t=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,u=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,v="_html5shiv",w=0,x={};!function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",p="hidden"in a,q=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){p=!0,q=!0}}();var y={elements:s.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:r,shivCSS:s.shivCSS!==!1,supportsUnknownElements:q,shivMethods:s.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=y,j(b);var z=/^$|\b(?:all|print)\b/,A="html5shiv",B=!q&&function(){var c=b.documentElement;return!("undefined"==typeof b.namespaces||"undefined"==typeof b.parentWindow||"undefined"==typeof c.applyElement||"undefined"==typeof c.removeNode||"undefined"==typeof a.attachEvent)}();y.type+=" print",y.shivPrint=o,o(b),"object"==typeof module&&module.exports&&(module.exports=y)}("undefined"!=typeof window?window:this,document);
|
11
|
-
|
12
|
-
|
13
6
|
/*
|
14
7
|
json2.js
|
15
8
|
2011-10-19
|
@@ -1,32 +1,4 @@
|
|
1
1
|
/* govuk_frontend_toolkit includes */
|
2
|
-
@-ms-viewport {
|
3
|
-
width: device-width; }
|
4
|
-
|
5
|
-
@-o-viewport {
|
6
|
-
width: device-width; }
|
7
|
-
|
8
|
-
@font-face {
|
9
|
-
font-family: GDS-Logo;
|
10
|
-
src: local("HelveticaNeue"), local("Helvetica Neue"), local("Arial"), local("Helvetica"); }
|
11
|
-
|
12
|
-
@-ms-viewport {
|
13
|
-
width: device-width; }
|
14
|
-
|
15
|
-
@-o-viewport {
|
16
|
-
width: device-width; }
|
17
|
-
|
18
|
-
@-ms-viewport {
|
19
|
-
width: device-width; }
|
20
|
-
|
21
|
-
@-o-viewport {
|
22
|
-
width: device-width; }
|
23
|
-
|
24
|
-
@-ms-viewport {
|
25
|
-
width: device-width; }
|
26
|
-
|
27
|
-
@-o-viewport {
|
28
|
-
width: device-width; }
|
29
|
-
|
30
2
|
#global-header .header-wrapper, #global-header .header-wrapper .header-global, #global-header .header-wrapper .header-global .header-logo, #global-header .header-proposition #proposition-link,
|
31
3
|
#global-header .header-proposition #proposition-links, #footer .footer-meta {
|
32
4
|
zoom: 1; }
|
@@ -43,12 +15,6 @@
|
|
43
15
|
margin: 0 30px;
|
44
16
|
margin: 0 auto; }
|
45
17
|
|
46
|
-
@-ms-viewport {
|
47
|
-
width: device-width; }
|
48
|
-
|
49
|
-
@-o-viewport {
|
50
|
-
width: device-width; }
|
51
|
-
|
52
18
|
#global-header .header-wrapper, #global-header .header-wrapper .header-global, #global-header .header-wrapper .header-global .header-logo, #global-header .header-proposition #proposition-link,
|
53
19
|
#global-header .header-proposition #proposition-links, #footer .footer-meta {
|
54
20
|
zoom: 1; }
|
@@ -58,12 +24,6 @@
|
|
58
24
|
display: block;
|
59
25
|
clear: both; }
|
60
26
|
|
61
|
-
@-ms-viewport {
|
62
|
-
width: device-width; }
|
63
|
-
|
64
|
-
@-o-viewport {
|
65
|
-
width: device-width; }
|
66
|
-
|
67
27
|
/* local styleguide includes */
|
68
28
|
@-ms-viewport {
|
69
29
|
width: device-width; }
|
@@ -138,41 +98,10 @@ a:visited {
|
|
138
98
|
color: #4c2c92; }
|
139
99
|
|
140
100
|
a:hover {
|
141
|
-
color: #
|
101
|
+
color: #2b8cc4; }
|
142
102
|
|
143
103
|
a:active {
|
144
|
-
color: #
|
145
|
-
|
146
|
-
a[rel="external"]:after {
|
147
|
-
background-image: url(<%= asset_path 'external-links/external-link.png' %>);
|
148
|
-
background-repeat: no-repeat; }
|
149
|
-
@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) {
|
150
|
-
a[rel="external"]:after {
|
151
|
-
background-image: url(<%= asset_path 'external-links/external-link-24x24.png' %>);
|
152
|
-
background-size: 12px 400px; } }
|
153
|
-
a[rel="external"]:after {
|
154
|
-
content: "\A0\A0\A0\A0\A0";
|
155
|
-
background-position: right 3px; }
|
156
|
-
a[rel="external"]:hover:after {
|
157
|
-
background-position: right -385px; }
|
158
|
-
a[rel="external"]:after {
|
159
|
-
content: "\A0\A0\A0\A0";
|
160
|
-
background-position: right 6px; }
|
161
|
-
a[rel="external"]:hover:after {
|
162
|
-
background-position: right -382px; }
|
163
|
-
|
164
|
-
.external-link:after {
|
165
|
-
content: "\A0\A0\A0\A0\A0\A0\A0\A0";
|
166
|
-
background-position: right 0px; }
|
167
|
-
.external-link:hover:after {
|
168
|
-
background-position: right 0px; }
|
169
|
-
.external-link:after {
|
170
|
-
background-image: url(<%= asset_path 'external-links/external-link-black-12x12.png' %>);
|
171
|
-
background-repeat: no-repeat; }
|
172
|
-
@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) {
|
173
|
-
.external-link:after {
|
174
|
-
background-image: url(<%= asset_path 'external-links/external-link-black-24x24.png' %>);
|
175
|
-
background-size: 12px 400px; } }
|
104
|
+
color: #2b8cc4; }
|
176
105
|
|
177
106
|
/*
|
178
107
|
* 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
|
@@ -324,12 +253,6 @@ button:focus,
|
|
324
253
|
#global-header a:focus {
|
325
254
|
color: #0b0c0c; }
|
326
255
|
|
327
|
-
@-ms-viewport {
|
328
|
-
width: device-width; }
|
329
|
-
|
330
|
-
@-o-viewport {
|
331
|
-
width: device-width; }
|
332
|
-
|
333
256
|
#global-header .header-wrapper, #global-header .header-wrapper .header-global, #global-header .header-wrapper .header-global .header-logo, #global-header .header-proposition #proposition-link,
|
334
257
|
#global-header .header-proposition #proposition-links, #footer .footer-meta {
|
335
258
|
zoom: 1; }
|
@@ -339,12 +262,6 @@ button:focus,
|
|
339
262
|
display: block;
|
340
263
|
clear: both; }
|
341
264
|
|
342
|
-
@-ms-viewport {
|
343
|
-
width: device-width; }
|
344
|
-
|
345
|
-
@-o-viewport {
|
346
|
-
width: device-width; }
|
347
|
-
|
348
265
|
#global-header {
|
349
266
|
background-color: #0b0c0c;
|
350
267
|
width: 100%; }
|
@@ -405,35 +322,31 @@ button:focus,
|
|
405
322
|
padding-top: 0; }
|
406
323
|
#global-header .header-proposition #proposition-name {
|
407
324
|
font-family: "nta", Arial, sans-serif;
|
408
|
-
font-size: 24px;
|
409
|
-
line-height: 1.25;
|
410
325
|
font-weight: 400;
|
411
326
|
text-transform: none;
|
327
|
+
font-size: 18px;
|
328
|
+
line-height: 1.2;
|
329
|
+
font-size: 24px;
|
330
|
+
line-height: 1.25;
|
412
331
|
font-weight: bold;
|
413
332
|
color: white;
|
414
333
|
text-decoration: none; }
|
415
|
-
@media (max-width: 640px) {
|
416
|
-
#global-header .header-proposition #proposition-name {
|
417
|
-
font-size: 18px;
|
418
|
-
line-height: 1.2; } }
|
419
334
|
#global-header .header-proposition a#proposition-name:hover {
|
420
335
|
text-decoration: underline; }
|
421
336
|
#global-header .header-proposition a.menu {
|
422
337
|
font-family: "nta", Arial, sans-serif;
|
423
|
-
font-size: 16px;
|
424
|
-
line-height: 1.25;
|
425
338
|
font-weight: 400;
|
426
339
|
text-transform: none;
|
340
|
+
font-size: 14px;
|
341
|
+
line-height: 1.14286;
|
342
|
+
font-size: 16px;
|
343
|
+
line-height: 1.25;
|
427
344
|
color: white;
|
428
345
|
display: block;
|
429
346
|
float: right;
|
430
347
|
text-decoration: none;
|
431
348
|
padding-top: 6px;
|
432
349
|
display: none; }
|
433
|
-
@media (max-width: 640px) {
|
434
|
-
#global-header .header-proposition a.menu {
|
435
|
-
font-size: 14px;
|
436
|
-
line-height: 1.14286; } }
|
437
350
|
#global-header .header-proposition a.menu:hover {
|
438
351
|
text-decoration: underline; }
|
439
352
|
#global-header .header-proposition a.menu:after {
|
@@ -479,26 +392,20 @@ button:focus,
|
|
479
392
|
color: white;
|
480
393
|
text-decoration: none;
|
481
394
|
font-family: "nta", Arial, sans-serif;
|
395
|
+
font-weight: 700;
|
396
|
+
text-transform: none;
|
397
|
+
font-size: 12px;
|
398
|
+
line-height: 1.25;
|
482
399
|
font-size: 14px;
|
483
400
|
line-height: 1.42857;
|
401
|
+
font-family: "nta", Arial, sans-serif;
|
484
402
|
font-weight: 700;
|
485
403
|
text-transform: none;
|
486
|
-
font-
|
404
|
+
font-size: 14px;
|
405
|
+
line-height: 1.14286;
|
487
406
|
font-size: 16px;
|
488
407
|
line-height: 1.25;
|
489
|
-
font-weight: 700;
|
490
|
-
text-transform: none;
|
491
408
|
line-height: 23px; }
|
492
|
-
@media (max-width: 640px) {
|
493
|
-
#global-header .header-proposition #proposition-link a,
|
494
|
-
#global-header .header-proposition #proposition-links a {
|
495
|
-
font-size: 12px;
|
496
|
-
line-height: 1.25; } }
|
497
|
-
@media (max-width: 640px) {
|
498
|
-
#global-header .header-proposition #proposition-link a,
|
499
|
-
#global-header .header-proposition #proposition-links a {
|
500
|
-
font-size: 14px;
|
501
|
-
line-height: 1.14286; } }
|
502
409
|
#global-header .header-proposition #proposition-link a:hover,
|
503
410
|
#global-header .header-proposition #proposition-links a:hover {
|
504
411
|
text-decoration: underline; }
|
@@ -533,16 +440,14 @@ button:focus,
|
|
533
440
|
padding-bottom: 10px; }
|
534
441
|
#global-cookie-message p {
|
535
442
|
font-family: "nta", Arial, sans-serif;
|
536
|
-
font-size: 16px;
|
537
|
-
line-height: 1.25;
|
538
443
|
font-weight: 400;
|
539
444
|
text-transform: none;
|
445
|
+
font-size: 14px;
|
446
|
+
line-height: 1.14286;
|
447
|
+
font-size: 16px;
|
448
|
+
line-height: 1.25;
|
540
449
|
margin-top: 0;
|
541
450
|
margin-bottom: 0; }
|
542
|
-
@media (max-width: 640px) {
|
543
|
-
#global-cookie-message p {
|
544
|
-
font-size: 14px;
|
545
|
-
line-height: 1.14286; } }
|
546
451
|
|
547
452
|
/* Global footer */
|
548
453
|
#footer {
|
@@ -558,17 +463,15 @@ button:focus,
|
|
558
463
|
color: #171819; }
|
559
464
|
#footer h2 {
|
560
465
|
font-family: "nta", Arial, sans-serif;
|
561
|
-
font-size: 24px;
|
562
|
-
line-height: 1.25;
|
563
466
|
font-weight: 400;
|
564
467
|
text-transform: none;
|
468
|
+
font-size: 18px;
|
469
|
+
line-height: 1.2;
|
470
|
+
font-size: 24px;
|
471
|
+
line-height: 1.25;
|
565
472
|
font-weight: bold;
|
566
473
|
color: #0b0c0c;
|
567
474
|
margin: 0; }
|
568
|
-
@media (max-width: 640px) {
|
569
|
-
#footer h2 {
|
570
|
-
font-size: 18px;
|
571
|
-
line-height: 1.2; } }
|
572
475
|
#footer h2 a {
|
573
476
|
color: inherit; }
|
574
477
|
#footer .footer-meta {
|
@@ -585,19 +488,17 @@ button:focus,
|
|
585
488
|
display: block; }
|
586
489
|
#footer .footer-meta .footer-meta-inner ul {
|
587
490
|
font-family: "nta", Arial, sans-serif;
|
588
|
-
font-size: 16px;
|
589
|
-
line-height: 1.5;
|
590
491
|
font-weight: 400;
|
591
492
|
text-transform: none;
|
493
|
+
font-size: 14px;
|
494
|
+
line-height: 1.5;
|
495
|
+
font-size: 16px;
|
496
|
+
line-height: 1.5;
|
592
497
|
display: inline-block;
|
593
498
|
list-style: none;
|
594
499
|
margin: 0 0 1.5em 0;
|
595
500
|
padding: 0;
|
596
501
|
margin: 0 0 1em 0; }
|
597
|
-
@media (max-width: 640px) {
|
598
|
-
#footer .footer-meta .footer-meta-inner ul {
|
599
|
-
font-size: 14px;
|
600
|
-
line-height: 1.5; } }
|
601
502
|
#footer .footer-meta .footer-meta-inner ul li {
|
602
503
|
display: inline-block;
|
603
504
|
margin: 0 15px 0 0;
|
@@ -630,22 +531,22 @@ button:focus,
|
|
630
531
|
background-size: 41px 17px; } }
|
631
532
|
#footer .footer-meta .footer-meta-inner .open-government-licence p {
|
632
533
|
font-family: "nta", Arial, sans-serif;
|
633
|
-
font-size: 16px;
|
634
|
-
line-height: 1.25;
|
635
534
|
font-weight: 400;
|
636
535
|
text-transform: none;
|
536
|
+
font-size: 14px;
|
537
|
+
line-height: 1.14286;
|
538
|
+
font-size: 16px;
|
539
|
+
line-height: 1.25;
|
637
540
|
margin: 0;
|
638
541
|
padding-top: 0.1em; }
|
639
|
-
@media (max-width: 640px) {
|
640
|
-
#footer .footer-meta .footer-meta-inner .open-government-licence p {
|
641
|
-
font-size: 14px;
|
642
|
-
line-height: 1.14286; } }
|
643
542
|
#footer .footer-meta .copyright {
|
644
543
|
font-family: "nta", Arial, sans-serif;
|
645
|
-
font-size: 16px;
|
646
|
-
line-height: 1.25;
|
647
544
|
font-weight: 400;
|
648
545
|
text-transform: none;
|
546
|
+
font-size: 14px;
|
547
|
+
line-height: 1.14286;
|
548
|
+
font-size: 16px;
|
549
|
+
line-height: 1.25;
|
649
550
|
margin: 30px 0 0 0;
|
650
551
|
width: 100%;
|
651
552
|
display: block;
|
@@ -657,10 +558,6 @@ button:focus,
|
|
657
558
|
float: right;
|
658
559
|
height: 150px;
|
659
560
|
width: 24%; }
|
660
|
-
@media (max-width: 640px) {
|
661
|
-
#footer .footer-meta .copyright {
|
662
|
-
font-size: 14px;
|
663
|
-
line-height: 1.14286; } }
|
664
561
|
#footer .footer-meta .copyright a {
|
665
562
|
display: block;
|
666
563
|
background-image: url(<%= asset_path 'images/govuk-crest.png' %>);
|
@@ -1,32 +1,4 @@
|
|
1
1
|
/* govuk_frontend_toolkit includes */
|
2
|
-
@-ms-viewport {
|
3
|
-
width: device-width; }
|
4
|
-
|
5
|
-
@-o-viewport {
|
6
|
-
width: device-width; }
|
7
|
-
|
8
|
-
@font-face {
|
9
|
-
font-family: GDS-Logo;
|
10
|
-
src: local("HelveticaNeue"), local("Helvetica Neue"), local("Arial"), local("Helvetica"); }
|
11
|
-
|
12
|
-
@-ms-viewport {
|
13
|
-
width: device-width; }
|
14
|
-
|
15
|
-
@-o-viewport {
|
16
|
-
width: device-width; }
|
17
|
-
|
18
|
-
@-ms-viewport {
|
19
|
-
width: device-width; }
|
20
|
-
|
21
|
-
@-o-viewport {
|
22
|
-
width: device-width; }
|
23
|
-
|
24
|
-
@-ms-viewport {
|
25
|
-
width: device-width; }
|
26
|
-
|
27
|
-
@-o-viewport {
|
28
|
-
width: device-width; }
|
29
|
-
|
30
2
|
#global-header .header-wrapper, #global-header .header-wrapper .header-global, #global-header .header-wrapper .header-global .header-logo, #global-header .header-proposition #proposition-link,
|
31
3
|
#global-header .header-proposition #proposition-links, #footer .footer-meta {
|
32
4
|
zoom: 1; }
|
@@ -43,12 +15,6 @@
|
|
43
15
|
margin: 0 30px;
|
44
16
|
margin: 0 auto; }
|
45
17
|
|
46
|
-
@-ms-viewport {
|
47
|
-
width: device-width; }
|
48
|
-
|
49
|
-
@-o-viewport {
|
50
|
-
width: device-width; }
|
51
|
-
|
52
18
|
#global-header .header-wrapper, #global-header .header-wrapper .header-global, #global-header .header-wrapper .header-global .header-logo, #global-header .header-proposition #proposition-link,
|
53
19
|
#global-header .header-proposition #proposition-links, #footer .footer-meta {
|
54
20
|
zoom: 1; }
|
@@ -58,12 +24,6 @@
|
|
58
24
|
display: block;
|
59
25
|
clear: both; }
|
60
26
|
|
61
|
-
@-ms-viewport {
|
62
|
-
width: device-width; }
|
63
|
-
|
64
|
-
@-o-viewport {
|
65
|
-
width: device-width; }
|
66
|
-
|
67
27
|
/* local styleguide includes */
|
68
28
|
@-ms-viewport {
|
69
29
|
width: device-width; }
|
@@ -138,41 +98,10 @@ a:visited {
|
|
138
98
|
color: #4c2c92; }
|
139
99
|
|
140
100
|
a:hover {
|
141
|
-
color: #
|
101
|
+
color: #2b8cc4; }
|
142
102
|
|
143
103
|
a:active {
|
144
|
-
color: #
|
145
|
-
|
146
|
-
a[rel="external"]:after {
|
147
|
-
background-image: url(<%= asset_path 'external-links/external-link.png' %>);
|
148
|
-
background-repeat: no-repeat; }
|
149
|
-
@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) {
|
150
|
-
a[rel="external"]:after {
|
151
|
-
background-image: url(<%= asset_path 'external-links/external-link-24x24.png' %>);
|
152
|
-
background-size: 12px 400px; } }
|
153
|
-
a[rel="external"]:after {
|
154
|
-
content: "\A0\A0\A0\A0\A0";
|
155
|
-
background-position: right 3px; }
|
156
|
-
a[rel="external"]:hover:after {
|
157
|
-
background-position: right -385px; }
|
158
|
-
a[rel="external"]:after {
|
159
|
-
content: "\A0\A0\A0\A0";
|
160
|
-
background-position: right 6px; }
|
161
|
-
a[rel="external"]:hover:after {
|
162
|
-
background-position: right -382px; }
|
163
|
-
|
164
|
-
.external-link:after {
|
165
|
-
content: "\A0\A0\A0\A0\A0\A0\A0\A0";
|
166
|
-
background-position: right 0px; }
|
167
|
-
.external-link:hover:after {
|
168
|
-
background-position: right 0px; }
|
169
|
-
.external-link:after {
|
170
|
-
background-image: url(<%= asset_path 'external-links/external-link-black-12x12.png' %>);
|
171
|
-
background-repeat: no-repeat; }
|
172
|
-
@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) {
|
173
|
-
.external-link:after {
|
174
|
-
background-image: url(<%= asset_path 'external-links/external-link-black-24x24.png' %>);
|
175
|
-
background-size: 12px 400px; } }
|
104
|
+
color: #2b8cc4; }
|
176
105
|
|
177
106
|
/*
|
178
107
|
* 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
|
@@ -324,12 +253,6 @@ button:focus,
|
|
324
253
|
#global-header a:focus {
|
325
254
|
color: #0b0c0c; }
|
326
255
|
|
327
|
-
@-ms-viewport {
|
328
|
-
width: device-width; }
|
329
|
-
|
330
|
-
@-o-viewport {
|
331
|
-
width: device-width; }
|
332
|
-
|
333
256
|
#global-header .header-wrapper, #global-header .header-wrapper .header-global, #global-header .header-wrapper .header-global .header-logo, #global-header .header-proposition #proposition-link,
|
334
257
|
#global-header .header-proposition #proposition-links, #footer .footer-meta {
|
335
258
|
zoom: 1; }
|
@@ -339,12 +262,6 @@ button:focus,
|
|
339
262
|
display: block;
|
340
263
|
clear: both; }
|
341
264
|
|
342
|
-
@-ms-viewport {
|
343
|
-
width: device-width; }
|
344
|
-
|
345
|
-
@-o-viewport {
|
346
|
-
width: device-width; }
|
347
|
-
|
348
265
|
#global-header {
|
349
266
|
background-color: #0b0c0c;
|
350
267
|
width: 100%; }
|
@@ -405,35 +322,31 @@ button:focus,
|
|
405
322
|
padding-top: 0; }
|
406
323
|
#global-header .header-proposition #proposition-name {
|
407
324
|
font-family: "nta", Arial, sans-serif;
|
408
|
-
font-size: 24px;
|
409
|
-
line-height: 1.25;
|
410
325
|
font-weight: 400;
|
411
326
|
text-transform: none;
|
327
|
+
font-size: 18px;
|
328
|
+
line-height: 1.2;
|
329
|
+
font-size: 24px;
|
330
|
+
line-height: 1.25;
|
412
331
|
font-weight: bold;
|
413
332
|
color: white;
|
414
333
|
text-decoration: none; }
|
415
|
-
@media (max-width: 640px) {
|
416
|
-
#global-header .header-proposition #proposition-name {
|
417
|
-
font-size: 18px;
|
418
|
-
line-height: 1.2; } }
|
419
334
|
#global-header .header-proposition a#proposition-name:hover {
|
420
335
|
text-decoration: underline; }
|
421
336
|
#global-header .header-proposition a.menu {
|
422
337
|
font-family: "nta", Arial, sans-serif;
|
423
|
-
font-size: 16px;
|
424
|
-
line-height: 1.25;
|
425
338
|
font-weight: 400;
|
426
339
|
text-transform: none;
|
340
|
+
font-size: 14px;
|
341
|
+
line-height: 1.14286;
|
342
|
+
font-size: 16px;
|
343
|
+
line-height: 1.25;
|
427
344
|
color: white;
|
428
345
|
display: block;
|
429
346
|
float: right;
|
430
347
|
text-decoration: none;
|
431
348
|
padding-top: 6px;
|
432
349
|
display: none; }
|
433
|
-
@media (max-width: 640px) {
|
434
|
-
#global-header .header-proposition a.menu {
|
435
|
-
font-size: 14px;
|
436
|
-
line-height: 1.14286; } }
|
437
350
|
#global-header .header-proposition a.menu:hover {
|
438
351
|
text-decoration: underline; }
|
439
352
|
#global-header .header-proposition a.menu:after {
|
@@ -479,26 +392,20 @@ button:focus,
|
|
479
392
|
color: white;
|
480
393
|
text-decoration: none;
|
481
394
|
font-family: "nta", Arial, sans-serif;
|
395
|
+
font-weight: 700;
|
396
|
+
text-transform: none;
|
397
|
+
font-size: 12px;
|
398
|
+
line-height: 1.25;
|
482
399
|
font-size: 14px;
|
483
400
|
line-height: 1.42857;
|
401
|
+
font-family: "nta", Arial, sans-serif;
|
484
402
|
font-weight: 700;
|
485
403
|
text-transform: none;
|
486
|
-
font-
|
404
|
+
font-size: 14px;
|
405
|
+
line-height: 1.14286;
|
487
406
|
font-size: 16px;
|
488
407
|
line-height: 1.25;
|
489
|
-
font-weight: 700;
|
490
|
-
text-transform: none;
|
491
408
|
line-height: 23px; }
|
492
|
-
@media (max-width: 640px) {
|
493
|
-
#global-header .header-proposition #proposition-link a,
|
494
|
-
#global-header .header-proposition #proposition-links a {
|
495
|
-
font-size: 12px;
|
496
|
-
line-height: 1.25; } }
|
497
|
-
@media (max-width: 640px) {
|
498
|
-
#global-header .header-proposition #proposition-link a,
|
499
|
-
#global-header .header-proposition #proposition-links a {
|
500
|
-
font-size: 14px;
|
501
|
-
line-height: 1.14286; } }
|
502
409
|
#global-header .header-proposition #proposition-link a:hover,
|
503
410
|
#global-header .header-proposition #proposition-links a:hover {
|
504
411
|
text-decoration: underline; }
|
@@ -533,16 +440,14 @@ button:focus,
|
|
533
440
|
padding-bottom: 10px; }
|
534
441
|
#global-cookie-message p {
|
535
442
|
font-family: "nta", Arial, sans-serif;
|
536
|
-
font-size: 16px;
|
537
|
-
line-height: 1.25;
|
538
443
|
font-weight: 400;
|
539
444
|
text-transform: none;
|
445
|
+
font-size: 14px;
|
446
|
+
line-height: 1.14286;
|
447
|
+
font-size: 16px;
|
448
|
+
line-height: 1.25;
|
540
449
|
margin-top: 0;
|
541
450
|
margin-bottom: 0; }
|
542
|
-
@media (max-width: 640px) {
|
543
|
-
#global-cookie-message p {
|
544
|
-
font-size: 14px;
|
545
|
-
line-height: 1.14286; } }
|
546
451
|
|
547
452
|
/* Global footer */
|
548
453
|
#footer {
|
@@ -558,17 +463,15 @@ button:focus,
|
|
558
463
|
color: #171819; }
|
559
464
|
#footer h2 {
|
560
465
|
font-family: "nta", Arial, sans-serif;
|
561
|
-
font-size: 24px;
|
562
|
-
line-height: 1.25;
|
563
466
|
font-weight: 400;
|
564
467
|
text-transform: none;
|
468
|
+
font-size: 18px;
|
469
|
+
line-height: 1.2;
|
470
|
+
font-size: 24px;
|
471
|
+
line-height: 1.25;
|
565
472
|
font-weight: bold;
|
566
473
|
color: #0b0c0c;
|
567
474
|
margin: 0; }
|
568
|
-
@media (max-width: 640px) {
|
569
|
-
#footer h2 {
|
570
|
-
font-size: 18px;
|
571
|
-
line-height: 1.2; } }
|
572
475
|
#footer h2 a {
|
573
476
|
color: inherit; }
|
574
477
|
#footer .footer-meta {
|
@@ -585,19 +488,17 @@ button:focus,
|
|
585
488
|
display: block; }
|
586
489
|
#footer .footer-meta .footer-meta-inner ul {
|
587
490
|
font-family: "nta", Arial, sans-serif;
|
588
|
-
font-size: 16px;
|
589
|
-
line-height: 1.5;
|
590
491
|
font-weight: 400;
|
591
492
|
text-transform: none;
|
493
|
+
font-size: 14px;
|
494
|
+
line-height: 1.5;
|
495
|
+
font-size: 16px;
|
496
|
+
line-height: 1.5;
|
592
497
|
display: inline-block;
|
593
498
|
list-style: none;
|
594
499
|
margin: 0 0 1.5em 0;
|
595
500
|
padding: 0;
|
596
501
|
margin: 0 0 1em 0; }
|
597
|
-
@media (max-width: 640px) {
|
598
|
-
#footer .footer-meta .footer-meta-inner ul {
|
599
|
-
font-size: 14px;
|
600
|
-
line-height: 1.5; } }
|
601
502
|
#footer .footer-meta .footer-meta-inner ul li {
|
602
503
|
display: inline-block;
|
603
504
|
margin: 0 15px 0 0;
|
@@ -629,22 +530,22 @@ button:focus,
|
|
629
530
|
background-size: 41px 17px; } }
|
630
531
|
#footer .footer-meta .footer-meta-inner .open-government-licence p {
|
631
532
|
font-family: "nta", Arial, sans-serif;
|
632
|
-
font-size: 16px;
|
633
|
-
line-height: 1.25;
|
634
533
|
font-weight: 400;
|
635
534
|
text-transform: none;
|
535
|
+
font-size: 14px;
|
536
|
+
line-height: 1.14286;
|
537
|
+
font-size: 16px;
|
538
|
+
line-height: 1.25;
|
636
539
|
margin: 0;
|
637
540
|
padding-top: 0.1em; }
|
638
|
-
@media (max-width: 640px) {
|
639
|
-
#footer .footer-meta .footer-meta-inner .open-government-licence p {
|
640
|
-
font-size: 14px;
|
641
|
-
line-height: 1.14286; } }
|
642
541
|
#footer .footer-meta .copyright {
|
643
542
|
font-family: "nta", Arial, sans-serif;
|
644
|
-
font-size: 16px;
|
645
|
-
line-height: 1.25;
|
646
543
|
font-weight: 400;
|
647
544
|
text-transform: none;
|
545
|
+
font-size: 14px;
|
546
|
+
line-height: 1.14286;
|
547
|
+
font-size: 16px;
|
548
|
+
line-height: 1.25;
|
648
549
|
margin: 30px 0 0 0;
|
649
550
|
width: 100%;
|
650
551
|
display: block;
|
@@ -656,10 +557,6 @@ button:focus,
|
|
656
557
|
float: right;
|
657
558
|
height: 150px;
|
658
559
|
width: 24%; }
|
659
|
-
@media (max-width: 640px) {
|
660
|
-
#footer .footer-meta .copyright {
|
661
|
-
font-size: 14px;
|
662
|
-
line-height: 1.14286; } }
|
663
560
|
#footer .footer-meta .copyright a {
|
664
561
|
display: block;
|
665
562
|
background-image: url(<%= asset_path 'images/govuk-crest.png' %>);
|