@aarhus-university/au-lib-react-components 10.6.0 → 10.9.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.
Files changed (97) hide show
  1. package/.eslintrc.js +34 -34
  2. package/.storybook/main.js +20 -7
  3. package/.storybook/preview.js +10 -10
  4. package/README.md +19 -19
  5. package/__tests__/jest/AUButtonComponent.test.tsx +165 -163
  6. package/__tests__/jest/AUErrorComponent.test.tsx +142 -0
  7. package/__tests__/jest/AUModalComponent.test.tsx +186 -0
  8. package/__tests__/jest/AUNotificationComponent.test.tsx +115 -0
  9. package/__tests__/jest/AUSpinnerComponent.test.tsx +57 -57
  10. package/__tests__/jest/AUToolbarComponent.test.tsx +46 -0
  11. package/__tests__/jest/helpers.test.ts +15 -15
  12. package/__tests__/jest/setupTests.ts +2 -2
  13. package/babel.config.js +8 -8
  14. package/build/umd/universe.js.map +1 -1
  15. package/package.json +108 -107
  16. package/src/components/AUAlertComponent.tsx +70 -70
  17. package/src/components/AUAutoSuggestComponent.js +158 -158
  18. package/src/components/AUButtonComponent.tsx +83 -77
  19. package/src/components/AUCalendarComponent.tsx +493 -493
  20. package/src/components/AUContentToggleComponent.tsx +33 -33
  21. package/src/components/AUDatepickerComponent.tsx +117 -117
  22. package/src/components/AUErrorComponent.tsx +78 -0
  23. package/src/components/AUMobilePrefixComponent.tsx +15 -15
  24. package/src/components/AUModalComponent.tsx +64 -80
  25. package/src/components/AUNotificationComponent.tsx +42 -0
  26. package/src/components/AUReceiptComponent.tsx +33 -33
  27. package/src/components/AUSpinnerComponent.tsx +33 -33
  28. package/src/components/AUSubNavComponent.tsx +48 -48
  29. package/src/components/AUSubmitButtonContainerComponent.tsx +31 -31
  30. package/src/components/AUTabbedContentComponent.tsx +145 -145
  31. package/src/components/AUTableComponent.tsx +24 -24
  32. package/src/components/AUToastComponent.tsx +103 -103
  33. package/src/components/AUToolbarComponent.tsx +52 -45
  34. package/src/components/profile/AUProfileActions.js +128 -128
  35. package/src/components/profile/AUProfileAvatarComponent.js +83 -83
  36. package/src/components/profile/AUProfileAvatarV2Component.js +91 -91
  37. package/src/components/profile/AUProfileAvatarV3Component.tsx +42 -42
  38. package/src/components/profile/AUProfileContainerComponent.js +283 -283
  39. package/src/components/profile/AUProfileHooks.js +30 -30
  40. package/src/components/profile/AUProfileItemComponent.js +54 -54
  41. package/src/components/profile/AUProfileLanguageComponent.js +131 -131
  42. package/src/components/profile/AUProfileLoginComponent.tsx +26 -26
  43. package/src/components/profile/AUProfileMailComponent.js +307 -307
  44. package/src/components/profile/AUProfileMobileComponent.js +164 -164
  45. package/src/components/profile/AUProfileNameComponent.js +253 -253
  46. package/src/components/profile/AUProfileNextOfKinComponent.js +216 -216
  47. package/src/components/profile/AUProfileReducer.js +230 -230
  48. package/src/components/profile/AUProfileWidgetComponent.js +95 -95
  49. package/src/components/profile/AUProfileWidgetV2Component.js +116 -116
  50. package/src/components/profile/AUProfileWidgetV3Component.tsx +122 -122
  51. package/src/components/wrapping/AUEmbedComponent.js +47 -47
  52. package/src/layout-2016/components/alphabox/AlphaBoxComponent.js +143 -143
  53. package/src/layout-2016/components/alphabox/AlphaBoxContentComponent.js +136 -136
  54. package/src/layout-2016/components/common/AUCollapsibleComponent.js +152 -152
  55. package/src/layout-2016/components/common/AUSpinnerComponent.js +103 -103
  56. package/src/layout-2016/components/databox/DataBoxAlphabetComponent.js +144 -144
  57. package/src/layout-2016/components/databox/DataBoxAssociationComponent.js +122 -122
  58. package/src/layout-2016/components/databox/DataBoxButtonComponent.js +157 -157
  59. package/src/layout-2016/components/databox/DataBoxComponent.js +297 -297
  60. package/src/layout-2016/components/databox/DataBoxGroupingComponent.js +64 -64
  61. package/src/layout-2016/components/databox/DataBoxSearchResultComponent.js +36 -36
  62. package/src/layout-2016/components/databox/DataBoxStackedAssociationComponent.js +54 -54
  63. package/src/layout-2016/components/databox/DataBoxSuggestionComponent.js +39 -39
  64. package/src/layout-2016/components/diagramme/AUDiagrammeComponent.js +309 -309
  65. package/src/layout-2016/components/flowbox/FlowBoxComponent.js +126 -126
  66. package/src/layout-2016/components/flowbox/FlowBoxPhoneComponent.js +104 -104
  67. package/src/layout-2016/components/profile/AUProfileAvatar2016Component.js +103 -103
  68. package/src/layout-2016/components/universe/StaffTopComponent.js +363 -363
  69. package/src/layout-2016/components/universe/StudentTopComponent.js +137 -137
  70. package/src/layout-2016/components/universe/UniverseContainerComponent.js +65 -65
  71. package/src/layout-2016/lib/all.js +3 -3
  72. package/src/layout-2016/lib/au-alphabox.js +100 -100
  73. package/src/layout-2016/lib/au-databox.js +400 -400
  74. package/src/layout-2016/lib/au-diagramme.js +85 -85
  75. package/src/layout-2016/lib/au-flowbox.js +93 -93
  76. package/src/layout-2016/lib/universe.js +9 -9
  77. package/src/lib/helpers.ts +194 -194
  78. package/src/lib/hooks.ts +37 -33
  79. package/src/lib/i18n.ts +600 -600
  80. package/src/lib/tracking.ts +69 -69
  81. package/src/lib/wrapping.ts +21 -21
  82. package/src/styles/_settings.scss +10 -10
  83. package/src/styles/alphabox.scss +222 -222
  84. package/src/styles/app.scss +7 -7
  85. package/src/styles/autosuggest.scss +57 -57
  86. package/src/styles/databox.scss +563 -563
  87. package/src/styles/diagramme.scss +119 -119
  88. package/src/styles/flowbox.scss +72 -72
  89. package/src/styles/maps.scss +395 -395
  90. package/stories/AUButtonComponent.stories.tsx +85 -85
  91. package/stories/AUErrorComponent.stories.tsx +117 -0
  92. package/stories/AUModalComponent.stories.tsx +92 -0
  93. package/stories/AUNotificationComponent.stories.tsx +116 -0
  94. package/stories/AUSpinnerComponent.stories.tsx +41 -41
  95. package/stories/AUToolbarComponent.stories.tsx +96 -0
  96. package/tsconfig.json +46 -46
  97. package/webpack.config.js +89 -89
