@aarhus-university/au-lib-react-components 9.11.8 → 9.11.12

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