@govuk-pay/pay-js-commons 3.11.0 → 3.11.2
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.
- package/images/custom/natural-resources-wales.png +0 -0
- package/images/custom/oswestry-town-council.png +0 -0
- package/package.json +1 -1
- package/sass/custom/natural-resources-wales.scss +57 -0
- package/sass/custom/oswestry-town-council.scss +55 -0
- package/.idea/aws.xml +0 -11
- package/.idea/codeStyles/Project.xml +0 -27
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/jpa-buddy.xml +0 -6
- package/.idea/misc.xml +0 -9
- package/.idea/modules.xml +0 -8
- package/.idea/pay-js-commons.iml +0 -9
- package/.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
- package/.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
- package/.idea/sonarlint/issuestore/a/1/a16ffce9c4014536b0d5997f1ff408f19a8510f7 +0 -0
- package/.idea/sonarlint/issuestore/b/9/b990dd75f097078d3650d1f96db34389de3006f0 +0 -0
- package/.idea/sonarlint/issuestore/c/9/c9a818aaf6a7acd6b861ec3d00d9c1e0902fd12f +0 -0
- package/.idea/sonarlint/issuestore/f/7/f7a87ae0426cafc2323c6c7ea540fb129c638c87 +0 -0
- package/.idea/sonarlint/issuestore/index.pb +0 -13
- package/.idea/vcs.xml +0 -6
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -0,0 +1,57 @@
|
|
|
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: #E9E9EA;
|
|
9
|
+
$custom-banner-border-colour: #ffffff;
|
|
10
|
+
$custom-text-colour: #333333;
|
|
11
|
+
$logo-image-height: 2em;
|
|
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%;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
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__link--service-name {
|
|
36
|
+
float: right;
|
|
37
|
+
padding-top: 15px;
|
|
38
|
+
color: $custom-text-colour;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.govuk-header__container {
|
|
42
|
+
border-bottom-color: $custom-banner-border-colour;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@include govuk-media-query($from: tablet) {
|
|
46
|
+
.govuk-header__content {
|
|
47
|
+
width: 66%;
|
|
48
|
+
vertical-align: bottom;
|
|
49
|
+
margin-bottom: 7px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.govuk-button {
|
|
54
|
+
padding: 7px 15px 6px;
|
|
55
|
+
padding: .368421053em .842105263em .315789474em;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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: #ffffff;
|
|
9
|
+
$custom-banner-border-colour: #ffffff;
|
|
10
|
+
$custom-text-colour: #000000;
|
|
11
|
+
$logo-image-height: 2em;
|
|
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%;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
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__link--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;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.govuk-button {
|
|
52
|
+
padding: 7px 15px 6px;
|
|
53
|
+
padding: .368421053em .842105263em .315789474em;
|
|
54
|
+
}
|
|
55
|
+
}
|
package/.idea/aws.xml
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="accountSettings">
|
|
4
|
-
<option name="activeRegion" value="us-east-1" />
|
|
5
|
-
<option name="recentlyUsedRegions">
|
|
6
|
-
<list>
|
|
7
|
-
<option value="us-east-1" />
|
|
8
|
-
</list>
|
|
9
|
-
</option>
|
|
10
|
-
</component>
|
|
11
|
-
</project>
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<component name="ProjectCodeStyleConfiguration">
|
|
2
|
-
<code_scheme name="Project" version="173">
|
|
3
|
-
<JSCodeStyleSettings version="0">
|
|
4
|
-
<option name="USE_SEMICOLON_AFTER_STATEMENT" value="false" />
|
|
5
|
-
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
|
6
|
-
<option name="SPACE_BEFORE_GENERATOR_MULT" value="true" />
|
|
7
|
-
<option name="USE_DOUBLE_QUOTES" value="false" />
|
|
8
|
-
<option name="FORCE_QUOTE_STYlE" value="true" />
|
|
9
|
-
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
|
10
|
-
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
11
|
-
</JSCodeStyleSettings>
|
|
12
|
-
<codeStyleSettings language="JavaScript">
|
|
13
|
-
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
|
|
14
|
-
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
|
|
15
|
-
<option name="ALIGN_MULTILINE_FOR" value="false" />
|
|
16
|
-
<option name="SPACE_BEFORE_METHOD_PARENTHESES" value="true" />
|
|
17
|
-
<option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" />
|
|
18
|
-
<option name="KEEP_SIMPLE_BLOCKS_IN_ONE_LINE" value="true" />
|
|
19
|
-
<option name="KEEP_SIMPLE_METHODS_IN_ONE_LINE" value="true" />
|
|
20
|
-
<indentOptions>
|
|
21
|
-
<option name="INDENT_SIZE" value="2" />
|
|
22
|
-
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
23
|
-
<option name="TAB_SIZE" value="2" />
|
|
24
|
-
</indentOptions>
|
|
25
|
-
</codeStyleSettings>
|
|
26
|
-
</code_scheme>
|
|
27
|
-
</component>
|
package/.idea/jpa-buddy.xml
DELETED
package/.idea/misc.xml
DELETED
package/.idea/modules.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectModuleManager">
|
|
4
|
-
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/pay-js-commons.iml" filepath="$PROJECT_DIR$/.idea/pay-js-commons.iml" />
|
|
6
|
-
</modules>
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|
package/.idea/pay-js-commons.iml
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="JAVA_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
-
<exclude-output />
|
|
5
|
-
<content url="file://$MODULE_DIR$" />
|
|
6
|
-
<orderEntry type="inheritedJdk" />
|
|
7
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
-
</component>
|
|
9
|
-
</module>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
9
|
|
3
|
-
README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d
|
|
4
|
-
_
|
|
5
|
-
/sass/custom/north-yorkshire-county-council.scss,a/1/a16ffce9c4014536b0d5997f1ff408f19a8510f7
|
|
6
|
-
^
|
|
7
|
-
.images/custom/scottish-government-planning.svg,b/9/b990dd75f097078d3650d1f96db34389de3006f0
|
|
8
|
-
]
|
|
9
|
-
-sass/custom/scottish-government-planning.scss,f/7/f7a87ae0426cafc2323c6c7ea540fb129c638c87
|
|
10
|
-
<
|
|
11
|
-
package.json,7/0/7030d0b2f71b999ff89a343de08c414af32fc93a
|
|
12
|
-
6
|
|
13
|
-
.nvmrc,c/9/c9a818aaf6a7acd6b861ec3d00d9c1e0902fd12f
|