@aarhus-university/au-lib-react-components 8.20.0 → 8.80.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 (168) hide show
  1. package/.eslintrc.js +44 -0
  2. package/README.md +19 -20
  3. package/babel.config.js +7 -0
  4. package/build/umd/all.css +1 -2
  5. package/build/umd/all.css.map +1 -1
  6. package/build/umd/all.js +1 -1
  7. package/build/umd/all.js.map +1 -1
  8. package/build/umd/alphabox.js +1 -1
  9. package/build/umd/alphabox.js.map +1 -1
  10. package/build/umd/databox.js +1 -6
  11. package/build/umd/databox.js.map +1 -1
  12. package/build/umd/diagramme.js +1 -1
  13. package/build/umd/diagramme.js.map +1 -1
  14. package/build/umd/flowbox.js +1 -1
  15. package/build/umd/flowbox.js.map +1 -1
  16. package/build/umd/universe.js +1 -1
  17. package/build/umd/universe.js.map +1 -1
  18. package/package.json +66 -65
  19. package/src/components/AUAlertComponent.tsx +70 -0
  20. package/src/components/{AutoSuggestComponent.js → AUAutoSuggestComponent.js} +45 -19
  21. package/src/components/AUCalendarComponent.tsx +493 -0
  22. package/src/components/AUContentToggleComponent.tsx +33 -0
  23. package/src/components/AUDatepickerComponent.tsx +117 -0
  24. package/src/components/AUMobilePrefixComponent.tsx +15 -0
  25. package/src/components/{delphinus/AUModalComponent.js → AUModalComponent.tsx} +78 -76
  26. package/src/components/{form/AUReceiptComponent.js → AUReceiptComponent.tsx} +33 -40
  27. package/src/components/AUSpinnerComponent.tsx +64 -0
  28. package/src/components/{delphinus/AUSubNavComponent.js → AUSubNavComponent.tsx} +38 -53
  29. package/src/components/{form/AUSubmitButtonContainerComponent.js → AUSubmitButtonContainerComponent.tsx} +31 -39
  30. package/src/components/AUTabbedContentComponent.tsx +145 -0
  31. package/src/components/{delphinus/AUTableComponent.js → AUTableComponent.tsx} +24 -28
  32. package/src/components/{delphinus/AUToastComponent.js → AUToastComponent.tsx} +104 -91
  33. package/src/components/{delphinus/AUToolbarComponent.js → AUToolbarComponent.tsx} +45 -48
  34. package/src/components/profile/AUProfileActions.js +128 -113
  35. package/src/components/profile/AUProfileAvatarComponent.js +83 -83
  36. package/src/components/profile/AUProfileAvatarV2Component.js +91 -0
  37. package/src/components/profile/AUProfileAvatarV3Component.js +80 -0
  38. package/src/components/profile/AUProfileContainerComponent.js +283 -285
  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.js +0 -2
  43. package/src/components/profile/AUProfileMailComponent.js +307 -299
  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 -210
  48. package/src/components/profile/AUProfileWidgetComponent.js +95 -95
  49. package/src/components/profile/AUProfileWidgetV2Component.js +116 -0
  50. package/src/components/profile/AUProfileWidgetV3Component.js +130 -0
  51. package/src/components/wrapping/AUEmbedComponent.js +47 -47
  52. package/src/{components → layout-2016/components}/alphabox/AlphaBoxComponent.js +29 -28
  53. package/src/{components → layout-2016/components}/alphabox/AlphaBoxContentComponent.js +25 -14
  54. package/src/{components → layout-2016/components/common}/AUCollapsibleComponent.js +1 -22
  55. package/src/{components → layout-2016/components/common}/AUSpinnerComponent.js +2 -24
  56. package/src/{components → layout-2016/components}/databox/DataBoxAlphabetComponent.js +1 -1
  57. package/src/{components → layout-2016/components}/databox/DataBoxAssociationComponent.js +2 -2
  58. package/src/{components → layout-2016/components}/databox/DataBoxButtonComponent.js +7 -3
  59. package/src/{components → layout-2016/components}/databox/DataBoxComponent.js +2 -2
  60. package/src/{components → layout-2016/components}/databox/DataBoxGroupingComponent.js +2 -0
  61. package/src/{components → layout-2016/components}/databox/DataBoxSearchResultComponent.js +1 -5
  62. package/src/{components → layout-2016/components}/databox/DataBoxStackedAssociationComponent.js +1 -5
  63. package/src/{components → layout-2016/components}/databox/DataBoxSuggestionComponent.js +0 -0
  64. package/src/{components → layout-2016/components/diagramme}/AUDiagrammeComponent.js +5 -6
  65. package/src/{components → layout-2016/components}/flowbox/FlowBoxComponent.js +8 -8
  66. package/src/{components → layout-2016/components}/flowbox/FlowBoxPhoneComponent.js +3 -5
  67. package/src/{components → layout-2016/components}/profile/AUProfileAvatar2016Component.js +6 -2
  68. package/src/{components → layout-2016/components}/universe/StaffTopComponent.js +4 -3
  69. package/src/{components → layout-2016/components}/universe/StudentTopComponent.js +0 -0
  70. package/src/{components → layout-2016/components}/universe/UniverseContainerComponent.js +11 -8
  71. package/src/layout-2016/lib/all.js +3 -0
  72. package/src/{lib → layout-2016/lib}/au-alphabox.js +1 -3
  73. package/src/{lib → layout-2016/lib}/au-databox.js +6 -9
  74. package/src/{lib → layout-2016/lib}/au-diagramme.js +2 -4
  75. package/src/{lib → layout-2016/lib}/au-flowbox.js +1 -3
  76. package/src/{lib → layout-2016/lib}/universe.js +0 -0
  77. package/src/lib/{helpers.js → helpers.ts} +40 -66
  78. package/src/lib/hooks.ts +33 -0
  79. package/src/lib/{i18n.js → i18n.ts} +600 -595
  80. package/src/lib/tracking.ts +69 -0
  81. package/src/lib/{wrapping.js → wrapping.ts} +21 -16
  82. package/src/styles/_settings.scss +11 -11
  83. package/src/styles/alphabox.scss +222 -209
  84. package/src/styles/app.scss +7 -12
  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 +396 -0
  90. package/tsconfig.json +47 -0
  91. package/types/common/interfaces.d.ts +64 -0
  92. package/types/common/main.d.ts +4 -0
  93. package/types/common/package.json +5 -0
  94. package/types/common/payloads.d.ts +0 -0
  95. package/types/common/props.d.ts +138 -0
  96. package/webpack.config.js +89 -0
  97. package/.eslintrc +0 -19
  98. package/DOCUMENTATION.md +0 -369
  99. package/build/cjs/auAuth.js +0 -2
  100. package/build/cjs/auAuth.js.map +0 -1
  101. package/build/dev.html +0 -329
  102. package/build/umd/auAuth.js +0 -2
  103. package/build/umd/auAuth.js.map +0 -1
  104. package/build/umd/news.js +0 -2
  105. package/build/umd/news.js.map +0 -1
  106. package/src/all.js +0 -3
  107. package/src/app.js +0 -263
  108. package/src/components/AUAlertComponent.js +0 -158
  109. package/src/components/AUAmountComponent.js +0 -84
  110. package/src/components/AUBannerComponent.js +0 -99
  111. package/src/components/AUCalendarComponent.js +0 -393
  112. package/src/components/AUDatepickerComponent.js +0 -105
  113. package/src/components/AUFilterCheckboxComponent.js +0 -122
  114. package/src/components/AUFocusComponent.js +0 -55
  115. package/src/components/AUModalComponent.js +0 -94
  116. package/src/components/AUPaginationComponent.js +0 -103
  117. package/src/components/context/AUUserContextComponent.js +0 -91
  118. package/src/components/context/ImpersonateComponent.js +0 -54
  119. package/src/components/delphinus/AUCalendarComponent.js +0 -422
  120. package/src/components/delphinus/AUContentToggleComponent.js +0 -32
  121. package/src/components/delphinus/AUDatepickerComponent.js +0 -113
  122. package/src/components/delphinus/AULoginComponent.js +0 -65
  123. package/src/components/delphinus/AUSpinnerComponent.js +0 -114
  124. package/src/components/delphinus/AUTabbedContentComponent.js +0 -53
  125. package/src/components/delphinus/hooks.js +0 -25
  126. package/src/components/form/AUMobilePrefixComponent.js +0 -18
  127. package/src/components/news/EventLayout1Component.js +0 -94
  128. package/src/components/news/EventLayout2Component.js +0 -90
  129. package/src/components/news/EventLayout3Component.js +0 -68
  130. package/src/components/news/NewsCategoriesComponent.js +0 -21
  131. package/src/components/news/NewsCollageBannerComponent.js +0 -71
  132. package/src/components/news/NewsColumnsComponent.js +0 -125
  133. package/src/components/news/NewsLanguageChangeComponent.js +0 -74
  134. package/src/components/news/NewsLayout1Component.js +0 -80
  135. package/src/components/news/NewsLayout2Component.js +0 -80
  136. package/src/components/news/NewsLayout3Component.js +0 -81
  137. package/src/components/news/NewsLayout4Component.js +0 -80
  138. package/src/components/news/NewsLayout5Component.js +0 -61
  139. package/src/components/news/NewsLayout6Component.js +0 -55
  140. package/src/components/news/NewsLayout7Component.js +0 -58
  141. package/src/components/news/NewsLayout8Component.js +0 -57
  142. package/src/components/news/NewsListComponent.js +0 -291
  143. package/src/components/news/NewsPopUpComponent.js +0 -591
  144. package/src/components/news/NewsRSSComponent.js +0 -74
  145. package/src/components/news/NewsSocialComponent.js +0 -104
  146. package/src/components/news/NewsSubHeaderComponent.js +0 -19
  147. package/src/components/password/AUChangePasswordComponent.js +0 -177
  148. package/src/components/password/AUCurrentPasswordComponent.js +0 -72
  149. package/src/components/password/AUNewPasswordComponent.js +0 -143
  150. package/src/components/password/AUPasswordActions.js +0 -101
  151. package/src/components/password/AUPasswordHooks.js +0 -47
  152. package/src/components/password/AUPasswordReducer.js +0 -78
  153. package/src/components/password/AUPasswordRequirementsComponent.js +0 -29
  154. package/src/config/webpack.cjs.config.js +0 -75
  155. package/src/config/webpack.dev.config.js +0 -61
  156. package/src/config/webpack.umd.config.js +0 -107
  157. package/src/index.js +0 -6
  158. package/src/lib/au-auth.js +0 -221
  159. package/src/lib/au-news.js +0 -306
  160. package/src/lib/menu.js +0 -10
  161. package/src/lib/urlHandler.js +0 -63
  162. package/src/lib/validation.js +0 -181
  163. package/src/styles/alert.scss +0 -39
  164. package/src/styles/calendar.scss +0 -112
  165. package/src/styles/filtercheckbox.scss +0 -5
  166. package/src/styles/modal.scss +0 -35
  167. package/src/styles/pagination.scss +0 -11
  168. package/src/styles/spinner.scss +0 -30
