@linzjs/lui 10.11.3 → 11.1.0
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/CHANGELOG.md +28 -0
- package/README.md +6 -5
- package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.d.ts +1 -0
- package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.stories.d.ts +1 -0
- package/dist/components/LuiTabs/LuiTab/LuiTab.d.ts +11 -0
- package/dist/components/LuiTabs/LuiTabs.d.ts +1 -21
- package/dist/components/LuiTabs/LuiTabsGroup/LuiTabsGroup.d.ts +6 -0
- package/dist/components/LuiTabs/LuiTabsPanel/LuiTabsPanel.d.ts +7 -0
- package/dist/components/LuiTabs/LuiTabsPanelSwitch/LuiTabsPanelSwitch.d.ts +7 -0
- package/dist/index.d.ts +5 -1
- package/dist/lui.cjs.development.js +58 -47
- package/dist/lui.cjs.development.js.map +1 -1
- package/dist/lui.cjs.production.min.js +1 -1
- package/dist/lui.cjs.production.min.js.map +1 -1
- package/dist/lui.css +175 -215
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +56 -45
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/Footer/footer.scss +5 -5
- package/dist/scss/Components/Header/header.scss +1 -1
- package/dist/scss/Components/HelpSection/help-section.scss +1 -1
- package/dist/scss/Components/LOLCommonMenu/LOLAuthorisedLink.scss +4 -4
- package/dist/scss/Components/LOLCommonMenu/LOLFirmSwitcherMenu.scss +2 -2
- package/dist/scss/Components/LOLCommonMenu/LOLUserLastLogin.scss +1 -1
- package/dist/scss/Components/LuiFormElements/LuiFileInputBox.scss +2 -3
- package/dist/scss/Components/LuiTabs/LuiTabs.scss +0 -58
- package/dist/scss/Components/Menu/menu.scss +7 -7
- package/dist/scss/Components/Messaging/messaging.scss +5 -5
- package/dist/scss/Components/Modal/modal.scss +3 -3
- package/dist/scss/Components/Notifications/notifications.scss +2 -2
- package/dist/scss/Elements/Buttons/buttons.scss +38 -38
- package/dist/scss/Elements/Forms/FormComponents/Inputs.scss +2 -2
- package/dist/scss/Elements/Forms/FormComponents/RadiosCheckboxes.scss +3 -3
- package/dist/scss/Elements/Icons/icons.scss +1 -1
- package/dist/scss/Elements/Tables/tables.scss +8 -8
- package/dist/scss/Foundation/Utilities/Borders.scss +1 -1
- package/dist/scss/Foundation/Utilities/LuiStandardHeaderBackground.scss +2 -2
- package/dist/scss/Foundation/Variables/FormVars.scss +1 -1
- package/dist/scss/Foundation/Variables/_ExportCSS.scss +87 -59
- package/dist/scss/Foundation/Variables/_ExportColors.scss +52 -51
- package/dist/scss/Foundation/Variables/_LuiColors.scss +112 -124
- package/dist/scss/Global/GenericElements/Link.scss +3 -3
- package/dist/scss/Global/GenericElements/Todo.scss +1 -1
- package/dist/scss/Global/GenericElements/Typography.scss +2 -2
- package/dist/scss/Global/Layout/Layout.scss +3 -3
- package/dist/scss/Vendor/print.scss +2 -2
- package/dist/scss/base.scss +0 -1
- package/package.json +8 -2
|
@@ -23,6 +23,6 @@ $input-border-width-thick: 0.13rem; // 2px
|
|
|
23
23
|
$checkbox-icon-font-size: 1.13rem; // 18px
|
|
24
24
|
$checkbox-icon-line-height: spacing.$unit-md; // 24px
|
|
25
25
|
$checkbox-label-spacing: $input-spacing;
|
|
26
|
-
$checkbox-border-colour: colors.$
|
|
26
|
+
$checkbox-border-colour: colors.$sea;
|
|
27
27
|
|
|
28
28
|
$form-error-icon-size: spacing.$unit-lg;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use 'LuiColors';
|
|
2
2
|
|
|
3
|
-
$prefix:
|
|
3
|
+
$prefix: '--'; // Prefix string for custom CSS properties
|
|
4
4
|
|
|
5
5
|
// Merges a variable name with $prefix
|
|
6
6
|
@function custom-property-name($name) {
|
|
@@ -14,80 +14,108 @@ $prefix: "--"; // Prefix string for custom CSS properties
|
|
|
14
14
|
|
|
15
15
|
// Append SCSS variables which are desired to be accessible:
|
|
16
16
|
:root {
|
|
17
|
-
|
|
18
|
-
@include define-custom-property('
|
|
19
|
-
@include define-custom-property('
|
|
20
|
-
@include define-custom-property('
|
|
21
|
-
@include define-custom-property('
|
|
22
|
-
@include define-custom-property('
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
@include define-custom-property('
|
|
28
|
-
@include define-custom-property('
|
|
29
|
-
@include define-custom-property('
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
@include define-custom-property('
|
|
33
|
-
@include define-custom-property('
|
|
34
|
-
@include define-custom-property('
|
|
35
|
-
@include define-custom-property('
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
@include define-custom-property('
|
|
39
|
-
@include define-custom-property('
|
|
40
|
-
@include define-custom-property('
|
|
41
|
-
@include define-custom-property('
|
|
42
|
-
@include define-custom-property('color-green-05', LuiColors.$green-05);
|
|
17
|
+
@include define-custom-property('grey-80', LuiColors.$charcoal);
|
|
18
|
+
@include define-custom-property('grey-60', LuiColors.$fuscous);
|
|
19
|
+
@include define-custom-property('$gray', LuiColors.$gray);
|
|
20
|
+
@include define-custom-property('grey-20', LuiColors.$silver);
|
|
21
|
+
@include define-custom-property('grey-10', LuiColors.$lily);
|
|
22
|
+
@include define-custom-property('grey-05', LuiColors.$hint);
|
|
23
|
+
|
|
24
|
+
@include define-custom-property('teal', LuiColors.$teal);
|
|
25
|
+
// blue-85,// $blue-85
|
|
26
|
+
@include define-custom-property('sea', LuiColors.$sea);
|
|
27
|
+
@include define-custom-property('electric', LuiColors.$electric);
|
|
28
|
+
@include define-custom-property('spray', LuiColors.$spray);
|
|
29
|
+
@include define-custom-property('polar', LuiColors.$polar);
|
|
30
|
+
|
|
31
|
+
@include define-custom-property('sherpa', LuiColors.$sherpa);
|
|
32
|
+
@include define-custom-property('surfie', LuiColors.$surfie);
|
|
33
|
+
@include define-custom-property('persian', LuiColors.$persian);
|
|
34
|
+
@include define-custom-property('downy', LuiColors.$downy);
|
|
35
|
+
@include define-custom-property('iceberg', LuiColors.$iceberg);
|
|
36
|
+
|
|
37
|
+
@include define-custom-property('sacramento', LuiColors.$sacramento);
|
|
38
|
+
@include define-custom-property('salem', LuiColors.$salem);
|
|
39
|
+
@include define-custom-property('pigment', LuiColors.$pigment);
|
|
40
|
+
@include define-custom-property('granny', LuiColors.$granny);
|
|
41
|
+
@include define-custom-property('panache', LuiColors.$panache);
|
|
43
42
|
|
|
44
43
|
@include define-custom-property('brand-primary', LuiColors.$brand-primary);
|
|
45
|
-
@include define-custom-property(
|
|
44
|
+
@include define-custom-property(
|
|
45
|
+
'brand-secondary',
|
|
46
|
+
LuiColors.$brand-secondary
|
|
47
|
+
);
|
|
46
48
|
|
|
47
49
|
// System colours,// System colours
|
|
48
50
|
|
|
49
51
|
// reserved colours,// reserved colours
|
|
50
|
-
@include define-custom-property('
|
|
51
|
-
@include define-custom-property('
|
|
52
|
-
@include define-custom-property('
|
|
53
|
-
@include define-custom-property('
|
|
54
|
-
@include define-custom-property('
|
|
55
|
-
@include define-custom-property('
|
|
56
|
-
@include define-custom-property('
|
|
57
|
-
@include define-custom-property('
|
|
58
|
-
@include define-custom-property('
|
|
59
|
-
|
|
60
|
-
@include define-custom-property('
|
|
52
|
+
@include define-custom-property('success', LuiColors.$success);
|
|
53
|
+
@include define-custom-property('success-bg', LuiColors.$success-bg);
|
|
54
|
+
@include define-custom-property('info', LuiColors.$info);
|
|
55
|
+
@include define-custom-property('info-bg', LuiColors.$info-bg);
|
|
56
|
+
@include define-custom-property('warning', LuiColors.$warning);
|
|
57
|
+
@include define-custom-property('warning-bg', LuiColors.$warning-bg);
|
|
58
|
+
@include define-custom-property('error', LuiColors.$error);
|
|
59
|
+
@include define-custom-property('error-focus', LuiColors.$error-focus);
|
|
60
|
+
@include define-custom-property('error-bg', LuiColors.$error-bg);
|
|
61
|
+
|
|
62
|
+
@include define-custom-property('visited', LuiColors.$visited);
|
|
61
63
|
|
|
62
64
|
// restricted colours for btn hover states,// restricted colours for btn hover states
|
|
63
|
-
@include define-custom-property('
|
|
64
|
-
@include define-custom-property(
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
@include define-custom-property('green-hover', LuiColors.$green-hover);
|
|
66
|
+
@include define-custom-property(
|
|
67
|
+
'color-green-active',
|
|
68
|
+
LuiColors.$green-active
|
|
69
|
+
);
|
|
70
|
+
@include define-custom-property('green-btn', LuiColors.$green-btn);
|
|
71
|
+
@include define-custom-property('txt-link', LuiColors.$txt-link);
|
|
72
|
+
@include define-custom-property(
|
|
73
|
+
'color-primary-hover-btn',
|
|
74
|
+
LuiColors.$primary-hover-btn
|
|
75
|
+
);
|
|
68
76
|
@include define-custom-property('color-selection', LuiColors.$selection);
|
|
69
77
|
|
|
70
78
|
//Type
|
|
71
|
-
@include define-custom-property('heading-color', LuiColors.$
|
|
72
|
-
@include define-custom-property(
|
|
73
|
-
|
|
79
|
+
@include define-custom-property('heading-color', LuiColors.$surfie);
|
|
80
|
+
@include define-custom-property(
|
|
81
|
+
'heading-color--secondary',
|
|
82
|
+
LuiColors.$charcoal
|
|
83
|
+
);
|
|
84
|
+
@include define-custom-property('base-type-color', LuiColors.$charcoal);
|
|
74
85
|
|
|
75
86
|
// Icons & radio/checkboxes
|
|
76
|
-
@include define-custom-property('base-icon-color', LuiColors.$
|
|
77
|
-
@include define-custom-property('disabled-color', LuiColors.$
|
|
78
|
-
@include define-custom-property('disabled-color-dark', LuiColors.$
|
|
87
|
+
@include define-custom-property('base-icon-color', LuiColors.$sea);
|
|
88
|
+
@include define-custom-property('disabled-color', LuiColors.$gray);
|
|
89
|
+
@include define-custom-property('disabled-color-dark', LuiColors.$fuscous);
|
|
79
90
|
|
|
80
91
|
//LINZ public site colour variables,//LINZ public site colour variables
|
|
81
92
|
|
|
82
|
-
@include define-custom-property(
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
@include define-custom-property(
|
|
93
|
+
@include define-custom-property(
|
|
94
|
+
'linz-color-primary',
|
|
95
|
+
LuiColors.$linz-color-primary
|
|
96
|
+
);
|
|
97
|
+
@include define-custom-property(
|
|
98
|
+
'linz-color-primary-hover',
|
|
99
|
+
LuiColors.$linz-color-primary-hover
|
|
100
|
+
);
|
|
101
|
+
|
|
102
|
+
@include define-custom-property(
|
|
103
|
+
'linz-color-tertiary',
|
|
104
|
+
LuiColors.$linz-color-tertiary
|
|
105
|
+
);
|
|
106
|
+
@include define-custom-property(
|
|
107
|
+
'linz-color-tertiary-hover',
|
|
108
|
+
LuiColors.$linz-color-tertiary-hover
|
|
109
|
+
);
|
|
87
110
|
|
|
88
111
|
@include define-custom-property('color-test-pink', LuiColors.$test-pink);
|
|
89
112
|
|
|
90
|
-
@include define-custom-property(
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
113
|
+
@include define-custom-property(
|
|
114
|
+
'linz-linear-gradient-blue',
|
|
115
|
+
LuiColors.$linz-linear-gradient-blue
|
|
116
|
+
);
|
|
117
|
+
@include define-custom-property(
|
|
118
|
+
'linz-linear-gradient-teal',
|
|
119
|
+
LuiColors.$linz-linear-gradient-teal
|
|
120
|
+
);
|
|
121
|
+
} // end :root
|
|
@@ -4,32 +4,33 @@
|
|
|
4
4
|
|
|
5
5
|
// the :export directive is the magic sauce for webpack
|
|
6
6
|
:export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
7
|
+
charcoal: LuiColors.$charcoal;
|
|
8
|
+
fuscous: LuiColors.$fuscous;
|
|
9
|
+
gray: LuiColors.$gray;
|
|
10
|
+
silver: LuiColors.$silver;
|
|
11
|
+
lily: LuiColors.$lily;
|
|
12
|
+
hint: LuiColors.$hint;
|
|
13
|
+
snow: LuiColors.$snow;
|
|
14
|
+
white: LuiColors.$white;
|
|
15
|
+
|
|
16
|
+
teal: LuiColors.$teal;
|
|
17
|
+
//blue-85,// $blue-85
|
|
18
|
+
sea: LuiColors.$sea;
|
|
19
|
+
electric: LuiColors.$electric;
|
|
20
|
+
spray: LuiColors.$spray;
|
|
21
|
+
polar: LuiColors.$polar;
|
|
22
|
+
|
|
23
|
+
sherpa: LuiColors.$sherpa;
|
|
24
|
+
surfie: LuiColors.$surfie;
|
|
25
|
+
persian: LuiColors.$persian;
|
|
26
|
+
downy: LuiColors.$downy;
|
|
27
|
+
iceberg: LuiColors.$iceberg;
|
|
28
|
+
|
|
29
|
+
sacramento: LuiColors.$sacramento;
|
|
30
|
+
salem: LuiColors.$salem;
|
|
31
|
+
pigment: LuiColors.$pigment;
|
|
32
|
+
granny: LuiColors.$granny;
|
|
33
|
+
panache: LuiColors.$panache;
|
|
33
34
|
|
|
34
35
|
brand-primary: LuiColors.$brand-primary;
|
|
35
36
|
brand-secondary: LuiColors.$brand-secondary;
|
|
@@ -37,35 +38,36 @@
|
|
|
37
38
|
// System colours,// System colours
|
|
38
39
|
|
|
39
40
|
// reserved colours,// reserved colours
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
41
|
+
error: LuiColors.$error;
|
|
42
|
+
error-bg: LuiColors.$error-bg;
|
|
43
|
+
error-focus: LuiColors.$error-focus; // Used to highlight what input in an error state has focus
|
|
44
|
+
warning: LuiColors.$warning;
|
|
45
|
+
warning-bg: LuiColors.$warning-bg;
|
|
46
|
+
warning-focus: LuiColors.$warning-focus;
|
|
47
|
+
success: LuiColors.$success;
|
|
48
|
+
success-bg: LuiColors.$success-bg;
|
|
49
|
+
info: LuiColors.$info;
|
|
50
|
+
info-bg: LuiColors.$info-bg;
|
|
51
|
+
|
|
52
|
+
visited: LuiColors.$visited;
|
|
51
53
|
|
|
52
54
|
// restricted colours for btn hover states,// restricted colours for btn hover states
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
green-hover: LuiColors.$green-hover;
|
|
56
|
+
green-active: LuiColors.$green-active;
|
|
57
|
+
green-btn: LuiColors.$green-btn;
|
|
58
|
+
txt-link: LuiColors.$txt-link;
|
|
59
|
+
primary-hover-btn: LuiColors.$primary-hover-btn;
|
|
60
|
+
selection: LuiColors.$selection;
|
|
59
61
|
|
|
60
62
|
//Type
|
|
61
|
-
heading-color: LuiColors.$
|
|
62
|
-
heading-color--secondary: LuiColors.$
|
|
63
|
-
base-type-color: LuiColors.$
|
|
63
|
+
heading-color: LuiColors.$surfie;
|
|
64
|
+
heading-color--secondary: LuiColors.$charcoal;
|
|
65
|
+
base-type-color: LuiColors.$charcoal;
|
|
64
66
|
|
|
65
67
|
// Icons & radio/checkboxes
|
|
66
|
-
base-icon-color: LuiColors.$
|
|
67
|
-
disabled-color: LuiColors.$
|
|
68
|
-
disabled-color-dark: LuiColors.$
|
|
68
|
+
base-icon-color: LuiColors.$sea;
|
|
69
|
+
disabled-color: LuiColors.$gray;
|
|
70
|
+
disabled-color-dark: LuiColors.$fuscous;
|
|
69
71
|
|
|
70
72
|
//LINZ public site colour variables,//LINZ public site colour variables
|
|
71
73
|
|
|
@@ -79,5 +81,4 @@
|
|
|
79
81
|
|
|
80
82
|
linz-linear-gradient-blue: LuiColors.$linz-linear-gradient-blue;
|
|
81
83
|
linz-linear-gradient-teal: LuiColors.$linz-linear-gradient-teal;
|
|
82
|
-
|
|
83
|
-
}// end :export
|
|
84
|
+
} // end :export
|
|
@@ -3,71 +3,130 @@
|
|
|
3
3
|
// Colours
|
|
4
4
|
// ============
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// Colours are hard. We've remapped the names in FigLui so that's what's below.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
$grey-20: #beb9b4;
|
|
12
|
-
$grey-10: #eaeaea;
|
|
13
|
-
$grey-05: #f9f9f9;
|
|
14
|
-
|
|
15
|
-
$blue-100: #00425d;
|
|
16
|
-
// $blue-85: #005b80;
|
|
17
|
-
$blue-75: #007198;
|
|
18
|
-
$blue-50: #0096cc;
|
|
19
|
-
$blue-25: #73c8e1;
|
|
20
|
-
$blue-05: #e2f3f7;
|
|
21
|
-
|
|
22
|
-
$teal-100: #004b50;
|
|
23
|
-
$teal-75: #017a76;
|
|
24
|
-
$teal-50: #00a599;
|
|
25
|
-
$teal-25: #73cdc8;
|
|
26
|
-
$teal-05: #dcf5f0;
|
|
27
|
-
|
|
28
|
-
$green-100: #004e32;
|
|
29
|
-
$green-75: #08814d;
|
|
30
|
-
$green-50: #0aa245;
|
|
31
|
-
$green-25: #9bd79b;
|
|
32
|
-
$green-05: #e9fae7;
|
|
33
|
-
|
|
34
|
-
$brand-primary: $blue-100;
|
|
35
|
-
$brand-secondary: $teal-75;
|
|
8
|
+
// ----------------------------
|
|
9
|
+
// Brand
|
|
10
|
+
// ----------------------------
|
|
36
11
|
|
|
37
|
-
//
|
|
12
|
+
// Blues
|
|
13
|
+
$teal: #00425d;
|
|
14
|
+
$sea: #007198;
|
|
15
|
+
$electric: #0096cc;
|
|
16
|
+
$spray: #73c8e1;
|
|
17
|
+
$polar: #e2f3f7;
|
|
18
|
+
$linz-linear-gradient-blue: linear-gradient(70deg, $teal 12%, $sea 100%);
|
|
19
|
+
|
|
20
|
+
// Tealsno
|
|
21
|
+
$sherpa: #004b50;
|
|
22
|
+
$surfie: #017a76;
|
|
23
|
+
$persian: #00a599;
|
|
24
|
+
$downy: #73cdc8;
|
|
25
|
+
$iceberg: #dcf5f0;
|
|
26
|
+
$linz-linear-gradient-teal: linear-gradient(270deg, $persian 1%, $downy 100%);
|
|
27
|
+
|
|
28
|
+
// Greens
|
|
29
|
+
$sacramento: #004e32;
|
|
30
|
+
$salem: #08814d;
|
|
31
|
+
$pigment: #0aa245;
|
|
32
|
+
$granny: #9bd79b;
|
|
33
|
+
$panache: #e9fae7;
|
|
34
|
+
|
|
35
|
+
// ----------------------------
|
|
36
|
+
// Neutrals
|
|
37
|
+
// ----------------------------
|
|
38
|
+
|
|
39
|
+
$charcoal: #2a292c;
|
|
40
|
+
$fuscous: #6b6966;
|
|
41
|
+
$gray: #989189;
|
|
42
|
+
$silver: #beb9b4;
|
|
43
|
+
$lily: #eaeaea;
|
|
44
|
+
$hint: #f9f9f9;
|
|
45
|
+
$snow: #ffffff;
|
|
46
|
+
$white: $snow;
|
|
47
|
+
|
|
48
|
+
// ----------------------------
|
|
49
|
+
// Reserved
|
|
50
|
+
// ----------------------------
|
|
51
|
+
|
|
52
|
+
// error
|
|
53
|
+
$error: #cc0000;
|
|
54
|
+
$error-bg: #f5cccc;
|
|
55
|
+
$error-focus: #5a0000;
|
|
38
56
|
|
|
39
|
-
//
|
|
40
|
-
$success: $green-50;
|
|
41
|
-
$success-bg: $green-05;
|
|
42
|
-
$info: #3a7cdf;
|
|
43
|
-
$info-bg: #d8e5f9;
|
|
57
|
+
// warning
|
|
44
58
|
$warning: #ea6a2e;
|
|
45
59
|
$warning-bg: #fbdfd2;
|
|
46
|
-
$
|
|
47
|
-
|
|
48
|
-
|
|
60
|
+
$warning-focus: #b33a01;
|
|
61
|
+
|
|
62
|
+
// info
|
|
63
|
+
$info: #3a7cdf;
|
|
64
|
+
$info-bg: #d8e5f9;
|
|
49
65
|
|
|
50
|
-
|
|
51
|
-
$
|
|
66
|
+
// success
|
|
67
|
+
$success: $pigment;
|
|
68
|
+
$success-bg: $panache;
|
|
52
69
|
|
|
53
|
-
//
|
|
54
|
-
$green-hover: #205f12;
|
|
55
|
-
$green-active: #16430c;
|
|
56
|
-
$green-btn: #2e881a;
|
|
70
|
+
// text link
|
|
57
71
|
$txt-link: #1f69c3;
|
|
58
|
-
|
|
72
|
+
|
|
73
|
+
$test-pink: #f09;
|
|
74
|
+
|
|
75
|
+
// --------------------------------------------------------
|
|
76
|
+
// Deprecated variable sets
|
|
77
|
+
// --------------------------------------------------------
|
|
78
|
+
|
|
79
|
+
$grey-80: $charcoal;
|
|
80
|
+
$grey-60: $fuscous;
|
|
81
|
+
$grey-30: $gray;
|
|
82
|
+
$grey-20: $silver;
|
|
83
|
+
$grey-10: $lily;
|
|
84
|
+
$grey-05: $hint;
|
|
85
|
+
|
|
86
|
+
$blue-100: $teal;
|
|
87
|
+
$blue-75: $sea;
|
|
88
|
+
$blue-50: $electric;
|
|
89
|
+
$blue-25: $spray;
|
|
90
|
+
$blue-05: $polar;
|
|
91
|
+
|
|
92
|
+
$teal-100: $sherpa;
|
|
93
|
+
$teal-75: $surfie;
|
|
94
|
+
$teal-50: $persian;
|
|
95
|
+
$teal-25: $downy;
|
|
96
|
+
$teal-05: $iceberg;
|
|
97
|
+
|
|
98
|
+
$green-100: $sacramento;
|
|
99
|
+
$green-75: $salem;
|
|
100
|
+
$green-50: $pigment;
|
|
101
|
+
$green-25: $granny;
|
|
102
|
+
$green-05: $panache;
|
|
103
|
+
|
|
104
|
+
$brand-primary: $sherpa;
|
|
105
|
+
$brand-secondary: $surfie;
|
|
106
|
+
|
|
107
|
+
// System colours
|
|
108
|
+
|
|
109
|
+
$visited: $teal;
|
|
110
|
+
$selection: lighten($spray, 20%);
|
|
111
|
+
|
|
112
|
+
// restricted colours for btn hover states
|
|
113
|
+
$green-hover: $salem;
|
|
114
|
+
$green-active: $sacramento;
|
|
115
|
+
$green-btn: $pigment;
|
|
116
|
+
$txt-link: $electric;
|
|
117
|
+
$primary-hover-btn: $sea;
|
|
59
118
|
|
|
60
119
|
//Type
|
|
61
|
-
$heading-color: $
|
|
62
|
-
$heading-color--secondary: $
|
|
63
|
-
$base-type-color: $
|
|
120
|
+
$heading-color: $surfie;
|
|
121
|
+
$heading-color--secondary: $charcoal;
|
|
122
|
+
$base-type-color: $charcoal;
|
|
64
123
|
|
|
65
124
|
// Icons, inputs & radio/checkboxes
|
|
66
|
-
$input-text: $
|
|
67
|
-
$input-placeholder:
|
|
68
|
-
$base-icon-color: $
|
|
69
|
-
$disabled-color: $
|
|
70
|
-
$disabled-color-dark: $
|
|
125
|
+
$input-text: $charcoal;
|
|
126
|
+
$input-placeholder: $gray;
|
|
127
|
+
$base-icon-color: $sea;
|
|
128
|
+
$disabled-color: $gray;
|
|
129
|
+
$disabled-color-dark: $gray;
|
|
71
130
|
|
|
72
131
|
//LINZ public site colour variables
|
|
73
132
|
|
|
@@ -76,74 +135,3 @@ $linz-color-primary-hover: #01818a;
|
|
|
76
135
|
|
|
77
136
|
$linz-color-tertiary: #e1e44a;
|
|
78
137
|
$linz-color-tertiary-hover: #cdcf59;
|
|
79
|
-
|
|
80
|
-
$linz-linear-gradient-blue: linear-gradient(
|
|
81
|
-
70deg,
|
|
82
|
-
$brand-primary 12%,
|
|
83
|
-
$blue-75 100%
|
|
84
|
-
);
|
|
85
|
-
$linz-linear-gradient-teal: linear-gradient(270deg, $teal-50 1%, $teal-25 100%);
|
|
86
|
-
|
|
87
|
-
// New LuiColour go here
|
|
88
|
-
|
|
89
|
-
$sea: #007198;
|
|
90
|
-
|
|
91
|
-
// TODO: Are the below old branding colors? Move to separate file?
|
|
92
|
-
|
|
93
|
-
// Brand ============
|
|
94
|
-
|
|
95
|
-
$blue: #003b59;
|
|
96
|
-
$pastel: #b2c4cd;
|
|
97
|
-
$mystic: #e5ebee;
|
|
98
|
-
$elephant: #0c3345;
|
|
99
|
-
|
|
100
|
-
$mineral: #00a9a5;
|
|
101
|
-
$ice: #6fd1cf;
|
|
102
|
-
$wind: #b1e9e6;
|
|
103
|
-
|
|
104
|
-
$green: #cbe612;
|
|
105
|
-
$yellow: #ffd52d;
|
|
106
|
-
$orange: #ed8b00;
|
|
107
|
-
$red: #cf0025;
|
|
108
|
-
$pink: #cf0059;
|
|
109
|
-
$purple: #8552af;
|
|
110
|
-
|
|
111
|
-
// Tones ============
|
|
112
|
-
|
|
113
|
-
$black: #002030;
|
|
114
|
-
$grey: #7f8f97;
|
|
115
|
-
$white: #fff;
|
|
116
|
-
|
|
117
|
-
// Text ============
|
|
118
|
-
$text: $grey-80;
|
|
119
|
-
$link: $blue;
|
|
120
|
-
$active: $pink;
|
|
121
|
-
$highlight: $active;
|
|
122
|
-
|
|
123
|
-
// Messages ============
|
|
124
|
-
$success: $green-50;
|
|
125
|
-
$success-bg: $green-05;
|
|
126
|
-
$info: #3a7cdf;
|
|
127
|
-
$info-bg: #d8e5f9;
|
|
128
|
-
$warning: #ea6a2e;
|
|
129
|
-
$warning-focus: #b33a01;
|
|
130
|
-
$warning-bg: #fbdfd2;
|
|
131
|
-
$error: #cc0000;
|
|
132
|
-
$error-focus: #5a0000; // Used to highlight what input in an error state has focus
|
|
133
|
-
$error-bg: #f5cccc;
|
|
134
|
-
|
|
135
|
-
$error: $error;
|
|
136
|
-
$info: $info;
|
|
137
|
-
$success: $success;
|
|
138
|
-
$warning: $warning;
|
|
139
|
-
|
|
140
|
-
// Name-spacing ============
|
|
141
|
-
$primary: $white;
|
|
142
|
-
$primary-light: hsl(color.hue($primary), color.saturation($primary), 75%);
|
|
143
|
-
$primary-dark: hsl(color.hue($primary), color.saturation($primary), 25%);
|
|
144
|
-
$secondary: $blue;
|
|
145
|
-
$secondary-light: hsl(color.hue($secondary), color.saturation($secondary), 75%);
|
|
146
|
-
$secondary-dark: hsl(color.hue($secondary), color.saturation($secondary), 25%);
|
|
147
|
-
$tertiary: $elephant;
|
|
148
|
-
|
|
149
|
-
$borderColour: $base-type-color;
|
|
@@ -54,16 +54,16 @@ a {
|
|
|
54
54
|
|
|
55
55
|
// Is Link being used?
|
|
56
56
|
.Link {
|
|
57
|
-
color: colors.$
|
|
57
|
+
color: colors.$txt-link;
|
|
58
58
|
@include hover.hover('is-active') {
|
|
59
|
-
color: colors.$
|
|
59
|
+
color: colors.$txt-link;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.Link--reversed {
|
|
64
64
|
color: colors.$white;
|
|
65
65
|
@include hover.hover('is-active') {
|
|
66
|
-
color: colors.$
|
|
66
|
+
color: colors.$charcoal;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -17,7 +17,7 @@ html {
|
|
|
17
17
|
@include fonts.font-light();
|
|
18
18
|
font-size: fonts.$base-font-size;
|
|
19
19
|
line-height: fonts.$base-line-height;
|
|
20
|
-
color: colors.$
|
|
20
|
+
color: colors.$base-type-color;
|
|
21
21
|
// Better Font Rendering
|
|
22
22
|
font-feature-settings: 'kern' 1;
|
|
23
23
|
font-kerning: normal;
|
|
@@ -57,7 +57,7 @@ sup {
|
|
|
57
57
|
hr {
|
|
58
58
|
border: none;
|
|
59
59
|
margin: 0;
|
|
60
|
-
background-color: colors.$
|
|
60
|
+
background-color: colors.$charcoal;
|
|
61
61
|
height: 1px;
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -61,7 +61,7 @@ body {
|
|
|
61
61
|
// ! ************************************************
|
|
62
62
|
|
|
63
63
|
.lui-section-dark {
|
|
64
|
-
background-color: colors.$
|
|
65
|
-
border-top: 1px solid colors.$
|
|
66
|
-
border-bottom: 1px solid colors.$
|
|
64
|
+
background-color: colors.$hint;
|
|
65
|
+
border-top: 1px solid colors.$lily;
|
|
66
|
+
border-bottom: 1px solid colors.$lily;
|
|
67
67
|
}
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
.lui-header-primary {
|
|
25
25
|
.lui-header-top-section {
|
|
26
26
|
background: none;
|
|
27
|
-
border-bottom: 1px solid colors.$
|
|
27
|
+
border-bottom: 1px solid colors.$charcoal;
|
|
28
28
|
h1 {
|
|
29
|
-
color: colors.$
|
|
29
|
+
color: colors.$charcoal !important;
|
|
30
30
|
@include fonts.font-semibold;
|
|
31
31
|
}
|
|
32
32
|
}
|