@govuk-pay/pay-js-commons 7.0.7 → 7.0.8

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.
Files changed (79) hide show
  1. package/package.json +1 -1
  2. package/sass/custom/abuhb.scss +55 -67
  3. package/sass/custom/adur-and-worthing-council.scss +58 -70
  4. package/sass/custom/barking-havering-redbridge-nhs-trust.scss +58 -70
  5. package/sass/custom/bracknell-forest.scss +55 -67
  6. package/sass/custom/british-pharmacopoeia.scss +61 -73
  7. package/sass/custom/caa.scss +55 -67
  8. package/sass/custom/cadw-welsh-government-2023.scss +54 -66
  9. package/sass/custom/cadw-welsh-government.scss +55 -67
  10. package/sass/custom/canterbury-city-council.scss +55 -67
  11. package/sass/custom/cardiff-and-vale-uhb.scss +55 -67
  12. package/sass/custom/croydon-council.scss +55 -67
  13. package/sass/custom/custom.scss +55 -67
  14. package/sass/custom/cypress-testing-purple-background.scss +55 -67
  15. package/sass/custom/cypress-testing-white-background.scss +55 -67
  16. package/sass/custom/dacorum.scss +55 -67
  17. package/sass/custom/disclosure-scotland.scss +55 -67
  18. package/sass/custom/dvsa-nidirect.scss +55 -67
  19. package/sass/custom/ea-defra.scss +55 -67
  20. package/sass/custom/edevelopment-scot.scss +55 -67
  21. package/sass/custom/edinburgh-council-pest-control.scss +57 -69
  22. package/sass/custom/food-standards-agency.scss +57 -69
  23. package/sass/custom/gambling-commission.scss +55 -67
  24. package/sass/custom/guys-and-st-thomas-nhs-foundation-trust-nhs-care.scss +68 -75
  25. package/sass/custom/guys-and-st-thomas-nhs-foundation-trust.scss +57 -69
  26. package/sass/custom/gwent-police.scss +55 -67
  27. package/sass/custom/hiw.scss +61 -73
  28. package/sass/custom/hssib.scss +55 -67
  29. package/sass/custom/kcc.scss +55 -67
  30. package/sass/custom/kingston.scss +55 -67
  31. package/sass/custom/knowsley-council.scss +55 -67
  32. package/sass/custom/lbbd.scss +55 -67
  33. package/sass/custom/leeds-city-council.scss +61 -65
  34. package/sass/custom/lewisham-and-greenwich-nhs-trust.scss +71 -79
  35. package/sass/custom/london-fire-brigade.scss +62 -74
  36. package/sass/custom/merseyside-police.scss +55 -67
  37. package/sass/custom/mhra-black.scss +59 -63
  38. package/sass/custom/mhra.scss +56 -60
  39. package/sass/custom/ministry-of-defence-dbs-fps.scss +58 -70
  40. package/sass/custom/my-university-hospitals-sussex-charity.scss +61 -73
  41. package/sass/custom/national-museums-ni.scss +57 -69
  42. package/sass/custom/natural-resources-wales.scss +57 -69
  43. package/sass/custom/neath-port-talbot-county-borough-council-2023.scss +55 -67
  44. package/sass/custom/neath_port_talbet_council.scss +57 -69
  45. package/sass/custom/nhs-england.scss +55 -67
  46. package/sass/custom/nhs-greater-manchester.scss +55 -67
  47. package/sass/custom/nhs-kent-medway.scss +55 -67
  48. package/sass/custom/nhs-sbs.scss +55 -67
  49. package/sass/custom/nhs-west-yorkshire.scss +55 -67
  50. package/sass/custom/nhs-white-on-blue.scss +55 -67
  51. package/sass/custom/nhsbsa.scss +58 -70
  52. package/sass/custom/nibsc-standards-2023-01.scss +56 -60
  53. package/sass/custom/nibsc-standards.scss +56 -60
  54. package/sass/custom/north-east-derbyshire-district-council.scss +55 -67
  55. package/sass/custom/north-yorkshire-council.scss +55 -67
  56. package/sass/custom/north-yorkshire-county-council.scss +56 -60
  57. package/sass/custom/nottingham-university-hospitals-trust.scss +55 -67
  58. package/sass/custom/oswestry-town-council.scss +55 -67
  59. package/sass/custom/penzance-council.scss +55 -67
  60. package/sass/custom/planning-and-building-services-edinburgh.scss +55 -67
  61. package/sass/custom/portsmouth.scss +65 -77
  62. package/sass/custom/registers-of-scotland.scss +55 -67
  63. package/sass/custom/runnymede-borough-council.scss +55 -67
  64. package/sass/custom/rushmoor.scss +55 -67
  65. package/sass/custom/scottish-government-planning.scss +56 -68
  66. package/sass/custom/scottish-government.scss +55 -67
  67. package/sass/custom/social-security-scotland.scss +56 -69
  68. package/sass/custom/someret-west-and-taunton.scss +55 -67
  69. package/sass/custom/south-wales-police.scss +55 -67
  70. package/sass/custom/stratford-upon-avon.scss +55 -67
  71. package/sass/custom/sutton.scss +55 -67
  72. package/sass/custom/the-coal-authority.scss +57 -69
  73. package/sass/custom/the-sixth-form-bolton.scss +66 -74
  74. package/sass/custom/torbay-south-devon-nhs-foundation-trust.scss +61 -73
  75. package/sass/custom/uk-atomic-energy-authority.scss +55 -67
  76. package/sass/custom/university-hospital-southampton-nhs-foundation-trust.scss +59 -63
  77. package/sass/custom/university-hospitals-sussex.scss +61 -73
  78. package/sass/custom/wealden.scss +54 -66
  79. package/sass/custom/west-berkshire-council.scss +55 -67