@@ -0,0 +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,16 +1,21 @@
1
- /* eslint-env browser */
2
- const getSourceForFrame = (serviceUrl, path, referrer, callback) => {
3
- const getSource = async () => {
4
- const url = `${serviceUrl}?path=${path}&referrer=${referrer}`;
5
- const response = await fetch(url, {
6
- credentials: 'include',
7
- });
8
-
9
- const json = await response.json();
10
- callback(json);
11
- };
12
-
13
- getSource();
14
- };
15
-
16
- 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;
11
- $findicon: '//www.aucdn.dk/2016/assets/img/databox/find.png';
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
+ $findicon: 'https://cdn.au.dk/2016/assets/img/databox/find.png';
@@ -1,210 +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
- ul.quicklinks {
16
- overflow: auto;
17
- }
18
- ul.letters {
19
- display: flex;
20
- justify-content: flex-start;
21
- flex-flow: row wrap;
22
- font-size: 1.1rem;
23
- margin-top: .15rem;
24
- margin-bottom: .75rem;
25
- margin-left: 0;
26
- padding-bottom: .75rem;
27
- border-bottom: 1px solid #ccc;
28
- li {
29
- padding: 0;
30
- margin: 2px 2px;
31
- background-color: #aaa;
32
- text-align: center;
33
- font-size: 1.2rem;
34
- &.available {
35
- button {
36
- cursor: pointer;
37
- color: #fff;
38
- }
39
- }
40
- &.active {
41
- font-weight: bold;
42
- }
43
- &:before {
44
- content: '';
45
- }
46
- button {
47
- font-family: $font-passata-regular;
48
- color: #ccc;
49
- text-transform: uppercase;
50
- width: 20px;
51
- line-height: inherit;
52
- }
53
- }
54
- }
55
- ul.items {
56
- padding: 1rem;
57
- margin: 0;
58
- position: relative;
59
- }
60
- .student & {
61
- background: $student-secondary-color;
62
- .listNav {
63
- .ln-letters {
64
- a {
65
- background-color: #8bad3f;
66
- &.ln-selected {
67
- color: #2a4a0f !important;
68
- }
69
- &.ln-disabled {
70
- background-color: #8bad3f;
71
- }
72
- }
73
- }
74
- }
75
- .alphabox_list_container {
76
- border: 2px solid #2a4a0f;
77
- h3 {
78
- color: #8bad3f;
79
- border-bottom: 2px solid #8bad3f;
80
- }
81
- ul li:before {
82
- color: #8bad3f;
83
- }
84
- }
85
- ul.quicklinks {
86
- a {
87
- background: #447400;
88
- }
89
- }
90
- }
91
- h2 {
92
- color: #fff;
93
- margin: 0;
94
- border: 0;
95
- a {
96
- color: #fff !important;
97
- border: none !important;
98
- &:hover {
99
- text-decoration: underline !important;
100
- }
101
- }
102
- }
103
- p {
104
- color: #fff;
105
- margin: 1rem 0 1rem 0 !important;
106
- font-size: 1.25rem;
107
- }
108
- input[type=text] {
109
- background: #afc3ce url($findicon) no-repeat right center;
110
- border: 0;
111
- float: none;
112
- width: 100%;
113
- margin-bottom: 1.45455rem !important;
114
- &.active {
115
- background-color: #afc3ce;
116
- }
117
- }
118
- ::-webkit-input-placeholder {
119
- color: #333;
120
- }
121
- ::-moz-placeholder {
122
- color: #333;
123
- opacity: 1;
124
- }
125
- :-ms-input-placeholder {
126
- color: #333;
127
- }
128
- .listNav {
129
- margin: 0 0 calc(.5rem - 2px) 0;
130
- .ln-letters {
131
- margin: 1rem 0;
132
- a {
133
- background-color: #006ca4;
134
- border: none !important;
135
- margin: 0 2px 2px 0;
136
- color: #fff;
137
- padding: 2px;
138
- font-size: 1.25rem;
139
- &.ln-selected {
140
- background-color: #fff;
141
- color: #006ca4 !important;
142
- }
143
- &.ln-disabled {
144
- background-color: #006ca4;
145
- color: #7c98a8 !important;
146
- }
147
- }
148
- .all {
149
- display: none;
150
- }
151
- }
152
- font-family: "AUPassataBold";
153
- }
154
- .alphabox_list_container {
155
- background: #fff;
156
- border: 2px solid #006ca4;
157
- padding: 0 1rem 0 1rem;
158
- display: none;
159
- overflow-y: scroll;
160
- -webkit-overflow-scrolling: touch;
161
- h3 {
162
- color: #009ee0;
163
- border-bottom: 2px solid $staff-color;
164
- }
165
- >ul {
166
- max-height: 200px;
167
- overflow: initial !important;
168
- margin-bottom: 2em;
169
- position: relative;
170
- li {
171
- a {
172
- color: $staff-secondary-color;
173
- border-bottom: 1px dotted;
174
- }
175
- }
176
- }
177
- }
178
- ul.quicklinks {
179
- margin-left: 0;
180
- li {
181
- font: 1.25rem "AUPassataRegular";
182
- text-transform: uppercase;
183
- width: calc(50% - .26em);
184
- float: left;
185
- padding: 0;
186
- line-height: 1;
187
- margin-bottom: 6px;
188
- &:nth-child(odd) {
189
- margin-right: .5em;
190
- }
191
- a {
192
- display: block;
193
- background: #006ca4;
194
- color: #fff;
195
- border: none !important;
196
- padding: .5em;
197
- }
198
- }
199
- }
200
- .au_alphabox_content {
201
- margin-top: 1rem;
202
- margin-bottom: 1rem;
203
- clear: both;
204
- >div {
205
- background: #fff;
206
- max-height: 300px;
207
- overflow-y: scroll;
208
- }
209
- }
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
+ }
210
223
  }
@@ -1,12 +1,7 @@
1
- @import "_settings";
2
- @import "alert";
3
- @import "alphabox";
4
- @import "autosuggest";
5
- @import "calendar";
6
- @import "databox";
7
- @import "diagramme";
8
- @import "flowbox";
9
- @import "modal";
10
- @import "spinner";
11
- @import "filtercheckbox";
12
- @import "pagination";
1
+ @import "_settings";
2
+ @import "alphabox";
3
+ @import "autosuggest";
4
+ @import "databox";
5
+ @import "diagramme";
6
+ @import "flowbox";
7
+ @import "maps";