@@ -1,69 +1,69 @@
1
- /* eslint-disable func-names */
2
- /* eslint-env browser */
3
- /* eslint-disable no-sequences */
4
- /* eslint-disable prefer-destructuring */
5
- /* eslint-disable no-param-reassign */
6
- /* eslint-disable prefer-rest-params */
7
- /* eslint-disable no-unused-expressions */
8
- /* eslint-disable dot-notation */
9
- /* eslint-disable wrap-iife */
10
- /*
11
- * Title: TRACKING
12
- * Description: Google Analytics tracking
13
- */
14
-
15
- class AUTracking {
16
- trackers: ITrackers[] = [
17
- {
18
- account: 'UA-2142081-1',
19
- name: 'default',
20
- },
21
- {
22
- account: 'UA-113308028-1',
23
- name: 'search',
24
- },
25
- ];
26
-
27
- constructor(trackers = []) {
28
- trackers.forEach((tracker) => this.trackers.push(tracker));
29
- this.init();
30
-
31
- this.trackSingle = this.trackSingle.bind(this);
32
- }
33
-
34
- init() {
35
- let gaNewElem: any = {};
36
- let gaElems: any = {};
37
- const currdate: any = new Date();
38
-
39
- ((i, s, o, g, r, a, m): void => {
40
- i['GoogleAnalyticsObject'] = r;
41
- i[r] = i[r] || function () {
42
- (i[r].q = i[r].q || []).push(arguments);
43
- }, i[r].l = 1 * currdate;
44
- a = s.createElement(o),
45
- m = s.getElementsByTagName(o)[0];
46
- a.async = 1;
47
- a.src = g;
48
- m.parentNode.insertBefore(a, m);
49
- })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga', gaNewElem, gaElems);
50
-
51
- this.trackers.forEach((tracker) => {
52
- window.ga('create', tracker.account, 'auto', tracker.name);
53
- window.ga(`${tracker.name}.require`, 'displayfeatures');
54
- window.ga(`${tracker.name}.require`, 'linkid', 'linkid.js');
55
- window.ga(`${tracker.name}.require`, 'GTM-MGFPHKR');
56
- window.ga(`${tracker.name}.set`, 'anonymizeIp', true);
57
-
58
- window.ga(`${tracker.name}.send`, 'pageview');
59
- });
60
- }
61
-
62
- trackSingle(trackerLink: string): void {
63
- if (typeof window.ga !== 'undefined') {
64
- this.trackers.forEach((tracker) => window.ga(`${tracker.name}.send`, 'pageview', trackerLink));
65
- }
66
- }
67
- }
68
-
69
- export default AUTracking;
1
+ /* eslint-disable func-names */
2
+ /* eslint-env browser */
3
+ /* eslint-disable no-sequences */
4
+ /* eslint-disable prefer-destructuring */
5
+ /* eslint-disable no-param-reassign */
6
+ /* eslint-disable prefer-rest-params */
7
+ /* eslint-disable no-unused-expressions */
8
+ /* eslint-disable dot-notation */
9
+ /* eslint-disable wrap-iife */
10
+ /*
11
+ * Title: TRACKING
12
+ * Description: Google Analytics tracking
13
+ */
14
+
15
+ class AUTracking {
16
+ trackers: ITrackers[] = [
17
+ {
18
+ account: 'UA-2142081-1',
19
+ name: 'default',
20
+ },
21
+ {
22
+ account: 'UA-113308028-1',
23
+ name: 'search',
24
+ },
25
+ ];
26
+
27
+ constructor(trackers = []) {
28
+ trackers.forEach((tracker) => this.trackers.push(tracker));
29
+ this.init();
30
+
31
+ this.trackSingle = this.trackSingle.bind(this);
32
+ }
33
+
34
+ init() {
35
+ const gaNewElem: any = {};
36
+ const gaElems: any = {};
37
+ const currdate: any = new Date();
38
+
39
+ ((i, s, o, g, r, a, m): void => {
40
+ i['GoogleAnalyticsObject'] = r;
41
+ i[r] = i[r] || function () {
42
+ (i[r].q = i[r].q || []).push(arguments);
43
+ }, i[r].l = 1 * currdate;
44
+ a = s.createElement(o),
45
+ m = s.getElementsByTagName(o)[0];
46
+ a.async = 1;
47
+ a.src = g;
48
+ m.parentNode.insertBefore(a, m);
49
+ })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga', gaNewElem, gaElems);
50
+
51
+ this.trackers.forEach((tracker) => {
52
+ window.ga('create', tracker.account, 'auto', tracker.name);
53
+ window.ga(`${tracker.name}.require`, 'displayfeatures');
54
+ window.ga(`${tracker.name}.require`, 'linkid', 'linkid.js');
55
+ window.ga(`${tracker.name}.require`, 'GTM-MGFPHKR');
56
+ window.ga(`${tracker.name}.set`, 'anonymizeIp', true);
57
+
58
+ window.ga(`${tracker.name}.send`, 'pageview');
59
+ });
60
+ }
61
+
62
+ trackSingle(trackerLink: string): void {
63
+ if (typeof window.ga !== 'undefined') {
64
+ this.trackers.forEach((tracker) => window.ga(`${tracker.name}.send`, 'pageview', trackerLink));
65
+ }
66
+ }
67
+ }
68
+
69
+ export default AUTracking;
@@ -1,21 +1,21 @@
1
- /* eslint-env browser */
2
- const getSourceForFrame = (
3
- serviceUrl: string,
4
- path: string,
5
- referrer: string,
6
- callback: (data: any) => void,
7
- ) => {
8
- const getSource = async (): Promise<void> => {
9
- const url = `${serviceUrl}?path=${path}&referrer=${referrer}`;
10
- const response = await fetch(url, {
11
- credentials: 'include',
12
- });
13
-
14
- const json = await response.json();
15
- callback(json);
16
- };
17
-
18
- getSource();
19
- };
20
-
21
- export default getSourceForFrame;
1
+ /* eslint-env browser */
2
+ const getSourceForFrame = (
3
+ serviceUrl: string,
4
+ path: string,
5
+ referrer: string,
6
+ callback: (data: any) => void,
7
+ ) => {
8
+ const getSource = async (): Promise<void> => {
9
+ const url = `${serviceUrl}?path=${path}&referrer=${referrer}`;
10
+ const response = await fetch(url, {
11
+ credentials: 'include',
12
+ });
13
+
14
+ const json = await response.json();
15
+ callback(json);
16
+ };
17
+
18
+ getSource();
19
+ };
20
+
21
+ export default getSourceForFrame;
@@ -1,11 +1,11 @@
1
- $font-passata-regular: "AUPassataRegular";
2
- $font-passata-bold: "AUPassataBold";
3
- $gray-color:#e4e4e4;
4
- $gray-secondary-color:darken($gray-color, 50%);
5
- $alert-confirm-color: #8bad3f;
6
- $alert-cancel-color: #687989;
7
- $student-color:#8bad3f;
8
- $student-secondary-color:#2a4a0f;
9
- $staff-color: #379fcb;
10
- $staff-secondary-color:#003e5c;
1
+ $font-passata-regular: "AUPassataRegular";
2
+ $font-passata-bold: "AUPassataBold";
3
+ $gray-color:#e4e4e4;
4
+ $gray-secondary-color:darken($gray-color, 50%);
5
+ $alert-confirm-color: #8bad3f;
6
+ $alert-cancel-color: #687989;
7
+ $student-color:#8bad3f;
8
+ $student-secondary-color:#2a4a0f;
9
+ $staff-color: #379fcb;
10
+ $staff-secondary-color:#003e5c;
11
11
  $findicon: 'https://cdn.au.dk/2016/assets/img/databox/find.png';
