@govuk-pay/pay-js-commons 7.0.57 → 7.0.59
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.
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@govuk-pay/pay-js-commons",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.59",
|
|
4
4
|
"description": "Reusable js scripts for GOV.UK Pay Node.js projects",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^22.22.0",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"lib": "lib"
|
|
139
139
|
},
|
|
140
140
|
"dependencies": {
|
|
141
|
-
"axios": "1.
|
|
141
|
+
"axios": "1.16.0",
|
|
142
142
|
"csrf": "^3.1.0",
|
|
143
143
|
"express-rate-limit": "^8.1.0",
|
|
144
144
|
"lodash": "4.18.1",
|
|
@@ -148,9 +148,9 @@
|
|
|
148
148
|
"winston": "3.9.0"
|
|
149
149
|
},
|
|
150
150
|
"overrides": {
|
|
151
|
-
"axios": "1.
|
|
151
|
+
"axios": "1.16.0"
|
|
152
152
|
},
|
|
153
153
|
"resolutions": {
|
|
154
|
-
"axios": "1.
|
|
154
|
+
"axios": "1.16.0"
|
|
155
155
|
}
|
|
156
156
|
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
$govuk-font-family: -apple-system,BlinkMacSystemFont,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif; // Override font as so not to use New Transport
|
|
2
|
+
@import "application";
|
|
3
|
+
|
|
4
|
+
// CUSTOM BRANDING
|
|
5
|
+
// Use the variables below to control the style
|
|
6
|
+
// Make sure banner colours meet minimum colour contrast levels
|
|
7
|
+
|
|
8
|
+
$custom-banner-colour: #211fb4;
|
|
9
|
+
$custom-banner-border-colour: #ffffff;
|
|
10
|
+
$custom-text-colour: #ffffff;
|
|
11
|
+
$logo-image-height: 2em;
|
|
12
|
+
|
|
13
|
+
.govuk-template--rebranded {
|
|
14
|
+
.custom-branding {
|
|
15
|
+
@if $logo-image-height != null {
|
|
16
|
+
.custom-branding-image {
|
|
17
|
+
max-height: $logo-image-height;
|
|
18
|
+
|
|
19
|
+
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
20
|
+
width: 100%;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.govuk-header {
|
|
26
|
+
background-color: $custom-banner-colour;
|
|
27
|
+
border-bottom: 10px solid #ffffff;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.govuk-header__logo {
|
|
31
|
+
margin-bottom: 10px;
|
|
32
|
+
padding-top: 0;
|
|
33
|
+
padding-bottom: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.govuk-header__service-name {
|
|
37
|
+
margin: 0 0 15px;
|
|
38
|
+
color: $custom-text-colour;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.govuk-header__link{
|
|
42
|
+
&:link,
|
|
43
|
+
&:visited {
|
|
44
|
+
color: $custom-text-colour;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.govuk-header__link--homepage {
|
|
49
|
+
&:hover,
|
|
50
|
+
&:active {
|
|
51
|
+
border-bottom: none;
|
|
52
|
+
margin-bottom: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&:not(:focus) {
|
|
56
|
+
background-color: transparent;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
.govuk-header__container {
|
|
62
|
+
border-bottom: 10px solid $custom-banner-border-colour;
|
|
63
|
+
margin-bottom: -10px;
|
|
64
|
+
padding-top: 10px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@include govuk-media-query($from: tablet) {
|
|
68
|
+
.govuk-header__content {
|
|
69
|
+
width: 66%;
|
|
70
|
+
vertical-align: bottom;
|
|
71
|
+
margin-bottom: 7px;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.govuk-button {
|
|
76
|
+
padding: 7px 15px 6px;
|
|
77
|
+
padding: .368421053em .842105263em .315789474em;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|