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

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