@@ -10,100 +10,92 @@ $custom-banner-border-colour: #ffffff;
10
10
  $custom-text-colour: #ffffff;
11
11
  $logo-image-width: 215px;
12
12
 
13
- .custom-branding {
14
- @if $logo-image-width != null {
15
- .custom-branding-image {
16
- width: $logo-image-width;
17
-
18
- @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
19
- width: 100%;
13
+ .govuk-template--rebranded {
14
+ .custom-branding {
15
+ @if $logo-image-width != null {
16
+ .custom-branding-image {
17
+ width: $logo-image-width;
18
+
19
+ @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
20
+ width: 100%;
21
+ }
20
22
  }
21
23
  }
22
- }
23
-
24
- .govuk-header {
25
- background-color: $custom-banner-colour;
26
- }
27
-
28
- .govuk-header__link--homepage {
29
- border: none;
30
- }
31
-
32
- .govuk-header__link {
33
- &:link,
34
- &:visited {
35
- color: $custom-text-colour;
24
+
25
+ .govuk-header {
26
+ background-color: $custom-banner-colour;
27
+ border-bottom: 10px solid #ffffff;
36
28
  }
37
- }
38
-
39
- .govuk-header__service-name {
40
- color: $custom-text-colour;
41
- }
42
-
43
- .govuk-header__container {
44
- border-bottom-color: $custom-banner-border-colour;
45
- }
46
-
47
- .govuk-header__logo {
48
- float: right;
49
- }
50
-
51
- @include govuk-media-query($from: 48em) {
52
- .govuk-header__content {
53
- width: 66%;
54
- vertical-align: bottom;
55
- margin-bottom: 7px;
29
+
30
+ .govuk-header__logo {
31
+ margin-bottom: 10px;
32
+ padding-top: 0;
33
+ padding-bottom: 0;
56
34
  }
35
+
57
36
  .govuk-header__service-name {
58
- padding-top: 15px;
59
- float: left;
37
+ margin: 0 0 15px;
60
38
  }
61
- }
62
-
63
- @include govuk-media-query($until: 48em) {
64
- .govuk-header__content {
65
- width: 99%;
66
- text-align: center;
39
+
40
+ .govuk-header__link {
41
+ &:link,
42
+ &:visited {
43
+ color: $custom-text-colour;
44
+ }
67
45
  }
68
- .govuk-header__service-name {
69
- padding-top: 5px;
70
- float: none;
46
+
47
+ .govuk-header__link--homepage {
48
+ &:hover,
49
+ &:active {
50
+ border-bottom: none;
51
+ margin-bottom: 0;
52
+ }
53
+
54
+ &:not(:focus) {
55
+ background-color: transparent;
56
+ }
71
57
  }
72
- }
73
-
74
- .govuk-button {
75
- padding: 7px 15px 6px;
76
- padding: .368421053em .842105263em .315789474em;
77
- }
78
- }
79
-
80
- .govuk-template--rebranded {
81
- .custom-branding {
82
- .govuk-header {
83
- border-bottom: 10px solid #ffffff;
58
+
59
+ .govuk-header__service-name {
60
+ color: $custom-text-colour;
84
61
  }
85
-
62
+
86
63
  .govuk-header__container {
87
64
  border-bottom: 10px solid $custom-banner-border-colour;
88
65
  margin-bottom: -10px;
89
66
  padding-top: 10px;
90
67
  }
91
-
92
- .govuk-header__link--homepage {
93
- &:not(:focus) {
94
- background-color: transparent;
95
- }
96
- }
97
-
68
+
98
69
  .govuk-header__logo {
99
- margin-bottom: 10px;
100
- padding-top: 0;
101
- padding-bottom: 0;
102
- }
103
-
104
- .govuk-header__service-name {
105
- margin: 0 0 15px;
70
+ float: right;
71
+ }
72
+
73
+ @include govuk-media-query($from: 48em) {
74
+ .govuk-header__content {
75
+ width: 66%;
76
+ vertical-align: bottom;
77
+ margin-bottom: 7px;
78
+ }
79
+ .govuk-header__service-name {
80
+ padding-top: 15px;
81
+ float: left;
82
+ }
83
+ }
84
+
85
+ @include govuk-media-query($until: 48em) {
86
+ .govuk-header__content {
87
+ width: 99%;
88
+ text-align: center;
89
+ }
90
+ .govuk-header__service-name {
91
+ padding-top: 5px;
92
+ float: none;
93
+ }
94
+ }
95
+
96
+ .govuk-button {
97
+ padding: 7px 15px 6px;
98
+ padding: .368421053em .842105263em .315789474em;
106
99
  }
107
100
  }
108
101
  }
109
-
@@ -10,93 +10,81 @@ $custom-banner-border-colour: black;
10
10
  $custom-text-colour: black;
11
11
  $logo-image-height: 1.5em;
12
12
 
13
- .custom-branding {
14
- @if $logo-image-height != null {
15
- .custom-branding-image {
16
- height: $logo-image-height;
17
- max-height: $logo-image-height;
18
- padding-top: 2px;
19
- padding-bottom: 2px;
20
-
21
- @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
22
- width: 100%;
13
+ .govuk-template--rebranded {
14
+ .custom-branding {
15
+ @if $logo-image-height != null {
16
+ .custom-branding-image {
17
+ height: $logo-image-height;
18
+ max-height: $logo-image-height;
19
+ padding-top: 2px;
20
+ padding-bottom: 2px;
21
+
22
+ @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
23
+ width: 100%;
24
+ }
23
25
  }
24
26
  }
25
- }
26
-
27
- .govuk-header {
28
- background-color: $custom-banner-colour;
29
- }
30
-
31
- .govuk-header__link{
32
- &:link,
33
- &:visited {
34
- color: $custom-text-colour;
35
- }
36
- }
37
-
38
- .govuk-header__link--homepage {
39
- &:hover,
40
- &:active {
41
- border-bottom: none;
42
- margin-bottom: 0;
27
+
28
+ .govuk-header {
29
+ background-color: $custom-banner-colour;
30
+ border-bottom: 10px solid #ffffff;
43
31
  }
44
- }
45
-
46
- .govuk-header__service-name {
47
- color: $custom-text-colour;
48
- float: none;
49
- }
50
-
51
- .govuk-header__container {
52
- border-bottom-color: $custom-banner-border-colour;
53
- }
54
-
55
- @include govuk-media-query($from: tablet) {
56
- .govuk-header__content {
57
- width: 66%;
58
- vertical-align: bottom;
59
- margin-bottom: 7px;
32
+
33
+ .govuk-header__logo {
34
+ margin-bottom: 10px;
35
+ padding-top: 0;
36
+ padding-bottom: 0;
60
37
  }
38
+
61
39
  .govuk-header__service-name {
62
- padding-top: 9px;
63
- float: right;
40
+ margin: 0 0 15px;
64
41
  }
65
- }
66
-
67
- .govuk-button {
68
- padding: 7px 15px 6px;
69
- padding: .368421053em .842105263em .315789474em;
70
- }
71
- }
72
-
73
- .govuk-template--rebranded {
74
- .custom-branding {
75
- .govuk-header {
76
- border-bottom: 10px solid #ffffff;
42
+
43
+ .govuk-header__link{
44
+ &:link,
45
+ &:visited {
46
+ color: $custom-text-colour;
47
+ }
77
48
  }
78
-
49
+
50
+ .govuk-header__link--homepage {
51
+ &:hover,
52
+ &:active {
53
+ border-bottom: none;
54
+ margin-bottom: 0;
55
+ }
56
+
57
+ &:not(:focus) {
58
+ background-color: transparent;
59
+ }
60
+ }
61
+
62
+ .govuk-header__service-name {
63
+ color: $custom-text-colour;
64
+ float: none;
65
+ }
66
+
79
67
  .govuk-header__container {
80
68
  border-bottom: 10px solid $custom-banner-border-colour;
81
69
  margin-bottom: -10px;
82
70
  padding-top: 10px;
83
71
  }
84
-
85
- .govuk-header__link--homepage {
86
- &:not(:focus) {
87
- background-color: transparent;
72
+
73
+ @include govuk-media-query($from: tablet) {
74
+ .govuk-header__content {
75
+ width: 66%;
76
+ vertical-align: bottom;
77
+ margin-bottom: 7px;
88
78
  }
89
- }
90
-
91
- .govuk-header__logo {
92
- margin-bottom: 10px;
93
- padding-top: 0;
94
- padding-bottom: 0;
95
- }
96
-
97
- .govuk-header__service-name {
98
- margin: 0 0 15px;
79
+ .govuk-header__service-name {
80
+ padding-top: 9px;
81
+ float: right;
82
+ }
83
+ }
84
+
85
+ .govuk-button {
86
+ padding: 7px 15px 6px;
87
+ padding: .368421053em .842105263em .315789474em;
99
88
  }
100
89
  }
101
90
  }
102
-
@@ -10,85 +10,73 @@ $custom-banner-border-colour: #0b0c0c;
10
10
  $custom-text-colour: #0b0c0c;
11
11
  $logo-image-height: 2em;
12
12
 
13
- .custom-branding {
14
- @if $logo-image-height != null {
15
- .custom-branding-image {
16
- max-height: $logo-image-height;
17
-
18
- @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
19
- width: 100%;
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
+ }
20
22
  }
21
23
  }
22
- }
23
-
24
- .govuk-header {
25
- background-color: $custom-banner-colour;
26
- }
27
-
28
- .govuk-header__link{
29
- &:link,
30
- &:visited {
31
- color: $custom-text-colour;
24
+
25
+ .govuk-header {
26
+ background-color: $custom-banner-colour;
27
+ border-bottom: 10px solid #ffffff;
32
28
  }
33
- }
34
-
35
- .govuk-header__link--homepage {
36
- &:hover,
37
- &:active {
38
- border-bottom: none;
39
- margin-bottom: 0;
29
+
30
+ .govuk-header__logo {
31
+ margin-bottom: 10px;
32
+ padding-top: 0;
33
+ padding-bottom: 0;
40
34
  }
41
- }
42
-
43
- .govuk-header__service-name {
44
- color: $custom-text-colour;
45
- }
46
-
47
- .govuk-header__container {
48
- border-bottom-color: $custom-banner-border-colour;
49
- }
50
-
51
- @include govuk-media-query($from: tablet) {
52
- .govuk-header__content {
53
- width: 66%;
54
- vertical-align: bottom;
55
- margin-bottom: 7px;
35
+
36
+ .govuk-header__service-name {
37
+ margin: 0 0 15px;
56
38
  }
57
- }
58
-
59
- .govuk-button {
60
- padding: 7px 15px 6px;
61
- padding: .368421053em .842105263em .315789474em;
62
- }
63
- }
64
-
65
- .govuk-template--rebranded {
66
- .custom-branding {
67
- .govuk-header {
68
- border-bottom: 10px solid #ffffff;
39
+
40
+ .govuk-header__link{
41
+ &:link,
42
+ &:visited {
43
+ color: $custom-text-colour;
44
+ }
69
45
  }
70
-
46
+
47
+ .govuk-header__link--homepage {
48
+ &:hover,
49
+ &:active {
50
+ border-bottom: none;
51
+ margin-bottom: 0;
52
+ }
53
+
54
+ &:not(:focus) {
55
+ background-color: transparent;
56
+ }
57
+ }
58
+
59
+ .govuk-header__service-name {
60
+ color: $custom-text-colour;
61
+ }
62
+
71
63
  .govuk-header__container {
72
64
  border-bottom: 10px solid $custom-banner-border-colour;
73
65
  margin-bottom: -10px;
74
66
  padding-top: 10px;
75
67
  }
76
-
77
- .govuk-header__link--homepage {
78
- &:not(:focus) {
79
- background-color: transparent;
68
+
69
+ @include govuk-media-query($from: tablet) {
70
+ .govuk-header__content {
71
+ width: 66%;
72
+ vertical-align: bottom;
73
+ margin-bottom: 7px;
80
74
  }
81
- }
82
-
83
- .govuk-header__logo {
84
- margin-bottom: 10px;
85
- padding-top: 0;
86
- padding-bottom: 0;
87
- }
88
-
89
- .govuk-header__service-name {
90
- margin: 0 0 15px;
75
+ }
76
+
77
+ .govuk-button {
78
+ padding: 7px 15px 6px;
79
+ padding: .368421053em .842105263em .315789474em;
91
80
  }
92
81
  }
93
82
  }
94
-
@@ -10,83 +10,79 @@ $custom-banner-border-colour: #ffffff;
10
10
  $custom-text-colour: #ffffff;
11
11
  $logo-image-height: 1em;
12
12
 
13
- .custom-branding {
14
- @if $logo-image-height != null {
15
- .custom-branding-image {
16
- height: $logo-image-height;
17
- width: 100%;
18
- padding: 30px 0px;
19
-
20
- @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
13
+ .govuk-template--rebranded {
14
+ .custom-branding {
15
+ @if $logo-image-height != null {
16
+ .custom-branding-image {
17
+ height: $logo-image-height;
21
18
  width: 100%;
19
+ padding: 30px 0px;
20
+
21
+ @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
22
+ width: 100%;
23
+ }
22
24
  }
23
25
  }
24
- }
25
-
26
- .govuk-header {
27
- background-color: $custom-banner-colour;
28
- }
29
-
30
- .govuk-header__link {
31
- &:link,
32
- &:visited {
33
- color: $custom-text-colour;
26
+
27
+ .govuk-header {
28
+ background-color: $custom-banner-colour;
29
+ border-bottom: 10px solid #ffffff;
34
30
  }
35
- }
36
-
37
- .govuk-header__service-name {
38
- display: none;
39
- }
40
-
41
- .govuk-header__container {
42
- border-bottom-color: $custom-banner-border-colour;
43
- }
44
-
45
- @include govuk-media-query($from: tablet) {
31
+
46
32
  .govuk-header__logo {
47
- width: 90%;
33
+ margin-bottom: 10px;
34
+ padding-top: 0;
35
+ padding-bottom: 0;
48
36
  }
49
-
50
- .govuk-header__content {
51
- width: 66%;
52
- vertical-align: bottom;
53
- margin-bottom: 7px;
37
+
38
+ .govuk-header__service-name {
39
+ margin: 0 0 15px;
54
40
  }
55
- }
56
-
57
- .govuk-button {
58
- padding: 7px 15px 6px;
59
- padding: .368421053em .842105263em .315789474em;
60
- }
61
- }
62
-
63
- .govuk-template--rebranded {
64
- .custom-branding {
65
- .govuk-header {
66
- border-bottom: 10px solid #ffffff;
41
+
42
+ .govuk-header__link {
43
+ &:link,
44
+ &:visited {
45
+ color: $custom-text-colour;
46
+ }
67
47
  }
68
-
48
+
49
+ .govuk-header__link--homepage {
50
+ &:hover,
51
+ &:active {
52
+ border-bottom: none;
53
+ margin-bottom: 0;
54
+ }
55
+
56
+ &:not(:focus) {
57
+ background-color: transparent;
58
+ }
59
+ }
60
+
61
+ .govuk-header__service-name {
62
+ display: none;
63
+ }
64
+
69
65
  .govuk-header__container {
70
66
  border-bottom: 10px solid $custom-banner-border-colour;
71
67
  margin-bottom: -10px;
72
68
  padding-top: 10px;
73
69
  }
74
-
75
- .govuk-header__link--homepage {
76
- &:not(:focus) {
77
- background-color: transparent;
70
+
71
+ @include govuk-media-query($from: tablet) {
72
+ .govuk-header__logo {
73
+ width: 90%;
78
74
  }
79
- }
80
-
81
- .govuk-header__logo {
82
- margin-bottom: 10px;
83
- padding-top: 0;
84
- padding-bottom: 0;
85
- }
86
-
87
- .govuk-header__service-name {
88
- margin: 0 0 15px;
75
+
76
+ .govuk-header__content {
77
+ width: 66%;
78
+ vertical-align: bottom;
79
+ margin-bottom: 7px;
80
+ }
81
+ }
82
+
83
+ .govuk-button {
84
+ padding: 7px 15px 6px;
85
+ padding: .368421053em .842105263em .315789474em;
89
86
  }
90
87
  }
91
88
  }
92
-