@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.
- package/.eslintrc.js +44 -0
- package/README.md +19 -20
- package/babel.config.js +7 -0
- package/build/umd/all.css +1 -2
- package/build/umd/all.css.map +1 -1
- package/build/umd/all.js +1 -1
- package/build/umd/all.js.map +1 -1
- package/build/umd/alphabox.js +1 -1
- package/build/umd/alphabox.js.map +1 -1
- package/build/umd/databox.js +1 -6
- package/build/umd/databox.js.map +1 -1
- package/build/umd/diagramme.js +1 -1
- package/build/umd/diagramme.js.map +1 -1
- package/build/umd/flowbox.js +1 -1
- package/build/umd/flowbox.js.map +1 -1
- package/build/umd/universe.js +1 -1
- package/build/umd/universe.js.map +1 -1
- package/package.json +66 -65
- package/src/components/AUAlertComponent.tsx +70 -0
- package/src/components/{AutoSuggestComponent.js → AUAutoSuggestComponent.js} +45 -19
- package/src/components/AUCalendarComponent.tsx +493 -0
- package/src/components/AUContentToggleComponent.tsx +33 -0
- package/src/components/AUDatepickerComponent.tsx +117 -0
- package/src/components/AUMobilePrefixComponent.tsx +15 -0
- package/src/components/{delphinus/AUModalComponent.js → AUModalComponent.tsx} +78 -76
- package/src/components/{form/AUReceiptComponent.js → AUReceiptComponent.tsx} +33 -40
- package/src/components/AUSpinnerComponent.tsx +64 -0
- package/src/components/{delphinus/AUSubNavComponent.js → AUSubNavComponent.tsx} +38 -53
- package/src/components/{form/AUSubmitButtonContainerComponent.js → AUSubmitButtonContainerComponent.tsx} +31 -39
- package/src/components/AUTabbedContentComponent.tsx +145 -0
- package/src/components/{delphinus/AUTableComponent.js → AUTableComponent.tsx} +24 -28
- package/src/components/{delphinus/AUToastComponent.js → AUToastComponent.tsx} +104 -91
- package/src/components/{delphinus/AUToolbarComponent.js → AUToolbarComponent.tsx} +45 -48
- package/src/components/profile/AUProfileActions.js +128 -113
- package/src/components/profile/AUProfileAvatarComponent.js +83 -83
- package/src/components/profile/AUProfileAvatarV2Component.js +91 -0
- package/src/components/profile/AUProfileAvatarV3Component.js +80 -0
- package/src/components/profile/AUProfileContainerComponent.js +283 -285
- package/src/components/profile/AUProfileHooks.js +30 -30
- package/src/components/profile/AUProfileItemComponent.js +54 -54
- package/src/components/profile/AUProfileLanguageComponent.js +131 -131
- package/src/components/profile/AUProfileLoginComponent.js +0 -2
- package/src/components/profile/AUProfileMailComponent.js +307 -299
- package/src/components/profile/AUProfileMobileComponent.js +164 -164
- package/src/components/profile/AUProfileNameComponent.js +253 -253
- package/src/components/profile/AUProfileNextOfKinComponent.js +216 -216
- package/src/components/profile/AUProfileReducer.js +230 -210
- package/src/components/profile/AUProfileWidgetComponent.js +95 -95
- package/src/components/profile/AUProfileWidgetV2Component.js +116 -0
- package/src/components/profile/AUProfileWidgetV3Component.js +130 -0
- package/src/components/wrapping/AUEmbedComponent.js +47 -47
- package/src/{components → layout-2016/components}/alphabox/AlphaBoxComponent.js +29 -28
- package/src/{components → layout-2016/components}/alphabox/AlphaBoxContentComponent.js +25 -14
- package/src/{components → layout-2016/components/common}/AUCollapsibleComponent.js +1 -22
- package/src/{components → layout-2016/components/common}/AUSpinnerComponent.js +2 -24
- package/src/{components → layout-2016/components}/databox/DataBoxAlphabetComponent.js +1 -1
- package/src/{components → layout-2016/components}/databox/DataBoxAssociationComponent.js +2 -2
- package/src/{components → layout-2016/components}/databox/DataBoxButtonComponent.js +7 -3
- package/src/{components → layout-2016/components}/databox/DataBoxComponent.js +2 -2
- package/src/{components → layout-2016/components}/databox/DataBoxGroupingComponent.js +2 -0
- package/src/{components → layout-2016/components}/databox/DataBoxSearchResultComponent.js +1 -5
- package/src/{components → layout-2016/components}/databox/DataBoxStackedAssociationComponent.js +1 -5
- package/src/{components → layout-2016/components}/databox/DataBoxSuggestionComponent.js +0 -0
- package/src/{components → layout-2016/components/diagramme}/AUDiagrammeComponent.js +5 -6
- package/src/{components → layout-2016/components}/flowbox/FlowBoxComponent.js +8 -8
- package/src/{components → layout-2016/components}/flowbox/FlowBoxPhoneComponent.js +3 -5
- package/src/{components → layout-2016/components}/profile/AUProfileAvatar2016Component.js +6 -2
- package/src/{components → layout-2016/components}/universe/StaffTopComponent.js +4 -3
- package/src/{components → layout-2016/components}/universe/StudentTopComponent.js +0 -0
- package/src/{components → layout-2016/components}/universe/UniverseContainerComponent.js +11 -8
- package/src/layout-2016/lib/all.js +3 -0
- package/src/{lib → layout-2016/lib}/au-alphabox.js +1 -3
- package/src/{lib → layout-2016/lib}/au-databox.js +6 -9
- package/src/{lib → layout-2016/lib}/au-diagramme.js +2 -4
- package/src/{lib → layout-2016/lib}/au-flowbox.js +1 -3
- package/src/{lib → layout-2016/lib}/universe.js +0 -0
- package/src/lib/{helpers.js → helpers.ts} +40 -66
- package/src/lib/hooks.ts +33 -0
- package/src/lib/{i18n.js → i18n.ts} +600 -595
- package/src/lib/tracking.ts +69 -0
- package/src/lib/{wrapping.js → wrapping.ts} +21 -16
- package/src/styles/_settings.scss +11 -11
- package/src/styles/alphabox.scss +222 -209
- package/src/styles/app.scss +7 -12
- package/src/styles/autosuggest.scss +57 -57
- package/src/styles/databox.scss +563 -563
- package/src/styles/diagramme.scss +119 -119
- package/src/styles/flowbox.scss +72 -72
- package/src/styles/maps.scss +396 -0
- package/tsconfig.json +47 -0
- package/types/common/interfaces.d.ts +64 -0
- package/types/common/main.d.ts +4 -0
- package/types/common/package.json +5 -0
- package/types/common/payloads.d.ts +0 -0
- package/types/common/props.d.ts +138 -0
- package/webpack.config.js +89 -0
- package/.eslintrc +0 -19
- package/DOCUMENTATION.md +0 -369
- package/build/cjs/auAuth.js +0 -2
- package/build/cjs/auAuth.js.map +0 -1
- package/build/dev.html +0 -329
- package/build/umd/auAuth.js +0 -2
- package/build/umd/auAuth.js.map +0 -1
- package/build/umd/news.js +0 -2
- package/build/umd/news.js.map +0 -1
- package/src/all.js +0 -3
- package/src/app.js +0 -263
- package/src/components/AUAlertComponent.js +0 -158
- package/src/components/AUAmountComponent.js +0 -84
- package/src/components/AUBannerComponent.js +0 -99
- package/src/components/AUCalendarComponent.js +0 -393
- package/src/components/AUDatepickerComponent.js +0 -105
- package/src/components/AUFilterCheckboxComponent.js +0 -122
- package/src/components/AUFocusComponent.js +0 -55
- package/src/components/AUModalComponent.js +0 -94
- package/src/components/AUPaginationComponent.js +0 -103
- package/src/components/context/AUUserContextComponent.js +0 -91
- package/src/components/context/ImpersonateComponent.js +0 -54
- package/src/components/delphinus/AUCalendarComponent.js +0 -422
- package/src/components/delphinus/AUContentToggleComponent.js +0 -32
- package/src/components/delphinus/AUDatepickerComponent.js +0 -113
- package/src/components/delphinus/AULoginComponent.js +0 -65
- package/src/components/delphinus/AUSpinnerComponent.js +0 -114
- package/src/components/delphinus/AUTabbedContentComponent.js +0 -53
- package/src/components/delphinus/hooks.js +0 -25
- package/src/components/form/AUMobilePrefixComponent.js +0 -18
- package/src/components/news/EventLayout1Component.js +0 -94
- package/src/components/news/EventLayout2Component.js +0 -90
- package/src/components/news/EventLayout3Component.js +0 -68
- package/src/components/news/NewsCategoriesComponent.js +0 -21
- package/src/components/news/NewsCollageBannerComponent.js +0 -71
- package/src/components/news/NewsColumnsComponent.js +0 -125
- package/src/components/news/NewsLanguageChangeComponent.js +0 -74
- package/src/components/news/NewsLayout1Component.js +0 -80
- package/src/components/news/NewsLayout2Component.js +0 -80
- package/src/components/news/NewsLayout3Component.js +0 -81
- package/src/components/news/NewsLayout4Component.js +0 -80
- package/src/components/news/NewsLayout5Component.js +0 -61
- package/src/components/news/NewsLayout6Component.js +0 -55
- package/src/components/news/NewsLayout7Component.js +0 -58
- package/src/components/news/NewsLayout8Component.js +0 -57
- package/src/components/news/NewsListComponent.js +0 -291
- package/src/components/news/NewsPopUpComponent.js +0 -591
- package/src/components/news/NewsRSSComponent.js +0 -74
- package/src/components/news/NewsSocialComponent.js +0 -104
- package/src/components/news/NewsSubHeaderComponent.js +0 -19
- package/src/components/password/AUChangePasswordComponent.js +0 -177
- package/src/components/password/AUCurrentPasswordComponent.js +0 -72
- package/src/components/password/AUNewPasswordComponent.js +0 -143
- package/src/components/password/AUPasswordActions.js +0 -101
- package/src/components/password/AUPasswordHooks.js +0 -47
- package/src/components/password/AUPasswordReducer.js +0 -78
- package/src/components/password/AUPasswordRequirementsComponent.js +0 -29
- package/src/config/webpack.cjs.config.js +0 -75
- package/src/config/webpack.dev.config.js +0 -61
- package/src/config/webpack.umd.config.js +0 -107
- package/src/index.js +0 -6
- package/src/lib/au-auth.js +0 -221
- package/src/lib/au-news.js +0 -306
- package/src/lib/menu.js +0 -10
- package/src/lib/urlHandler.js +0 -63
- package/src/lib/validation.js +0 -181
- package/src/styles/alert.scss +0 -39
- package/src/styles/calendar.scss +0 -112
- package/src/styles/filtercheckbox.scss +0 -5
- package/src/styles/modal.scss +0 -35
- package/src/styles/pagination.scss +0 -11
- 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 = (
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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: '
|
|
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';
|
package/src/styles/alphabox.scss
CHANGED
|
@@ -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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
color: #8bad3f;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
max-
|
|
207
|
-
|
|
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
|
}
|
package/src/styles/app.scss
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
@import "_settings";
|
|
2
|
-
@import "
|
|
3
|
-
@import "
|
|
4
|
-
@import "
|
|
5
|
-
@import "
|
|
6
|
-
@import "
|
|
7
|
-
@import "
|
|
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";
|