@@ -1,223 +1,223 @@
1
- .au_alphabox {
2
- overflow: visible;
3
- margin-bottom: 1rem;
4
- position: relative;
5
- >.au_alphabox {
6
- margin-bottom: 0;
7
- }
8
- .dropdown-pane & {
9
- margin-bottom: 0;
10
- }
11
- >div:not(.au_alphabox_content):not(.au_alphabox) { /* because of nested au_alphabox */
12
- padding: 1rem 1rem 0 1rem;
13
- overflow: auto;
14
- }
15
- p.no-results {
16
- background-color: #fff;
17
- color: #555;
18
- padding: 1rem;
19
- }
20
- li.no-results a {
21
- font-weight: bold;
22
- }
23
- ul.letters {
24
- display: flex;
25
- justify-content: flex-start;
26
- flex-flow: row wrap;
27
- font-size: 1.1rem;
28
- margin-top: .15rem;
29
- margin-bottom: .75rem;
30
- margin-left: 0;
31
- padding-bottom: .75rem;
32
- li {
33
- padding: 0;
34
- margin: 2px 2px;
35
- background-color: #aaa;
36
- text-align: center;
37
- font-size: 1.2rem;
38
- &.available {
39
- button {
40
- cursor: pointer;
41
- color: #fff;
42
- }
43
- }
44
- &.active {
45
- font-weight: bold;
46
- }
47
- &:before {
48
- content: '';
49
- }
50
- button {
51
- font-family: $font-passata-regular;
52
- color: #ccc;
53
- text-transform: uppercase;
54
- width: 20px;
55
- line-height: inherit;
56
- }
57
- }
58
- }
59
- ul.items {
60
- padding: 1rem;
61
- margin: 0;
62
- position: relative;
63
- }
64
- .student & {
65
- background: $student-secondary-color;
66
- .listNav {
67
- .ln-letters {
68
- a {
69
- background-color: #8bad3f;
70
- &.ln-selected {
71
- color: #2a4a0f !important;
72
- }
73
- &.ln-disabled {
74
- background-color: #8bad3f;
75
- }
76
- }
77
- }
78
- }
79
- .alphabox_list_container {
80
- border: 2px solid #2a4a0f;
81
- h3 {
82
- color: #8bad3f;
83
- border-bottom: 2px solid #8bad3f;
84
- }
85
- ul li:before {
86
- color: #8bad3f;
87
- }
88
- }
89
- ul.quicklinks {
90
- a {
91
- background: #447400;
92
- }
93
- }
94
- }
95
- h2 {
96
- color: #fff;
97
- margin: 0;
98
- border: 0;
99
- a {
100
- color: #fff !important;
101
- border: none !important;
102
- &:hover {
103
- text-decoration: underline !important;
104
- }
105
- }
106
- }
107
- h3 {
108
- color: #fff;
109
- margin: 0 0 1rem 0 !important;
110
- padding-top: 1rem;
111
- font-size: 1.25rem;
112
- border-top: 1px solid #fff;
113
- }
114
- input[type=text] {
115
- background: #afc3ce url($findicon) no-repeat right center;
116
- border: 0;
117
- float: none;
118
- width: 100%;
119
- margin-bottom: 1.45455rem !important;
120
- &.active {
121
- background-color: #afc3ce;
122
- }
123
- }
124
- ::-webkit-input-placeholder {
125
- color: #333;
126
- }
127
- ::-moz-placeholder {
128
- color: #333;
129
- opacity: 1;
130
- }
131
- :-ms-input-placeholder {
132
- color: #333;
133
- }
134
- .listNav {
135
- margin: 0 0 calc(.5rem - 2px) 0;
136
- .ln-letters {
137
- margin: 1rem 0;
138
- a {
139
- background-color: #006ca4;
140
- border: none !important;
141
- margin: 0 2px 2px 0;
142
- color: #fff;
143
- padding: 2px;
144
- font-size: 1.25rem;
145
- &.ln-selected {
146
- background-color: #fff;
147
- color: #006ca4 !important;
148
- }
149
- &.ln-disabled {
150
- background-color: #006ca4;
151
- color: #7c98a8 !important;
152
- }
153
- }
154
- .all {
155
- display: none;
156
- }
157
- }
158
- font-family: "AUPassataBold";
159
- }
160
- .alphabox_list_container {
161
- background: #fff;
162
- border: 2px solid #006ca4;
163
- padding: 0 1rem 0 1rem;
164
- display: none;
165
- overflow-y: scroll;
166
- -webkit-overflow-scrolling: touch;
167
- h3 {
168
- color: #009ee0;
169
- border-bottom: 2px solid $staff-color;
170
- }
171
- >ul {
172
- max-height: 200px;
173
- overflow: initial !important;
174
- margin-bottom: 2em;
175
- position: relative;
176
- li {
177
- a {
178
- color: $staff-secondary-color;
179
- border-bottom: 1px dotted;
180
- }
181
- }
182
- }
183
- }
184
- ul.quicklinks {
185
- display: flex;
186
- flex-wrap: wrap;
187
- justify-content: space-between;
188
- margin-left: 0;
189
- li {
190
- font: 1.25rem "AUPassataRegular";
191
- text-transform: uppercase;
192
- width: 48.9%;
193
- padding: 0;
194
- line-height: 1;
195
- margin-bottom: 6px;
196
- &:nth-child(odd) {
197
- margin-right: .5em;
198
- }
199
- a {
200
- display: block;
201
- background: #006ca4;
202
- color: #fff;
203
- border: none !important;
204
- padding: .5em;
205
- }
206
- @media (max-width: 400px) {
207
- width: 100%;
208
- margin-right: 0 !important;
209
- font-size: 1.72727rem;
210
- }
211
- }
212
- }
213
- .au_alphabox_content {
214
- margin-top: 1rem;
215
- margin-bottom: 1rem;
216
- clear: both;
217
- >div {
218
- background: #fff;
219
- max-height: 300px;
220
- overflow-y: scroll;
221
- }
222
- }
1
+ .au_alphabox {
2
+ overflow: visible;
3
+ margin-bottom: 1rem;
4
+ position: relative;
5
+ >.au_alphabox {
6
+ margin-bottom: 0;
7
+ }
8
+ .dropdown-pane & {
9
+ margin-bottom: 0;
10
+ }
11
+ >div:not(.au_alphabox_content):not(.au_alphabox) { /* because of nested au_alphabox */
12
+ padding: 1rem 1rem 0 1rem;
13
+ overflow: auto;
14
+ }
15
+ p.no-results {
16
+ background-color: #fff;
17
+ color: #555;
18
+ padding: 1rem;
19
+ }
20
+ li.no-results a {
21
+ font-weight: bold;
22
+ }
23
+ ul.letters {
24
+ display: flex;
25
+ justify-content: flex-start;
26
+ flex-flow: row wrap;
27
+ font-size: 1.1rem;
28
+ margin-top: .15rem;
29
+ margin-bottom: .75rem;
30
+ margin-left: 0;
31
+ padding-bottom: .75rem;
32
+ li {
33
+ padding: 0;
34
+ margin: 2px 2px;
35
+ background-color: #aaa;
36
+ text-align: center;
37
+ font-size: 1.2rem;
38
+ &.available {
39
+ button {
40
+ cursor: pointer;
41
+ color: #fff;
42
+ }
43
+ }
44
+ &.active {
45
+ font-weight: bold;
46
+ }
47
+ &:before {
48
+ content: '';
49
+ }
50
+ button {
51
+ font-family: $font-passata-regular;
52
+ color: #ccc;
53
+ text-transform: uppercase;
54
+ width: 20px;
55
+ line-height: inherit;
56
+ }
57
+ }
58
+ }
59
+ ul.items {
60
+ padding: 1rem;
61
+ margin: 0;
62
+ position: relative;
63
+ }
64
+ .student & {
65
+ background: $student-secondary-color;
66
+ .listNav {
67
+ .ln-letters {
68
+ a {
69
+ background-color: #8bad3f;
70
+ &.ln-selected {
71
+ color: #2a4a0f !important;
72
+ }
73
+ &.ln-disabled {
74
+ background-color: #8bad3f;
75
+ }
76
+ }
77
+ }
78
+ }
79
+ .alphabox_list_container {
80
+ border: 2px solid #2a4a0f;
81
+ h3 {
82
+ color: #8bad3f;
83
+ border-bottom: 2px solid #8bad3f;
84
+ }
85
+ ul li:before {
86
+ color: #8bad3f;
87
+ }
88
+ }
89
+ ul.quicklinks {
90
+ a {
91
+ background: #447400;
92
+ }
93
+ }
94
+ }
95
+ h2 {
96
+ color: #fff;
97
+ margin: 0;
98
+ border: 0;
99
+ a {
100
+ color: #fff !important;
101
+ border: none !important;
102
+ &:hover {
103
+ text-decoration: underline !important;
104
+ }
105
+ }
106
+ }
107
+ h3 {
108
+ color: #fff;
109
+ margin: 0 0 1rem 0 !important;
110
+ padding-top: 1rem;
111
+ font-size: 1.25rem;
112
+ border-top: 1px solid #fff;
113
+ }
114
+ input[type=text] {
115
+ background: #afc3ce url($findicon) no-repeat right center;
116
+ border: 0;
117
+ float: none;
118
+ width: 100%;
119
+ margin-bottom: 1.45455rem !important;
120
+ &.active {
121
+ background-color: #afc3ce;
122
+ }
123
+ }
124
+ ::-webkit-input-placeholder {
125
+ color: #333;
126
+ }
127
+ ::-moz-placeholder {
128
+ color: #333;
129
+ opacity: 1;
130
+ }
131
+ :-ms-input-placeholder {
132
+ color: #333;
133
+ }
134
+ .listNav {
135
+ margin: 0 0 calc(.5rem - 2px) 0;
136
+ .ln-letters {
137
+ margin: 1rem 0;
138
+ a {
139
+ background-color: #006ca4;
140
+ border: none !important;
141
+ margin: 0 2px 2px 0;
142
+ color: #fff;
143
+ padding: 2px;
144
+ font-size: 1.25rem;
145
+ &.ln-selected {
146
+ background-color: #fff;
147
+ color: #006ca4 !important;
148
+ }
149
+ &.ln-disabled {
150
+ background-color: #006ca4;
151
+ color: #7c98a8 !important;
152
+ }
153
+ }
154
+ .all {
155
+ display: none;
156
+ }
157
+ }
158
+ font-family: "AUPassataBold";
159
+ }
160
+ .alphabox_list_container {
161
+ background: #fff;
162
+ border: 2px solid #006ca4;
163
+ padding: 0 1rem 0 1rem;
164
+ display: none;
165
+ overflow-y: scroll;
166
+ -webkit-overflow-scrolling: touch;
167
+ h3 {
168
+ color: #009ee0;
169
+ border-bottom: 2px solid $staff-color;
170
+ }
171
+ >ul {
172
+ max-height: 200px;
173
+ overflow: initial !important;
174
+ margin-bottom: 2em;
175
+ position: relative;
176
+ li {
177
+ a {
178
+ color: $staff-secondary-color;
179
+ border-bottom: 1px dotted;
180
+ }
181
+ }
182
+ }
183
+ }
184
+ ul.quicklinks {
185
+ display: flex;
186
+ flex-wrap: wrap;
187
+ justify-content: space-between;
188
+ margin-left: 0;
189
+ li {
190
+ font: 1.25rem "AUPassataRegular";
191
+ text-transform: uppercase;
192
+ width: 48.9%;
193
+ padding: 0;
194
+ line-height: 1;
195
+ margin-bottom: 6px;
196
+ &:nth-child(odd) {
197
+ margin-right: .5em;
198
+ }
199
+ a {
200
+ display: block;
201
+ background: #006ca4;
202
+ color: #fff;
203
+ border: none !important;
204
+ padding: .5em;
205
+ }
206
+ @media (max-width: 400px) {
207
+ width: 100%;
208
+ margin-right: 0 !important;
209
+ font-size: 1.72727rem;
210
+ }
211
+ }
212
+ }
213
+ .au_alphabox_content {
214
+ margin-top: 1rem;
215
+ margin-bottom: 1rem;
216
+ clear: both;
217
+ >div {
218
+ background: #fff;
219
+ max-height: 300px;
220
+ overflow-y: scroll;
221
+ }
222
+ }
223
223
  }
@@ -1,7 +1,7 @@
1
- @import "_settings";
2
- @import "alphabox";
3
- @import "autosuggest";
4
- @import "databox";
5
- @import "diagramme";
6
- @import "flowbox";
7
- @import "maps";
1
+ @import "_settings";
2
+ @import "alphabox";
3
+ @import "autosuggest";
4
+ @import "databox";
5
+ @import "diagramme";
6
+ @import "flowbox";
7
+ @import "maps";